
:root {
    --navy: #172b4d;
    --blue: #294c7c;
    --accent: #e6a83c;
    --light: #f4f6fa;
    --white: #ffffff;
    --text: #26354a;
    --muted: #7b8798;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}


.navbar {
    min-height: 105px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.brand img {
    width: 62px;
    height: 70px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

.brand-text span {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 1px;
    margin-top: 5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: #46546a;
    transition: .2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links .school-link {
    color: var(--blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--navy);
    font-size: 28px;
    cursor: pointer;
}


.hero {
    min-height: 620px;
    background:
        linear-gradient(90deg, rgba(16,35,64,.94), rgba(16,35,64,.68), rgba(16,35,64,.25)),
        url('assets/szkola.jpg') center/cover;
    display: flex;
    align-items: center;
    padding: 80px 10%;
    color: white;
}

.hero-content {
    max-width: 690px;
}

.hero-label {
    display: inline-block;
    border: 1px solid rgba(255,255,255,.4);
    padding: 9px 17px;
    border-radius: 30px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 17px;
    line-height: 1.9;
    color: #e1e7ef;
    max-width: 580px;
    margin-bottom: 35px;
}

.hero-button {
    display: inline-block;
    padding: 16px 28px;
    background: var(--accent);
    color: #172b4d;
    font-size: 13px;
    font-weight: 800;
    border-radius: 5px;
    transition: .25s;
}

.hero-button:hover {
    background: white;
    transform: translateY(-3px);
}


section {
    padding: 100px 10%;
    scroll-margin-top: 110px;
}

.section-label {
    color: #c18a2d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    color: var(--navy);
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    margin-bottom: 20px;
}

.section-description {
    color: var(--muted);
    line-height: 1.9;
    max-width: 700px;
    font-size: 15px;
}

.about {
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.about-image {
    height: 410px;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text p {
    color: #69788d;
    line-height: 2;
    font-size: 15px;
    margin-bottom: 18px;
}

.about-highlight {
    border-left: 4px solid var(--accent);
    padding: 15px 20px;
    background: white;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.7;
    margin-top: 25px;
}


.documents {
    background: white;
}

.documents-header {
    margin-bottom: 45px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.document-card {
    padding: 30px;
    background: var(--light);
    border-radius: 8px;
    transition: .25s;
    border: 1px solid transparent;
}

.document-card:hover {
    background: white;
    border-color: #e4e9f0;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.document-icon {
    width: 52px;
    height: 52px;
    background: #e9eef6;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 22px;
    margin-bottom: 25px;
}

.document-card h3 {
    color: var(--navy);
    font-size: 17px;
    margin-bottom: 10px;
}

.document-card p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 25px;
}

.download {
    display: inline-block;
    color: var(--blue);
    font-weight: 800;
    font-size: 12px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
}


.team {
    background: var(--light);
}

.team-header {
    margin-bottom: 45px;
}

.team-group-photo {
    width: 100%;
    height: 480px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 65px;
    background: #dce2eb;
}

.team-group-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-subtitle {
    font-size: 23px;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.person-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: .25s;
}

.person-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,.07);
}

.person-photo {
    height: 290px;
    overflow: hidden;
    background: #dce2eb;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.person-card:hover .person-photo img {
    transform: scale(1.04);
}

.person-info {
    padding: 22px;
}

.person-info span {
    color: #c18a2d;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.person-info h3 {
    color: var(--navy);
    font-size: 17px;
    margin-top: 9px;
    margin-bottom: 7px;
}

.person-info p {
    color: var(--muted);
    font-size: 12px;
}

footer {
    background: #14243e;
    color: white;
    padding: 55px 10% 25px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 35px;
}

.footer-brand strong {
    font-size: 23px;
}

.footer-brand p {
    color: #aab5c5;
    font-size: 12px;
    margin-top: 10px;
}

.footer-school a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 22px;
    color: #8997ab;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}

.social-media {
    background: white;
}

.social-header {
    margin-bottom: 45px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.social-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 30px 25px;
    background: var(--light);
    border: 1px solid #e9edf3;
    border-radius: 10px;
    transition: .3s;
}

.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.07);
    background: white;
}

.social-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: white;
}

.social-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-icon .dot {
    fill: currentColor;
    stroke: none;
}

.instagram .social-icon {
    color: #c13584;
}

.facebook .social-icon {
    color: #1877f2;
}

.facebook .social-icon svg {
    fill: currentColor;
    stroke: none;
}

.tiktok .social-icon {
    color: #111111;
}

.tiktok .social-icon svg {
    fill: currentColor;
    stroke: none;
}

.social-info span {
    color: #c18a2d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.social-info h3 {
    color: var(--navy);
    font-size: 19px;
    margin: 8px 0;
}

.social-info p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.social-arrow {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--blue);
    font-size: 20px;
    transition: .2s;
}

.social-card:hover .social-arrow {
    transform: translate(3px, -3px);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    max-width: 850px;
    margin: 0 auto 75px;
}

.leader-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(23,43,77,.09);
    transition: .3s;
    border-bottom: 4px solid var(--accent);
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(23,43,77,.14);
}

.leader-photo {
    height: 390px;
    overflow: hidden;
    background: #dce2eb;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.leader-card:hover .leader-photo img {
    transform: scale(1.04);
}

.leader-info {
    padding: 28px;
    text-align: center;
}

.leader-role {
    display: inline-block;
    color: #c18a2d;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.leader-info h3 {
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 9px;
}

.leader-info p {
    color: var(--muted);
    font-size: 14px;
}

.members-title {
    margin-top: 10px;
    padding-top: 45px;
    border-top: 1px solid #e1e6ed;
}

@media(max-width: 900px) {

    .navbar {
        padding: 0 5%;
    }

    .nav-links {
        gap: 15px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	
	.social-grid {
        grid-template-columns: 1fr;
    }
}


@media(max-width: 650px) {

    .navbar {
        min-height: 85px;
    }

    .brand {
        gap: 10px;
    }

    .brand img {
        width: 48px;
        height: 55px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text span {
        font-size: 8px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        top: 85px;
        left: 0;
        width: 100%;
        background: white;
        padding: 25px 7%;
        box-shadow: 0 10px 20px rgba(0,0,0,.07);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        min-height: 570px;
        padding: 60px 7%;
    }

    .hero p {
        font-size: 14px;
    }

    section {
        padding: 75px 7%;
    }

    .about-image {
        height: 280px;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .team-group-photo {
        height: 260px;
        margin-bottom: 45px;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .person-photo {
        height: 190px;
    }

    .person-info {
        padding: 14px;
    }

    .person-info h3 {
        font-size: 14px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }

	.leadership-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
    }

    .leader-photo {
        height: 350px;
    }

    .leader-info h3 {
        font-size: 21px;
    }
}
