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

html,
body{
    overflow-x:hidden;
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#08245c;
    color:#0f172a;
    caret-color: transparent;
}

/* =========================
   TOPBAR
========================= */

.topbar{
    background:#052b70;
    color:white;
    padding:12px 4%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    font-size:14px;
}

.topbar-left,
.topbar-right{
    display:flex;
    align-items:center;
    gap:24px;
    flex-wrap:wrap;
}

.topbar-right a{
    color:white;
    text-decoration:none;
}

/* =========================
   HERO WRAPPER
========================= */
.hero-wrapper{

    position:relative;

    background:
    linear-gradient(
    90deg,
    rgba(255,255,255,0.20) 0%,
    rgba(255,255,255,0.12) 25%,
    rgba(255,255,255,0.05) 50%,
    rgba(255,255,255,0.00) 75%
    ),
    url('../images/school.png');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    background-attachment:fixed;

    padding:30px 4% 120px;
}
/* =========================
   HEADER
========================= */

.hero-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    gap:24px;

    margin-bottom:50px;
}

.school-card{

    width:500px;

    min-height:115px;

    background:white;

    border-radius:24px;

    padding:24px 28px;

    display:flex;
    align-items:center;

    gap:22px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);
}
.school-card img{

    width:95px;

    height:95px;

    object-fit:contain;
}

.school-card-content h2{

    color:#08245c;

    font-size:35px;

    font-weight:900;

    line-height:1.1;
}
.school-card-content p{
    margin-top:4px;
    color:#d4a22b;
    font-size:20px;
    font-weight:700;
    line-height:1.4;
}
.nav-card{

    width: 980px;

    background:white;

    border-radius:24px;

    padding:16px 22px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:18px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);
}
.menu{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:nowrap;
}

.menu a{
    position:relative;

    text-decoration:none;

    color:#08245c;

    font-size:14px;

    font-weight:700;

    transition:.3s;
}
.menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-10px;

    width:0;

    height:4px;

    border-radius:20px;

    background:#d4a22b;

    transition:width .3s ease;
}

.menu a.active,
.menu a:hover{
    color:#0b4fd8;
}

.menu a.active::after,
.menu a:hover::after{
    width:100%;
}

.nav-actions{
    flex-shrink:0;
    display:flex;
    gap:12px;
}

.login-btn{

    text-decoration:none;
    color:#0b4fd8;
    border:2px solid #0b4fd8;
    padding:10px 22px;
    border-radius:12px;
    font-weight:700;

    transition:.3s;
}

.login-btn:hover{

    background:#0b4fd8;
    color:white;
}
.admission-btn{

    text-decoration:none;
    background:#0b4fd8;
    color:white;
    padding:12px 24px;
    border-radius:12px;
    font-weight:700;

    border:2px solid #0b4fd8;

    transition:.3s;
}

.admission-btn:hover{

    background:white;
    color:#0b4fd8;
}
/* =========================
   HERO CONTENT
========================= */

.hero-content{

    text-align:center;

    max-width:850px;

    margin:auto;

    margin-top:-40px;

    padding-bottom:60px;

    position:relative;

    z-index:10;
}

.hero-content::before{

    content:"";

    position:absolute;

    left:50%;

    top:40px;

    transform:translateX(-50%);

    width:600px;

    height:600px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,.75) 0%,
        rgba(255,255,255,.35) 35%,
        rgba(255,255,255,.10) 60%,
        transparent 100%
    );

    z-index:-2;

    pointer-events:none;
}

/* Soft light rays */

.hero-content::after{

    content:"";

    position:absolute;

    left:50%;

    top:-40px;

    transform:translateX(-50%);

    width:900px;

    height:900px;

    background:
    conic-gradient(
        from 0deg,
        rgba(255,255,255,.18),
        transparent 12%,
        rgba(255,255,255,.12) 24%,
        transparent 36%,
        rgba(255,255,255,.10) 48%,
        transparent 60%,
        rgba(255,255,255,.12) 72%,
        transparent 84%,
        rgba(255,255,255,.18) 100%
    );

    border-radius:50%;

    opacity:.5;

    z-index:-3;

    pointer-events:none;
}

