* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
video,
picture {
    max-width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #F4FBFF
}

/* ─── Hero / Home ─── */
#home {
    background: #0B1538;
    color: white;
    min-height: unset;
    height: auto;
    padding: 2.5rem 5% 100px 5%;
    /* ← increased bottom padding */
    display: flex;
    flex-direction: column;
    position: relative;
}

.header-row {
    margin-bottom: 10vh;
    /* ← increased space after navbar */
    z-index: 10;
    position: relative;
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    border: 3px solid #2FA3BB;
    border-radius: 20px;
    padding: 1.2rem 2.4rem 1.2rem 1.2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
    min-height: 80px;
}

.logo {
    font-size: clamp(1.9rem, 5vw, 2.7rem);
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    /* space between logo image and text */
    text-decoration: none;
    color: white;
}

.logo-img {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    /* optional: slight rounding */
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.top-line {
    font-size: 2.5rem;
    /* larger top text */
    font-weight: 800;
    font-family: 'Tahoma';
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding-bottom: 10px;
}

.bottom-line {
    font-size: clamp(0.95rem, 2.8vw, 1.15rem);
    /* smaller bottom text */
    font-weight: 500;
    font-family: 'Tahoma';
    opacity: 0.92;
    letter-spacing: 0.5px;
}

/* Optional: make whole logo area slightly larger on hover */
.logo-wrapper:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    transition: all 0.25s ease;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 3.5vw, 2.5rem);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    /* was ~1rem–1.18rem → bigger & more readable */
    font-weight: 600;
    /* slightly bolder */
    padding: 0.9rem 1.9rem;
    /* more padding = bigger clickable area */
    border-radius: 999px;
    transition: all 0.28s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: #2FA3BB;
    border-color: #2FA3BB;
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

/* Hero content – text left | big circle right */
.hero-content {
    flex: 1;
    display: grid;
    grid-template-columns: 7fr 5fr;
    /* text takes less space, image takes more */
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.hero-text {
    padding-right: 1rem;
    z-index: 5;
    position: relative;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.8rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero-text p {
    font-size: clamp(1.35rem, 3.2vw, 1.75rem);
    opacity: 0.94;
    max-width: 680px;
}

/* Big circular image – fills right side & overlaps below */
.hero-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Big circular image */
.hero-image-wrapper img {
    width: 100%;
    max-width: 780px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 3px solid #2FA3BB;
    border-radius: 50%;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5),
        inset 0 8px 30px rgba(255, 255, 255, 0.18);
    transition: transform 0.45s ease;

    position: absolute;
    right: -80px;
    bottom: -340px;
    /* ← moved even lower */
    z-index: 2;
}

.hero-image-wrapper img:hover {
    transform: scale(1.04);
}

/* ─── IT Hub ─── */
#ithub {
    background: #F4FBFF;
    min-height: 40vh;
    padding: 14rem 5% 5rem;
    position: relative;
    z-index: 1;
}

.ithub-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.ithub-text {
    padding-right: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.ithub-text ul {
    font-size: 1.25rem;
    line-height: 2.1;
    padding-left: 1.9rem;
    list-style: square;
}

.ithub-right {
    background: #F4FBFF;
    padding: 2.8rem;
    border-radius: 16px;
    border: 1px solid #F4FBFF;
}

/* About Us – colored headline strip */
#about {
    background: #F4FBFF;
    min-height: 100vh;
    padding: 0;
    /* we control padding per part now */
}

.about-hero {
    background: #0B1538;
    /* your accent color */
    color: white;
    padding: 6rem 5% 5rem;
    text-align: center;
    position: relative;
}

.about-hero h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* White content box with padding/margin from edges */
.about-content-wrapper {
    background: #F4FBFF;
    padding: 0 5% 6rem;
    position: relative;
    z-index: 1;
}

.about-content-box {
    background: white;
    border-radius: 16px;
    padding: 3.5rem 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 3rem;
    /* pulls box up a bit → overlaps headline slightly */
}

.about-content-box h3 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    padding-top: 1.8rem;
}

.grid-2 p {
    font-size: 1.5rem;
    line-height: 1.7;
}

/* Culture headline – similar style to About Us but different color or same */
.culture-hero {
    color: black;
    padding: 5rem 5% 4rem;
    text-align: center;
    /* space above the Culture headline */
}

.culture-hero h3 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

/* Cards container – horizontal layout */
.culture-cards-wrapper {
    padding: 0 5% 6rem;
}

.culture-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns on desktop */
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual card */
.culture-card {
    background: #0B1538;
    border-radius: 16px;
    padding: 2.8rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    /* makes cards same height even with short text */
}

.culture-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.culture-card p {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 500;
    color: #2FA3BB;
    margin: 0;
    line-height: 1.4;
}

