/* Base Styles & Variables */
:root {
    --primary: rgb(0, 73, 24); /* Dark Green */
    --primary-light: rgb(0, 128, 43); /* Lighter Green for gradients/highlights */
    --primary-dark: rgb(3, 107, 3); /* Darker Green for hover/shadows */
    --secondary: #1d3557; /* Dark Blue */
    --accent: #a8dadc; /* Light Blue/Teal */
    --light: #f1faee; /* Very Light Pale Green */
    --dark: #0a1128; /* Very Dark Blue */
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --font-primary: 'Poppins', sans-serif;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 15px; /* Consistent larger radius */
    --border-radius-xl: 50px; /* For pills/buttons */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), #122a44); /* Darker secondary */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    /* Removed padding-bottom from body as there's no fixed bottom nav anymore */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    height:auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-description {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Initial shadow */
    overflow: hidden;
    border-radius: 0;
    /* Adjust initial state for desktop */
    top: 20px; /* Adjust top position for initial floating */
    width: 60%; /* Start with narrower width */
    left: 20%; /* Center it */
    border-radius: var(--border-radius-xl); /* Rounded corners for initial state */
}

/* Initial State Animation */
.navbar.animate__animated {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
    animation:
        centerFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards,
        expandWidth 0.8s cubic-bezier(0.33, 1, 0.68, 1) 0.3s forwards;
}

/* Animation Keyframes */
@keyframes centerFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(0.98);
    }
}

@keyframes expandWidth {
    0% {
        width: 60%;
        left: 20%;
        border-radius: var(--border-radius-xl);
    }
    50% {
        border-radius: calc(var(--border-radius-xl) * 0.5); /* Intermediate state */
    }
    100% {
        width: 100%;
        left: 0;
        border-radius: 0; /* Full width, no border radius */
        top: 0; /* Move to top on expand */
    }
}


/* Scrolled State */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px -10px rgba(0, 0, 0, 0.15);
    /* No animation on scroll for existing elements, just smooth transition */
    top: 0; /* Ensure it sticks to top when scrolled */
    width: 100%; /* Ensure it's full width when scrolled */
    left: 0; /* Ensure it's left aligned when scrolled */
    border-radius: 0; /* Ensure no border radius when scrolled */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 0 auto;
    border-radius: var(--border-radius-xl); /* Initial nav border radius */
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    transition-delay: 0.9s;
}

.navbar.animate__animated .nav {
    opacity: 1;
    transform: translateY(0);
}

/* Logo Styles */
.navbar-brand .logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    height: 40px;
}

/* Navigation Links */
.navbar-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.1rem;
    color: var(--secondary); /* Default link color */
    position: relative;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500; /* Added font-weight */
}

.nav-link i {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--primary); /* Icon color */
    transition: var(--transition);
}

.nav-link::after {
    content: attr(data-title);
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition);
    position: absolute;
    bottom: -15px;
    color: var(--primary); /* Text color for the hover title */
}

/* Hover Effects */
.nav-link:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.nav-link:hover i {
    transform: scale(1.1);
    color: var(--primary-dark); /* Darken icon on hover */
}

.nav-link:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Active State */
.nav-link.active {
    color: var(--primary); /* Active link color */
    filter: drop-shadow(2px 2px 4px rgba(0, 73, 24, 0.5)); /* Shadow from primary color */
}

.nav-link.active i {
    transform: scale(1.1);
    color: var(--primary);
}

.nav-link.active::after {
    opacity: 1;
    transform: translateY(0);
}

/* Login Button */
.login-btn {
    width: 120px;
    height: 45px;
    background: var(--gradient-primary); /* Use defined gradient */
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 73, 24, 0.3); /* Shadow from primary color */
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    position: relative;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent);
    transition: 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 73, 24, 0.4);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 73, 24, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.video-background {
    position: absolute;
    justify-content: center;
    align-items: center;

    border-radius: 15px;
    margin: auto;
    width: 94%;
    height: auto;

    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%; /* Make video fill container vertically */
    object-fit: cover; /* Cover the entire area */
    border-radius: 0; /* Remove specific border-radius here */
    padding: 0; /* Remove specific padding here */
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.scroller {
    width: 5px;
    height: 8px;
    background-color: var(--white);
    border-radius: 3px;
    margin-top: 5px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* About Section */
.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--dark); /* Ensure text color is readable */
}

