/* Root variables for colors and common values */
:root {
    --color-yellow: #FFEB3B;
    --color-dark-green: #2E7D32;
    --color-white: #F5F5F5;
    --nav-bg: rgba(255, 255, 255, 0.1);
    --nav-border: rgba(255, 255, 255, 0.2);
    --nav-shadow: rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
}

/* Reset and global styles */
* {
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-decoration: none;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(
            rgba(0, 0, 0, 0.70),
            rgba(0, 0, 0, 0.70),
            rgba(0, 0, 0, 0.70)
        ),
        url(/img/hugh-whyte-J8bU6-tAGy8-unsplash.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Header and Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-content: center;
    height: 100px;
}

.nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

nav {
    display: flex;
    padding: 20px;
}

.nav-ul {
    display: flex;
    gap: 50px;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 15px 100px;
    box-shadow: 0 8px 32px var(--nav-shadow);
    pointer-events: all;
    border: 1px solid var(--nav-border);
    animation: fadeInUp 0.6s ease-in-out;
}

.nav-link {
    text-decoration: none;
    color: var(--color-white);
    font-size: 16px;
    transition: all var(--transition-speed) ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link:hover,
.nav-link.active {
    transition: ease-in var(--transition-speed);
    color: var(--color-yellow);
}

nav a {
    position: relative;
    color: var(--color-white);
    font-size: 0.9rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--color-yellow);
    transition: width 0.4s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Logo styles */
.logo {
    padding: 20px;
}

.logo span {
    color: var(--color-yellow);
}

.logo a {
    font-size: 2rem;
    color: var(--color-dark-green);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
}

/* Get Started button */
.getstarted {
    padding: 20px;
}

.getstarted button {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    height: 50px;
    width: 140px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.4s ease-in, color 0.4s ease-in;
}

.getstarted button:hover {
    background-color: var(--color-yellow);
    color: var(--color-dark-green);
    font-weight: 600;
}

/* Hero section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 100px 20px 0 20px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    color: var(--color-dark-green);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
}

.hero .jay {
    color: var(--color-yellow);
}

.hero p {
    margin-top: 20px;
    color: var(--color-white);
    font-size: 1.4rem;
    max-width: 700px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .btn {
        flex-direction: column;
        gap: 15px;
    }
}

/* Button container */
.btn {
    margin: 80px 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Expand button */
.expand-btn {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    background-color: var(--color-dark-green);
    color: var(--color-white);
    height: 50px;
    width: 140px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border: none;
    transition: width 0.4s ease-in, background-color 0.4s ease-in, color 0.4s ease-in;
}

.expand-btn span.initial {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.expand-btn span.final {
    display: inline-block;
    position: absolute;
    left: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expand-btn:hover span.initial {
    opacity: 0;
}

.expand-btn:hover span.final {
    opacity: 1;
}

.expand-btn:hover {
    width: 230px;
    background-color: var(--color-yellow);
    color: var(--color-dark-green);
    font-weight: 600;
}

.expand-btn:visited {
    color: #F5F5F5
}

.btn-2 {
    margin: 0 0 0 10px;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 20px;
    }

    .nav-wrapper {
        justify-content: flex-start;
    }

    nav {
        padding: 10px 0;
        width: 100%;
        position: relative;
    }

    .nav-ul {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 20px;
        background: var(--nav-bg);
        backdrop-filter: blur(15px);
        border: 1px solid var(--nav-border);
        box-shadow: 0 8px 32px var(--nav-shadow);
    }

    nav-ul.open {
        max-height: 500px;
    }

    .nav-link {
        font-size: 18px;
        padding: 12px 20px;
        border-radius: 15px;
    }

}
.sec-2 {
            background-color: var(--color-white);
            padding: 80px 40px; /* Responsive padding */
        }

        .hero-2 h2 {
            color: var(--color-dark-green);
            text-align: center;
            font-size: 3.2rem;
            padding-bottom: 15px;
            font-weight: 700;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .hero-2 h3 {
            font-size: 2.2rem;
            font-weight: 500;
            text-align: center;
            color: var(--color-dark-green);
            padding-bottom: 50px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .main-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Slightly larger min-width for cards */
            gap: 2rem; /* Increased gap */
            max-width: 1200px;
            margin: 0 auto;
        }

        .cards {
            background-color: var(--card-bg);
            border-radius: 16px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Softer shadow */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            color: var(--color-dark-green);
            text-align: center;
            padding: 40px 25px; /* More padding */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 180px; /* Ensure consistent card height */
        }

        .cards:hover {
            transform: translateY(-10px); /* More pronounced lift */
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25); /* More visible shadow on hover */
        }

        .cards i { /* Icon styling for cards */
            font-size: 2.5rem;
            color: var(--color-dark-green);
            margin-bottom: 15px;
        }

        .cards h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin: 0;
            color: var(--color-dark-green);
            line-height: 1.4;
            padding-bottom: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .sec-3 {
            background-color: var(--color-white);
            padding: 80px 40px; /* Responsive padding */
        }

        .hero-3 h2 {
            color: var(--color-dark-green);
            text-align: center;
            font-size: 3.2rem;
            padding-bottom: 15px;
            font-weight: 700;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .hero-3 h3 {
            font-size: 2rem;
            font-weight: 500;
            text-align: center;
            color: var(--color-dark-green);
            padding-bottom: 50px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .main-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Slightly larger min-width for cards */
            gap: 2rem; /* Increased gap */
            max-width: 1200px;
            margin: 0 auto;
        }

        .cards {
            background-color: var(--card-bg);
            border-radius: 16px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Softer shadow */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            color: var(--color-dark-green);
            text-align: center;
            padding: 40px 25px; /* More padding */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 180px; /* Ensure consistent card height */
        }

        .cards:hover {
            transform: translateY(-10px); /* More pronounced lift */
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25); /* More visible shadow on hover */
        }

        .cards i { /* Icon styling for cards */
            font-size: 2.5rem;
            color: var(--color-dark-green);
            margin-bottom: 15px;
        }

        .cards h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin: 0;
            color: var(--color-dark-green);
            line-height: 1.4;
            padding-bottom: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

         .contact {
      max-width: 600px;
      margin: 100px auto;
    }

    .contact h2 {
        color: var(--color-dark-green);
        font-size: 3.2rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .contact input, .contact textarea {
      width: 100%;
      padding: 1rem;
      margin-bottom: 1rem;
      border: 1px solid #ccc;
      border-radius: 8px;
    }

    .contact button {
      background: var(--color-dark-green);
      color: var(--color-white);
      padding: 1rem 2rem;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
    }

    .contact button:hover {
      background: var(--color-yellow);
      color: #000;
      transition: 0.4 ease-in;
    
    }

                /* Footer */
        footer {
            background-color: var(--footer-bg);
            color: var(--color-white);
            padding: 40px 20px;
            text-align: center;
            font-size: 0.9rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: auto; /* Push footer to the bottom */
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            align-items: flex-start;
            gap: 30px;
        }

        .footer-section {
            flex: 1;
            min-width: 200px;
            margin-bottom: 20px;
        }

        .footer-section h4 {
            font-size: 1.1rem;
            color: var(--color-yellow);
            margin-bottom: 15px;
            font-weight: 700;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .footer-section ul {
            padding: 0;
        }

        .footer-section ul li {
            margin-bottom: 8px;
        }

        .footer-section ul li a {
            color: var(--color-white);
            transition: color var(--transition-speed) ease;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
        }

        .footer-section ul li a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            height: 2px;
            width: 0;
            background: var(--color-yellow);
            transition: width 0.4s ease;
        }

        .footer-section ul li a::after:hover {
            width: 100%;
        }

        .footer-section ul li a:hover {
            color: var(--color-yellow);
        }

        .social-links a {
            color: var(--color-white);
            font-size: 1.5rem;
            margin: 0 10px;
            transition: color var(--transition-speed) ease;
        }

        .social-links a:hover {
            color: var(--color-yellow);
            scale: 1.5;
        }

        .footer-bottom {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* Responsive styles */
        /* Laptop/Tablet View (max-width: 1200px) */
        @media (max-width: 1200px) {
            header {
                padding: 0 30px;
            }

            /* Hide desktop nav and button */
            .nav-wrapper,
            .getstarted-desktop {
                display: none;
            }

            /* Show hamburger menu */
            .hamburger-menu {
                display: flex;
            }

            /* Mobile Navigation (appears when open) */
            .nav-ul {
                flex-direction: column;
                position: fixed;
                top: 0;
                right: -100%; /* Start off-screen */
                width: 70%; /* Adjust width for tablets/laptops */
                max-width: 400px; /* Max width for mobile menu */
                height: 100%;
                padding: 80px 30px 30px; /* Padding for content below header */
                gap: 25px;
                border-radius: 0; /* No border-radius for full height menu */
                background: var(--nav-bg);
                backdrop-filter: blur(20px); /* Stronger blur for menu */
                border: none; /* Remove border */
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.4);
                transition: right 0.4s ease-in-out;
                z-index: 99; /* Below hamburger icon */
                justify-content: flex-start; /* Align items to top */
                align-items: flex-start; /* Align items to left */
            }

            .nav-ul.open {
                right: 0; /* Slide in */
            }

            .nav-link {
                font-size: 1.2rem;
                width: 100%; /* Full width links */
                text-align: left; /* Align text left */
                padding: 12px 20px;
            }

            .nav-link::after {
                left: 20px; /* Adjust underline position */
            }

            /* Mobile Get Started button inside nav - hidden by default, shown in mobile menu */
            .mobile-getstarted-item {
                display: block; /* Show this item when in mobile view */
                width: 100%;
                margin-top: 20px; /* Space from links */
            }

            .mobile-getstarted-item .getstarted-mobile-btn {
                background-color: var(--color-yellow);
                color: var(--color-dark-green);
                height: 50px;
                width: 100%; /* Full width button */
                border-radius: 50px;
                font-size: 1rem;
                font-weight: 700;
                border: none;
                cursor: pointer;
                transition: background-color 0.4s ease-in, color 0.4s ease-in, transform 0.2s ease;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            }

            .mobile-getstarted-item .getstarted-mobile-btn:hover {
                background-color: var(--color-dark-green);
                color: var(--color-yellow);
                transform: translateY(-3px);
                box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
            }

            .hero h1 {
                font-size: 4rem;
            }

            .hero p {
                font-size: 1.8rem;
            }

            .sec-2 {
                padding: 60px 30px;
            }

            .hero-2 h2 {
                font-size: 2.8rem;
            }

            .hero-2 h3 {
                font-size: 1.8rem;
            }

            .main-container {
                gap: 1.5rem;
            }

            .footer-content {
                flex-direction: column;
                align-items: center;
            }

            .footer-section {
                min-width: unset;
                width: 100%;
                text-align: center;
            }
        }

        /* Phone View (max-width: 768px) */
        @media (max-width: 768px) {
            header {
                padding: 0 20px;
                height: 80px;
            }

            .logo a {
                font-size: 1.8rem;
            }

            .hamburger-menu {
                width: 25px;
                height: 20px;
            }

            .hamburger-menu.open .bar:nth-child(1) {
                transform: translateY(8.5px) rotate(45deg);
            }

            .hamburger-menu.open .bar:nth-child(3) {
                transform: translateY(-8.5px) rotate(-45deg);
            }

            .nav-ul {
                width: 85%; /* Wider for smaller phones */
                padding: 60px 20px 20px;
                gap: 20px;
            }

            .nav-link {
                font-size: 1.1rem;
                padding: 10px 15px;
            }

            .hero-section {
                padding: 80px 20px;
            }

            .hero h1 {
                font-size: 2.8rem;
            }

            .hero p {
                font-size: 1.4rem;
            }

            .btn-container {
                flex-direction: row;
                gap: 20px;
            }

            .expand-btn {
                width: 100%;
                height: 45px;
                font-size: 0.9rem;
            }

            .expand-btn:hover {
                width: 100%; /* Maintain full width on hover */
            }

            .sec-2 {
                padding: 40px 20px;
            }

            .hero-2 h2 {
                font-size: 2.2rem;
            }

            .hero-2 h3 {
                font-size: 1.5rem;
                padding-bottom: 30px;
            }

            .main-container {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .cards {
                padding: 30px 20px;
                min-height: 160px;
            }

            .cards i {
                font-size: 2rem;
            }

            .cards h3 {
                font-size: 1.1rem;
            }

            footer {
                padding: 30px 15px;
            }

            .footer-section h4 {
                font-size: 1rem;
            }

            .social-links a {
                font-size: 1.2rem;
                margin: 0 8px;
            }
        }
