﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gmc-primary-color: #2c5aa0;
    --gmc-secondary-color: #1e3a8a;
    --gmc-accent-color: #3b82f6;
    --gmc-success-color: #10b981;
    --gmc-warning-color: #f59e0b;
    --gmc-danger-color: #ef4444;
    --gmc-text-primary: #1f2937;
    --gmc-text-secondary: #6b7280;
    --gmc-text-light: #9ca3af;
    --gmc-bg-primary: beige;
    --gmc-bg-secondary: beige;
    --gmc-bg-dark: #111827;
    --gmc-border-color: #e5e7eb;
    --gmc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --gmc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --gmc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gmc-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gmc-gradient-primary: linear-gradient(135deg, var(--gmc-primary-color) 0%, var(--gmc-accent-color) 100%);
    --gmc-gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    --transition-duration: 0.6s;
    --primary-gradient: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    --card-gradient: linear-gradient( 135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100% );
    --accent-color: #c69609;
    --notification-bg: rgba(26, 32, 44, 0.95);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gmc-text-primary);
    background-color: beige;
}

.gmc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.gmc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .gmc-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.6s ease;
    }

    .gmc-btn:hover::before {
        width: 300px;
        height: 300px;
    }

.gmc-btn-primary {
    background: var(--gmc-gradient-primary);
    color: beige;
    box-shadow: var(--gmc-shadow-md);
}

    .gmc-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--gmc-shadow-lg);
    }

.gmc-btn-secondary {
    background: transparent;
    color: var(--gmc-primary-color);
    border: 2px solid var(--gmc-primary-color);
}

    .gmc-btn-secondary:hover {
        background: var(--gmc-primary-color);
        color: beige;
    }

.gmc-section-header {
    text-align: center;
    margin-bottom: 40px;
}

    .gmc-section-header h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--gmc-text-primary);
        margin-bottom: 14px;
        position: relative;
    }

        .gmc-section-header h2::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 5px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 2px;
        }

    .gmc-section-header p {
        font-size: 1rem;
        color: var(--gmc-text-secondary);
        max-width: 550px;
        margin: 0 auto;
    }


/* Hero Section */

.hero-section {
    display: flex;
    gap: 0.3rem;
    max-width: 1600px;
    width: 100%;
    background: beige;
    padding: 0.4rem 0.5rem;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        z-index: 0;
    }

.carousel-container {
    flex: 1.2;
    position: relative;
    z-index: 1;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    height: 80vh;
    min-height: 400px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all var(--transition-duration) ease-in-out;
    display: flex;
    align-items: flex-end;
}

    .slide.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 1;
    }

    .slide.exit-left {
        transform: translateX(-100%);
    }

    .slide.exit-right {
        transform: translateX(100%);
    }

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1) );
    z-index: 0;
}

.slide-content {
    padding: 2rem;
    z-index: 2;
    max-width: 700px;
    margin-bottom: 30px;
}

    .slide-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .slide-content p {
        font-size: 1rem;
        color: #ddd;
        margin-bottom: 1rem;
    }

    .slide-content .author {
        font-size: 0.85rem;
        color: #aaa;
    }