.about-logos {
    flex: 1;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.logo-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden; /* Added for potential badge overflow */
}

.logo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.logo-img {
    height: 120px;
    width: auto;
    margin: 0 auto;
    object-fit: contain; /* Ensure logo fits within its space */
}

.badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: var(--border-radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.program-card:hover::before {
    height: 100%;
}

.program-card.highlight {
    background: var(--secondary);
    color: var(--white);
}

.program-card.highlight .program-link {
    color: var(--white);
}

.program-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.program-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none; /* Reset filter for general program icons */
}

.program-card.highlight .program-icon img {
    filter: brightness(0) invert(1); /* Invert icon color for highlight card */
}


.program-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary); /* Default text color */
}

.program-card.highlight h3 {
    color: var(--white); /* White for highlight card */
}

.program-card p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.program-card.highlight p {
    color: rgba(255, 255, 255, 0.8);
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.program-card.highlight .program-link {
    color: var(--white); /* White for highlight card */
}

.program-card.highlight .program-link:hover {
    color: var(--accent);
}

/* Products Section - Modern E-commerce Style */
.products-section {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    z-index: 0;
    opacity: 0.5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.product-image {
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    position: relative;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 1;
}

.product-image img {
    width: auto;
    height: 80%;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

.product-info {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    background: var(--light-gray);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-xl);
}

.buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: var(--primary-light); /* Adjusted to a lighter green */
    color: var(--white);
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 128, 43, 0.3); /* Shadow from primary-light */
    width: 100%;
    position: relative;
    overflow: hidden;
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent);
    transition: var(--transition);
    z-index: -1;
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 128, 43, 0.4); /* Darker shadow on hover */
}

.buy-button:hover::before {
    opacity: 1;
}

/* Official Members Section (New Section) */
.members-section {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem; /* Consistent gap */
    margin-top: 3rem;
}

.member-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem; /* Adjusted padding */
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease-out; /* Smooth transition for hidden class */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Initial state for hidden cards */
    opacity: 1; /* Default to visible */
    transform: translateY(0); /* Default to visible */
}

.member-card.animate__fadeInUp {
    /* Ensure animate.css classes are applied only when needed */
    animation-duration: 0.8s;
    animation-fill-mode: both;
}


.member-card.hidden-member {
    /* Styles for initially hidden cards */
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    height: 0; /* Collapse height to hide it completely */
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    border: none; /* Remove border when hidden */
    pointer-events: none; /* Make it unclickable */
    overflow: hidden; /* Hide content */
    box-shadow: none; /* Remove shadow when hidden */
}


.member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: var(--gradient-primary); /* Gradient top border */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-out;
}

.member-card:hover::before {
    transform: scaleX(1);
}

.member-image-container {
    width: 120px; /* Fixed width for logo container */
    height: 120px; /* Fixed height for logo container */
    border-radius: 50%; /* Make it circular */
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: var(--white); /* White background for the circle */
    border: 3px solid var(--primary-light); /* Green border */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.member-card:hover .member-image-container {
    transform: scale(1.05);
    border-color: var(--primary); /* Darker green border on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.member-logo {
    width: 80%; /* Logo takes 80% of the container */
    height: 80%; /* Logo takes 80% of the container */
    object-fit: contain; /* Ensures the whole logo is visible */
    border-radius: 0; /* No border-radius on the image itself, it's handled by container */
}

.member-logo.default-logo {
    opacity: 0.5; /* Dim default logo */
}

.member-badge {
    background: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-xl);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: pulse 1.5s infinite ease-in-out;
    box-shadow: 0 3px 10px rgba(0, 73, 24, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.member-card h3 {
    font-size: 1.8rem; /* Slightly smaller for better fit */
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.member-card p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.member-card p strong {
    color: var(--dark);
}

.no-members-message {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gray);
    padding: 3rem 0;
}

.view-more-container {
    text-align: center;
    margin-top: 3rem; /* Space above the button */
}

.view-more-container .btn {
    display: inline-flex; /* To align icon with text */
    align-items: center;
    gap: 0.5rem; /* Space between text and icon */
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    color: var(--secondary); /* Icon color */
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 73, 24, 0.2); /* Shadow from primary color */
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--border-radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 73, 24, 0.3);
}

