/************************************************
Name: ILSC.css                      *
Developer: CECOM Web-Team           *
Description: Integrated Logistics Support Center stylesheet *
************************************************/

/* ===================================
   COLORS (CECOM THEME)
   =================================== */
:root {
    --cecom-black: #000000;
    --cecom-gold: #FFCB05;
    --cecom-white: #FFFFFF;
    --cecom-dark-gray: #221F20;
    --cecom-light-gray: #565557;
}

/* ===================================
   REMOVE BOOTSTRAP SPACING
   =================================== */
.quick-links-section .row,
.priorities-section .row,
.mission-statement-section .row {
    margin: 0 !important;
    padding: 0 !important;
}

.quick-links-section .container,
.priorities-section .container,
.mission-statement-section .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ===================================
   HERO SECTION
   =================================== */
.ilsc-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #000000;
    margin: 0;
    padding: 0;
}

.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 18s infinite;
}

    .hero-bg-image:nth-child(1) {
        background-image: url('/Images/ASIC/RU-Open-House-JUL-2025-(1).png');
        animation-delay: 0s;
    }

    .hero-bg-image:nth-child(2) {
        background-image: url('/Images/CECOM/For Soldiers3.jpg');
        animation-delay: 5s;
    }

    .hero-bg-image:nth-child(3) {
        background-image: url('/Images/CECOM/FOR INDUSTRY.jpg');
        animation-delay: 10s;
    }

@keyframes fadeSlide {
    0%, 33.33% {
        opacity: 1;
        transform: scale(1);
    }

    33.34%, 100% {
        opacity: 0;
        transform: scale(1.1);
    }
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

    .hero-overlay::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 203, 5, 0.03) 2px, rgba(255, 203, 5, 0.03) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 203, 5, 0.03) 2px, rgba(255, 203, 5, 0.03) 4px);
        opacity: 0.5;
    }
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 0rem 3rem 4rem 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* LEFT SIDE - Text */
.hero-text {
    color: var(--cecom-white);
    padding: 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--cecom-white);
    animation: fadeInUp 1s ease 0.4s both;
}

    .hero-title .highlight {
        color: var(--cecom-gold);
        display: block;
    }

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RIGHT SIDE - Image */
.hero-video-card {
    padding: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid var(--cecom-gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 203, 5, 0.3);
    transition: all 0.3s ease;
}

.hero-video-card:hover .video-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(255, 203, 5, 0.4);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000000;
}

    /* Style video controls with gold color */
    .hero-video::-webkit-media-controls-panel {
        background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    }

    .hero-video::-webkit-media-controls-play-button,
    .hero-video::-webkit-media-controls-timeline,
    .hero-video::-webkit-media-controls-current-time-display,
    .hero-video::-webkit-media-controls-time-remaining-display,
    .hero-video::-webkit-media-controls-mute-button,
    .hero-video::-webkit-media-controls-volume-slider,
    .hero-video::-webkit-media-controls-fullscreen-button {
        filter: brightness(0) saturate(100%) invert(86%) sepia(70%) saturate(1000%) hue-rotate(1deg) brightness(104%) contrast(104%);
    }

/* ===================================
   MISSION STATEMENT - COMPACT
   =================================== */
.mission-statement-section {
    background: #FFFFFF;
    padding: 2rem 0 !important; /* SUPER COMPACT */
    margin: 0 !important;
}

.mission-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 1.5rem !important; /* REDUCED */
    border-left: 5px solid var(--cecom-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 !important;
}

    .mission-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    }

.mission-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .mission-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

.mission-card:hover .mission-image img {
    transform: scale(1.05);
}

.mission-content h2 {
    color: var(--cecom-black);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem !important; /* REDUCED */
}

    .mission-content h2 .highlight {
        color: var(--cecom-gold);
    }

.mission-content p {
    color: var(--cecom-dark-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 !important;
}

/* ===================================
   QUICK LINKS - COMPACT
   =================================== */
.quick-links-section {
    background: var(--cecom-black);
    padding: 5rem 0 !important; /* SUPER COMPACT */
    margin: 0 !important;
}

.section-title {
    color: var(--cecom-white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem !important; /* REDUCED */
}

    .section-title.text-center.mb-5 {
        margin-bottom: 1.5rem !important; /* Override Bootstrap */
    }

    .section-title .highlight {
        color: var(--cecom-gold);
    }

.quick-link-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--cecom-dark-gray);
    background: var(--cecom-dark-gray);
}

    .quick-link-card:hover {
        transform: translateY(-10px);
        border-color: var(--cecom-gold);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
    }

