* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #1f2937;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f59e0b;
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 500px;
    background: linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd")
    center/cover;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 700px;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #f59e0b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: 600;
}

.btn:hover {
    background: #d97706;
}

/* Section Styles */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.section p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

.light {
    background: #f8f9fa;
}

/* Cards Grid */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card h3 {
    margin-bottom: 10px;
    color: #1f2937;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-box {
    margin-top: 30px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.contact-box p {
    margin: 10px 0;
    font-size: 1rem;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* ========================================
   MOBILE RESPONSIVE DESIGN
   ======================================== */

/* Tablets and Medium Screens (768px and below) */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    nav ul {
        gap: 15px;
        justify-content: center;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 40px 20px;
    }

    .section h2 {
        font-size: 1.7rem;
        margin-bottom: 25px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card {
        padding: 20px;
    }
}

/* Small Phones (480px and below) */
@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    nav ul {
        gap: 10px;
        font-size: 0.8rem;
    }

    nav a {
        font-size: 0.8rem;
    }

    .hero {
        height: 70vh;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .hero-content {
        padding: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section {
        padding: 30px 15px;
    }

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .section p {
        font-size: 0.95rem;
    }

    .card {
        padding: 15px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .contact-box {
        padding: 15px;
    }

    .contact-box p {
        font-size: 0.95rem;
    }
}

/* Extra Small Phones (under 360px) */
@media (max-width: 360px) {
    .logo {
        font-size: 0.9rem;
    }

    nav ul {
        gap: 8px;
        font-size: 0.7rem;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}
