:root {
    --primary: #4361ee;
    --primary-light: #e6e9ff;
    --secondary: #3f37c9;
    --accent: #4cc9f0;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px; /* Default padding */
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0; /* Ensure header is at the top */
    transition: height 0.3s ease; /* Smooth height transition for mobile menu */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo span {
    color: var(--accent);
}

/* Hamburger Icon */
.hamburger-icon {
    /* Base styles for the square touch area */
    display: none; /* HIDDEN by default on large screens (Corrected) */
    background-color: transparent; /* Remove background */
    border: none; /* Remove border */
    cursor: pointer;
    padding: 0; /* Remove default button padding */
    width: 40px; /* Set width for the square */
    height: 40px; /* Set height for the square */
    /* display: flex; <-- REMOVED from here */
    align-items: center; /* Keep align-items and justify-content for when it is flex */
    justify-content: center; /* Keep align-items and justify-content for when it is flex */
    z-index: 1001; /* Ensure it's above the menu */
    transition: var(--transition); /* Smooth transition for hover effects */
}

/* Style for the icon itself */
 .hamburger-icon i {
    font-size: 24px; /* Size of the icon lines */
    color: var(--dark); /* Color of the icon */
     transition: color var(--transition);
 }

 .hamburger-icon:hover i {
    color: var(--primary); /* Change color on hover */
 }


/* Navigation Menu Container */
.nav-menu {
     display: flex; /* Default flex display for larger screens */
     flex-grow: 1;
     justify-content: space-between; /* Space between nav-links and auth-buttons */
     align-items: center;
     margin: 0 20px; /* Add some margin around menu content */
     transition: var(--transition);
}


.nav-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: #3ab7d8;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 120px 0 100px; /* Adjust padding to account for fixed header height */
    background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

/* Rest of Hero Section Styles (kept from previous response) */
 .hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--accent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.2;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto; /* Ensure image scales proportionally */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(-5deg);
}

.hero h1 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
}

.hero p {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

.search-box {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.search-box h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--dark);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}


/* Features Section Styles (kept from previous response) */
.features {
    padding: 100px 0 10px;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: #666;
    font-size: 16px;
}

/* CTA Section Styles (kept from previous response) */
 .cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.btn-white {
    background-color: white;
    color: var(--primary);
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-transparent {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-transparent:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}


/* Vendor Section Styles (kept from previous response) */
.vendor {
    padding: 100px 0;
    background-color: var(--light);
}

.vendor-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.vendor-image {
    flex: 1;
    position: relative;
}

.vendor-image img {
    width: 100%;
    height: auto; /* Ensure image scales proportionally */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.vendor-text {
    flex: 1;
}

.vendor-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.vendor-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.vendor-list {
    list-style: none;
    margin-bottom: 30px;
}

.vendor-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.vendor-list li i {
    margin-right: 10px;
    color: var(--accent);
    font-size: 20px;
}


/* Footer Styles (kept from previous response) */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about {
    flex: 1;
    min-width: 300px; /* Ensure enough width before wrapping */
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    color: white; /* Ensure logo is white in footer */
    text-decoration: none;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about p {
    color: #aaa;
    margin-bottom: 20px;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Adjusted gap for potentially more link groups */
}

.link-group {
    flex: 1; /* Allow link groups to grow */
    min-width: 150px; /* Minimum width for each link group */
}

.link-group h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link-group h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    display: block; /* Make links block for easier clicking */
}

.link-group a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}


/* Responsive Styles */

/* Tablet and below */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

     /* Hamburger menu specific styles */
    .hamburger-icon {
        display: flex; /* Show hamburger icon and enable flex centering */
    }

    .nav-menu {
        display: none; /* Hide the nav menu by default */
        flex-direction: column;
        background-color: white; /* Background for dropdown menu */
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        width: 100%;
        box-shadow: var(--shadow);
        padding: 20px;
        border-top: 1px solid #eee;
        align-items: center;
        gap: 20px; /* Gap between nav-links and auth-buttons */
         margin: 0; /* Remove margin */
    }

     .navbar.open .nav-menu {
         display: flex; /* Show the nav menu when navbar has 'open' class */
     }

     .navbar.open {
         /* Adjust header height when menu is open if needed */
         /* height: auto; */
     }

    .nav-links {
         flex-direction: column;
         align-items: center;
         gap: 15px; /* Gap between nav links */
         margin: 0; /* Remove margin */
    }

    .nav-links a::after {
         left: 50%; /* Center underline */
         transform: translateX(-50%);
    }

     .auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px; /* Gap between auth buttons */
     }

     .btn {
        width: 100%;
        text-align: center;
     }

    /* Adjust hero padding to account for header height */
    .hero {
        padding-top: 100px;
    }


    /* Stack content sections */
    .hero-content, .vendor-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-text, .vendor-text {
        order: 1;
        text-align: center;
    }

    .hero-image, .vendor-image {
        order: 2;
        margin-top: 40px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .section-title h2 {
        font-size: 32px;
    }

     .cta h2 {
        font-size: 32px;
    }

     .vendor-text h2 {
        font-size: 32px;
    }

    .search-box {
        padding: 25px;
    }

    .vendor-list {
         text-align: left; /* Align list items left */
         margin-left: auto;
         margin-right: auto;
         max-width: 400px; /* Optional: Limit max width for list */
    }
}