.quick-link-image {
    position: relative;
    height: 160px; /* REDUCED */
    overflow: hidden;
}

    .quick-link-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.quick-link-card:hover .quick-link-image img {
    transform: scale(1.1);
}

.quick-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-overlay {
    opacity: 1;
}

.quick-link-overlay i {
    color: var(--cecom-gold);
    font-size: 2rem; /* REDUCED */
}

.quick-link-title {
    padding: 0.75rem; /* REDUCED */
    color: var(--cecom-white);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    background: var(--cecom-light-gray);
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-title {
    background: var(--cecom-gold);
    color: var(--cecom-black);
}

/* ===================================
   PRIORITIES - COMPACT
   =================================== */
.priorities-section {
    background: var(--cecom-dark-gray);
    padding: 5rem 0 !important; /* SUPER COMPACT */
    margin: 0 !important;
}

.section-title-center {
    color: var(--cecom-white);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem !important; /* REDUCED */
}

    .section-title-center .highlight {
        color: var(--cecom-gold);
    }

.priorities-section .row.mt-4 {
    margin-top: 1rem !important; /* Override Bootstrap */
}

.priority-card {
    background: var(--cecom-light-gray);
    border: 2px solid rgba(255, 203, 5, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1rem !important; /* SUPER COMPACT */
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

    .priority-card:hover {
        border-color: var(--cecom-gold);
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
    }

.priority-icon {
    width: 60px; /* REDUCED */
    height: 60px; /* REDUCED */
    background: rgba(255, 203, 5, 0.1);
    border: 3px solid var(--cecom-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem !important; /* REDUCED */
    transition: all 0.3s ease;
}

.priority-card:hover .priority-icon {
    background: var(--cecom-gold);
}

.priority-icon i {
    color: var(--cecom-gold);
    font-size: 1.75rem; /* REDUCED */
    transition: color 0.3s ease;
}

.priority-card:hover .priority-icon i {
    color: var(--cecom-black);
}

.priority-title {
    color: var(--cecom-white);
    font-size: 1.1rem; /* REDUCED */
    font-weight: 700;
    margin-bottom: 0.5rem !important; /* REDUCED */
}

.priority-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem; /* REDUCED */
    line-height: 1.4; /* REDUCED */
    margin: 0 !important;
}

/* ===================================
   PHOTO GALLERY PAGE
   =================================== */
.photo-gallery-hero {
    position: relative;
    background: linear-gradient(135deg, var(--cecom-black) 0%, var(--cecom-dark-gray) 100%);
    padding: 2rem 0;
    border-bottom: 3px solid var(--cecom-gold);
    min-height: auto;
}

    .photo-gallery-hero .container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .photo-gallery-hero .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 203, 5, 0.02) 2px, rgba(255, 203, 5, 0.02) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 203, 5, 0.02) 2px, rgba(255, 203, 5, 0.02) 4px);
        opacity: 0.3;
    }

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0;
}

.hero-text-content {
    flex: 1;
    padding: 0;
}

.hero-breadcrumb {
    color: var(--cecom-gold);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

    .hero-breadcrumb a {
        color: var(--cecom-gold);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .hero-breadcrumb a:hover {
            color: var(--cecom-white);
        }

.hero-page-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cecom-white);
    margin-bottom: 1.5rem;
}

    .hero-page-title .highlight {
        color: var(--cecom-gold);
    }

.hero-page-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
}

.hero-ilsc-logo {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 4px solid var(--cecom-gold);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 203, 5, 0.4);
    transition: all 0.3s ease;
}

    .hero-ilsc-logo:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.5);
    }

    .hero-ilsc-logo img {
        height: 120px;
        width: auto;
        display: block;
    }

/* Gallery Section */
.albums-section {
    background: #F5F5F5;
    padding: 2.5rem 0;
}

