@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    padding: 0; margin: 0; color: #334155; 
    -webkit-font-smoothing: antialiased; 
    background: radial-gradient(circle at top left, #ffffff 0%, #eef2f8 100%);
    min-height: 100vh;
}

/* --- Optimized Header --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #0b1a30; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: sticky; /* Keeps it at the top while scrolling */
    top: 0;
    z-index: 1000;
}

.menu-toggle { display: none; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-right: 15px; /* Gap between menu and logo */
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none;
}
.logo-icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: cover; }
.logo-text-wrapper { display: flex; flex-direction: column; }
.logo-text { font-size: 1.3rem; line-height: 1; }
.logo-recto { color: #ffffff; font-weight: 800; }
.logo-press { color: #829ab1; font-weight: 400; }
.nav-tagline { font-size: 0.6rem; color: #93c5fd; font-style: italic; margin-top: 3px; max-width: 180px; line-height: 1.2; }

.nav-links { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav-links a { color: #ffffff; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: 0.3s; }

/* --- Mobile Logic --- */
@media (max-width: 768px) {
    .navbar { justify-content: flex-start; padding: 0.8rem 1rem; } /* Groups everything to the left */
    
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%; /* Fully off-screen */
        width: 75%;
        height: 100vh;
        background: #0b1a30;
        flex-direction: column;
        padding: 5rem 2rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    }

    .menu-toggle:checked ~ .nav-links { left: 0; }

    /* Hero adjustments for mobile */
    .hero { flex-direction: column; text-align: center; padding: 3rem 5%; }
    .hero-text { order: 1; margin-bottom: 0; }
    .hero-image { order: 2; margin-top: 1rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero-image img { max-width: 220px; }
    
    /* Make the tagline wrap nicely on small screens */
    .nav-tagline { font-size: 0.55rem; white-space: normal; }
}

/* The Hamburger (Hidden on Desktop) */
.menu-toggle { display: none; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: 0.3s;
}

.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 45px; height: 45px; border-radius: 50%; background: #fff; object-fit: cover; }
.logo-text-wrapper { display: flex; flex-direction: column; }
.logo-text { font-size: 1.4rem; line-height: 1.2; }
.logo-recto { color: #ffffff; font-weight: 800; }
.logo-press { color: #829ab1; font-weight: 400; }
.nav-tagline { font-size: 0.65rem; color: #93c5fd; font-style: italic; margin-top: 1px; }

.nav-links { list-style: none; display: flex; gap: 2.5rem; margin: 0; padding: 0; }
.nav-links a { color: #ffffff; text-decoration: none; font-size: 1rem; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: #93c5fd; }

/* --- Hero Section --- */
.hero {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 5rem 5%; gap: 4rem;
}
.hero-text { flex: 1.2; }
.hero h1 { font-size: 4.5rem; font-weight: 800; color: #12284c; line-height: 1.1; margin-bottom: 2rem; letter-spacing: -2px; }
.hero p { font-size: 1.2rem; color: #4b5563; line-height: 1.8; margin-bottom: 3rem; }
.hero-image { flex: 0.8; display: flex; justify-content: center; }
.hero-image img { width: 100%; max-width: 400px; border-radius: 50%; box-shadow: 0 25px 50px rgba(11, 26, 48, 0.2); }

/* --- Mobile Styling (Key Changes Here) --- */
@media (max-width: 768px) {
    .hamburger { display: flex; order: 1; } /* Hamburger on the left */
    .logo-container { order: 2; margin-left: 10px; } /* Logo stays next to menu */
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%; /* Hidden off-screen to the left */
        width: 70%;
        height: 100vh;
        background: #0b1a30;
        flex-direction: column;
        padding: 2rem;
        transition: 0.4s ease;
        box-shadow: 5px 0 15px rgba(0,0,0,0.3);
    }

    /* Show menu when checkbox is checked */
    .menu-toggle:checked ~ .nav-links { left: 0; }
    
    .hero { flex-direction: column; text-align: center; padding: 2rem 5%; }
    .hero-text { order: 1; } /* Text on top */
    .hero-image { order: 2; margin-top: 3rem; } /* Logo DOWN (below text) */
    .hero h1 { font-size: 2.8rem; }
    .hero-image img { max-width: 250px; }

    .nav-tagline { font-size: 0.55rem; width: 150px; } /* Slim tagline for mobile */
}

/* --- Service Cards --- */
.page-header { text-align: center; padding: 4rem 5% 1rem 5%; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; padding: 2rem 5% 5rem 5%; }
.service-card { background: #fff; padding: 2rem; border-radius: 15px; border: 1px solid #eef2f8; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
/* --- Ultra-Slim Footer Styling --- */
.footer {
    background: #0b1a30; /* Exact same dark navy as the header */
    padding: 1.2rem 5%; /* Exact same padding as the header */
    margin-top: 5rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05); /* Slight shadow pointing up */
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
}
.footer-logo img { 
    width: 30px; /* Slightly smaller than the header logo */
    height: 30px; 
    border-radius: 50%; 
    background: #fff;
    object-fit: cover;
}
.footer-bottom { 
    color: #829ab1; 
    font-size: 0.85rem;
}
.footer-bottom p {
    margin: 0; /* Removes default paragraph spacing to keep footer slim */
}

/* Mobile adjustments for Footer */
@media (max-width: 768px) {
    .footer-content { 
        flex-direction: column; 
        gap: 0.8rem; 
        text-align: center; 
    }
}