.controls {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    background-color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active {
        width: 32px;
        background-color: var(--secondary-color);
    }

.arrows {
    display: flex;
    gap: 0.5rem;
}

.arrow-btn {
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    border: 0.5px solid var(--accent-color);
    background-color: var(--primary-color);
    color: beige;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.3s;
}

    .arrow-btn:hover {
        background-color: var(--primary-color-dark);
        border: none !important;
        color: var(--accent-color);
    }

/* Mrquee Section */
.announcements-container {
    width: 100%;
    margin: 0 auto;
    background: beige;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #b8860b;
    position: relative;
}

.announcements-wrapper {
    display: flex;
    align-items: center;
    height: 50px;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
}

.announcements-label {
    flex-shrink: 0;
    background: linear-gradient(135deg, #b8860b 0%, #ffd700 50%, #b8860b 100%);
    color: var(--primary-color-dark);
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    z-index: 10;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}



.marquee-container {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
}

.marquee-content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.announcement-item {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    color: beige;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

    .announcement-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffd700;
        transform: scale(1.02);
    }

    .announcement-item:active {
        transform: scale(0.98);
    }

.star-separator {
    color: #ffd700;
    font-size: 1.2rem;
    margin: 0 15px;
    animation: starTwinkle 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

@keyframes starTwinkle {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .announcements-wrapper {
        height: 65px;
    }

    .announcements-label {
        padding: 0 20px;
        font-size: 0.95rem;
    }

    .announcement-item {
        padding: 0 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .announcements-container {
        border-radius: 10px;
    }

    .announcements-wrapper {
        height: 60px;
    }

    .announcements-label {
        padding: 0 15px;
        font-size: 0.85rem;
    }


    .announcement-item {
        padding: 0 12px;
        font-size: 0.85rem;
    }

    .star-separator {
        font-size: 1rem;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 670px;
    }

    .announcements-wrapper {
        height: 55px;
    }

    .announcements-label {
        padding: 0 12px;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
        display: none;
    }



    .announcement-item {
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .star-separator {
        font-size: 0.9rem;
        margin: 0 8px;
    }
}

@media (max-width: 320px) {
    .announcements-wrapper {
        height: 50px;
    }

    .announcements-label {
        padding: 0 10px;
        font-size: 0.75rem;
    }

    .announcement-item {
        padding: 0 8px;
        font-size: 0.75rem;
    }

    .star-separator {
        font-size: 0.8rem;
        margin: 0 6px;
    }
}

/* Touch devices optimization */
@media (hover: none) and (pointer: coarse) {
    .announcement-item:hover {
        background: transparent;
        color: #ffffff;
        transform: none;
    }

    .announcement-item:active {
        background: rgba(255, 255, 255, 0.15);
        color: #ffd700;
    }

    .marquee-container:active .marquee-content {
        animation-play-state: paused;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .announcements-container {
        border: 3px solid #000;
    }

    .announcement-item {
        color: #fff;
    }

    .star-separator {
        color: #ffff00;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .star-separator {
        animation: none;
    }

    .announcement-item {
        transition: none;
    }
}

/* Focus indicators for accessibility */
.announcement-item:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700;
}

/* Emergency announcement styling */
.announcement-item.urgent {
    color: #ff6b6b !important;
    font-weight: 600;
    animation: urgentPulse 1.5s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% {
        color: #ff6b6b;
    }

    50% {
        color: #ffffff;
    }
}

/* Mobile-specific adjustments */
.mobile-notice {
    display: none;
    text-align: center;
    padding: 8px;
    background: rgba(255, 215, 0, 0.1);
    color: #1a2a6c;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .mobile-notice {
        display: block;
    }
}


/* Ministers Section */
.gmc-ministers-section {
    padding: 60px 0;
    background: beige;
}


.gmc-ministers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.gmc-minister-card {
    flex: 0 0 calc(25% - 25px);
    background: beige;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

    .gmc-minister-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.gmc-minister-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

    .gmc-minister-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
    }

.gmc-minister-card:hover .gmc-minister-img img {
    transform: scale(1.1);
}

.gmc-minister-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: beige;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gmc-minister-card:hover .gmc-minister-overlay {
    opacity: 1;
}

.gmc-minister-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

    .gmc-minister-social a {
        color: beige;
        font-size: 16px;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        text-decoration: none;
    }

        .gmc-minister-social a:hover {
            background: var(--accent-color);
            transform: translateY(-3px);
        }

.gmc-minister-info {
    padding: 25px;
    text-align: center;
    position: relative;
}

    .gmc-minister-info:before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--accent-color);
        border-radius: 2px;
    }

.gmc-minister-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.gmc-minister-card:hover .gmc-minister-name {
    color: var(--primary-color);
}

.gmc-minister-role {
    color: #7f8c8d;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}



/* Decorative elements */
.gmc-minister-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gmc-minister-card:hover:after {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 1200px) {
    .gmc-minister-card {
        flex: 0 0 calc(50% - 25px);
        max-width: calc(50% - 25px);
    }
}

@media (max-width: 768px) {
    .gmc-minister-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gmc-section-header h2 {
        font-size: 28px;
    }

    .gmc-section-header p {
        font-size: 16px;
    }
}

/* Animation for card entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gmc-minister-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

    .gmc-minister-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .gmc-minister-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .gmc-minister-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .gmc-minister-card:nth-child(4) {
        animation-delay: 0.4s;
    }



    /* Updates Tabs and Principal Section */
.gmc-updates-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;
}

.gmc-section-header {
    text-align: center;
    margin-bottom: 30px;
}

    .gmc-section-header h2 {
        font-size: 2.5rem;
        color: #1a2a6c;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .gmc-section-header p {
        color: #6c757d;
        font-size: 1.1rem;
    }

.updates-container {
    background: beige;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px 40px;
    margin-bottom: 50px;
}


.updates-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.tabs-section {
    flex: 1;
    max-width: 700px;
}

.principal-section {
    flex: 0 0 360px;
    background: beige;
    border-radius: 15px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    background: beige;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tab {
    padding: 12px 18px;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #495057;
    border: none !important;
    outline: none !important;
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    min-width: 100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}

    .tab:hover {
        background: var(--secondary-color);
        color: beige;
        transform: translateY(-1px);
    }

    .tab.active {
        background: var(--primary-color);
        color: beige;
        box-shadow: 0 4px 15px var(--primary-color);
    }

.tab-content {
    height: 450px;
    overflow: hidden;
    position: relative;
    background: beige;
    margin-bottom: 20px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.scroll-container {
    height: 100%;
    overflow-y: auto;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) beige;
}

    .scroll-container::-webkit-scrollbar {
        width: 8px;
    }

    .scroll-container::-webkit-scrollbar-track {
        background: beige;
        border-radius: 10px;
    }

    .scroll-container::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

        .scroll-container::-webkit-scrollbar-thumb:hover {
            background: var(--primary-color-dark);
        }

.auto-scroll {
    transition: transform 0.3s ease;
}

.update-item {
    background: beige;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid var(--secondary-color);
}

    .update-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border-left-color: var(--primary-color);
    }

    .update-item h3 {
        color: #1a2a6c;
        margin-bottom: 4px;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .update-item p {
        color: #6c757d;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }

.news-date {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .read-more:hover {
        color: var(--primary-color-dark);
        gap: 8px;
    }

.principal-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(26, 42, 108, 0.2);
}

.principal-name {
    font-size: 1.4rem;
    color: #1a2a6c;
    margin-bottom: 5px;
    font-weight: 700;
}

.principal-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.95rem;
}

.principal-message {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
    font-size: 0.9rem;
}

.principal-signature {
    height: 50px;
    margin: 10px 0;
    opacity: 1;
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .updates-content {
        flex-direction: column;
        gap: 30px;
    }

    .principal-section {
        flex: none;
        max-width: none;
    }

    .gmc-section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .updates-container {
        padding: 25px;
    }

    .tabs {
        flex-direction: column;
        gap: 5px;
    }

    .tab {
        flex: none;
        width: 100%;
    }

    .tab-content {
        height: 480px;
    }

    .gmc-section-header h2 {
        font-size: 1.8rem;
    }

    .principal-section {
        padding: 25px;
    }

    .principal-photo {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {

    .updates-container {
        padding: 20px;
    }

    .gmc-section-header h2 {
        font-size: 1.6rem;
    }

    .principal-photo {
        width: 100%;
        height: auto;
    }

    .principal-name {
        font-size: 1.2rem;
    }
}

/* Departments Section */
.gmc-departments-section {
    padding: 30px 0;
    background: var(--gmc-bg-secondary);
}

.gmc-departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.gmc-department-card {
    background: beige;
    padding: 15px 10px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--gmc-border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(25px);
}

    .gmc-department-card.gmc-animate {
        opacity: 1;
        transform: translateY(0);
    }

    .gmc-department-card:hover {
        transform: translateY(-12px) rotate(3deg);
        box-shadow: var(--gmc-shadow-xl), 0 0 25px rgba(59, 130, 246, 0.2);
        border-color: var(--primary-color);
    }

.gmc-department-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: all 0.4s ease;
}

.gmc-department-card:hover .gmc-department-icon {
    transform: scale(1.15) rotate(20deg);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.gmc-department-card:hover .gmc-department-icon i{
    color: var(--accent-color);
}

.gmc-department-icon i {
    font-size: 1.8rem;
    color: beige;
}

.gmc-department-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gmc-text-primary);
}

.gmc-department-card p {
    color: var(--gmc-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Gallery Section */
.gmc-gallery-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
}



.gmc-gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gmc-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: all 0.3s ease;
}

    .gmc-gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.gmc-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gmc-gallery-item:hover .gmc-gallery-img {
    transform: scale(1.05);
}

.gmc-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: beige;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gmc-gallery-item:hover .gmc-gallery-overlay {
    opacity: 1;
}

.gmc-gallery-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: beige;
}



/* Lightbox Styles */
.gmc-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

    .gmc-lightbox.active {
        display: flex;
        opacity: 1;
    }

.gmc-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.gmc-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.gmc-lightbox-caption {
    color: beige;
    text-align: center;
    margin-top: 15px;
    font-size: 18px;
}

.gmc-lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: beige;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .gmc-lightbox-close:hover {
        color: #e74c3c;
    }

.gmc-lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.gmc-lightbox-prev,
.gmc-lightbox-next {
    color: beige;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

    .gmc-lightbox-prev:hover,
    .gmc-lightbox-next:hover {
        background: rgba(0, 0, 0, 0.7);
        transform: scale(1.1);
    }

/* Responsive design */
@media (max-width: 992px) {
    .gmc-gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-logo-img {
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .gmc-gallery-container {
        grid-template-columns: 1fr;
    }

    .gmc-section-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

        .gmc-section-header h2:after {
            left: 50%;
            transform: translateX(-50%);
        }

    .gmc-lightbox-prev,
    .gmc-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* YouTube Videos Section */
.gmc-youtube-videos {
    padding: 40px 0;
    background: beige;
}

.gmc-videos-container {
    position: relative;
}

/* Desktop Layout */
.gmc-videos-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Mobile Layout - Hidden by default */
.gmc-videos-mobile {
    display: none;
    position: relative;
}

.gmc-video-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #000;
}

    .gmc-video-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }

.gmc-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio for full videos */
    height: 0;
    overflow: hidden;
}

    .gmc-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

/* Carousel Navigation */
.gmc-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
}

.gmc-carousel-prev,
.gmc-carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #1a365d;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gmc-carousel-prev:hover,
    .gmc-carousel-next:hover {
        background: #1a365d;
        color: beige;
        transform: scale(1.1);
    }

/* Dots Indicator */
.gmc-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.gmc-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .gmc-dot.active {
        background: #1a365d;
        transform: scale(1.2);
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .gmc-videos-desktop {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gmc-videos-desktop {
        display: none;
    }

    .gmc-videos-mobile {
        display: block;
    }

    .gmc-videos-carousel {
        display: flex;
        overflow-x: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .gmc-video-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin: 0 7.5%;
    }
}

@media (max-width: 480px) {
    .gmc-video-item {
        flex: 0 0 90%;
        margin: 0 5%;
    }

    .gmc-carousel-prev,
    .gmc-carousel-next {
        width: 40px;
        height: 40px;
    }

    .gmc-section-header h2 {
        font-size: 2rem;
    }
}

/* Testimonials Section */
.gmc-testimonials-section {
    background: var(--gmc-bg-secondary);
}

.gmc-section-header {
    text-align: center;
    margin-bottom: 30px;
}

    .gmc-section-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--gmc-text-primary);
        margin-bottom: 10px;
    }

    .gmc-section-header p {
        color: var(--gmc-text-secondary);
        font-size: 1.1rem;
    }