.albums-count-bar {
    background: var(--cecom-black);
    color: var(--cecom-white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--cecom-gold);
}

    .albums-count-bar p {
        margin: 0;
        font-size: 1rem;
    }

    .albums-count-bar i {
        color: var(--cecom-gold);
        margin-right: 0.5rem;
    }

    .albums-count-bar strong {
        color: var(--cecom-gold);
        font-size: 1.2rem;
    }

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.album-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

    .album-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        border-color: var(--cecom-gold);
    }

.album-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

    .album-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.album-card:hover .album-image-wrapper img {
    transform: scale(1.1);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-overlay i {
    color: var(--cecom-gold);
    font-size: 3rem;
}

.album-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.album-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cecom-black);
    margin-bottom: 1rem;
}

.album-description {
    color: var(--cecom-dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

    .lightbox.active {
        display: flex;
    }

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid var(--cecom-gold);
    border-radius: 8px;
}

.lightbox-title {
    color: var(--cecom-gold);
    font-size: 1.5rem;
    margin-top: 20px;
    text-align: center;
    font-weight: 700;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--cecom-gold);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

    .close-btn:hover {
        color: var(--cecom-white);
        transform: scale(1.2);
    }

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cecom-gold);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: all 0.3s ease;
}

    .nav-btn:hover {
        color: var(--cecom-white);
        transform: translateY(-50%) scale(1.2);
    }

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* ===================================
   ACTIVE PAGE NAVIGATION HIGHLIGHT
   =================================== */

/* Desktop Navigation - Active Link */
.nav-links-bar .nav-link.active {
    background: var(--cecom-gold) !important;
    color: var(--cecom-black) !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
}

    .nav-links-bar .nav-link.active:hover {
        background: var(--cecom-gold) !important;
        color: var(--cecom-black) !important;
    }

/* Mobile Sidebar - Active Link */
.sidebar .nav-link.active {
    background: rgba(255, 203, 5, 0.2) !important;
    color: var(--cecom-gold) !important;
    border-left: 4px solid var(--cecom-yellow) !important;
    font-weight: 700 !important;
}

.sidebar .dropdown .nav-link.active {
    background: rgba(255, 203, 5, 0.15) !important;
    color: var(--cecom-gold) !important;
}
/* ===================================
   CONTACT PAGE STYLES
   =================================== */
.contact-section {
    background: #F5F5F5;
    padding: 4rem 0;
}

.contact-info-card,
.contact-form-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

    .contact-info-card:hover,
    .contact-form-card:hover {
        border-color: var(--cecom-gold);
        box-shadow: 0 8px 25px rgba(255, 203, 5, 0.3);
    }

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--cecom-gold);
}

    .contact-card-header i {
        font-size: 2rem;
        color: var(--cecom-gold);
    }

    .contact-card-header h2 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--cecom-black);
        margin: 0;
    }

.contact-address {
    font-style: normal;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
}

    .contact-address a {
        color: var(--cecom-gold);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .contact-address a:hover {
            text-decoration: underline;
        }

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

    .contact-link-item i {
        color: var(--cecom-gold);
        font-size: 1.1rem;
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

    .contact-link-item span {
        color: rgba(0, 0, 0, 0.8);
        line-height: 1.6;
    }

    .contact-link-item a {
        color: var(--cecom-black);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .contact-link-item a:hover {
            text-decoration: underline;
        }

.contact-vendor-content,
.contact-medical-content {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.7;
}

.contact-vendor-email {
    margin-bottom: 1.5rem;
}

.contact-subsection-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cecom-black);
    margin: 1.5rem 0 1rem;
}

.contact-qr-container {
    text-align: center;
    margin: 1.5rem 0;
}

.contact-qr-image {
    max-width: 200px;
    height: auto;
    border: 3px solid var(--cecom-gold);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

    .contact-qr-image:hover {
        transform: scale(1.05);
    }

.contact-instructions-list {
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

    .contact-instructions-list li {
        margin-bottom: 1rem;
        line-height: 1.7;
    }

.contact-note {
    background: rgba(255, 203, 5, 0.1);
    border-left: 4px solid var(--cecom-gold);
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

    .contact-note i {
        color: var(--cecom-gold);
        font-size: 1.2rem;
        margin-top: 0.2rem;
    }

.contact-mailing-address {
    background: #F5F5F5;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--cecom-gold);
    margin-top: 1.5rem;
    color: #000000;
    text-align: left;
}
.contact-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 5, 0.3), transparent);
    margin: 3rem 0;
}

/* Contact Form Styles */
.contact-form {
    margin-top: 0;
}

    .contact-form .form-group {
        margin-bottom: 1.5rem;
    }

    .contact-form label {
        font-weight: 600;
        color: var(--cecom-black);
        margin-bottom: 0.5rem;
        display: block;
    }

.required-indicator {
    color: var(--cecom-gold);
    font-weight: 700;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .contact-form .form-control:focus {
        outline: none;
        border-color: var(--cecom-gold);
        box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.2);
    }

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}