.hero-logo{

    width:150px;

    margin-bottom:10px;

    filter:
    drop-shadow(0 0 15px rgba(255,255,255,.9))
    drop-shadow(0 0 35px rgba(255,255,255,.4));
}

.hero-subtitle{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    margin-bottom:18px;
}

.hero-subtitle span{

    width:80px;

    height:2px;

    background:#d4a22b;
}

.hero-subtitle p{

    background:linear-gradient(
        135deg,
        #0b4fd8,
        #052b70
    );

    color:white;

    padding:10px 22px;

    border-radius:999px;

    font-size:15px;

    font-weight:800;

    letter-spacing:2px;

    box-shadow:
    0 12px 30px rgba(11,79,216,.30);
}

.hero-content h1{

    font-size:44px;

    line-height:1.05;

    font-weight:900;

    color:#08245c;

    margin-bottom:18px;

    text-transform:uppercase;

    text-shadow:
    0 2px 10px rgba(255,255,255,.4);
}
.hero-divider{

    font-size:24px;

    color:#d4a22b;

    margin-bottom:24px;
}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:16px;

    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{

    text-decoration:none;

    padding:16px 30px;

    border-radius:12px;

    font-weight:700;

    font-size:15px;

    transition:.3s;
}

.primary-btn{

    background:#0b4fd8;

    color:white;

    border:2px solid #0b4fd8;
}

.primary-btn:hover{

    background:white;

    color:#0b4fd8;
}

.secondary-btn{

    background:white;

    color:#0b4fd8;

    border:2px solid #0b4fd8;
}

.secondary-btn:hover{

    background:#0b4fd8;

    color:white;
}
/* =========================
   FEATURE BAR
========================= */

.feature-bar{

    margin-top: 10px;

    background:#052b70;

    border-radius:22px;

    padding:28px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    position:relative;

    z-index:20;

    box-shadow:
    0 20px 50px rgba(0,0,0,.18);
}

.feature-item{
    display:flex;
    gap:18px;
    color:white;
}

.feature-item:not(:last-child){
    border-right:
    1px solid rgba(255,255,255,.15);
    padding-right:20px;
}

.feature-icon{

    width:64px;
    height:64px;

    min-width:64px;

    border-radius:50%;

    border:2px solid #d4a22b;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;
}

.feature-item h3{
    font-size:15px;
    margin-bottom:8px;
}

.feature-item p{
    font-size:13px;
    line-height:1.7;
    color:#dbeafe;
}

/* =========================
   PRINCIPAL SECTION
========================= */

.principal-section{
    padding:120px 4% 0;
}

.principal-card{

    background:#052b70;

    border-radius:24px;

    overflow:hidden;

    display:grid;

    grid-template-columns:320px 1fr;

    box-shadow:
    0 20px 60px rgba(0,0,0,.18);
}

.principal-image-side{

    position:relative;

    background:
    linear-gradient(
        180deg,
        #0b4fd8,
        #052b70
    );

    display:flex;
    align-items:flex-end;
    justify-content:center;
}

.principal-image-side img{
    width:100%;
    max-width:320px;
}

.principal-info{

    position:absolute;

    bottom:0;
    left:0;

    width:100%;

    padding:20px;

    background:
    linear-gradient(
        to top,
        rgba(5,43,112,.95),
        rgba(5,43,112,0)
    );

    color:white;
}

.principal-info h3{
    font-size:18px;
    margin-bottom:4px;
}

.principal-info span{
    color:#fbbf24;
    font-weight:700;
}

.principal-info p{
    margin-top:4px;
    color:#dbeafe;
    font-size:13px;
}

.principal-content{
    padding:40px;
    color:white;
}

