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

:root {
    --header-height: 4rem;
    --nav-width: 280px;
    --gradient-start: #1e3a8a;
    --gradient-accent: #dc2626;
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    --primary: #1e3a8a;
    --primary-dark: #0f2a6b;
    --text-dark: #1e2a3a;
    --accent-red: #dc2626;
    --body-font: 'Poppins', sans-serif;
    --h1-font-size: 1.8rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.2rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --mb-1: .5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --z-fixed: 100;
}

@media screen and (min-width: 768px) {
    :root {
        --h1-font-size: 2.5rem;
        --h2-font-size: 2rem;
        --h3-font-size: 1.5rem;
        --normal-font-size: 1.05rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    font-weight: 400;
    background: linear-gradient(135deg, #f5f7fc 0%, #eef2f9 100%);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, p {
    margin: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

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

.glass-panel, .glass-card, .glass-nav, .glass-img-frame {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 1.8rem;
    border: 1px solid rgba(255,255,255,0.6);
}

.gradient-text {
    background: linear-gradient(120deg, #1e3a8a, #dc2626, #b91c1c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.button {
    display: inline-block;
    background: linear-gradient(95deg, #1e3a8a, #dc2626);
    color: white;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.button:hover {
    transform: translateY(-3px);
    background: linear-gradient(95deg, #dc2626, #1e3a8a);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.button__light {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid white;
}

.button__light:hover {
    background: white;
    color: var(--primary-dark);
}

.bd-grid {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 100%;
    column-gap: 2rem;
    width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;
}

.l-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.nav__logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3a8a, #dc2626);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.nav__menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    padding: 5rem 2rem 2rem 2rem;
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.88), rgba(220, 38, 38, 0.88));
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.3);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-radius: 0 32px 32px 0;
}

.nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav__close:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.9);
    transform: rotate(90deg);
}

.nav__item {
    margin-bottom: 1.2rem;
}

.nav__link {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    padding: 0.8rem 1.2rem;
    border-radius: 14px;
    border: 1px solid transparent;
}

.nav__link:hover, .active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.nav__toggle {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-dark);
}

.show {
    left: 0;
}

/* NO GAPS BETWEEN SECTIONS - minimal padding */
.section {
    padding: 2rem 0 1.5rem;  /* reduced from 4rem to eliminate large gaps */
}

.section-title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-2);
    text-align: center;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--primary-dark);
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.home__container {
    min-height: calc(100vh - var(--header-height));
    align-items: center;
    justify-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.home__data {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 32rem;
    min-height: 26rem;
    margin: 0 auto;
    padding: 2.6rem 2.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
    box-shadow: 0 24px 60px rgba(15, 42, 107, 0.12);
}

.home__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.12);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home__img {
    width: 200px;
    height: 200px;
    padding: 0.8rem;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 242, 249, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 40px rgba(15, 42, 107, 0.12);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.home__img img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.home__title {
    font-size: var(--h1-font-size);
    margin: 0.15rem 0 0.35rem;
}

.home__profession {
    font-size: 1rem;
    color: #2c3e66;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.home__description {
    max-width: 30rem;
    color: #54637f;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.home__highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.4rem;
}

.home__highlight {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(30, 58, 138, 0.1);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 18px rgba(15, 42, 107, 0.06);
}

.home__social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.home__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary-dark);
    border-radius: 999px;
    border: 1px solid rgba(30, 58, 138, 0.12);
    box-shadow: 0 12px 24px rgba(15, 42, 107, 0.08);
    font-weight: 600;
    transition: 0.2s;
}

.home__social-link i {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-red));
    color: white;
    font-size: 1rem;
}

.home__social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(15, 42, 107, 0.12);
}

.home__button {
    min-width: 12.5rem;
}

.home__visual {
    width: 100%;
    max-width: 42rem;
    padding: 0;
    overflow: hidden;
}

.home__visual img {
    width: 100%;
    min-height: 28rem;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
}



.about__container {
    row-gap: 2rem;
}

.about__data {
    text-align: center;
}

.about__map-container {
    margin-top: 2rem;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about__information {
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.about__details-panel {
    grid-column: 1 / -1;
}

.about__details-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about__details-text {
    display: grid;
    gap: 0.9rem;
    width: 100%;
}

.about__information-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.about__information-data {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(15, 42, 107, 0.08);
}

.about__information-icon-wrap {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.16), rgba(220, 38, 38, 0.16));
    border: 1px solid rgba(30, 58, 138, 0.08);
}

.about__information-copy {
    display: grid;
    gap: 0.2rem;
}

.about__information-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5b6b89;
}

.about__information-value {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.about__information-icon {
    font-size: 1.35rem;
    color: var(--primary);
}

.mission-vision-panel {
    grid-column: 1 / -1;
    text-align: left;
    max-width: 980px;
    margin: 1rem auto 0;
    width: 100%;
}

.mission-vision-panel .about__information-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.mission-vision-panel .about__information-data {
    margin-bottom: 1rem;
}

.mission-vision-panel .about__information-icon {
    font-size: 1.4rem;
}

.mission-vision-item {
    align-items: flex-start;
}

.mission-vision-item:last-child {
    margin-bottom: 0;
}

.services__container {
    row-gap: 1.5rem;
}

.services__content {
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s;
}

.services__content:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(16px);
}