.submit-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 73, 24, 0.4);
}


/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem; /* Added padding to separate from bottom text */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    text-align: left; /* Align logo left in desktop */
}
.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
    margin-top: 1rem;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
    color: var(--white); /* Ensure links are white */
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-newsletter p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent input */
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.legal-links a {
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition);
    color: var(--white); /* Ensure links are white */
}

.legal-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .about-logos {
        margin-top: 2rem;
    }

    .contact-info {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        text-align: center; /* Center align footer content on smaller screens */
    }
    .footer-links h3::after, .footer-newsletter h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-logo {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Main Navbar (at the top) for mobile */
    .navbar {
        position: fixed; /* Keep it fixed at the top */
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Standard top shadow */
        border-radius: 0; /* No border radius */
        animation: none; /* Disable initial animation on mobile */
        opacity: 1; /* Always visible */
        transform: translateY(0); /* No transform */
        padding: 0; /* Adjust padding on the .nav element */
    }

    /* Adjust the .nav container within the top navbar */
    .nav {
        padding: 0.8rem 1.5rem; /* Minimal padding for top bar */
        justify-content: space-between; /* Space logo and login button */
        margin: 0; /* Remove auto margin */
        border-radius: 0; /* No border radius */
        opacity: 1; /* Always visible */
        transform: translateY(0); /* No transform */
        transition-delay: 0s; /* No delay */
    }

    /* Ensure logo is visible on top bar */
    .navbar-brand {
        display: block; 
    }

    /* Hide Navigation Links on mobile */
    .navbar-links {
        display: none; 
    }

    /* Ensure login button is visible on top right */
    .login-btn {
        display: flex; /* Ensure login button is visible */
        width: auto; /* Allow width to be determined by content */
        padding: 0.6rem 1.2rem; /* Adjust padding for better look */
        font-size: 0.8rem; /* Smaller font size for mobile */
        box-shadow: 0 3px 10px rgba(0, 73, 24, 0.3); /* Keep shadow */
        /* Re-enable shimmer effect if desired for the top button */
        background: var(--gradient-primary); /* Ensure gradient is visible */
    }
    .login-btn::before {
        display: block; /* Show shimmer effect */
    }
    .login-btn:hover {
        transform: translateY(-2px); /* Slightly less aggressive hover */
        box-shadow: 0 5px 15px rgba(0, 73, 24, 0.4);
    }
    .login-btn:active {
        transform: translateY(0);
        box-shadow: 0 3px 10px rgba(0, 73, 24, 0.3);
    }
    
    /* Remove hamburger menu styles as it's no longer needed */
    .hamburger {
        display: none;
    }

    section {
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-logos {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    /* Further adjustments for smaller phones if needed */
    .nav {
        padding: 0.6rem 1rem; /* Even more compact padding for top bar */
    }
    .navbar-brand .logo {
        height: 35px; /* Smaller logo */
    }
    .login-btn {
        padding: 0.5rem 1rem; /* Even more compact button */
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    /* Hero Section */
    .hero-section {
        height: 100vh;
        padding: 0 1rem; /* Adjust padding for small screens */
    }
    .btn {
        width: 100%;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: var(--border-radius-sm);
        margin-bottom: 0.5rem;
    }

    .newsletter-form button {
        border-radius: var(--border-radius-sm);
        padding: 0.8rem;
    }
    .scroll-indicator{
        display: none; /* Hide scroll indicator on very small screens */
    }
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .badge{
        width: 150px;
    }
    .product-image{
        margin: auto;
        width: 100%;
        height: 200px; /* Smaller product image height */
    }

    .leader-image{
        margin: auto;
    }
    .leader-image img {
        width: 70%;
        margin: auto;
        height: 100%;
        object-fit: cover;
    }
    .video-background video{
        /* Reverted for new CSS logic, let it cover full width */
        border-radius: 0;
        padding: 0;
        margin-top: 0;
    }
}