.contact-form .field-validation-error {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--cecom-gold);
    color: var(--cecom-black);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border: 2px solid var(--cecom-gold);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

    .contact-submit-btn:hover {
        background: var(--cecom-black);
        color: var(--cecom-gold);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 203, 5, 0.4);
    }

    .contact-submit-btn i {
        font-size: 1.1rem;
    }

/* ===================================
   SUCCESS PAGE STYLES
   =================================== */
.success-message-section {
    background: #F5F5F5;
    padding: 4rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.success-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 4rem 3rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--cecom-gold);
}

.success-icon {
    margin-bottom: 2rem;
}

    .success-icon i {
        font-size: 5rem;
        color: var(--cecom-gold);
        animation: successPulse 2s ease-in-out infinite;
    }

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cecom-black);
    margin-bottom: 1.5rem;
}

.success-text {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.success-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cecom-gold), transparent);
    margin: 2rem 0;
}

.redirect-text {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .redirect-text i {
        color: var(--cecom-gold);
    }

.redirect-link {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.6);
}

    .redirect-link a {
        color: var(--cecom-gold);
        font-weight: 700;
        text-decoration: none;
        border-bottom: 2px solid transparent;
        transition: all 0.3s ease;
    }

        .redirect-link a:hover {
            border-bottom-color: var(--cecom-gold);
        }

/* ===================================
   NEWS PAGE STYLES
   =================================== */
.news-section {
    background: #F5F5F5;
    padding: 4rem 0;
}

    .news-section .news-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
    }

    .news-section .news-card {
        background: #FFFFFF !important;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 2px solid transparent;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

        .news-section .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
            border-color: var(--cecom-gold);
        }

    .news-section .news-card-link {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .news-section .news-image-wrapper {
        position: relative;
        height: 240px;
        width: 100%;
        overflow: hidden;
        flex-shrink: 0;
    }

    .news-section .news-card-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.5s ease;
    }

    .news-section .news-card:hover .news-card-image {
        transform: scale(1.1);
    }

    .news-section .news-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .news-section .news-card:hover .news-overlay {
        opacity: 1;
    }

    .news-section .news-overlay i {
        color: var(--cecom-gold);
        font-size: 3rem;
    }

    .news-section .news-card-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        flex: 1;
        background: #FFFFFF !important;
    }

    .news-section .news-date {
        color: var(--cecom-black);
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .news-section .news-date i {
            font-size: 0.9rem;
        }

    .news-section .news-card-title {
        font-size: 0.95rem !important;
        font-weight: 700;
        color: var(--cecom-black) !important;
        margin-bottom: 1rem;
        line-height: 1.4;
        flex: 1;
    }

    .news-section .news-read-more {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--cecom-black);
        font-weight: 700;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        margin-top: auto;
    }

    .news-section .news-card:hover .news-read-more {
        gap: 0.75rem;
    }

    .news-section .news-read-more i {
        transition: transform 0.3s ease;
    }

    .news-section .news-card:hover .news-read-more i {
        transform: translateX(5px);
    }

/* ===================================
   LEADERSHIP PAGE STYLES
   =================================== */
.leadership-section {
    background: #F5F5F5;
    padding: 4rem 0;
}
.content-wrapper h2 {
    color: #000000 !important;

}

.priorities-section h2 {
    color: #ffffff !important;
}

.quick-links-section h2 {
    color: #ffffff !important;
}


.leader-profile-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative; /* ADDED for logo positioning */
}

    .leader-profile-card:hover {
        border-color: var(--cecom-gold);
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
    }

/* Directorate Logo in Top Right Corner */
.directorate-logo-corner {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid var(--cecom-gold);
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 203, 5, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.leader-profile-card:hover .directorate-logo-corner {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 203, 5, 0.5);
}

.directorate-logo-corner img {
    width: 100%;
    height: auto;
    display: block;
}