.principal-tag{

    display:inline-block;

    padding:8px 14px;

    border-radius:8px;

    background:rgba(255,255,255,.08);

    color:#fbbf24;

    font-size:12px;

    font-weight:800;

    letter-spacing:1px;

    margin-bottom:20px;
}

.principal-content h2{
    font-size:38px;
    line-height:1.2;
    margin-bottom:18px;
}

.principal-line{
    width:80px;
    height:4px;
    background:#fbbf24;
    margin-bottom:22px;
}

.principal-content p{
    color:#dbeafe;
    line-height:1.9;
    margin-bottom:14px;
}

.principal-signature{
    margin-top:24px;
    padding-top:20px;
    border-top:
    1px solid rgba(255,255,255,.10);
}

.principal-signature h3{
    font-size:20px;
}

.principal-signature span{
    color:#fbbf24;
}

.principal-values{

    margin-top:24px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:14px;
}

.value-box{

    background:
    rgba(255,255,255,.05);

    border:
    1px solid rgba(255,255,255,.08);

    padding:18px;

    border-radius:12px;
}

.value-box h4{
    color:#fbbf24;
    margin-bottom:8px;
}

/* =========================
   FOOTER
========================= */

.footer{

    width:min(92%,1500px);

    margin:120px auto 40px;

    background:#052b70;

    border-radius:24px;

    box-shadow:
    0 20px 60px rgba(0,0,0,.18);

    color:white;

    padding:40px;
}

.footer-grid{

    display:grid;

    grid-template-columns:1.5fr 1fr 1fr;

    gap:60px;

    align-items:start;

    padding-bottom:30px;

    border-bottom:
    1px solid rgba(255,255,255,.10);
}

/* =========================
   LOGO SECTION
========================= */

.footer-logo{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:20px;
}

.footer-logo img{

    width:75px;

    height:75px;

    object-fit:contain;
}

.footer-logo h2{

    font-size:20px;

    margin-bottom:4px;

    color:white;
}

.footer-logo p{

    color:#dbeafe;
}

/* =========================
   CONTACT
========================= */

.footer-contact{

    display:flex;

    flex-direction:column;

    gap:12px;

    color:#dbeafe;

    margin-top:15px;
}

.footer-contact p{

    display:flex;

    align-items:center;

    gap:10px;
}

.footer-contact i{

    color:#fbbf24;

    width:20px;
}

/* =========================
   HEADINGS
========================= */

.footer h3{

    color:white;

    font-size:22px;

    margin-bottom:20px;
}

/* =========================
   QUICK LINKS
========================= */

.footer-links{

    display:flex;

    flex-direction:column;

    gap:12px;
}

.footer-links a{

    display:flex;

    align-items:center;

    gap:10px;

    color:#dbeafe;

    text-decoration:none;

    transition:.3s;
}

.footer-links a i{

    width:20px;

    color:#fbbf24;
}

.footer-links a:hover{

    color:white;

    transform:translateX(5px);
}

.footer-links a:hover i{

    color:white;
}

/* =========================
   THEME TEXT
========================= */

.theme-text{

    color:#dbeafe;

    line-height:1.9;

    margin-bottom:25px;
}

/* =========================
   SOCIAL ICONS
========================= */

.footer-social{

    display:flex;

    gap:14px;
}

.footer-social a{

    width:42px;

    height:42px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    transition:.3s;
}

.footer-social a:hover{

    background:#fbbf24;

    color:#052b70;

    transform:translateY(-4px);
}

/* =========================
   COPYRIGHT
========================= */

.footer-bottom{

    text-align:center;

    padding-top:20px;

    color:#cbd5e1;

    font-size:14px;
}
/* =========================
   LARGE SCREENS
========================= */

