@import url('https://fonts.googleapis.com/css2?family=Caladea:wght@400;700&amp;display=swap');

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

:root {
    --primary-color: #002146;
    --accent-color: #1a237e;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --white: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP HEADER ===== */
.top-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 0;
    font-size: 14px;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 1;
}

.contact-info {
    display: flex;
    gap: 10px;
    font-size: 13px;
}

.header-right {
    flex: 1;
    text-align: right;
}

.quick-links {
    display: flex;
    list-style: none;
    gap: 25px;
    justify-content: flex-end;
}

.quick-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 13px;
}

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

.quick-links .btn-admission {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    transition: background 0.3s;
}

.quick-links .btn-admission:hover {
    background: #1a237e;
    color: var(--white) !important;
}

/* ===== MAIN NAVIGATION BAR ===== */
.navbar {
    background: var(--white);
    border-bottom: 3px solid var(--primary-color);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
    flex: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: auto;
    cursor: pointer;
}

.logo-img {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.logo-text h2 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
}

.logo-text p {
    font-size: 11px;
    color: var(--text-light);
    margin: 0;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    flex: 1;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px 10px;
    font-weight: 600;
    font-size: 13px;
    display: block;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: #1a237e;
    color: var(--white);
}

.dropdown {
    padding-bottom: 8px;
}

.dropdown > a::after {
    content: ' ▼';
    font-size: 9px;
    margin-left: 3px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    list-style: none;
    padding: 8px 0;
    border-radius: 4px;
    width: 240px;
    margin: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 240px;
    margin-top: -8px;
}

.submenu li {
    padding: 0;
    display: block;
}

.submenu a {
    color: var(--text-dark);
    padding: 8px 13px;
    display: block;
    font-weight: 400;
    font-size: 13px;
    border: none;
    background: none;
    border-radius: 0;
    transition: all 0.3s;
}

.submenu a:hover {
    background: #1a237e;
    color: var(--white);
}

.dropdown:hover .submenu {
    display: block;
}

.dropdown:hover > a {
    background: #1a237e !important;
    color: var(--white) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== ANNOUNCEMENTS SECTION ===== */
.announcements {
    background: linear-gradient(135deg, #fff3cd, #ffe8a3);
    border-top: 3px solid var(--accent-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 2px 0;
}

.announcements-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcements-title {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-container {
    overflow: hidden;
    background: linear-gradient(135deg, #fff3cd, #ffe8a3);
    border-radius: 4px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    flex: 1;
    cursor: pointer;
    min-height: 30px;
}

.marquee-content {
    display: flex;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
    gap: 30px;
}

.marquee-content.paused {
    animation-play-state: paused;
}

.marquee-content p {
    color: var(--text-dark);
    font-size: 16px;
    margin: 0;
    display: inline;
    flex-shrink: 0;
    font-weight: 500;
}

.marquee-spacer {
    font-weight: bold;
    opacity: 0.5;
    margin: 0 10px;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    object-fit: cover;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
    border-color: var(--accent-color);
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 5;
    width: 100%;
}

.hero-overlay h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.hero-overlay p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* ===== HERO MAIN CONTAINER (FLEX LAYOUT) ===== */
.hero-main-container {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 0;
}

.carousel-container {
    flex: 0 0 80%;
}

/* ===== HERO NEWS SECTION ===== */
.hero-news-section {
    flex: 0 0 20%;
    width: 20%;
    background: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    border-right: 1px solid #d0d0d0;
    padding: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-news-section h3 {
    background: linear-gradient(135deg, var(--accent-color), #1a237e);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(255, 111, 0, 0.3);
}

/* ===== NEWS MARQUEE CONTAINER ===== */
.news-marquee-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.news-marquee-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: marqueeVertical 15s linear infinite;
}

.news-marquee-content.paused {
    animation-play-state: paused;
}

.news-item {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 8px;
    background: white;
    border-left: 3px solid var(--accent-color);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    line-height: 1.4;
}

@keyframes marqueeVertical {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* ===== INSTITUTIONS SECTION ===== */
.institutions {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    padding: 60px 0;
}

.institutions h2 {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.institutions .section-subtitle {
    text-align: center;
    color: var(--accent-color);
    font-size: 16px;
    margin-bottom: 40px;
    font-weight: 500;
}

.institution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.institution-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.institution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.2);
}

.institution-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.institution-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.institution-full-name {
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.institution-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-learn-more {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: #e55c00;
    transform: scale(1.05);
}

/* ===== LEADERSHIP MESSAGES SECTION ===== */
.leadership-messages {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f6 100%);
    padding: 60px 0;
}

.leadership-messages h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Caladea', serif;
}

.section-subtitle {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.leadership-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.15);
}

.leadership-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-color), #1a237e);
}

.leadership-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.leadership-card:hover .leadership-image img {
    transform: scale(1.05);
}

.leadership-content {
    padding: 25px;
}

.leadership-content h3 {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leadership-content .position {
    color: #888;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leadership-content .message {
    color: #555;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.leadership-content .name {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e65a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
    margin-top: 30px;
}

.btn-secondary:hover {
    background: #002449;
}

.btn-admission {
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 6px;
    font-size: 14px;
    margin-left: 20px;
}

.btn-admission:hover {
    background: #e65a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

/* ===== SECTIONS ===== */
section {
    padding: 0px 0 0px 0;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: bold;
    font-family: 'Caladea', serif;
}

section h3 {
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-light);
    padding-top: 40px;
    padding-bottom: 10px;
}

.about h2 {
    padding-top: 10px;
    font-family: 'Caladea', serif;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-light);
    text-align: justify;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===== SCHOOLS SECTION ===== */
.schools {
    background: var(--white);
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.school-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    border-top: 4px solid var(--accent-color);
}

.school-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-top-color: var(--primary-color);
}

.school-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.school-card h3 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}

/* ===== ETHICS SECTION ===== */
.ethics {
    background: var(--bg-light);
}

.ethics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ethics-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.ethics-card h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--primary-color);
}