.service__icon {
    font-size: 2.2rem;
    background: linear-gradient(145deg, #1e3a8a, #dc2626);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.8rem;
}

.services__title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.works__container {
    justify-items: center;
    row-gap: 1.5rem;
}

.works__img {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    transition: 0.3s;
}

.works__img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

.works__data {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(27, 41, 72, 0.85), rgba(45, 70, 120, 0.9));
    backdrop-filter: blur(4px);
    transition: 0.3s;
    border-radius: 28px;
}

.works__img:hover .works__data {
    bottom: 0;
}

.works__title {
    color: white;
    font-weight: 600;
    margin-top: 0.5rem;
}

.works__link {
    background: white;
    border-radius: 50%;
    padding: 0.6rem;
    font-size: 1.4rem;
    color: var(--primary);
}

.project__container {
    background: linear-gradient(125deg, #1e2a4a, #2b3b6e);
    border-radius: 48px;
    padding: 1.8rem;
    gap: 1.5rem;
    align-items: center;
}

.project__img {
    border-radius: 28px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.project__data {
    text-align: center;
}

.project__title {
    color: white;
    margin-bottom: 0.5rem;
}

.project__description {
    color: #f0f3fa;
    margin-bottom: 1.2rem;
}

.contact__container {
    row-gap: 2rem;
}

.contact__form, .contact__info {
    padding: 1.5rem;
}

.contact__input {
    width: 100%;
    padding: 0.8rem;
    border: none;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
    border-radius: 40px;
    margin-bottom: 0.8rem;
    font-family: inherit;
}

.contact__input:focus {
    outline: none;
    background: white;
}

.contact__subtitle {
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.contact__social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.footer {
    background: transparent;
    margin-top: 1rem;
}

.footer__container {
    background: linear-gradient(135deg, #1a263b, #111827);
    border-radius: 40px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
}

.footer__title {
    font-size: 1.6rem;
}

.footer__social .footer__link {
    background: rgba(255,255,255,0.15);
    padding: 0.6rem;
    border-radius: 50%;
    display: inline-flex;
    margin: 0 0.4rem;
    font-size: 1.3rem;
    color: white;
    transition: 0.2s;
}

.footer__social .footer__link:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
}

/* Responsive - PC first */
@media screen and (min-width: 768px) {
    .home__container {
        grid-template-columns: minmax(0, 1fr);
        justify-content: center;
        text-align: center;
    }
    .home__data {
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 32rem;
        min-height: 28rem;
        margin: 0 auto;
    }
    .about__container {
        grid-template-columns: 1fr;
    }
    .about__data {
        text-align: left;
        grid-column: 1 / -1;
    }
    .about__details-content {
        grid-template-columns: 5fr 4fr;
        align-items: center;
    }
    .mission-vision-panel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        align-items: start;
    }
    .mission-vision-panel .about__information-title {
        grid-column: 1 / -1;
    }
    .services__container, .works__container {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact__container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 767px) {
    .home__data {
        min-height: auto;
        max-width: 32rem;
        padding: 2.25rem 1.4rem;
    }

    .home__visual {
        max-width: 100%;
    }

    .home__visual img {
        min-height: auto;
        aspect-ratio: 3 / 2;
    }

    .home__img {
        width: 120px;
        height: 120px;
        padding: 0.45rem;
    }

    .home__eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .home__description {
        font-size: 0.95rem;
    }

    .home__social-link {
        width: 100%;
        justify-content: flex-start;
    }

    .about__information-data {
        padding: 0.95rem 0.9rem;
        gap: 0.8rem;
    }

    .about__information-icon-wrap {
        width: 2.7rem;
        height: 2.7rem;
    }

    .about__information-value {
        font-size: 0.96rem;
    }

    .mission-vision-panel {
        gap: 0;
    }
}

@media screen and (min-width: 1024px) {
    body {
        margin: 0;
        padding-left: var(--nav-width);
    }
    .l-header {
        width: 0;
        background: transparent;
        backdrop-filter: none;
    }
    .nav__toggle, .nav__close {
        display: none;
    }
    .nav__menu {
        left: 0;
        width: var(--nav-width);
        background: rgba(30, 58, 138, 0.96);
        border-radius: 0;
    }
    .services__container, .works__container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.compact-glass {
    margin-bottom: 1rem;
}
.modern-shadow {
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.modal-content {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal-close:hover {
    color: #dc2626;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    z-index: 1001;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav:hover {
    background: rgba(220, 38, 38, 0.8);
}

.modal-prev { left: 20px; }
.modal-next { right: 20px; }

.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    background: rgba(0,0,0,0.5);
    padding: 8px 20px;
    border-radius: 20px;
}
