/* Prevent image selection and enhance protection */
img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-touch-callout: none;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Color Variables */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-yellow: #fbbf24;
    --vibrant-red: #ef4444;
    --success-green: #10b981;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --dark-gray: #374151;
    --text-dark: #1f2937;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo p {
    color: var(--accent-yellow);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-blue);
}

.nav-link.active {
    color: var(--secondary-blue);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    background: transparent;
    border: none;
    outline: none;
    gap: 5px;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
        min-height: 100vh;
    }
    
    .hero .contact-item {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        margin-bottom: 0.5rem;
    }
    
    .hero .contact-item span {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-text h2 {
    font-size: 1.8rem;
    color: var(--accent-yellow);
    margin-bottom: 2rem;
    font-style: italic;
}

.admission-badge {
    background: var(--vibrant-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero .contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 16px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 50px;
}

.hero .contact-item i {
    color: var(--secondary-blue);
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    line-height: 1;
}

.hero .contact-item span {
    color: var(--primary-blue) !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    line-height: 1.3;
    align-self: center;
    flex: 1;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.academy-logo {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 350px; /* Adjust based on your preference */
    display: flex;
    justify-content: center;
    align-items: center;
}

.academy-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.academy-logo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.student-illustration {
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.student-illustration i {
    font-size: 8rem;
    color: var(--accent-yellow);
}

/* Mobile responsive fixes for graduation cap icon */
@media (max-width: 768px) {
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .student-illustration {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .student-illustration i {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .student-illustration {
        width: 150px;
        height: 150px;
    }
    
    .student-illustration i {
        font-size: 4rem;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.about-text li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--dark-gray);
    font-weight: 500;
}

/* Programs Section */
.programs {
    padding: 80px 0;
    background: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Adjust layout for larger screens */
@media (min-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Chairman's Message Styles */
.chairman-message {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    width: 80%;
    justify-self: center;
}

.chairman-message h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.chairman-message h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-yellow);
}

.chairman-message p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #4b5563;
}

.chairman-signature {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-style: italic;
    color: var(--primary-blue);
    text-align: right;
}

.chairman-signature strong {
    color: var(--vibrant-red);
    display: block;
    margin-bottom: 0.3rem;
}

/* Add a subtle corner accent */
.chairman-message::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 60px 0;
    border-color: transparent var(--accent-yellow) transparent transparent;
    z-index: 1;
}

/* Program Cards */
.program-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-blue);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-top-color: var(--accent-yellow);
}

.program-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.program-icon i {
    font-size: 2rem;
    color: var(--white);
}

.program-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 3.2rem;
    display: flex;
    align-items: center;
}

.age-group {
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 1rem;
    background: rgba(251, 191, 36, 0.1);
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
}

.program-card ul {
    margin: 1rem 0;
    padding-left: 1.25rem;
    flex-grow: 1;
}

.program-card li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    padding-left: 0.5rem;
}

.program-card li::before {
    content: '•';
    color: var(--accent-yellow);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.program-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.5rem;
}

.feature-tag {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Facilities Section */
.facilities {
    padding: 80px 0;
    background: var(--light-gray);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.facility-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-3px);
}

.facility-item i {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.facility-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.facilities-gallery h3 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    min-height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.85);
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Brochures Section */
.brochures {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.brochures .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.brochures .section-header h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.brochures .section-header p {
    color: var(--dark-gray);
    font-size: 1.2rem;
}

.brochures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.brochure-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.brochure-image {
    position: relative;
    padding-top: 140%; /* 5:7 aspect ratio */
    overflow: hidden;
}

.brochure-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.brochure-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.enlarge-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: var(--accent-yellow);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.enlarge-btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.enlarge-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.brochure-caption {
    padding: 1.2rem;
    text-align: center;
    font-weight: 600;
    color: var(--primary-blue);
    background: var(--white);
}

.no-brochures {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--dark-gray);
    font-style: italic;
}

@media (max-width: 768px) {
    .brochures {
        padding: 3rem 0;
    }
    
    .brochures .section-header h2 {
        font-size: 2rem;
    }
    
    .brochures-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .brochures-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Space for fixed header */
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: var(--light-gray);
}

.gallery-category {
    margin-bottom: 80px;
    scroll-margin-top: 100px; /* Space for fixed header */
}

.gallery-category:last-child {
    margin-bottom: 40px;
}

.gallery-category h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.gallery-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-yellow);
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
.gallery-category {
    scroll-margin-top: 100px; /* Space for fixed header */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Featured Gallery Carousel */
.featured-gallery {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.featured-gallery .gallery-scroll-container {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.featured-gallery .gallery-grid {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    flex-shrink: 0;
    height: 350px;
}

.featured-gallery .gallery-item {
    width: auto;
    height: auto; /* Fixed height for consistency */
    flex-shrink: 0;
    margin: 0 1rem;
    overflow: hidden;
}

.featured-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s ease;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 6 - 2rem * 12)); /* Adjust based on number of items */
    }
}

/* Pause animation on hover */
.featured-gallery:hover .gallery-scroll-container {
    animation-play-state: paused;
}

/* Regular gallery grid styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.featured-gallery .gallery-item,
.campus-gallery .gallery-item,
.team-gallery .gallery-item {
    height: 100%;
}

.featured-gallery .gallery-item img {
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    width: 100%;
}

/* Team Gallery Specific Styles */
.team-gallery .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Chairman's image now matches other staff images */

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-gallery .gallery-grid,
    .team-gallery .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .featured-gallery img {
        height: 300px;
    }
    
    .chairman-item {
        max-width: 100%;
    }
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

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

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

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

.gallery-caption {
    padding: 15px;
    text-align: center;
    background: var(--white);
    font-weight: 500;
    color: var(--text-dark);
    transition: background 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    background: var(--primary-blue);
    color: var(--white);
}

/* Careers Section */
.careers {
    padding: 80px 0;
    background: var(--white);
}

.hiring-banner {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
}

.hiring-banner h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

.positions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.position-category h4 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.subjects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.subject-tag {
    background: var(--secondary-blue);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.other-positions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.position-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.position-item i {
    color: var(--secondary-blue);
    font-size: 1.5rem;
}

.apply-section {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.apply-section h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-numbers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.contact-numbers span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.contact-numbers i {
    color: var(--success-green);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info .contact-item i {
    color: var(--secondary-blue);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.contact-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

.success-message,
.error-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.error-message {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.success-message i,
.error-message i {
    font-size: 1.2rem;
}

.map-section {
    text-align: center;
}

.map-section h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.map-container {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-yellow);
    color: var(--primary-blue);
}

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

/* Accreditations Section */
.accreditations {
    padding: 5rem 0;
    background-color: var(--white);
}

.accreditation-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accreditation-image {
    flex: 1;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accreditation-image img {
    width: 100%;
    max-height: 500px;
    display: block;
    transition: transform 0.3s ease;
}

.accreditation-image:hover img {
    transform: scale(1.03);
}

.accreditation-details {
    flex: 1;
    padding: 1rem;
}

.accreditation-details h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.accreditation-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-yellow);
}

.accreditation-details p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .accreditation-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .accreditation-details h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .accreditations {
        padding: 3rem 0;
    }
    
    .accreditation-content {
        padding: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {

    .chairman-message {
        width: 100%;
        justify-self: center;
    }
    .brochures-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: 0.3s;
        overflow-y: auto;
        gap: 0;
        text-align: center;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        transform: none;
        margin-top: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 0;
        text-align: center;
    }

    .dropdown-menu a:hover {
        padding-left: 0;
        background: transparent;
        color: var(--primary-blue);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-numbers {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}
