:root {
    --primary-color: #0b5e25; /* Deep Green */
    --primary-light: #128c38;
    --secondary-color: #f6a61b; /* Gold/Yellow from logo */
    --secondary-dark: #d68b0d;
    --dark-bg: #111;
    --light-bg: #f5f8f5;
    --text-color: #333;
    --white: #ffffff;
    --font-bengali: 'Tiro Bangla', serif;
    --font-english: 'Poppins', sans-serif;
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
}

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

body {
    font-family: var(--font-bengali);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar & Header */
.top-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.top-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: none;
    border-radius: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 30px;
    min-height: 80px;
    transition: min-height 0.3s ease;
}

.top-nav.scrolled .nav-container {
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.top-nav.scrolled .logo-img {
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-naba {
    font-family: var(--font-english);
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    transition: font-size 0.3s ease;
}

.logo-sub {
    font-family: var(--font-english);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary-dark);
    letter-spacing: 1.5px;
    margin-top: 2px;
    transition: font-size 0.3s ease;
}

.top-nav.scrolled .logo-naba {
    font-size: 1.3rem;
}

.top-nav.scrolled .logo-sub {
    font-size: 0.6rem;
}

.nav-contact-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-english);
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(11, 94, 37, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-contact-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: button-shine 3s infinite;
}

@keyframes button-shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.nav-contact-btn i {
    animation: phone-ring 2s infinite;
    color: var(--secondary-color);
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-12deg); }
    20%, 40%, 60%, 80% { transform: rotate(12deg); }
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 94, 37, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?q=80&w=2064&auto=format&fit=crop') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 60px 0; /* Add top padding to clear header */
}

.hero-section .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(8, 51, 19, 0.92) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 50px;
    width: 100%;
}

.hero-content {
    flex: 1;
    min-width: 320px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.urgency-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: bold;
    width: fit-content;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #ff4757;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.main-title {
    font-size: 3.2rem;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 700;
}

.highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offer-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(246, 166, 27, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 35px;
    max-width: 500px;
}

.discount-badge {
    background: var(--gold-gradient);
    color: var(--dark-bg);
    padding: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.offer-details {
    padding: 15px 20px;
}

.offer-details h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.offer-details p {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 35px;
}

.hero-bullets li {
    font-size: 1.15rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.hero-bullets i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.3rem;
}

.trust-indicators {
    display: flex;
    gap: 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.trust-item i {
    color: #4cd137;
}

/* Form Wrapper */
.hero-form-wrapper {
    flex: 0 1 480px;
    width: 100%;
}

.lead-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    position: relative;
}

.form-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--gold-gradient);
    color: var(--dark-bg);
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(246, 166, 27, 0.4);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

.input-row {
    display: flex;
    gap: 15px;
}

.input-group {
    margin-bottom: 16px;
    width: 100%;
    position: relative;
}

.input-group.half {
    width: 50%;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.3s;
}

.input-group input {
    padding-left: 45px;
}

.input-group input, .input-group select {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
    border: 1.5px solid #d5dfd8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fbfdfb;
    color: var(--text-color);
}

.input-group select {
    padding-left: 15px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(18, 140, 56, 0.1);
}

.input-group input:focus + .input-icon {
    color: var(--primary-light);
}

.submit-btn {
    width: 100%;
    background: var(--gold-gradient);
    color: var(--dark-bg);
    border: none;
    padding: 18px;
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    box-shadow: 0 8px 20px rgba(246, 166, 27, 0.3);
}

.pulse-button {
    animation: button-pulse 2s infinite;
}

@keyframes button-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(246, 166, 27, 0.4);
    animation: none;
}

.submit-btn i {
    font-size: 1.4rem;
}

.form-footer-note {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.form-footer-note i {
    color: #4cd137;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 40px 0 20px;
    font-size: 0.95rem;
}

.footer-content {
    text-align: center;
}

.footer-info {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.footer-info p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-info i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.copyright {
    color: #777;
    font-family: var(--font-english);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        padding-top: 20px;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .offer-box {
        margin: 0 auto 35px;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .hero-form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .top-nav {
        top: 10px;
        width: 96%;
    }
    
    .top-nav.scrolled {
        top: 0;
        width: 100%;
        border-radius: 0;
    }
    
    .nav-container {
        padding: 5px 15px;
        min-height: 70px;
    }

    .logo-img {
        height: 50px;
    }
    
    .top-nav.scrolled .logo-img {
        height: 42px;
    }
    
    .logo-naba {
        font-size: 1.3rem;
    }
    
    .logo-sub {
        font-size: 0.6rem;
    }

    .nav-contact-btn {
        padding: 10px 16px;
        font-size: 0.95rem;
        gap: 6px;
    }
    
    .input-row {
        flex-direction: column;
        gap: 0;
    }
    
    .input-group.half {
        width: 100%;
    }
    
    .offer-box {
        flex-direction: column;
        text-align: center;
    }
    
    .discount-badge {
        width: 100%;
        padding: 10px;
    }
}

/* Exit Intent Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 8px solid var(--secondary-color);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
}

.close-modal:hover {
    color: #333;
}

.modal-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.modal-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.modal-sub {
    font-size: 0.95rem !important;
    color: #777 !important;
    margin-bottom: 25px !important;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 10px 15px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

.sticky-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    box-shadow: 0 4px 10px rgba(12, 103, 43, 0.3);
}

@media (max-width: 992px) {
    .mobile-sticky-cta {
        display: block;
    }
    body {
        padding-bottom: 70px;
    }
}
