/* Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.nav-links {
    display: flex;
}

.nav-links a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1abc9c;
}

/* Hamburger Menu (hidden on desktop) */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #2c3e50;
}

/* Hero */
.hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero-img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    filter: brightness(70%);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #1abc9c;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
    cursor: pointer;
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    color: #1abc9c;
    border: 2px solid #1abc9c;
    background-color: white;
    opacity: 0.8;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #16a085;
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 768px) {

    /* Navbar */
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        width: 220px;
        padding: 1rem;
        display: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0.8rem 0;
        font-size: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    /* Hero */
    .hero-img {
        height: 70vh;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* Sections */
.section {
    padding: 4rem 1rem;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #2c3e50;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.alt-bg {
    background: #f4f4f4;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding-bottom: 1rem;
    transition: transform 0.3s ease;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 1rem 0 0.5rem;
    color: #2c3e50;
}

.card p {
    padding: 0 1rem;
    color: #555;
}

.card:hover {
    transform: translateY(-5px);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature h3 {
    margin-bottom: 1rem;
    color: #1abc9c;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
}

.footer-nav {
    margin-top: 1rem;
}

.footer-nav a {
    margin: 0 0.8rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #1abc9c;
}