@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-green: #004d26;
    --primary-green-light: #006432;
    --gold: #B8860B;
    --gold-light: #D4AF37;
    --secondary-red: #C0392B;
    --text-dark: #1F2937;
    --text-muted: #4B5563;
    --text-light: #F9FAFB;
    --white: #ffffff;
    --gray-bg: #F3F4F6;
    --gray-light: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Live Price Ticker Styles */
.top-ticker {
    background: #002613;
    color: var(--white);
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    font-size: 0.85rem;
    font-weight: 600;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    -webkit-animation: ticker 40s linear infinite;
    animation: ticker 40s linear infinite;
    width: max-content;
    will-change: transform;
}

.ticker-item {
    padding-right: 80px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trend-up { color: #2ecc71; }
.trend-down { color: #e74c3c; }

@-webkit-keyframes ticker {
    0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    100% { -webkit-transform: translate3d(-33.33%, 0, 0); transform: translate3d(-33.33%, 0, 0); }
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.33%, 0, 0); } /* Perfect loop for 3 sets of content */
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background-color: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }
.flex { display: flex; align-items: center; }
.grid { display: grid; gap: 2rem; }

/* Navbar */
nav {
    height: 90px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    position: fixed;
    top: 40px; /* Offset for ticker */
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

nav.scrolled {
    height: 80px;
    box-shadow: var(--shadow);
}

nav .container { height: 100%; justify-content: space-between; }

.logo { display: flex; align-items: center; }
.logo img { height: 80px; width: auto; }

.nav-links { 
    display: flex;
    gap: 2.5rem; 
    margin: 0 auto; /* Center links */
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.nav-links a:hover { color: var(--primary-green); }

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.btn-primary:hover {
    background: var(--primary-green-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section - Fixed Alignment */
.hero-section {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left;
    color: white;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.calculator-panel {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    border-top: 6px solid var(--gold);
}

.responsive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Rates Cards - Glassmorphism */
.rates-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    margin-top: -120px;
    z-index: 10;
    position: relative;
}

.rate-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3.5rem 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-top: 6px solid var(--gold);
}

.rate-card h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--secondary-red);
    font-family: 'Playfair Display', serif;
}

/* Footer */
footer {
    background: #002613;
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--gold-light);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links a { opacity: 0.6; display: block; margin-bottom: 1rem; }
.footer-links a:hover { opacity: 1; color: var(--gold-light); }

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    opacity: 0.4;
}

/* Timeline/Process */
.timeline::after { background: var(--gold); }
.timeline-item::after { border-color: var(--gold); }
.timeline-content { border: 1px solid var(--gray-light); }

/* Buttons & Elements */
.tag { background: var(--gold); color: var(--white); padding: 4px 12px; border-radius: 2px; font-weight: 700; }

/* Language Switcher - Premium Style */
.lang-switcher {
    display: flex;
    align-items: center;
    background: var(--gray-bg);
    padding: 4px;
    border-radius: 50px;
    border: 1px solid var(--gray-light);
    margin-left: 25px;
    box-shadow: var(--shadow-sm);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-btn i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.lang-btn:hover {
    color: var(--primary-green);
    background: rgba(255,255,255,0.5);
}

.lang-btn.active {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: var(--shadow);
}

/* SEO Tags */
.seo-tag {
    background: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-block;
    border: 1px solid var(--gray-light);
    font-weight: 600;
}
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }
.goog-logo-link { display: none !important; }
.goog-te-gadget { font-size: 0 !important; }
.goog-te-combo { display: none !important; }

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .hero-content { text-align: center !important; }
    .hero-btns { justify-content: center !important; }
}

@media (max-width: 768px) {
    body { zoom: 1; }
    
    .top-ticker { height: 35px; font-size: 0.75rem; }
    nav { height: 65px; top: 35px; }
    .logo img { height: 45px !important; }
    
    .nav-links { 
        display: none; 
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin-bottom: 1.5rem; text-align: center; }
    
    .hero-section { padding: 120px 0 60px; height: auto; min-height: auto; text-align: center; display: block; }
    .hero-grid { display: flex !important; flex-direction: column !important; gap: 30px !important; }
    .hero-content { text-align: center; width: 100%; }
    .hero-content h1 { font-size: 2.4rem; }
    .hero-content p { font-size: 1.1rem; margin-bottom: 2.5rem; }
    #hero-btns { display: block !important; width: 100% !important; margin-bottom: 2rem; }
    #hero-btns .btn-primary { display: block !important; width: 100% !important; text-align: center; padding: 1.2rem; margin-bottom: 10px; }
    #hero-btns .btn-primary:last-child { margin-bottom: 0; }
    
    .calculator-panel { margin-top: 50px; }
    .calculator-panel h3 { font-size: 1.3rem !important; }
    
    .responsive-grid { grid-template-columns: 1fr; }
    
    .rates-grid { margin-top: 40px; }
    .rate-card { padding: 3rem 1.5rem; }
    .price { font-size: 3.2rem; }

    .mobile-menu-btn { display: block !important; position: absolute; right: 20px; top: 15px; }
    .lang-switcher { display: none; }
    
    .animate { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Hamburger Menu Icon */
.mobile-menu-btn {
    display: none;
}
/* Secret Partner Popups */
@keyframes popupPing {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.secret-popup {
    position: fixed;
    bottom: 30px;
    left: -450px; /* Hidden by default */
    width: 380px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    border-radius: 20px;
    z-index: 9999;
    transition: left 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.secret-popup.active {
    left: 30px;
    animation: popupPing 0.6s ease-out forwards;
}

.popup-inner {
    position: relative;
    display: flex;
    flex-direction: column;
}

.popup-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.popup-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.secret-popup:hover .popup-img-container img {
    transform: scale(1.1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    color: var(--primary-green);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.popup-close:hover {
    background: var(--gold);
    color: white;
    transform: rotate(90deg);
}

.popup-content {
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.popup-content a {
    color: var(--primary-green);
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.5;
    display: block;
    text-decoration: none;
    position: relative;
}

.popup-content a::after {
    content: '→';
    margin-left: 10px;
    transition: margin-left 0.3s;
    color: var(--gold);
}

.popup-content a:hover {
    color: var(--gold);
}

.popup-content a:hover::after {
    margin-left: 15px;
}

@media (max-width: 768px) {
    .secret-popup {
        width: calc(100% - 40px);
        max-width: 340px;
        left: -400px;
        bottom: 20px;
    }
    .secret-popup.active {
        left: 20px;
    }
    .popup-img-container {
        height: 160px;
    }
    .popup-content a {
        font-size: 1.1rem;
    }
}


