
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #111;
    line-height: 1.6;
    padding-top: 64px;   /* Add this line */
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.header {
    position: fixed;       /* Stay fixed on top */
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;          /* LOCKED height */
    background: #000;
    display: flex;
    align-items: center;   /* Center items vertically */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header .container {
    position: relative;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
}


.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 35px;
}

.logo {
    height: 80px;
    width: auto;
    display: block;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    padding-bottom: 4px;
}

/* 🔥 ADD HAMBURGER HERE */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

/* Animate hamburger to X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Underline animation */
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #00bcd4;
    transition: width 0.3s ease;
}
.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: #00bfff;
}

/* HERO */
.hero {
    min-height: 90vh;
    background: linear-gradient(120deg, #0f2027 0%, #203a43 40%, #2c5364 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    margin: 0;
}
.hero-content {
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 24px;
    margin-top: 0;
    
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: #ddd;
}

.btn {
    padding: 16px 42px;
    font-size: 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0097a7;
    transform: translateY(-3px);
}

/* ABOUT */
/* ABOUT */
.about {
    padding: 120px 0;
    text-align: center;
    background: #ffffff;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.about p {
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
    color: #555;
    font-size: 18px;
}

/* FOOTER */
.footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* SERVICES */
.services {
    padding: 140px 0;
    background: #f5f7fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.service-card p {
    color: #555;
    line-height: 1.6;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* 📱 MOBILE RESPONSIVE SECTION */
/* ============================= */

@media (max-width: 768px) {
    
    /* Show hamburger */
.hamburger {
    display: flex;
    position: absolute;
    right: 0;
}

/* Hide nav initially */
.nav {
        position: absolute;
        top: 64px;
        left: 0;
        transform: none;
        width: 100%;
        background: #000;

        display: flex;              /* ADD THIS */
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0;                 /* remove padding */

        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

/* Show nav when active */
.nav.active {
    max-height: 400px;
    padding: 20px 0;
}

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 14px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }

}