.gmc-testimonials-slider {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.gmc-testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

    .gmc-testimonial-card.gmc-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        position: relative;
    }

.gmc-card-inner {
    background: beige;
    height: 240px;
    border-radius: 16px;
    margin-bottom: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .gmc-card-inner:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    }

.gmc-author-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

    .gmc-author-section img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--gmc-primary-color);
        transition: transform 0.3s ease;
    }

.gmc-card-inner:hover .gmc-author-section img {
    transform: scale(1.05);
}

.gmc-author-info {
    flex: 1;
}

    .gmc-author-info h5 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 5px;
        color: var(--gmc-text-primary);
    }

    .gmc-author-info span {
        color: var(--gmc-text-secondary);
        font-size: 0.95rem;
    }

.gmc-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

    .gmc-rating i {
        color: #ffc107;
        font-size: 1.1rem;
    }

.gmc-review-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gmc-text-secondary);
    font-style: italic;
    margin: 0;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--gmc-primary-color);
}

.gmc-testimonial-dots {
    text-align: center;
}

.gmc-dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .gmc-dot.gmc-active {
        background-color: var(--primary-color);
        transform: scale(1.3);
    }

    .gmc-dot:hover {
        background-color: var(--primary-color-dark);
        transform: scale(1.2);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .gmc-testimonials-section {
        padding: 40px 0;
    }

    .gmc-section-header h2 {
        font-size: 2rem;
    }

    .gmc-section-header {
        margin-bottom: 35px;
    }

    .gmc-testimonials-slider {
        max-width: 90%;
        min-height: 360px;
    }

    .gmc-card-inner {
        padding: 30px 25px;
    }

    .gmc-author-section {
        gap: 15px;
    }

        .gmc-author-section img {
            width: 60px;
            height: 60px;
        }

    .gmc-author-info h5 {
        font-size: 1.1rem;
    }

    .gmc-author-info span {
        font-size: 0.9rem;
    }

    .gmc-review-text {
        font-size: 1rem;
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .gmc-section-header h2 {
        font-size: 1.75rem;
    }

    .gmc-testimonials-slider {
        max-width: 95%;
        min-height: 400px;
    }

    .gmc-card-inner {
        padding: 15px 20px;
        height: auto;
    }

    .gmc-author-section {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

        .gmc-author-section img {
            width: 70px;
            height: 70px;
        }

    .gmc-rating {
        justify-content: center;
    }

    .gmc-review-text {
        border-left: none;
        border-top: 3px solid var(--gmc-primary-color);
        padding-left: 0;
        padding-top: 15px;
    }
}

/* Contact Section */
.gmc-contact-section {
    padding: 30px 0;
    background: var(--gmc-bg-secondary);
}

.gmc-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.gmc-contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--gmc-text-primary);
}