@media (max-width:1500px){

    .hero-header{
        gap:20px;
    }

    .school-card{
        width:420px;
        flex-shrink:0;
    }

    .nav-card{
        flex:1;
        min-width:0;
        width:auto;
        padding:16px 18px;
    }

    .menu{
        gap:8px;
        flex-wrap:nowrap;
    }

    .menu a{
        font-size:11px;
        white-space:nowrap;
    }

    .nav-actions{
        gap:8px;
        flex-shrink:0;
    }

    .login-btn,
    .admission-btn{
        white-space:nowrap;
        flex-shrink:0;
        font-size:13px;
    }

    .login-btn{
        padding:10px 14px;
    }

    .admission-btn{
        padding:10px 16px;
    }
}

/* =========================
   SMALL LAPTOPS
========================= */

@media (max-width:1300px){

    .hero-header{
        flex-direction:column;
    }

    .school-card,
    .nav-card{
        width:100%;
    }

    .nav-card{
        flex-direction:column;
        gap:20px;
    }

    .menu{
        flex-wrap:wrap;
        justify-content:center;
        gap:14px;
    }

    .feature-bar{
        grid-template-columns:repeat(2,1fr);
    }

    .principal-card{
        grid-template-columns:1fr;
    }

    .principal-image-side{
        min-height:400px;
    }

    .principal-image-side img{
        max-width:280px;
    }

    .principal-values{
        grid-template-columns:1fr;
    }

    .footer-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .hero-content h1{
        font-size:40px;
        line-height:1.1;
    }
}

/* =========================
   TABLETS
========================= */

@media (max-width:992px){

    .hero-wrapper{
        background-attachment:scroll;
    }

    .hero-content::before{
        width:350px;
        height:350px;
    }

    .hero-content::after{
        display:none;
    }

    .topbar{
        justify-content:center;
        text-align:center;
    }

    .topbar-left,
    .topbar-right{
        justify-content:center;
    }

    .feature-bar{
        grid-template-columns:1fr;
    }

    .feature-item{
        border-right:none !important;
        padding-right:0 !important;
    }

    .hero-content h1{
        font-size:36px;
        line-height:1.1;
    }

    .footer-grid{
        text-align:center;
    }

    .footer-contact p{
        justify-content:center;
    }

    .footer-links a{
        justify-content:center;
    }

    .footer-social{
        justify-content:center;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    .school-card{
        flex-direction:column;
        text-align:center;
        padding:20px;
    }

    .school-card img{
        width:80px;
        height:80px;
    }

    .school-card-content h2{
        font-size:26px;
    }

    .school-card-content p{
        font-size:16px;
    }

    .menu{
        flex-direction:column;
        gap:14px;
    }

    .nav-actions{
        width:100%;
        flex-direction:column;
    }

    .login-btn,
    .admission-btn{
        width:100%;
        text-align:center;
    }

    .hero-content{
        margin-top:0;
    }

    .hero-logo{
        width:110px;
    }

    .hero-content h1{
        font-size:32px;
        line-height:1.15;
    }

    .hero-subtitle span{
        width:25px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .primary-btn,
    .secondary-btn{
        width:100%;
    }

    .principal-section{
        padding:70px 4% 0;
    }

    .principal-content{
        padding:25px;
    }

    .principal-content h2{
        font-size:28px;
    }

    .principal-image-side{
        min-height:320px;
    }

    .principal-image-side img{
        max-width:220px;
    }

    .footer{
        width:95%;
        padding:25px;
        margin-top:80px;
    }

    .footer-grid{
        gap:35px;
    }

    .footer-logo{
        flex-direction:column;
        text-align:center;
    }

    .footer h3,
    .theme-text{
        text-align:center;
    }
}

/* =========================
   IPHONE 13 MINI
========================= */

@media (max-width:390px){

    .hero-content h1{
        font-size:28px;
        line-height:1.2;
    }

    .hero-subtitle p{
        font-size:12px;
    }

    .school-card-content h2{
        font-size:22px;
    }

    .school-card-content p{
        font-size:14px;
    }

    .principal-content{
        padding:20px;
    }

    .principal-content h2{
        font-size:24px;
    }

    .footer{
        padding:20px;
    }

    .footer-logo h2{
        font-size:18px;
    }

    .footer h3{
        font-size:18px;
    }
}