/* CSS Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    --dollar-green: #1a7f1a;
    --gold: #FFD700;
    --light-green: #e8f5e8;
    --dark-green: #0d4d0d;
    --gray: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    background-color: #f0f8f0;
    color: var(--gray);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo1{
    width: 80px;
    height: 80px;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    padding: 5px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Brand Logo */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dollar-green);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-brand i {
    font-size: 2rem;
    color: var(--gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dark-theme .navbar {
    background: rgba(15, 23, 42, 0.95);
    color: #e2e8f0;
}

.dark-theme .nav-link {
    color: #cbd5e1;
}

.dark-theme .nav-link:hover {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.dark-theme .nav-link.active {
    background: linear-gradient(135deg, var(--dollar-green), var(--dark-green));
    color: white;
}

.dark-theme .nav-action-btn {
    background: #1e293b;
    border-color: #334155;
    color: var(--gold);
}

.dark-theme .nav-menu {
    background: #1e293b;
}

.dark-theme .mobile-stat {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
}

.dark-theme .mobile-convert-btn {
    background: linear-gradient(135deg, var(--dollar-green), var(--dark-green));
} 

.nav-link:before {
    content: '$';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-weight: bold;
    color: var(--gold);
}

.nav-link:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.nav-link:hover {
    color: var(--dollar-green);
    background: rgba(26, 127, 26, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--dollar-green), var(--dark-green));
    box-shadow: 0 4px 15px rgba(26, 127, 26, 0.3);
}

.nav-link.active:before {
    opacity: 1;
    transform: translateX(0);
}

/* Desktop Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(26, 127, 26, 0.2);
    background: white;
    color: var(--dollar-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-action-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dollar-green), var(--dark-green));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.nav-action-btn i {
    position: relative;
    z-index: 2;
}

.nav-action-btn:hover:before {
    opacity: 1;
}

.nav-action-btn:hover {
    color: white;
    border-color: var(--dollar-green);
    transform: translateY(-3px) rotate(15deg);
    box-shadow: 0 5px 20px rgba(26, 127, 26, 0.3);
}

#currencyUpdate:hover i {
    animation: spin 0.6s ease;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.live-rate {
    background: linear-gradient(135deg, var(--dollar-green), var(--dark-green));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(26, 127, 26, 0.2);
    animation: ratePulse 3s infinite;
}

@keyframes ratePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.rate-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.rate-value {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(26, 127, 26, 0.2);
    background: white;
    color: var(--dollar-green);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 1002;
    position: relative;
}

.mobile-menu-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dollar-green), var(--dark-green));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.mobile-menu-btn i {
    position: relative;
    z-index: 2;
}

.mobile-menu-btn:hover:before {
    opacity: 1;
}

.mobile-menu-btn:hover {
    color: white;
    border-color: var(--dollar-green);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(26, 127, 26, 0.3);
}

.mobile-menu-btn.active {
    background: linear-gradient(135deg, var(--dollar-green), var(--dark-green));
    color: white;
    border-color: var(--dollar-green);
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Extra Features */
.mobile-extra {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .nav-link {
        padding: 10px 18px;
        font-size: 1rem;
    }
    
    .live-rate {
        min-width: 100px;
        padding: 8px 16px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 20px 25px;
        border-radius: 15px;
        margin-bottom: 10px;
        font-size: 1.2rem;
        justify-content: flex-start;
        transform: translateX(20px);
        opacity: 0;
        transition: all 0.4s ease;
        transition-delay: calc(var(--i) * 0.1s);
    }
    
    .nav-menu.active .nav-link {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-link:before {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    .nav-link:hover {
        transform: translateX(5px) !important;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-extra {
        display: block;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .mobile-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .mobile-stat {
        background: rgba(26, 127, 26, 0.1);
        padding: 15px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        color: var(--dark-green);
    }
    
    .mobile-stat i {
        color: var(--gold);
        font-size: 1.2rem;
    }
    
    .mobile-convert-btn {
        width: 100%;
        padding: 18px;
        background: linear-gradient(135deg, var(--dollar-green), var(--dark-green));
        color: white;
        border: none;
        border-radius: 15px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s ease;
    }
    
    .mobile-convert-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 20px rgba(26, 127, 26, 0.3);
    }
}

@media (max-width: 576px) {
    .nav-brand {
        font-size: 1.5rem;
    }
    
    .nav-brand i {
        font-size: 1.8rem;
    }
    
    .mobile-menu-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .nav-menu {
        width: 280px;
        padding: 90px 20px 20px;
    }
    
    .nav-link {
        padding: 18px 20px;
        font-size: 1.1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Active link indicator */
.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

/* Hover effect for desktop */
@media (min-width: 993px) {
    .nav-link:after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 30px;
        height: 3px;
        background: linear-gradient(to right, var(--gold), var(--dollar-green));
        border-radius: 2px;
        transition: transform 0.3s ease;
    }
    
    .nav-link:hover:after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .nav-link.active:after {
        width: 40px;
        transform: translateX(-50%) scaleX(1);
    }
}
/* Hero Section */
/* Hero Section Styles */
.hero {
    position: relative;
    background: linear-gradient(135deg, 
        var(--dark-green) 0%, 
        var(--dollar-green) 30%, 
        #333479 70%, 
        var(--dark-green) 100%);
    color: var(--white);
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Dollar bill animations in background */
.dollar-bill {
    position: absolute;
    width: 200px;
    height: 80px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.3;
    transform: rotate(45deg);
}

.dollar-bill:before {
    content: '$';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.3);
}

.dollar-bill-1 {
    top: 10%;
    left: 5%;
    animation: floatBill 25s infinite linear;
}

.dollar-bill-2 {
    top: 20%;
    right: 10%;
    animation: floatBill 30s infinite linear reverse;
}

.dollar-bill-3 {
    bottom: 30%;
    left: 15%;
    animation: floatBill 35s infinite linear;
}

.dollar-bill-4 {
    bottom: 15%;
    right: 5%;
    animation: floatBill 40s infinite linear reverse;
}

.dollar-bill-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: pulseBill 10s infinite ease-in-out;
}

@keyframes floatBill {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    25% {
        transform: translateY(-20px) rotate(50deg);
    }
    50% {
        transform: translateY(0) rotate(55deg);
    }
    75% {
        transform: translateY(20px) rotate(50deg);
    }
}

@keyframes pulseBill {
    0%, 100% {
        opacity: 0.2;
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.4;
        transform: translate(-50%, -50%) rotate(45deg) scale(1.1);
    }
}

/* Graph animation in background */
.graph-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    opacity: 0.1;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.hero-badge i {
    color: var(--gold);
    animation: spinSlow 10s infinite linear;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title-line {
    display: block;
}

.dollar-highlight {
    color: var(--gold);
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.1);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 10px rgba(255, 215, 0, 0.5),
            0 0 20px rgba(255, 215, 0, 0.3),
            0 0 30px rgba(255, 215, 0, 0.1);
    }
    to {
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 30px rgba(255, 215, 0, 0.5),
            0 0 40px rgba(255, 215, 0, 0.3);
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Live Stats */
.live-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--dollar-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.trend-up {
    color: #4CAF50;
}

.trend-down {
    color: #f44336;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.feature i {
    color: var(--gold);
}

/* CTA Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #ffed4e);
    color: var(--dark-green);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.btn-tertiary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-tertiary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

/* Quick Converter */
.quick-converter {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInUp 1s ease-out 0.5s both;
}

.quick-converter h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.converter-inputs {
    display: flex;
    align-items: center;
    gap: 15px;
}

.input-group {
    display: flex;
    flex: 1;
}

.input-group input, .input-group select {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1rem;
}

.input-group input {
    border-radius: 8px 0 0 8px;
    width: 70%;
}

.input-group select {
    border-radius: 0 8px 8px 0;
    width: 30%;
    cursor: pointer;
}

.convert-icon {
    color: var(--gold);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

/* 3D Dollar */
.dollar-3d {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
    perspective: 1000px;
}

.dollar-front, .dollar-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15rem;
    font-weight: 900;
    color: var(--gold);
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.8) 0%, 
        rgba(26, 127, 26, 0.8) 100%);
    border-radius: 50%;
    backface-visibility: hidden;
    box-shadow: 
        0 0 50px rgba(255, 215, 0, 0.5),
        inset 0 0 50px rgba(255, 255, 255, 0.3);
    animation: rotate3d 8s infinite linear;
}

.dollar-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, 
        rgba(26, 127, 26, 0.8) 0%, 
        rgba(255, 215, 0, 0.8) 100%);
    animation-delay: -4s;
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }
    25% {
        transform: rotateY(90deg) rotateX(10deg);
    }
    50% {
        transform: rotateY(180deg) rotateX(10deg);
    }
    75% {
        transform: rotateY(270deg) rotateX(10deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

/* Rotating Coins */
.rotating-coins {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
}

.coin {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--dark-green);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.coin-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit1 10s infinite linear;
}

.coin-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: orbit2 10s infinite linear;
}

.coin-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit3 10s infinite linear;
}

@keyframes orbit1 {
    0% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

@keyframes orbit2 {
    0% { transform: rotate(120deg) translateX(150px) rotate(-120deg); }
    100% { transform: rotate(480deg) translateX(150px) rotate(-480deg); }
}

@keyframes orbit3 {
    0% { transform: rotate(240deg) translateX(150px) rotate(-240deg); }
    100% { transform: rotate(600deg) translateX(150px) rotate(-600deg); }
}

/* Currency Chart */
.currency-chart {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chart-header h4 {
    font-size: 1.2rem;
    color: var(--gold);
}

.chart-trend {
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgba(76, 175, 80, 0.2);
}

.chart-container {
    height: 150px;
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounceIndicator 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes bounceIndicator {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Floating dollars */
.floating-dollars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-dollar {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    font-weight: bold;
    animation: floatUp 20s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .dollar-3d {
        width: 250px;
        height: 250px;
    }
    
    .rotating-coins {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .live-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .converter-inputs {
        flex-direction: column;
    }
    
    .input-group {
        width: 100%;
    }
    
    .rotating-coins {
        width: 300px;
        height: 300px;
    }
    
    .coin {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .dollar-3d {
        width: 200px;
        height: 200px;
    }
    
    .dollar-front, .dollar-back {
        font-size: 10rem;
    }
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark-green);
    font-family: 'Montserrat', sans-serif;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-icon {
    font-size: 3rem;
    color: var(--dollar-green);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-green);
}

/* Converter Section */
.converter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.converter-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group label {
    font-weight: 600;
    color: var(--dark-green);
}

.input-group input {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--dollar-green);
    outline: none;
}

.currency-selectors {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.currency-selector {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.currency-selector select {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--white);
    appearance: none;
}

.currency-flag {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 24px;
    height: 16px;
    background-size: cover;
    pointer-events: none;
}

.usd-flag {
    background-image: url('https://flagcdn.com/w20/us.png');
}

.eur-flag {
    background-image: url('https://flagcdn.com/w20/eu.png');
}

.swap-btn {
    background-color: var(--dollar-green);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swap-btn:hover {
    background-color: var(--dark-green);
}

.converter-result {
    background-color: var(--light-green);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.result-label {
    font-size: 1rem;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dollar-green);
    margin-bottom: 5px;
}

.result-rate {
    font-size: 1.1rem;
    color: var(--gray);
}

.convert-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
}

.converter-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.converter-info h3 {
    color: var(--dark-green);
    font-size: 1.8rem;
}

.rate-table {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rate-row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    font-weight: 500;
}

.rate-row span:first-child {
    color: var(--dollar-green);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--dark-green);
    font-size: 1.5rem;
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--gray);
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    padding: 0 20px 20px;
    color: var(--dollar-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--dark-green);
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Facts Section */
.facts-section {
    background-color: var(--dark-green);
    color: var(--white);
}

.facts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.fact-item {
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s;
}

.fact-item:hover {
    transform: translateY(-5px);
}

.fact-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gold);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--dollar-green);
    width: 40px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-green);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--dollar-green);
    outline: none;
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.footer-brand span {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-social h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--gold);
    color: var(--dark-green);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .converter-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .currency-selectors {
        flex-direction: column;
        align-items: stretch;
    }
    
    .swap-btn {
        align-self: center;
        transform: rotate(90deg);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .converter-container, .contact-container {
        padding: 25px;
    }
    
    .fact-number {
        font-size: 2rem;
    }
}

/* Animation classes for scroll animations */
.about-card, .service-card, .fact-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-card.animated, .service-card.animated, .fact-item.animated {
    opacity: 1;
    transform: translateY(0);
}