:root {
    --primary-blue: #0b1c3c;
    --secondary-blue: #142a59;
    --primary-red: #e6192b;

    --text-dark: #333;
    --text-gray: #666;

    --bg-light: #f4f5f7;
    --white: #ffffff;

    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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

.container{
    max-width:1200px;
    width:100%;
    margin:0 auto;
    padding:0 15px;
}

.top-bar {
    background: var(--primary-blue);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
}

.top-bar-inner{
    display:flex;
    justify-content:center;
    align-items:center;
}
.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    opacity: 0.8;
}

.quick-links a {
    margin-left: 18px;
}

.quick-links a:hover {
    color: var(--primary-red);
}

.main-header {
    background: var(--primary-blue);
    color: var(--white);
    height: 110px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    
    overflow: visible !important;
    position: relative !important;
    z-index: 99999 !important;
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-wrapper {
    width: 240px;
    height: 80px;
    display: flex;
    align-items: center;
}

.logo-wrapper img {
    max-height: 100%;
}

.main-header .container, 
.main-header .header-inner,
.main-nav,
.main-nav ul,
.main-nav li {
    overflow: visible !important;
    position: relative;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li > a {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 5px;
    white-space: nowrap;
    transition: 0.3s;
    letter-spacing: 0.2px;
}
.main-nav > ul > li > a.active,
.main-nav > ul > li > a:hover {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

.has-mega-menu {
    position: static !important; 
}

.mega-dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 900px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    padding: 30px;
    z-index: 999999 !important; 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.has-mega-menu:hover .mega-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mega-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mega-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-category {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
    margin-bottom: 5px;
    cursor: default;
}

.mega-group a {
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
    display: inline-block;
    text-transform: none;
    padding-bottom: 0;
    border-bottom: none;
}

.mega-group a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
    border-bottom: none;
}

.emblem-wrapper {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emblem-wrapper img {
    max-height: 100%;
}

.hero-section {
    position:relative;
    width:100%;
    aspect-ratio:3 / 1;
    border-radius:0 0 0 0;
    overflow:hidden;
    background-image:url('images/school.jpg'); 
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    margin-bottom:40px;
}
.hero-inner{
    position:relative;
    height:100%;
    display:flex;
    justify-content:flex-end;
    align-items:flex-end;
    padding: 0 70px 55px 70px;
}

.hero-quote{
    max-width:420px;
    background: rgba(2,22,58,.88);
    padding: 34px 38px;
    border-radius:24px;
    color:#fff;
    box-shadow: 0 12px 35px rgba(0,0,0,.22);
    margin-right:40px;
    margin-bottom:10px;
}

.hero-quote blockquote{
    margin:0 0 20px 0;
    font-size:34px;
    line-height:1.45;
    font-family: 'Playfair Display', serif;
    font-style:italic;
}

.hero-quote cite{
    font-size:14px;
    letter-spacing:2px;
    font-style:normal;
    font-weight:700;
    opacity:.82;
}

@media (max-width: 900px) {
    .mega-dropdown {
        display: none !important;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px 0;
    }

    .icon-menu {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .icon-menu a {
        flex: 1 1 30%;
        border-right: none;
    }

    .stats-wrapper {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .stat-item {
        justify-content: center;
    }
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

.icon-menu-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.icon-menu {
    background: var(--white);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    padding: 24px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.icon-menu a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid #eee;
}

.icon-menu a:last-child {
    border-right: none;
}

.icon-menu i {
    font-size: 30px;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.icon-menu span {
    font-size: 12px;
    font-weight: 700;
}

.icon-menu a:hover {
    color: var(--primary-red);
}

.recruitment-section {
    margin-top: 50px;
    margin-bottom: 60px;
}

.recruitment-banner {
    background:
        linear-gradient(
            to right,
            rgba(11,28,60,1) 0%,
            rgba(11,28,60,0.95) 40%,
            rgba(11,28,60,0) 100%
        ),
        url('images/students.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    overflow: hidden;
    color: var(--white);
}

.recruitment-content {
    width: 55%;
    padding: 60px;
}

.recruitment-content h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.recruitment-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

.recruitment-features {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.feature {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
}

.feature i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.news-section {
    margin-bottom: 70px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-blue);
}

.section-header a {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
}

.section-header a:hover {
    color: var(--primary-red);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.news-card-link {
    display: block; 
    width: 100%;
    
}

.news-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.25s;
    display:flex;
    flex-direction:column;
    height:100%;
}

.news-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 40px rgba(0,0,0,.14);
}
.news-card-title {
    color: #061c4d;
    font-size: 24px;      
font-weight: 700; 
    line-height: 1.35; 
    margin-bottom: 15px; 
}

.news-image{
    width:100%;
    background:#fff;
}

.news-image img{
    width:100%;
    height:auto;
    display:block;
}
.news-content{
    padding:28px;
    display:flex;
    flex-direction:column;
    flex:1;
}
.news-link {
    margin-top: 20px; 
    font-size: 14px; 
    font-weight: 700; 
    color: #061c4d;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.news-link::after{
    content:" →";
    color:#d40019;
}

.news-card:hover .news-link{
    color:#d40019;
}
.news-excerpt {
    color: #444;
    font-size: 15px; 
    line-height: 1.6; 
    flex: 1;
}
.news-date{
    color:#d40019;
    font-size:15px;
    font-weight:700;
    margin-bottom:12px;
}
.news-content h3 {
    font-size: 20px;
    line-height: 1.35;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.news-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-content a {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-red);
}

.news-content a:hover {
    opacity: 0.8;
}

.news-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:35px;
}

.news-title{
    font-size:42px;
    font-weight:800;
    color:#02163a;
    position:relative;
    line-height:1.2;
}

.news-title:after{
    content:"";
    position:absolute;
    left:0;
    bottom:-14px;
    width:70px;
    height:4px;
    background:#d40019;
}

.news-more{
    color:#061c4d;
    font-weight:700;
    text-transform:uppercase;
}

.news-more:hover{
    color:#d40019;
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr; 
        gap: 25px; 
    }
}

.stats-section {
    margin-bottom: 60px;
}

.stats-wrapper {
    background: var(--primary-blue);
    border-radius: 14px;
    padding: 35px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-item i {
    font-size: 38px;
}

.stat-item strong {
    display: block;
    font-size: 38px;
    line-height: 1;
}

.stat-item span {
    font-size: 12px;
    letter-spacing: 1px;
}

.gallery-section {
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.main-footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 40px;
    font-size: 13px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
}
.footer-col h4 {
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.footer-col p {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
}
.footer-col p i { width: 20px; color: var(--primary-red); }
.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 8px 15px;
    margin-top: 10px;
}
.btn-outline:hover { background: var(--white); color: var(--primary-blue); }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.7); }
.footer-col ul a:hover { color: var(--primary-red); }
.footer-col ul i { color: var(--primary-red); font-size: 10px; margin-right: 5px; }

.social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.social-icons a {
    width: 35px; height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1877F2;
    color: white;
}
.social-icons .ig { background: #E1306C; }
.social-icons .yt { background: #FF0000; }

.map-placeholder {
    height: 100px;
    background: #ddd;
    border-radius: 6px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.quick-links a {
    margin-left: 0 !important;
}

.social-inline-container{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    text-align:center;
}

.social-label {
    font-weight: 700;
    color: var(--white) !important; 
    font-size: 13px;
    text-transform: none;
}

.social-inline-container a i {
    font-size: 20px !important;
    display: block;
}

.social-icon-fb {
    color: #4267B2 !important; 
    transition: 0.3s;
}

.social-icon-ig i {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-inline-container a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}