/* ─── Other sections ─── */
section:not(#home):not(#ithub) {
    min-height: 100vh;
    padding: 1rem 0 0;
    background: #F4FBFF;
}

.content-wrapper {
    max-width: 1150px;
    margin: 0 auto;
}

#email-text a {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-form-side h2 {
    font-size: clamp(2.8rem, 7vw, 3.8rem);
    margin-bottom: 0.6rem;
}

.contact-form-side .subtitle {
    font-size: clamp(1.3rem, 3.5vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.name-email-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem 1.4rem;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    width: 100%;
}

#contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.send-btn {
    padding: 1.1rem 2.4rem;
    background: #0B1538;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.28s ease;
    align-self: flex-start;
}

.send-btn:hover {
    background: rgba(47, 163, 187, 0.38);
    border-color: #2FA3BB;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* ─── Right side (email) ─── */
.contact-email-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.email-label {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    text-align: center;
}

.email-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.3rem 2.2rem;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    font-size: 1.55rem;
    font-weight: 500;
}

@media (max-width: 600px) {
    .top-bar-container {
        flex-direction: column;
        gap: 1.4rem;
        padding: 1.2rem 1.8rem;
        border-radius: 48px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo-img {
        width: 52px;
        height: 52px;
    }

    .top-line {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .bottom-line {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .about-content-box {
        padding: 2.5rem 2rem;
        margin-top: -60px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .team-size {
        font-size: 5.5rem;
    }
}

/* ─── MOBILE FIRST adjustments ─── */
@media (max-width: 980px) {
    .culture-cards {
        grid-template-columns: 1fr;
        /* 1 column on smaller screens */
        gap: 2rem;
    }

    .culture-hero {
        padding: 4rem 6% 3rem;
    }

    .culture-hero h3 {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    .contact-form-side {
        text-align: center;
    }

    .send-btn {
        align-self: center;
    }

    .name-email-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .contact-email-side {
        text-align: center;
    }

    .email-box {
        max-width: 380px;
        margin: 0 auto;
    }

    #contact .content-wrapper>div {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    #contact h2 {
        font-size: 3rem;
        text-align: center;
    }

    #contact form {
        max-width: 600px;
        margin: 0 auto;
    }

    #contact .content-wrapper>div>div:last-child {
        text-align: center;
    }

    /* ─── General ─── */
    .content-wrapper {
        padding-left: 6%;
        padding-right: 6%;
    }

    /* ─── Navbar / Top bar ─── */
    .top-bar-container {
        flex-direction: column;
        gap: 1.4rem;
        padding: 1.2rem 1.8rem;
        border-radius: 48px;
        text-align: center;
    }

    .nav-links {
        justify-content: center;
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .nav-links a {
        padding: 0.7rem 1.3rem;
        font-size: 1.05rem;
    }

    /* ─── Home – text + big circle image ─── */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-text {
        padding: 0 1rem;
    }

    .hero-image-wrapper img {
        position: static !important;
        max-width: 380px;
        margin: 3rem auto 0;
        right: auto !important;
        bottom: auto !important;
    }

    /* ─── IT Hub ─── */
    .ithub-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .ithub-text {
        padding-right: 0;
    }

    /* ─── About Us ─── */
    .grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }

    .team-size {
        font-size: 6rem;
    }

    /* ─── Culture cards ─── */
    .culture-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* ─── Contact ─── */
    #contact .content-wrapper>div {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    #contact h2 {
        text-align: center;
    }

    #contact form {
        max-width: 580px;
        margin: 0 auto;
    }

    #contact .content-wrapper>div>div:last-child {
        text-align: center;
    }
}

@media (max-width: 1100px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 6rem;
    }

    .hero-text {
        padding: 0 1rem;
    }

    .hero-image-wrapper img {
        position: static;
        max-width: 460px;
        margin: 3rem auto 0;
        right: auto;
        bottom: auto;
    }

    #home {
        padding-bottom: 300px;
    }

    #ithub {
        padding-top: 16rem;
    }
}

/* ─── Very small phones ─── */
@media (max-width: 480px) {

    h1,
    h2,
    .about-hero h2,
    .culture-hero h3 {
        font-size: clamp(2.4rem, 10vw, 3.8rem);
    }

    .top-line {
        font-size: 1.9rem;
    }

    .bottom-line {
        font-size: 1.05rem;
    }

    .logo-img {
        width: 54px;
        height: 54px;
    }

    .send-btn {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }

    .culture-card {
        padding: 2rem 1.4rem;
        min-height: 120px;
    }

    #contact {
        padding: 6rem 5% 5rem;
    }

    .contact-form-side h2 {
        font-size: 2.6rem;
    }

    .email-box {
        padding: 1rem 1.6rem;
        font-size: 1.35rem;
    }
}