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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-logo:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.nav-logo:hover .logo-text h3 {
    color: #ff6b35;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2c5530;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2c5530;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background: #f8f9fa;
    border-color: #2c5530;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    display: none;
    z-index: 1001;
}

.language-menu.show {
    display: block;
}

.language-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.language-menu a:hover {
    background: #f8f9fa;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transform-origin: center;
    -webkit-transform-origin: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 85, 48, 0.8);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: #ff6b35;
    color: white;
}

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

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

.btn-secondary:hover {
    background: white;
    color: #2c5530;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: #2c5530;
    color: white;
}

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

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* News Preview */
.news-preview {
    padding: 100px 0;
}

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

.view-all-btn {
    color: #2c5530;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #2c5530;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #2c5530;
    color: white;
}

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

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.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: 25px;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: #ff6b35;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    opacity: 0.8;
}

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

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

.footer-section a:hover {
    color: #ff6b35;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

.social-links a:hover {
    background: #ff6b35;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Section Block */
.section-block {
    margin-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        /* Fallback for browsers that don't support backdrop-filter */
        background: #ffffff;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease, transform 0.3s ease;
        -webkit-transition: left 0.3s ease, transform 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        /* Ensure it's above everything */
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
    }

    .nav-menu.active {
        left: 0;
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }

    .nav-menu .nav-item {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 10px;
        margin: 0 20px;
        transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        /* Remove tap highlight on iOS */
        touch-action: manipulation;
        /* Improve touch responsiveness */
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active,
    .nav-menu .nav-link:focus {
        background: rgba(44, 85, 48, 0.1);
        color: #2c5530;
        outline: none;
    }

    .hamburger {
        display: flex;
        z-index: 10001;
        position: relative;
        padding: 10px;
        /* Add padding for better touch target */
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        /* Remove tap highlight on iOS */
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        -webkit-transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        -webkit-transform: rotate(-45deg) translate(7px, -6px);
    }

    .language-selector {
        margin-top: 20px;
        position: relative;
    }

    .language-menu {
        position: static;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        margin-top: 10px;
        width: 200px;
    }

    /* Mobile menu overlay for better compatibility */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

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

    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* News Page Styles */
.news-content {
    padding: 60px 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item.featured {
    border: 2px solid #ff6b35;
}

.news-item .news-image {
    width: 300px;
    height: 200px;
    position: relative;
}

.news-item .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b35;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-info {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.news-author {
    position: relative;
}

.news-author::before {
    content: '•';
    margin-right: 10px;
}

.news-item .news-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-item .news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    color: #2c5530;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ff6b35;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: #2c5530;
    color: white;
    border-color: #2c5530;
}

/* Admissions Page Styles */
.admissions-content {
    padding: 60px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

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

.requirement-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.requirement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.requirement-icon i {
    font-size: 1.5rem;
    color: white;
}

.requirement-card h3 {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 15px;
}

.requirement-card ul {
    list-style: none;
}

.requirement-card li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.requirement-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c5530;
    font-weight: bold;
}

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

.target-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.target-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.target-icon i {
    font-size: 2rem;
    color: white;
}

.target-card h3 {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 15px;
}

.target-card p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item .news-image {
        width: 100%;
        height: 200px;
    }

    /* Mobile menu adjustments for smaller screens */
    .nav-menu {
        padding-top: 30px;
    }

    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 12px 15px;
        margin: 0 15px;
    }

    .language-menu {
        width: 150px;
    }

    .nav-container {
        padding: 0 15px;
        height: 70px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-text h3 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.75rem;
    }
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.program-category h3 {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
}

.program-category ul {
    list-style: none;
}

.program-category li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.program-category li::before {
    content: '📚';
    position: absolute;
    left: 0;
}



/* Application Form */
.application-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c5530;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    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: #2c5530;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* About Page Styles */
.about-content {
    padding: 60px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.intro-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.intro-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission and Vision */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.mission,
.vision {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.mv-icon i {
    font-size: 2rem;
    color: white;
}

.mission h3,
.vision h3 {
    font-size: 1.5rem;
    color: #2c5530;
    margin-bottom: 20px;
}

.mission p,
.vision p {
    color: #666;
    line-height: 1.6;
}

/* Detailed Stats */
.stats-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-card .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 5px;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-detail {
    font-size: 0.9rem;
    color: #666;
}

/* Faculty Content */
.faculty-content {
    margin-top: 40px;
}

.faculty-overview {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.faculty-overview p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.faculty-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faculty-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 10px;
}

.faculty-desc {
    color: #666;
    font-weight: 500;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.facility-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
}

.facility-image {
    height: 200px;
    overflow: hidden;
}

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

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

.facility-content {
    padding: 25px;
}

.facility-content h3 {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 15px;
}

.facility-content p {
    color: #666;
    line-height: 1.6;
}



/* Leadership Grid - Modern Glassmorphism Design */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* First row: 4 items, each spanning 2 columns */
.leadership-grid .leader-card:nth-child(1) { grid-column: 1 / span 2; }
.leadership-grid .leader-card:nth-child(2) { grid-column: 3 / span 2; }
.leadership-grid .leader-card:nth-child(3) { grid-column: 5 / span 2; }
.leadership-grid .leader-card:nth-child(4) { grid-column: 7 / span 2; }

/* Second row: 3 items centered, each spanning 2 columns with 1 column gap on each side */
.leadership-grid .leader-card:nth-child(5) { grid-column: 2 / span 2; }
.leadership-grid .leader-card:nth-child(6) { grid-column: 4 / span 2; }
.leadership-grid .leader-card:nth-child(7) { grid-column: 6 / span 2; }

.leader-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.leader-photo {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

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

.leader-card:hover .leader-photo img {
    transform: scale(1.05);
}

.leader-basic-info {
    padding: 20px;
    background: white;
    border-radius: 0 0 20px 20px;
}

.leader-basic-info h3 {
    font-size: 1.4rem;
    color: #2c5530;
    margin-bottom: 8px;
    font-weight: 600;
}

.leader-basic-info .leader-title {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

/* Glassmorphism Overlay */
.leader-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 10;
}

.leader-card:hover .leader-detail-overlay {
    opacity: 1;
    visibility: visible;
}

.leader-detail-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.leader-card:hover .leader-detail-content {
    transform: translateY(0);
}

.leader-detail-content h3 {
    font-size: 1.5rem;
    color: #2c5530;
    margin-bottom: 10px;
    font-weight: 700;
}

.leader-detail-content .leader-title {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: block;
}

.leader-detail-content .leader-desc {
    color: #444;
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: left;
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }



    /* Mobile Touch Support for Leadership Cards */
    .leader-card {
        cursor: default;
    }

    /* Show overlay on tap for mobile */
    .leader-card.active .leader-detail-overlay {
        opacity: 1;
        visibility: visible;
    }

    .leader-card.active .leader-detail-content {
        transform: translateY(0);
    }

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

    /* Reset grid positioning for mobile */
    .leadership-grid .leader-card:nth-child(1),
    .leadership-grid .leader-card:nth-child(2),
    .leadership-grid .leader-card:nth-child(3),
    .leadership-grid .leader-card:nth-child(4),
    .leadership-grid .leader-card:nth-child(5),
    .leadership-grid .leader-card:nth-child(6),
    .leadership-grid .leader-card:nth-child(7) {
        grid-column: auto;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Reset grid positioning for extra small screens */
    .leadership-grid .leader-card:nth-child(1),
    .leadership-grid .leader-card:nth-child(2),
    .leadership-grid .leader-card:nth-child(3),
    .leadership-grid .leader-card:nth-child(4),
    .leadership-grid .leader-card:nth-child(5),
    .leadership-grid .leader-card:nth-child(6),
    .leadership-grid .leader-card:nth-child(7) {
        grid-column: auto;
    }

    .leader-photo {
        height: 250px;
    }

    .leader-detail-overlay {
        padding: 20px;
    }

    .leader-detail-content .leader-desc {
        font-size: 0.9rem;
    }



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

@media (max-width: 480px) {
    .faculty-highlights {
        grid-template-columns: 1fr;
    }

    .stats-detailed {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .requirements-grid,
    .target-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* News Detail Styles */
.news-detail {
    padding: 120px 0 60px;
    background: #f8f9fa;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #2c5530;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff6b35;
}

.breadcrumb span {
    margin: 0 10px;
    color: #999;
}

.news-header {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.news-header .news-category {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.news-header .news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-header .news-meta {
    display: flex;
    gap: 30px;
    color: #666;
    font-size: 0.95rem;
}

.news-header .news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail .news-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-detail .news-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.news-content {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.news-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.news-content p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c5530;
}

.news-quote {
    background: #f8f9fa;
    border-left: 4px solid #ff6b35;
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 10px 10px 0;
}

.news-quote blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #2c5530;
    margin: 0;
    line-height: 1.6;
}

.news-quote cite {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
    font-style: normal;
    color: #666;
    font-weight: 600;
}

.related-news {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.related-news h3 {
    font-size: 1.5rem;
    color: #2c5530;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff6b35;
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.related-news-item:hover {
    background: #2c5530;
    color: white;
    transform: translateX(10px);
}

.related-date {
    font-size: 0.9rem;
    color: #666;
}

.related-news-item:hover .related-date {
    color: #ccc;
}

.back-to-news {
    text-align: center;
}

.back-to-news .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1rem;
}

/* Responsive for News Detail */
@media (max-width: 768px) {
    .news-header {
        padding: 25px;
    }

    .news-header .news-title {
        font-size: 2rem;
    }

    .news-header .news-meta {
        flex-direction: column;
        gap: 10px;
    }

    .news-content {
        padding: 30px 25px;
    }

    .news-detail .news-image img {
        height: 250px;
    }

    .related-news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