/* Mobile devices */
@media (max-width: 768px) {
     /* nav-menu styles are handled by the 1024px media query */

    .hero {
        padding: 130px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-form {
        flex-direction: column;
        gap: 10px;
    }

    .search-input {
         padding: 12px 15px;
    }

    .btn-primary {
         padding: 12px;
    }


    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-lg {
         padding: 14px 28px;
         font-size: 16px;
    }

    .features, .cta, .vendor, footer {
         padding: 80px 0;
    }

    .section-title {
         margin-bottom: 40px;
    }

    .section-title h2, .cta h2, .vendor-text h2 {
        font-size: 28px;
    }

    .feature-card {
         padding: 30px 20px;
    }

    .footer-content {
         gap: 30px;
         margin-bottom: 30px;
    }

    .footer-about {
         min-width: auto;
         width: 100%;
         text-align: center;
    }

     .footer-about p {
         max-width: 100%;
         margin-left: auto;
         margin-right: auto;
     }

    .social-links {
        justify-content: center;
    }

    .footer-links {
         flex-direction: column;
         gap: 20px;
    }

    .link-group {
        min-width: auto;
        width: 100%;
        text-align: center;
    }

    .link-group h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

     .link-group a {
         padding-left: 0;
         display: inline-block;
     }

}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

     .hero {
        padding: 120px 0 50px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-title h2, .cta h2, .vendor-text h2 {
        font-size: 24px;
    }

     .section-title p, .hero p, .cta p, .vendor-text p, .feature-card p, .vendor-list li {
         font-size: 15px;
    }

    .features, .cta, .vendor, footer {
         padding: 60px 0;
    }

    .features-grid {
         grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
         gap: 20px;
    }

     .search-box {
        padding: 20px;
    }

    .footer-bottom {
         font-size: 12px;
    }
}

 /* Adjust padding for fixed header on very small screens */
 @media (max-width: 400px) {
     .hero {
        padding-top: 100px;
     }
 }

 /* Add this to your existing style.css */

/* General Section Padding (for the new sections) */
.section {
    padding: 100px 0; /* Consistent padding for sections */
    background-color: white; /* Default background */
    /* You can add different background colors for alternating sections if desired */
}

/* Adjust padding for fixed header on sections */
.hero {
    /* min-height: 100vh; /* Ensure hero takes at least full viewport height */
    padding: 120px 0 100px; /* Adjust padding top for fixed header */
    /* Other hero styles */
    background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
    position: relative;
    overflow: hidden;

    /* --- Styles for Vertical Centering Hero Content --- */
    display: flex; /* Use flexbox on the hero container */
    align-items: center; /* Vertically center content */
    /* justify-content: center; /* Optional: Horizontally center content if needed */
}

.hero-content {
    /* Remove height: 80vh; */
    /* Ensure content takes necessary space */
    width: 100%; /* Ensure content takes full width of container */
     display: flex; /* Keep flex for hero-text and hero-image */
     align-items: center;
     gap: 50px;
    position: relative; /* Keep relative position for z-index */
    z-index: 1;
}

/* Adjust padding top for other sections to account for the fixed header */
/* Add this rule or modify existing section padding */
section:not(.hero) {
    padding-top: 50px; /* Example: Base padding + header height */
}

/* Add specific padding adjustments for smaller screens if needed */
@media (max-width: 1024px) {
    section:not(.hero) {
        padding-top: 50px; /* Smaller padding + header height on tablet */
    }
}

@media (max-width: 768px) {
    section:not(.hero) {
        padding-top: 50px; /* Even smaller padding + header height on mobile */
    }
     .hero {
         padding-top: 100px; /* Adjust hero padding on mobile */
         padding-bottom: 60px;
     }
}


/* --- Scroll Down Arrow Styles --- */
.scroll-down {
    position: absolute;
    bottom: -10px; /* Distance from the bottom of the hero section */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for button width */
    display: inline-flex; /* Use flexbox for centering icon if needed */
    justify-content: center;
    align-items: center;
    width: 50px; /* Size of the button */
    height: 50px;
    border-radius: 50%; /* Make it a circle */
    background-color: rgba(255, 255, 255, 0.2) !important; /* Semi-transparent background */
    color: var(--primary); /* Icon color */
    font-size: 24px; /* Icon size */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2; /* Ensure it's above background shapes */
    box-shadow: 0 10px 50px rgba(0, 0, 0, 2.8);
}

.scroll-down:hover {
    background-color: rgba(255, 255, 255, 0.4); /* More visible on hover */
    transform: translateX(-50%) translateY(-5px); /* Slight lift effect */
}

.scroll-down i {
    pointer-events: none; /* Ensure click goes through to the link */
}

/* --- Active Navigation Link Styling (Optional) --- */
.nav-links a.active {
    color: var(--primary); /* Highlight color */
    font-weight: 700; /* Make it bold */
}

.nav-links a.active::after {
    width: 100%; /* Ensure underline is full width */
}

/* Adjustment for mobile active link underline centering */
@media (max-width: 1024px) {
     .nav-links a.active::after {
         left: 50%;
         transform: translateX(-50%);
     }
}


/* Ensure hamburger icon is above dropdown menu when open */
.navbar.open .hamburger-icon {
     z-index: 1002; /* Higher z-index than the menu */
}

/* Add this CSS to your style.css file */

/* Style for the suggestions container */
.pac-container {
    /* Inherit font from body or define your own */
    font-family: inherit;
    /* Example: Add a subtle border and box-shadow */
    border: 1px solid #d4d4d4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md); /* Use your theme radius */
    /* Optional: Adjust background color */
    background-color: white;
    /* Ensure it stacks above other content but below fixed header */
    z-index: 999;
    /* Optional: Max height and overflow for long lists */
    max-height: 300px;
    overflow-y: auto;
}

/* Style for individual suggestion items */
.pac-item {
    /* Add padding */
    padding: 12px 15px;
    /* Add a bottom border to separate items */
    border-bottom: 1px solid #eee;
    /* Change cursor to indicate it's clickable */
    cursor: pointer;
    /* Optional: Adjust font size */
    font-size: 1rem;
    /* Remove default Google hover background */
    background-color: transparent !important; /* Use !important to override Google's inline style */
    /* Ensure text color is readable */
    color: var(--dark);
}

/* Style for the suggestion item on hover or focus */
.pac-item:hover, .pac-item-selected {
    /* Change background on hover */
    background-color: var(--primary-light) !important; /* Use !important to override Google's style */
    color: var(--primary); /* Change text color on hover */
}

/* Style for the icon (e.g., pin icon) */
.pac-icon {
    /* Optional: Adjust size or margin */
    margin-top: 3px; /* Align with text */
    margin-right: 10px;
    /* Optional: Color the icon */
    /* filter: hue-rotate(180deg); Change color (example using filter) */
    /* background-image: url(...) Replace with custom icon */
}

/* Style for the matched text within the suggestion (typed letters) */
.pac-item-query {
    font-weight: 600; /* Make the matched part bold */
    color: var(--secondary); /* Highlight color */
}

/* Style for the 'Powered by Google' attribution */
/* You can style this to fit your site, but DO NOT hide it */
.pac-vpn { /* This class might vary, inspect element to confirm */
   /* Example: Adjust font size and color */
   font-size: 0.8rem;
   color: #555;
   padding: 10px 15px;
   text-align: right;
   border-top: 1px solid #eee;
}

/* On mobile, ensure the dropdown is still usable */
@media (max-width: 768px) {
    .pac-container {
        /* Optional: Adjust width or positioning */
        /* width: calc(100% - 40px); /* Example: Add margin on mobile */
        /* left: 20px !important; Adjust left position if needed */
    }
}