
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    --nav_color: #050064;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    padding-top: 70px; 
}

img {
    max-width: 100%;
    height: auto;
    display: block; 
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
nav {
    z-index: 1000;
    width: 100%;
    height: 70px;
    background-color: var(--nav_color);
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-name {
    font-family: "Space Grotesk", sans-serif;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-name:hover {
    color: #FF5632;
}

nav ul {
    list-style: none;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-family: "Space Grotesk", sans-serif;
    display: block;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FF5632;
}

/* Desktop Menu Specifics */
.desktop-menu {
    display: flex;
}

.desktop-menu li {
    margin-left: 10px;
}

.desktop-menu > li > a {
    padding: 22px 14px;
}

.desktop-menu ul {
    display: none;
    position: absolute;
    background-color: #222;
    padding: 10px;
    border-radius: 4px;
    left: 0;
    width: 180px;
}

.desktop-menu li:hover > ul {
    display: block;
}

.desktop-menu ul li {
    width: 100%;
    margin-left: 0;
}

.desktop-menu ul li a {
    padding: 8px 14px;
}


/* Hamburger Icon */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger .line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Mobile Menu */
.mobile-menu {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--nav_color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.mobile-menu.active {
    max-height: 500px; /* Adjust as needed */
}

.mobile-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #4a4a7e;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    padding: 18px 0;
    font-size: 16px;
}

.mobile-menu ul {
    display: none; /* Sub-menus hidden on mobile by default */
}


/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hamburger.open .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.open .line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -70px;
}
.hero-carousel{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;overflow:hidden}.carousel{width:100%;height:100%;position:relative}.image-fader{width:100%;height:100%}.fade-image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s ease-in-out}.fade-image.active{opacity:1}.hero-titleImage-content{position:relative;z-index:10;color:#fff;text-shadow:0 2px 5px rgba(0,0,0,.7)}.hero-titleImage-content h1{font-size:4rem;font-weight:700;margin-bottom:1rem;color:#fff;text-shadow:0 3px 6px rgba(0,0,0,.6)}.carousel .btn{position:absolute;top:50%;transform:translateY(-50%);font-size:2rem;background-color:rgba(0,0,0,.4);color:#fff;border:none;padding:10px;cursor:pointer;z-index:10}.carousel .btn.prev{left:30px}.carousel .btn.next{right:30px}section{padding:3rem 2rem;max-width:1000px;margin:0 auto;text-align:center}section h1,section h2,section h3{margin-bottom:1.5rem;color:#1e3a8a}section p{font-size:1.1rem;margin-bottom:1rem}.project-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:2rem;text-align:center}.project-card{background-color:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 10px rgba(0,0,0,.08);transition:transform .3s ease,box-shadow .3s ease}.project-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px rgba(0,0,0,.12)}.project-card img{width:100%;height:180px;object-fit:cover}.project-card h3{margin:1rem 0 .5rem;font-size:1.4rem;color:#1e3a8a}.project-card p{font-size:1rem;color:#475569;padding:0 1rem 1rem}.btn{background-color:#1e3a8a;color:#fff;padding:.75rem 1.5rem;text-decoration:none;border-radius:5px;display:inline-block;margin-top:1rem;border:none}.btn:hover{background-color:#172554}footer{background-color:#1e3a8a;color:#fff;text-align:center;padding:2rem 1rem;margin-top:2rem}footer img.hero-image{max-width:100%;margin-bottom:1rem}

/* Profile/Team Page */
.profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}
.profile-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.profile-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.profile-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.4rem;
    color: #1e3a8a;
}
.profile-card p {
    font-size: 1rem;
    color: #475569;
    padding: 0 1rem 1rem;
    margin-bottom: 0.5rem;
}
