/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.2s ease;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

/* Desktop menu */
.menu__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu__link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.menu__link:hover {
    color: #007bff;
}

/* Hamburger button (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger__line {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger → X animation */
.hamburger.active .hamburger__line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background: #007bff;
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background: #007bff;
}

/* Mobile styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .menu.active {
        right: 0;
    }

    .menu__list {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Hero section with full‑width image */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;                /* Full viewport height */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* Ensures image covers the area without distortion */
    object-position: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.btn--primary {
    background: #007bff;
    color: #fff;
}

.btn--primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn--secondary:hover {
    background: #fff;
    color: #333;
}

/* Features section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #212529;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: #212529;
}

/* Contact section with form */
.contact {
    padding: 80px 0;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact__info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #212529;
}

.contact__details {
    list-style: none;
    margin-top: 2rem;
}

.contact__details li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #6c757d;
}

.contact__details i {
    width: 24px;
    color: #007bff;
    font-size: 1.2rem;
}

.contact__form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #212529;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* Footer */
.footer {
    background: #212529;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__column h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer__column p,
.footer__links li,
.footer__contact li {
    color: #adb5bd;
    line-height: 1.8;
}

.footer__links {
    list-style: none;
}

.footer__links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: #007bff;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.footer__contact i {
    color: #007bff;
    width: 20px;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.footer__social a:hover {
    background: #007bff;
    transform: translateY(-3px);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #343a40;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        height: 80vh;            /* Slightly shorter on mobile */
    }

    .hero__title {
        font-size: 2rem;
    }

    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__contact li {
        justify-content: center;
    }
}

/* Header scroll animation class (added by JS) */
.header--scroll {
    transform: translateY(-5px);
}