.leader-image-container {
    text-align: center;
}

.leader-profile-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    border: 3px solid var(--cecom-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.leader-profile-content {
    padding-left: 2rem;
}

.leader-position-badge {
    display: inline-block;
    background: var(--cecom-gold);
    color: var(--cecom-black);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.leader-profile-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cecom-black);
    margin-bottom: 0.75rem;
}

.leader-location {
    color: rgba(0, 0, 0, 0.6);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .leader-location i {
        color: var(--cecom-gold);
    }

.leader-bio {
    color: rgba(0, 0, 0, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

    .leader-bio p {
        margin-bottom: 1rem;
    }

        .leader-bio p:last-child {
            margin-bottom: 0;
        }

.leader-bio-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--cecom-gold);
    color: var(--cecom-black);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--cecom-gold);
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .leader-bio-button:hover {
        background: var(--cecom-black);
        color: var(--cecom-gold);
        transform: translateX(5px);
    }

.leader-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 5, 0.3), transparent);
    margin: 3rem 0;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 991.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .mission-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Video card responsive */
    .hero-video-card {
        padding: 2rem;
    }

    .video-wrapper {
        max-width: 500px;
    }

    /* Leadership responsive */
    .leader-profile-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .leader-profile-name {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title, .section-title-center {
        font-size: 2rem;
        margin-bottom: 1rem !important;
    }

    .mission-statement-section,
    .quick-links-section,
    .priorities-section,
    .albums-section {
        padding: 1.5rem 0 !important;
    }

    .mission-card {
        padding: 1rem !important;
    }

    .priority-card {
        padding: 1rem !important;
    }

    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-content {
        text-align: center;
    }

    .hero-page-title {
        font-size: 2.5rem;
    }

    .hero-page-description {
        margin: 0 auto;
    }

    .hero-ilsc-logo img {
        height: 100px;
    }

    /* Video mobile responsive */
    .hero-video-card {
        padding: 1rem;
    }

    .video-wrapper {
        max-width: 100%;
        border-width: 2px;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    /* Leadership responsive */
    .leadership-section {
        padding: 3rem 0;
    }

    .leader-profile-card {
        padding: 2rem;
    }

    .leader-profile-name {
        font-size: 1.5rem;
    }

    .leader-bio {
        font-size: 0.95rem;
    }

    /* Directorate logo responsive */
    .directorate-logo-corner {
        width: 70px;
        height: 70px;
        top: 1rem;
        right: 1rem;
    }

    /* Success page responsive */
    .success-message-section {
        padding: 3rem 0;
    }

    .success-card {
        padding: 3rem 2rem;
    }

    .success-icon i {
        font-size: 4rem;
    }

    .success-title {
        font-size: 1.75rem;
    }

    .success-text {
        font-size: 1rem;
    }

    /* Contact page responsive */
    .contact-section {
        padding: 3rem 0;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-card-header h2 {
        font-size: 1.3rem;
    }

    .contact-qr-image {
        max-width: 150px;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title, .section-title-center {
        font-size: 2rem;
        margin-bottom: 1rem !important;
    }

    .mission-statement-section,
    .quick-links-section,
    .priorities-section,
    .albums-section {
        padding: 1.5rem 0 !important;
    }

    .mission-card {
        padding: 1rem !important;
    }

    .priority-card {
        padding: 1rem !important;
    }

    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-content {
        text-align: center;
    }

    .hero-page-title {
        font-size: 2.5rem;
    }

    .hero-page-description {
        margin: 0 auto;
    }

    .hero-ilsc-logo img {
        height: 100px;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    /* News responsive */
    .news-section .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .news-section .news-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .photo-gallery-hero {
        padding: 2rem 0;
    }

    .hero-page-title {
        font-size: 2rem;
    }

    .hero-page-description {
        font-size: 1rem;
    }

    .hero-ilsc-logo img {
        height: 80px;
    }

    .albums-grid {
        grid-template-columns: 1fr;
    }

    /* News mobile */
    .news-section {
        padding: 3rem 0;
    }

        .news-section .news-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .news-section .news-image-wrapper {
            height: 200px;
        }

        .news-section .news-card-title {
            font-size: 0.9rem !important;
        }

    .nav-btn {
        font-size: 30px;
        padding: 10px;
    }

    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}
