/* Image Utility Classes */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.responsive-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.responsive-img:hover {
    transform: scale(1.02);
}

/* Improved existing image styles */
.college-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.college-logo:hover {
    transform: scale(1.05);
}

.instructor-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    object-fit: cover;
    aspect-ratio: 3/4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.leader-card:hover .leader-photo {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Skip Link Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1a3a52;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Bar */
.utility-bar {
    background-color: #1a3a52;
    color: white;
    padding: 12px 0;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.utility-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.language-selector {
    position: relative;
    order: 1;
}

.lang-dropdown-btn {
    background-color: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lang-dropdown-btn:hover {
    background-color: rgba(255,255,255,0.25);
    border-color: #f0a500;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.lang-dropdown-btn:focus {
    outline: 3px solid #f0a500;
    outline-offset: 2px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #f0a500;
}

.language-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: white;
    border: 2px solid #f0a500;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    min-width: 220px;
    display: none;
    z-index: 3000;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.language-selector.active .lang-dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-option {
    display: block;
    width: 100%;
    background-color: transparent;
    color: #1a3a52;
    border: none;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background-color: #f8f9fa;
    color: #1a3a52;
    padding-left: 25px;
}

.lang-option.active {
    background-color: #1a3a52;
    color: white;
    font-weight: 700;
}

.lang-option.active:hover {
    background-color: #2c5f7f;
}

.utility-links {
    display: flex;
    gap: 25px;
    order: 2;
    flex-wrap: wrap;
}

.utility-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.utility-links a:hover {
    color: #f0a500;
    border-bottom-color: #f0a500;
}

/* Main Header */
.main-header {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.college-info h1 {
    font-size: 28px;
    color: #1a3a52;
    margin-bottom: 5px;
}

.college-info .subtitle {
    font-size: 14px;
    color: #666;
}

.college-info .motto {
    font-size: 13px;
    color: #f0a500;
    font-weight: 600;
    margin-top: 5px;
    font-style: italic;
}

/* Main Navigation */
.main-nav {
    background-color: rgba(26, 58, 82, 0.85);
    position: sticky;
    top: 42px;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    background-color: rgba(26, 58, 82, 0.5);
    border-radius: 8px;
    margin: 5px;
    backdrop-filter: blur(5px);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background-color: rgba(52, 152, 219, 0.9);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    list-style: none;
    box-shadow: none;
    border-radius: 8px;
    border: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    background-color: rgba(26, 58, 82, 0.7);
    margin: 2px 0;
    border-radius: 6px;
}

.dropdown-menu li a:hover {
    background-color: rgba(52, 152, 219, 0.9);
    color: white;
    transform: translateX(5px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 58, 82, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-tagline {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-motto {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 500;
    color: #f0a500;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn-primary {
    background-color: #f0a500;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #d89400;
}

.btn-secondary {
    background-color: transparent;
    color: #1a3a52;
    border: 2px solid #1a3a52;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #1a3a52;
    color: white;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #1a3a52;
    margin-bottom: 40px;
    font-weight: 600;
}

/* About Section */
.about-section {
    background-color: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* Instructor Message Section */
.instructor-message-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.instructor-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.instructor-image {
    position: relative;
}

.instructor-text {
    padding: 20px 0;
}

.instructor-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0a500;
}

.instructor-info h3 {
    color: #1a3a52;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.instructor-title {
    color: #f0a500;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.message-content h2 {
    color: #1a3a52;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.message-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.message-closing {
    color: #1a3a52;
    font-weight: 600;
    font-size: 18px;
    font-style: italic;
    margin-top: 30px !important;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Mission, Vision, Values Section */
.mvv-section {
    background-color: #f9f9f9;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mvv-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.mvv-card:hover {
    transform: translateY(-5px);
}

.mvv-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mvv-card h3 {
    color: #1a3a52;
    font-size: 24px;
    margin-bottom: 15px;
}

.mvv-card p,
.mvv-card ul {
    color: #666;
    line-height: 1.8;
}

.mvv-card ul {
    list-style: none;
    text-align: left;
}

.mvv-card ul li {
    padding: 5px 0;
}

/* Programs Section */
.programs-section {
    background-color: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.program-card {
    background-color: #f9f9f9;
    padding: 0;
    border-radius: 12px;
    border-left: none;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.program-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.program-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-photo {
    transform: scale(1.05);
}

.program-info {
    padding: 25px;
}

.program-info h3 {
    color: #1a3a52;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.program-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Entrepreneurship Section */
.entrepreneurship-section {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5f7f 100%);
    color: white;
}

.entrepreneurship-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.entrepreneurship-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.entrepreneurship-section h2 {
    color: white;
    margin-bottom: 20px;
}

.entrepreneurship-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.entrepreneurship-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.feature-icon {
    background-color: #f0a500;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Facilities Section */
.facilities-section {
    background-color: #f9f9f9;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.facility-card {
    background-color: #f9f9f9;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.facility-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.facility-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-card:hover .facility-photo {
    transform: scale(1.05);
}

.facility-info {
    padding: 25px;
}

.facility-info h3 {
    color: #1a3a52;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.facility-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Statistics Section */
.statistics-section {
    background-color: #1a3a52;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #f0a500;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    margin-bottom: 10px;
}

.stat-detail {
    font-size: 14px;
    color: #ccc;
}

/* Community Section */
.community-section {
    background-color: white;
}

.community-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.community-item {
    text-align: center;
    padding: 30px;
}

.community-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.community-item h3 {
    color: #1a3a52;
    font-size: 22px;
    margin-bottom: 15px;
}

.community-item p {
    color: #666;
    line-height: 1.8;
}

/* Partnerships Section */
.partnerships-section {
    background-color: #f9f9f9;
}

.partnerships-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.partner-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.partner-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.partner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-image {
    transform: scale(1.1);
}

.partner-card h3 {
    color: #1a3a52;
    font-size: 22px;
    margin-bottom: 15px;
}

.partner-card p {
    color: #666;
    line-height: 1.6;
}

/* News Section */
.news-section {
    background-color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid #1a3a52;
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top-color: #f0a500;
}

.news-date {
    color: #f0a500;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card h3 {
    color: #1a3a52;
    font-size: 20px;
    margin-bottom: 15px;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: #1a3a52;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.news-link:hover {
    color: #f0a500;
}

/* Gallery Section */
.gallery-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    overflow: hidden;
}

.gallery-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.gallery-track {
    display: flex;
    animation: train-slide 12s linear infinite;
    width: fit-content;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex: 0 0 300px;
    height: 225px;
    margin-right: 20px;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Train animation - moves like a train */
@keyframes train-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-3320px); /* Total width of all items (12 items * 280px width + margins) */
    }
}

/* Pause animation on hover */
.gallery-slider:hover .gallery-track {
    animation-play-state: paused;
}

/* Workshop Details Section */
.workshop-details-section {
    background-color: white;
    padding: 60px 0;
}

.workshop-overview {
    margin-bottom: 50px;
}

.workshop-description {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #1a3a52;
}

.workshop-description h3 {
    color: #1a3a52;
    font-size: 24px;
    margin-bottom: 15px;
}

.workshop-description p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.workshop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.workshop-tools h3,
.training-content h3 {
    color: #1a3a52;
    font-size: 22px;
    margin-bottom: 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.tool-category h4 {
    color: #f0a500;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0a500;
    padding-bottom: 5px;
}

.tools-list {
    list-style: none;
    padding: 0;
}

.tools-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 15px;
}

.tools-list li:last-child {
    border-bottom: none;
}

.training-levels-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.training-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.module-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-top: 3px solid #1a3a52;
    transition: all 0.3s;
}

.module-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top-color: #f0a500;
}

.module-card h4 {
    color: #1a3a52;
    font-size: 18px;
    margin-bottom: 10px;
}

.module-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.community-impact h3 {
    color: #1a3a52;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.impact-card {
    background-color: #f9f9f9;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.impact-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.impact-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.impact-card:hover .impact-photo {
    transform: scale(1.05);
}

.impact-info {
    padding: 25px;
}

.impact-info h4 {
    color: #1a3a52;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.impact-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Detailed Mission Section */
.detailed-mission-section {
    background-color: white;
    padding: 80px 0;
}

.detailed-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-image {
    position: relative;
}

.content-text h2 {
    color: #1a3a52;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.content-text p {
    color: #555;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #555;
}

.point-icon {
    background-color: #f0a500;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Detailed Vision Section */
.detailed-vision-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.detailed-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.detailed-content.reverse .content-image {
    order: 2;
}

.detailed-content.reverse .content-text {
    order: 1;
}

.vision-goals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.goal-item:hover {
    transform: translateY(-3px);
}

.goal-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.goal-item h4 {
    color: #1a3a52;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.goal-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Vision section image optimizations */
.detailed-vision-section .section-image {
    width: 100%;
    height: auto;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detailed-vision-section .section-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Ensure proper aspect ratio on vision image */
.detailed-vision-section .content-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* History Section */
.history-section {
    background-color: white;
    padding: 80px 0;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.history-text {
    color: #555;
}

.history-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #f0a500;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #1a3a52;
    border: 3px solid #f0a500;
    z-index: 2;
}

.timeline-year {
    color: #f0a500;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content h4 {
    color: #1a3a52;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Leadership Section */
.leadership-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.leadership-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.leadership-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.leader-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.leader-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.leader-info {
    padding: 30px;
}

.leader-info h3 {
    color: #1a3a52;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.leader-role {
    color: #f0a500;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.leader-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.leadership-values {
    text-align: center;
}

.leadership-values h3 {
    color: #1a3a52;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.value-card {
    background-color: #f9f9f9;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.value-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.value-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.value-card:hover .value-photo {
    transform: scale(1.05);
}

.value-info {
    padding: 25px;
}

.value-info h4 {
    color: #1a3a52;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Footer */
.main-footer {
    background-color: #1a3a52;
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: #f0a500;
}

.footer-about p {
    line-height: 1.8;
    color: #ccc;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #f0a500;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
}

.email-link {
    color: #f0a500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #ffb733;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .utility-bar {
        padding: 15px 0;
    }

    .utility-bar-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .language-selector {
        order: 1;
        width: 100%;
        max-width: 280px;
    }

    .lang-dropdown-btn {
        width: 100%;
        min-width: auto;
        padding: 12px 20px;
        font-size: 15px;
        justify-content: space-between;
    }

    .lang-dropdown-menu {
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }

    .utility-links {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .utility-links a {
        font-size: 13px;
        padding: 3px 0;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
    }

    .instructor-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .instructor-photo {
        max-width: 300px;
        margin: 0 auto;
    }

    .message-content h2 {
        font-size: 24px;
    }

    .message-text p {
        text-align: left;
        font-size: 15px;
    }

    .college-info h1 {
        font-size: 26px;
    }

    .college-info .subtitle {
        font-size: 12px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
        margin: 0 auto;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .mvv-grid,
    .programs-grid,
    .facilities-grid,
    .stats-grid,
    .community-content,
    .partners-grid,
    .news-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .value-image,
    .impact-image,
    .facility-image {
        height: 160px;
    }

    .value-info,
    .impact-info,
    .facility-info {
        padding: 20px;
    }

    .value-info h4,
    .impact-info h4,
    .facility-info h3 {
        font-size: 18px;
    }

    .value-info p,
    .impact-info p,
    .facility-info p {
        font-size: 14px;
    }

    .workshop-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .training-modules,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }

    .detailed-content,
    .history-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .content-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .section-image {
        max-height: 300px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .content-text h2 {
        font-size: 28px;
        text-align: center;
    }

    .content-text p {
        font-size: 16px;
        text-align: left;
    }

    .mission-points {
        text-align: left;
    }

    .vision-goals {
        grid-template-columns: 1fr;
    }

    .goal-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    /* Specific fixes for vision section on mobile */
    .detailed-vision-section .detailed-content.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detailed-vision-section .content-image {
        order: 1;
        max-width: 100%;
    }

    .detailed-vision-section .content-text {
        order: 2;
    }

    .detailed-vision-section .section-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-item {
        padding-left: 20px;
        margin-bottom: 30px;
    }

    .timeline-item::before {
        left: -29px;
        width: 14px;
        height: 14px;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .leader-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .leader-image {
        height: 200px;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .value-item {
        padding: 20px 15px;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .utility-bar {
        padding: 12px 0;
    }

    .utility-bar-content {
        gap: 12px;
    }

    .language-selector {
        max-width: 260px;
    }

    .lang-dropdown-btn {
        padding: 10px 16px;
        font-size: 14px;
        min-width: auto;
    }

    .lang-dropdown-menu {
        max-width: 260px;
    }

    .lang-option {
        padding: 12px 16px;
        font-size: 13px;
    }

    .utility-links {
        gap: 15px;
    }

    .utility-links a {
        font-size: 12px;
    }

    .hero {
        height: 400px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }

    section {
        padding: 40px 0;
    }

    .detailed-content,
    .history-content {
        gap: 30px;
    }

    .content-text h2 {
        font-size: 24px;
    }

    .content-text p {
        font-size: 15px;
    }

    .section-image {
        max-height: 250px;
        border-radius: 8px;
    }

    /* Enhanced vision section fixes for small mobile */
    .detailed-vision-section .detailed-content.reverse {
        gap: 25px;
    }

    .detailed-vision-section .section-image {
        height: 200px;
        border-radius: 8px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    }

    .detailed-vision-section .content-text h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .detailed-vision-section .content-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    .point-item {
        font-size: 14px;
        gap: 12px;
    }

    .point-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .timeline {
        padding-left: 15px;
    }

    .timeline-item {
        padding-left: 15px;
        margin-bottom: 25px;
    }

    .timeline-item::before {
        left: -24px;
        width: 12px;
        height: 12px;
    }

    .timeline-year {
        font-size: 14px;
    }

    .timeline-content h4 {
        font-size: 18px;
    }

    .timeline-content p {
        font-size: 14px;
    }

    .leader-card {
        max-width: 100%;
    }

    .leader-image {
        height: 180px;
    }

    .leader-info {
        padding: 20px;
    }

    .leader-info h3 {
        font-size: 20px;
    }

    .leader-role {
        font-size: 14px;
    }

    .leader-info p {
        font-size: 14px;
    }

    .leadership-values h3 {
        font-size: 24px;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .value-item {
        padding: 20px 15px;
    }

    .value-icon {
        font-size: 36px;
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    /* Gallery slider mobile styles */
    .gallery-slider {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .gallery-track {
        animation: train-slide-mobile 8s linear infinite;
    }

    .gallery-item {
        flex: 0 0 200px;
        height: 150px;
        margin-right: 12px;
    }

    @keyframes train-slide-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-2240px); /* Adjusted for small mobile */
        }
    }

    .value-item h4 {
        font-size: 14px;
    }

    .goal-item {
        padding: 15px;
    }

    .goal-icon {
        font-size: 28px;
    }

    .goal-item h4 {
        font-size: 16px;
    }

    .goal-item p {
        font-size: 13px;
    }

    .program-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 10px;
    }

    .facility-image {
        height: 120px;
    }

    .impact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .partner-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 12px;
    }

    .value-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 10px;
    }

    .value-image,
    .impact-image,
    .facility-image {
        height: 150px;
    }

    .value-info,
    .impact-info,
    .facility-info {
        padding: 15px;
    }

    .value-info h4,
    .impact-info h4,
    .facility-info h3 {
        font-size: 16px;
    }

    .value-info p,
    .impact-info p,
    .facility-info p {
        font-size: 13px;
    }

    .program-image {
        height: 150px;
    }

    .program-info {
        padding: 15px;
    }

    .program-info h3 {
        font-size: 18px;
    }

    .program-info p {
        font-size: 14px;
    }
}