.ethics-card p {
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
}

/* ===== STATS SECTION ===== */
.stats {
    background: linear-gradient(135deg, var(--primary-color), #004fa3);
    color: var(--white);
    padding: 60px 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box h3 {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: bold;
}

.stat-box p {
    font-size: 16px;
}

/* ===== FACILITIES SECTION ===== */
.facilities {
    background: var(--white);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.facility-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    border-top: 3px solid var(--accent-color);
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.facility-item h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--primary-color);
}

.facility-item p {
    color: var(--text-light);
}

/* ===== PLACEMENTS SECTION ===== */
.placements {
    background: var(--bg-light);
}

.placements p {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.recruiters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: center;
}

.recruiter-logo {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.recruiter-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 33, 70, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

/* ===== NEWS SECTION ===== */
.news {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 8px;
}

.news-card h3 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 16px;
}

.news-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
}

/* ===== FAQs SECTION ===== */
.faqs {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.faq-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 15px;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
    text-align: justify;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-light);
    padding-bottom: 40px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(255, 111, 0, 0.2);
    background: var(--white);
}

.contact-info {
    display: grid;
    gap: 25px;
}

.info-item h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.footer-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-column h4 {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom-links {
    font-size: 12px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .top-header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-right {
        text-align: center;
    }

    .quick-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .quick-links a {
        font-size: 12px;
    }

    .navbar-content {
        gap: 15px;
    }

    .logo {
        min-width: auto;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 12px 20px;
        border-radius: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        height: 300px;
    }

    .hero-overlay h1 {
        font-size: 32px;
    }

    .hero-overlay p {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        gap: 15px;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .schools-grid,
    .ethics-grid,
    .testimonials-grid,
    .recruiters-grid,
    .facilities-grid,
    .news-grid,
    .faq-grid,
    .institution-grid {
        grid-template-columns: 1fr;
    }

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

    .institution-card {
        padding: 20px 15px;
    }

    .institution-card h3 {
        font-size: 18px;
    }

    .institution-description {
        font-size: 13px;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-section h4 {
        font-size: 13px;
    }

    .footer-section a {
        font-size: 11px;
    }

    .hero {
        height: 400px;
    }

    .hero-main-container {
        flex-direction: column;
    }

    .carousel-container {
        flex: 0 0 70% !important;
        width: 100% !important;
    }

    .hero-institutions-section {
        flex: 0 0 30% !important;
        width: 100% !important;
        border-left: none;
        border-top: 3px solid var(--accent-color);
        padding: 15px 15px;
        height: auto;
        min-height: 120px;
    }

    .hero-news-section h3 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .news-marquee-content {
        gap: 8px;
    }

    .news-item {
        font-size: 10px;
        padding: 8px 6px;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .leadership-messages {
        padding: 50px 0;
    }

    .leadership-messages h2 {
        font-size: 28px;
    }

    .leadership-image {
        height: 200px;
    }

    .leadership-content {
        padding: 20px;
    }

    .leadership-content h3 {
        font-size: 14px;
    }

    .leadership-content .message {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logo-text h2 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .nav-menu a {
        font-size: 12px;
        padding: 8px 10px;
    }

    .hero {
        height: 380px;
    }

    .hero-main-container {
        flex-direction: column;
    }

    .carousel-container {
        flex: 0 0 65% !important;
        width: 100% !important;
    }

    .hero-news-section {
        flex: 0 0 35% !important;
        width: 100% !important;
        border-left: none;
        border-top: 4px solid var(--accent-color);
        border-bottom: 1px solid #d0d0d0;
        padding: 12px 12px;
        height: auto;
        min-height: 160px;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .hero-news-section h3 {
        font-size: 12px;
        margin-bottom: 10px;
        padding: 8px 10px;
    }

    .news-marquee-content {
        gap: 10px;
    }

    .news-item {
        font-size: 11px;
        padding: 8px 6px;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .leadership-messages {
        padding: 40px 0;
    }

    .leadership-messages h2 {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .leadership-image {
        height: 180px;
    }

    .leadership-content {
        padding: 18px;
    }

    .leadership-content h3 {
        font-size: 13px;
    }

    .leadership-content .message {
        font-size: 11px;
        line-height: 1.6;
    }

    .leadership-content .name {
        font-size: 12px;
    }

    .institution-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .institutions h2 {
        font-size: 24px;
    }

    .institutions .section-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .institution-card {
        padding: 20px 12px;
    }

    .institution-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .institution-card h3 {
        font-size: 16px;
    }

    .institution-full-name {
        font-size: 12px;
    }

    .institution-description {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .btn-learn-more {
        padding: 8px 20px;
        font-size: 12px;
    }

    .hero-overlay h1 {
        font-size: 24px;
    }

    .hero-overlay p {
        font-size: 14px;
    }

    section h2 {
        font-size: 22px;
    }

    .contact-info {
        font-size: 13px;
    }

    .quick-links {
        gap: 10px;
    }

    .quick-links a {
        font-size: 11px;
    }

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

    .footer-section h4 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer-section a {
        font-size: 10px;
    }

    .footer-section li {
        margin-bottom: 6px;
    }

    .footer-column h4 {
        font-size: 14px;
    }

    .footer-column a {
        font-size: 12px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.school-card,
.ethics-card,
.testimonial-card,
.facility-item,
.news-card,
.faq-item {
    animation: slideIn 0.6s ease-out forwards;
}

/* ===== FLOATING WIDGET ===== */
.floating-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.widget-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.widget-toggle-btn.active {
    transform: rotate(45deg);
}

.widget-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
}

.widget-menu.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widget-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.widget-item:hover {
    transform: scale(1.15);
}

.widget-item.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.widget-item.phone {
    background: linear-gradient(135deg, #ff6f00 0%, #e55100 100%);
}

.widget-item.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0a66c2 100%);
}

.widget-item.instagram {
    background: linear-gradient(135deg, #e1306c 0%, #fd1d1d 100%);
}

.widget-label {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.widget-item:hover + .widget-label,
.widget-label:hover {
    opacity: 1;
}

@media (max-width: 480px) {
    .floating-widget {
        bottom: 10px;
        right: 10px;
    }

    .widget-toggle-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .widget-menu {
        bottom: 70px;
        gap: 10px;
        padding: 10px;
    }

    .widget-item {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* ===== PAGE BANNER (for sub pages) ===== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
    margin-top: 0;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.page-banner .breadcrumb {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 10px;
}

.page-banner .breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.page-banner .breadcrumb a:hover {
    text-decoration: underline;
}

.page-content {
    padding: 40px 0;
    min-height: 60vh;
}

.page-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.page-content h3 {
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-content ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 40px 0 30px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-content {
        padding: 30px 0;
    }
}