.gmc-contact-info .gmc-lead {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/*.gmc-contact-details {
    display: flex;
}*/

.gmc-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding:0px 18px;
    background: var(--gmc-bg-secondary);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .gmc-contact-item:hover {
        transform: translateX(12px);
        box-shadow: var(--gmc-shadow-md);
    }

    .gmc-contact-item i {
        font-size: 1.4rem;
        color: var(--secondary-color);
        margin-top: 5px;
        width: 28px;
        text-align: center;
    }

    .gmc-contact-item h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 6px;
        color: var(--gmc-text-primary);
    }

    .gmc-contact-item p {
        color: var(--gmc-text-secondary);
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.5;
    }

.gmc-social-links {
    display: flex;
    gap: 18px;
    justify-content: center;
}

    .gmc-social-links a {
        font-size: 1.4rem;
        color: var(--secondary-color);
        transition: all 0.4s ease;
    }

        .gmc-social-links a:hover {
            color: var(--primary-color);
            transform: translateY(-4px) rotate(10deg);
        }

.gmc-contact-map {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--gmc-shadow-md);
    border: 1px solid var(--gmc-border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .gmc-contact-map:hover {
        box-shadow: var(--gmc-shadow-lg);
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .gmc-container {
        padding: 0 15px;
    }

    .gmc-hero-grid {
        grid-template-columns: 1fr;
    }

    .gmc-hero-left {
        height: 400px;
    }

    .gmc-notification-area {
        height: 400px;
        margin-left: 0;
    }

    .gmc-about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .gmc-about-image img {
        height: 350px;
    }

    .gmc-contact-content {
        grid-template-columns: 1fr;
    }

    .gmc-departments-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }


}

