:root {
    --blue: #0063b1;
    --dark: #06121c;
    --gray: #e8edf2;
    --text: #111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background: white;
}

/* --- Navigation Bar --- */
.navBar {
    height: 85px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 7%;
    background: white;
    border-bottom: 4px solid var(--blue);
}

.logoContainer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logoCircle {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 38px;
    font-weight: 900;
}

.logoText {
    font-size: 24px;
    font-weight: 900;
    color: var(--blue);
    text-transform: uppercase;
}

.navLinks {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navLinks a {
    position: relative;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: #111;
}

.navLinks a:hover {
    color: var(--blue);
}

.navLinks a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: var(--blue);
    transition: width 0.15s ease;
}

.navLinks a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */

.heroSection {
    height: 90vh;
    margin-top: 85px;
    display: flex;
    align-items: center;
    padding: 0 7%;
    background-size: cover;
    background-position: center;
}

.heroContent {
    max-width: 750px;
    animation: appear 1s ease;
}

.heroTitle {
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    color: white;
}

.heroTitle span {
    color: var(--blue);
}

.heroSubtitle {
    font-size: 22px;
    font-weight: 600;
    color: white;
    line-height: 1.5;
    margin-top: 25px;
    border-left: 6px solid var(--blue);
    padding-left: 20px;
}

.heroButton {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
    padding: 20px 48px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--blue),
        #00559a
    );
    color: white;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;
    box-shadow:
        0 12px 30px rgba(0, 99, 177, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

/* --- Shine Effect --- */
.heroButton::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.45),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.7s ease;
}

/* --- State: Hover --- */
.heroButton:hover {
    transform:
        translateY(-7px)
        scale(1.04);
    box-shadow:
        0 25px 55px rgba(0, 99, 177, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.25);
}

.heroButton:hover::before {
    left: 160%;
}

/* --- State: Active (Click) --- */
.heroButton:active {
    transform:
        translateY(-2px)
        scale(0.98);
}

.buttonText {
    position: relative;
    display: block;
    height: 22px;
    overflow: hidden;
}

.buttonTextTop,
.buttonTextBottom {
    display: block;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.15s ease;
}

.buttonTextTop {
    transform: translateY(0);
}

.buttonTextBottom {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

/* --- Text Rolling Trigger --- */
.heroButton:hover .buttonTextTop {
    transform: translateY(-150%);
    opacity: 0;
}

.heroButton:hover .buttonTextBottom {
    transform: translateY(-100%);
}
/* --- Standard Sections & Grid --- */
.section {
    padding: 75px 7%;
}

.darkSection {
    background: var(--dark);
    color: white;
}

.sectionTitle {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 35px;
    border-left: 8px solid var(--blue);
    padding-left: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.grid a {
    text-decoration: none;
}
/* --- Cards --- */
.card {
    padding: 30px;
    border: 2px solid #d7e0e8;
    background: white;
}

.darkSection .card {
    background: #0c1d2b;
    border-color: #284154;
}

.card h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.card p {
    line-height: 1.6;
    font-weight: 500;
}

.projectCard img{
    max-height: 400px;
    max-width: 100%;
}

/* --- Stats Section --- */
.statSection {
    background: var(--blue);
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 60px 7%;
}

.stat h2 {
    font-size: 60px;
    font-weight: 900;
}

.stat p {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Footer --- */
footer {
    background: #02080d;
    color: white;
    padding: 35px 7%;
    font-weight: 600;
}

/* --- Animations & Media Queries --- */
@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width: 900px) {
    .navLinks {
        display: none;
    }
    
    .heroTitle {
        font-size: 45px;
    }
}

/* --- Mobile Menu Button --- */
.menuButton {
    display: none;
    width: 40px;
    height: 35px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 0;
}

.menuButton span {
    height: 4px;
    width: 100%;
    background: var(--blue);
    border-radius: 5px;
    transition: .15s ease;
}

/* --- Hamburger Animation --- */
.menuButton.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menuButton.active span:nth-child(2) {
    opacity: 0;
}

.menuButton.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.imageGrid {
  display: flex;
  flex-direction: column;
  gap: 15px;

}

.twoImages {
  grid-template-columns: repeat(2, 1fr);
}

.threeImages {
  grid-template-columns: repeat(3, 1fr);
}

.imageGrid img {
  display: block;
  height: 180px;
  object-fit: cover;
  border: 2px solid #d7e0e8;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.imageGrid img:hover {
  transform: scale(1.03);
  border-color: var(--blue);
}

.heroContent {

    animation: heroFadeUp 1s ease-out;

}

@media(max-width: 900px) {
    .menuButton {
        display: flex;
    }

    .navLinks {
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 0;
        border-bottom: 4px solid var(--blue);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity .15s ease, transform .15s ease, visibility .15s;
    }

    .navLinks.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media(max-width: 450px) {
    .heroTitle {
        font-size: 32px;
    }

    .heroSubtitle{
        font-size: 18px;
    }

    .heroButton {
        padding: 15px 30px;
        font-size: 14px;
    }

    .sectionTitle {
        font-size: 32px;
    }
}