@media (max-width: 768px) {
    .gmc-hero {
        min-height: auto;
        padding: 0 0;
    }

/*    .gmc-hero-left {
        height: 350px;
    }*/

    .gmc-notification-area {
        height: 350px;
    }

    .gmc-carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gmc-carousel-prev {
        left: 10px;
    }

    .gmc-carousel-next {
        right: 10px;
    }

    .gmc-carousel-indicators {
        bottom: 15px;
    }

    .gmc-notification-header {
        padding: 15px;
    }

    .gmc-notification-list {
        padding: 15px;
    }

    .gmc-notification-item {
        padding: 12px 0;
    }

    .gmc-quick-links-grid {
        grid-template-columns: 1fr;
    }

    .gmc-section-header h2 {
        font-size: 1.8rem;
    }

    .gmc-section-header p {
        font-size: 0.95rem;
    }

    .gmc-departments-grid {
        grid-template-columns: 1fr;
    }




    .gmc-contact-item {
        padding: 14px;
    }

        .gmc-contact-item i {
            font-size: 1.1rem;
        }

    .gmc-contact-map iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .gmc-hero-left {
        height: 300px;
    }

    .gmc-notification-area {
        height: 300px;
    }

    .gmc-carousel-control {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .gmc-carousel-indicators {
        gap: 8px;
    }

    .gmc-indicator {
        width: 30px;
        height: 3px;
    }

    .gmc-notification-header {
        padding: 12px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

        .gmc-notification-header h4 {
            font-size: 14px;
        }

    .gmc-see-more {
        font-size: 12px;
    }

    .gmc-notification-list {
        padding: 12px;
    }

    .gmc-notification-item {
        padding: 10px 0;
    }

    .gmc-notification-content {
        font-size: 13px;
    }

    .gmc-quick-link-card {
        padding: 28px 18px;
    }



    .gmc-about-text h2 {
        font-size: 1.8rem;
    }

    .gmc-about-image img {
        height: 250px;
    }

    .gmc-department-card {
        padding: 28px 18px;
    }

    .gmc-program {
        padding: 18px;
    }

        .gmc-program i {
            font-size: 1.4rem;
            width: 35px;
        }

    .gmc-form-card {
        padding: 18px;
    }

        .gmc-form-card h3 {
            font-size: 1.1rem;
        }

    .gmc-contact-info h2 {
        font-size: 1.8rem;
    }

    .gmc-contact-item h4 {
        font-size: 0.95rem;
    }

    .gmc-contact-map iframe {
        height: 300px;
    }
}

/* Virtual Tour Section */

.virtual-tour-section {
    padding: 30px 20px;
    background:  url('/images/gmca11.jpeg') no-repeat center center/cover;
    color: white;
    text-align: center;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.tour-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.4);
    background: rgba(218, 165, 32, 0.4);
    padding: 15px;
    backdrop-filter: blur(3px);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(0, 0, 0, 0.1) !important;*/
    animation: pulse 2s infinite;
}

    .play-button:hover {
        transform: scale(1.1);
        background: var(--primary-color-dark);
    }

    .play-button i {
        color: beige;
        font-size: 30px;
        margin-left: 5px;
    }

.tour-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 600;
    color: #1a2a6c;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .modal.active {
        display: flex;
        opacity: 1;
    }

.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.video-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    overflow: hidden;
    width: 100%;
    height: auto;
}

    .video-container video {
        width: 100%;
        height: auto;
        max-height: 80vh; /* Ensures full visibility on screen */
        object-fit: contain; /* Keeps correct proportions */
        display: block;
        border: none;
        border-radius: 8px;
    }

.close-modal {
    position: relative;
    z-index: 10;
    top: 0;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .close-modal:hover {
        background: #b21f1f;
        transform: rotate(90deg);
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(178, 31, 31, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(178, 31, 31, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(178, 31, 31, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .tour-container {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .virtual-tour-section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

        .play-button i {
            font-size: 25px;
        }

    .tour-description {
        font-size: 1rem;
    }

    .modal-content {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .tour-container {
        padding: 20px 15px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        margin: 20px auto;
    }

        .play-button i {
            font-size: 20px;
        }

    .close-modal {
        top: -35px;
        right: -5px;
        width: 35px;
        height: 35px;
        font-size: 25px;
    }
}


/* Social Media Feeds Section */

.dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3.7rem 3rem;
}


.feeds-container {
/*    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;*/
display: flex;
justify-content: center;
align-items: center;
    margin-bottom: 10px;
}

.feed-panel {
    background: beige;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}





@media (max-width: 768px) {
    .feeds-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .feed-panel {
        height: 500px;
        padding: 20px;
    }

}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .feed-panel {
        height: 450px;
        padding: 15px;
    }

    .feed-panel iframe {
        height: 100%;
        width: max-content;
    }

}