/* Main Stylesheet for Premium Pro Theme */

/* Header Styles */
.header-top-bar {
    background: var(--text-dark);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

/* Per-section title overrides (use per-section customizer vars if set) */
.ceo-message-section .section-title h2 {
    font-size: var(--ceo-section-title-size, var(--section-title-font-size, 2rem));
    font-weight: var(--ceo-section-title-weight, var(--section-title-font-weight, 700));
}

.md-spotlight-section .section-title h2 {
    font-size: var(--md-section-title-size, var(--section-title-font-size, 2rem));
    font-weight: var(--md-section-title-weight, var(--section-title-font-weight, 700));
}

.admin-message-section .section-title h2 {
    font-size: var(--admin-section-title-size, var(--section-title-font-size, 2rem));
    font-weight: var(--admin-section-title-weight, var(--section-title-font-weight, 700));
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-contact-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

.header-contact-item:hover {
    color: white;
}

.header-social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    transition: var(--transition-base);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.header-main {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.site-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Animated Site Tagline - Always Readable */
.site-tagline-animated {
    font-size: 0.9rem; /* slightly smaller, professional */
    color: var(--primary-color);
}

/* ============================================
   ANNOUNCEMENT BAR - Premium Design
   ============================================ */
.announcement-bar {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    animation: slideDown 0.5s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
    z-index: 0;
}

.announcement-bar-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.announcement-bar-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
}

.announcement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: bounce 2s ease-in-out infinite;
}

.announcement-text-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.announcement-text {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.3px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.2s forwards, scroll 20s linear infinite;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

.announcement-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.announcement-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.announcement-link:hover i {
    transform: translateX(2px);
}

.announcement-close {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.announcement-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

/* Announcement Bar Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Announcement Bar */
@media (max-width: 768px) {
    .announcement-bar-inner {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .announcement-bar-content {
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
        align-items: center;
    }

    .announcement-text-wrapper {
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
        flex: 1;
    }

    .announcement-text {
        text-align: left;
    }

    .announcement-link {
        display: none;
    }

    .announcement-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .announcement-bar {
        padding: 0.75rem 0;
    }

    .announcement-bar-inner {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }

    .announcement-icon {
        font-size: 1.25rem;
    }

    .announcement-text {
        font-size: 0.85rem;
        animation: fadeInUp 0.6s ease-out 0.2s forwards, scroll 15s linear infinite;
    }

    .announcement-link {
        font-size: 0.75rem;
        padding: 0.45rem 1rem;
        display: none;
    }

    .announcement-close {
        width: 32px;
        height: 32px;
    }
}

    font-weight: 500;
    letter-spacing: 0.02em;
    font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin-top: 1.5rem;
    padding: 0.6rem 1rem;
    border-left: none; /* removed vertical line before characters */
    background: transparent; /* removed background */
    border-radius: 4px;
    /* slower, very subtle motion; no opacity fades */
    animation: rollinFold 2.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards, artisticPulse 10s ease-in-out 2.2s infinite, glowPulse 10s ease-in-out 2.2s infinite;
    transform-origin: center;
    position: relative;
    box-shadow: none; /* removed decorative glow */
    opacity: 1 !important; /* ensure never hidden */
}

.site-tagline-animated::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent);
    border-radius: 4px;
    /* extremely subtle shimmer via transform only */
    opacity: 0.04;
    z-index: 1; /* behind letters */
    animation: shimmerSmooth 12s linear infinite;
    pointer-events: none;
}

.site-tagline-animated::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    border-radius: 4px;
    /* very soft glow, slow */
    animation: glowPulse 12s ease-in-out 2.2s infinite;
    pointer-events: none;
    z-index: 0; /* behind pseudo-before and letters */
}

/* Roll-in with fold and bounce effect */
@keyframes rollinFold {
    0% {
        transform: rotateY(90deg) scaleX(0) translateX(-50px);
    }
    50% {
        transform: rotateY(0deg) scaleX(1.05) translateX(0);
    }
    100% {
        transform: rotateY(0deg) scaleX(1) translateX(0);
    }
}

/* Artistic pulse (refined below) */
@keyframes artisticPulse {
    /* subtle, slow breathing motion without color shifts */
    0%, 100% {
        transform: scale(1) translateY(0px);
    }
    50% {
        transform: scale(1.01) translateY(-1.5px);
    }
}

/* Smooth glow pulse */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.12;
        box-shadow: 0 0 12px rgba(37, 99, 235, 0.18), inset 0 0 10px rgba(37, 99, 235, 0.06);
    }
    50% {
        opacity: 0.22;
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.28), inset 0 0 16px rgba(37, 99, 235, 0.08);
    }
}
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.08;
        box-shadow: 0 0 10px rgba(37, 99, 235, 0.12), inset 0 0 8px rgba(37, 99, 235, 0.04);
    }
    50% {
        opacity: 0.14;
        box-shadow: 0 0 14px rgba(37, 99, 235, 0.16), inset 0 0 10px rgba(37, 99, 235, 0.06);
    }
}

/* Smooth shimmer effect */
@keyframes shimmerSmooth {
    /* translate the shimmer across without changing overall opacity */
    0% {
        transform: translateX(-120%);
    }
    50% {
        transform: translateX(120%);
    }
    100% {
        transform: translateX(-120%);
    }
}
@keyframes shimmerSmooth {
    /* translate the shimmer across without changing overall opacity */
    0% {
        transform: translateX(-120%);
    }
    50% {
        transform: translateX(120%);
    }
    100% {
        transform: translateX(-120%);
    }
}

.site-tagline-animated::before,
.site-tagline-animated::after {
    display: none; /* remove decorative pseudo-elements */
}

/* Ensure letter spans render above decorative layers */
.site-tagline-animated span {
    position: relative;
    z-index: 3; /* ensure letters sit above all decorative layers */
    opacity: 1 !important; /* letters always fully visible */
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-size: 0.9rem;
    color: inherit;
}

/* Small, slow, professional letter wave */
@keyframes wave {
    0%, 100% {
        transform: translateY(0px) rotateZ(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-3px) rotateZ(-0.6deg);
        opacity: 1;
    }
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Ensure hero buttons layout on desktop/tablet */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
.hero-buttons .btn { min-width: 140px; }

/* About Section */
.about-section {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    background: var(--bg-light);
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* CEO Message Section */
.ceo-message-section {
    background: var(--bg-white);
}

.ceo-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.ceo-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.ceo-image {
    text-align: center;
}
.ceo-image img { display: block; width: 100%; height: auto; border-radius: 12px; }
.ceo-meta { 
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(37,99,235,0.1);
}
.ceo-message-section .ceo-name { 
    margin: 0 0 0.25rem 0;
    font-size: var(--ceo-leader-name-size, var(--leader-names-font-size, 1.1rem));
    font-weight: var(--ceo-leader-name-weight, var(--leader-names-font-weight, 700));
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(37,99,235,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

.ceo-message {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

.ceo-signature {
    margin-top: 2rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Statistics Section */
.statistics-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Appointment Section */
.appointment-section {
    background: var(--bg-white);
}

.appointment-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-base);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin: 0;
    color: var(--text-light);
}

/* MD Credits Section */
.md-credits-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.md-credits-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
    background-size: 1200px 600px;
    /* wave animation disabled */
}

.md-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 50%, rgba(240, 147, 251, 0.9) 100%);
    z-index: 2;
}

.md-credits-content-wrapper {
    position: relative;
    z-index: 3;
}

.md-credits-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: center;
}

.md-image-wrapper {
    text-align: center;
}

.md-image {
    position: relative;
    margin-bottom: 2rem;
}

.md-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.md-info-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.md-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 800;
}

.md-role {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.md-badge-special {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-weight: 600;
}

.md-badge-special i {
    color: #ffd700;
}

.md-message-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.md-icon-large {
    font-size: 4rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.md-message-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.md-signature-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.md-signature-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.md-signature-date {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.md-achievements {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.achievement-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition-base);
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.achievement-item i {
    font-size: 2rem;
    color: #ffd700;
}

.achievement-item span {
    font-size: 0.875rem;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-widgets {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-widget-area .widget-title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-widget-area .widget {
    margin-bottom: 0;
}

.footer-widget-area a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.footer-widget-area a:hover {
    color: white;
}

.footer-bottom {
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.footer-menu a:hover {
    color: white;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* Sidebar */
.sidebar {
    margin-top: 2rem;
}

.sidebar .widget {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.sidebar .widget-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar ul li:last-child {
    border-bottom: none;
}

.sidebar a {
    color: var(--text-light);
    transition: var(--transition-base);
}

.sidebar a:hover {
    color: var(--primary-color);
}

/* Search Form */

/* Manager Message Section */
.manager-message-section {
    background: linear-gradient(180deg, rgba(37,99,235,0.03) 0%, rgba(100,116,139,0.03) 100%);
}
.manager-message-wrapper {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
}
.manager-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}
.manager-thumb {
    text-align: center;
}
.manager-meta {
    margin-top: 0.6rem;
    text-align: center;
}
.manager-name {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}
.manager-position {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.manager-excerpt {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.manager-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 200ms cubic-bezier(.25,.46,.45,.94), box-shadow 200ms ease, background 150ms ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn i { font-size: 1em; display: inline-block; margin-right: 0.25rem; }

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 5px rgba(37,99,235,0.2);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(25,70,216,0.95) 100%);
    box-shadow: 0 12px 35px rgba(37,99,235,0.2);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transform: translate(-50%,-50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

/* Prevent the decorative pseudo-element from capturing pointer events (avoids hover flicker) */
.btn-primary::before,
.btn-outline::before {
    pointer-events: none;
}
.btn-primary > * {
    position: relative;
    z-index: 1;
}
.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(37,99,235,0.3);
}

.btn-secondary {
    color: var(--primary-color);
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.95) 100%);
    border: 1.5px solid rgba(37,99,235,0.2);
    box-shadow: 0 8px 24px rgba(37,99,235,0.08);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: rgba(37,99,235,0.4);
    box-shadow: 0 12px 32px rgba(37,99,235,0.12);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 200ms ease;
}
.btn-outline:hover {
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(37,99,235,0.04));
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(37,99,235,0.12);
}

/* Smaller variant used across some components */
.btn.small { padding: 0.45rem 0.85rem; border-radius: 10px; font-size: 0.95rem; }

/* Ensure specific sections that previously set .btn still look consistent */
.manager-message-section .btn { padding: 0.65rem 1.25rem; }
.footer-cta-content .btn { padding: 0.85rem 1.4rem; border-radius: 14px; }

/* ===== SECTION TITLE & BADGE STYLES ===== */

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title .badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(59,130,246,0.08));
    color: var(--primary-color);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    border: 1.5px solid rgba(37,99,235,0.18);
    transition: all 250ms cubic-bezier(0.25,0.46,0.45,0.94);
    box-shadow: 0 4px 12px rgba(37,99,235,0.06);
}

.section-title .badge:hover {
    background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(59,130,246,0.12));
    border-color: rgba(37,99,235,0.3);
    box-shadow: 0 6px 18px rgba(37,99,235,0.1);
    transform: translateY(-2px);
}

.section-title h2 {
    font-size: var(--section-title-font-size, 2rem);
    font-weight: var(--section-title-font-weight, 700);
    line-height: 1.15;
    margin: 0 auto;
    max-width: 900px;
    background: linear-gradient(135deg, var(--text-dark) 0%, rgba(15,23,42,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.8px;
    animation: fadeInUp 0.6s ease-out;
    word-spacing: 0.1em;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(37,99,235,0.5) 100%);
    margin: 1.5rem auto 0;
    border-radius: 3px;
    animation: slideInUp 0.6s ease-out 0.15s both;
    box-shadow: 0 4px 15px rgba(37,99,235,0.15);
}

.section-title.center h2 {
    margin-left: auto;
    margin-right: auto;
}

/* Beautiful animations for titles */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(15px) scaleX(0); }
    to { opacity: 1; transform: translateY(0) scaleX(1); }
}

/* ===== MANAGING DIRECTOR SPOTLIGHT SECTION ===== */

.md-spotlight-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.md-thumb {
    text-align: center;
    position: relative;
    animation: fadeInUp 0.7s ease-out;
}

.md-thumb img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(37,99,235,0.15);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.md-thumb:hover img {
    transform: translateY(-8px);
    box-shadow: 0 28px 65px rgba(37,99,235,0.2);
}

.md-meta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(37,99,235,0.15);
}

.md-spotlight-section .md-name {
    margin: 0 0 0.5rem 0;
    font-size: var(--md-leader-name-size, var(--leader-names-font-size, 1.3rem));
    font-weight: var(--md-leader-name-weight, var(--leader-names-font-weight, 700));
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(25,70,216,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.4px;
    animation: fadeInUp 0.7s ease-out 0.1s both;
}

.md-position {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.35rem 0.8rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(59,130,246,0.08));
    border-radius: 50px;
    border: 1px solid rgba(37,99,235,0.2);
    animation: fadeInUp 0.7s ease-out 0.15s both;
}

.md-content {
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

.md-message {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===== ADMIN MESSAGE SECTION ===== */

.admin-message-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.admin-thumb {
    text-align: center;
    position: relative;
    animation: fadeInUp 0.7s ease-out;
}

.admin-thumb img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(37,99,235,0.12);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.admin-thumb:hover img {
    transform: translateY(-8px);
    box-shadow: 0 28px 65px rgba(37,99,235,0.18);
}

.admin-meta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(37,99,235,0.15);
}

.admin-message-section .admin-name {
    margin: 0 0 0.5rem 0;
    font-size: var(--admin-leader-name-size, var(--leader-names-font-size, 1.3rem));
    font-weight: var(--admin-leader-name-weight, var(--leader-names-font-weight, 700));
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(25,70,216,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.4px;
    animation: fadeInUp 0.7s ease-out 0.1s both;
}

.admin-position {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.35rem 0.8rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(59,130,246,0.08));
    border-radius: 50px;
    border: 1px solid rgba(37,99,235,0.2);
    animation: fadeInUp 0.7s ease-out 0.15s both;
}

.admin-content {
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

.admin-message {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===== POLISHED MESSAGE SECTIONS (CEO / MD / ADMIN) ===== */

/* Common layout for message sections */
.ceo-message-section .ceo-content,
.md-spotlight-section .md-spotlight-wrapper,
.admin-message-section .admin-message-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    align-items: center;
}

/* Glass card for the text area */
.ceo-message-section .ceo-message,
.md-spotlight-section .md-message-card,
.admin-message-section .admin-message {
    background: rgba(255,255,255,0.65);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 18px 50px rgba(15,23,42,0.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.6);
}

.ceo-message-section .ceo-image img,
.md-spotlight-section .md-thumb img,
.admin-message-section .admin-thumb img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px; /* changed from 50% to make portrait square with rounded corners */
    display: block;
    margin: 0 auto;
    border: 6px solid rgba(255,255,255,0.6);
    box-shadow: 0 22px 60px rgba(2,6,23,0.25);
    transition: transform 360ms cubic-bezier(.2,.8,.2,1), box-shadow 360ms ease;
}
.ceo-message-section .ceo-image img:hover,
.md-spotlight-section .md-thumb img:hover,
.admin-message-section .admin-thumb img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 36px 90px rgba(2,6,23,0.32);
}

/* Name and position styling (use per-section variables) */
.ceo-message-section .ceo-meta,
.md-spotlight-section .md-meta,
.admin-message-section .admin-meta {
    text-align: center;
    margin-top: 1rem;
}

.ceo-message-section .ceo-name,
.md-spotlight-section .md-name,
.admin-message-section .admin-name {
    font-size: var(--ceo-leader-name-size, var(--md-leader-name-size, var(--admin-leader-name-size, var(--leader-names-font-size,1.2rem))));
    font-weight: var(--ceo-leader-name-weight, var(--md-leader-name-weight, var(--admin-leader-name-weight, var(--leader-names-font-weight,700))));
    margin: 0.35rem 0 0.15rem;
    letter-spacing: -0.3px;
}

.md-spotlight-section .md-position,
.admin-message-section .admin-position {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(37,99,235,0.04));
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Heading polish */
.ceo-message-section .section-title h2,
.md-spotlight-section .section-title h2,
.admin-message-section .section-title h2 {
    margin-bottom: 1rem;
    line-height: 1.12;
    text-wrap: balance;
}

/* CTA alignment */
.ceo-message-section .ceo-actions,
.md-spotlight-section .md-actions,
.admin-message-section .admin-actions {
    margin-top: 1.25rem;
}

/* Slight visual differentiation for Admin section */
.admin-message-section .ceo-message,
.admin-message-section .admin-message {
    background: rgba(248,250,252,0.72);
    border: 1px solid rgba(2,6,23,0.04);
}

/* Ensure buttons inside these sections are prominent */
.ceo-message-section .btn, .md-spotlight-section .btn, .admin-message-section .btn {
    min-width: 140px;
    padding: 0.7rem 1.35rem;
    border-radius: 12px;
}

/* Responsive: stack on smaller screens */
@media (max-width: 992px) {
    .ceo-message-section .ceo-content,
    .md-spotlight-section .md-spotlight-wrapper,
    .admin-message-section .admin-message-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ceo-message-section .ceo-image img,
    .md-spotlight-section .md-thumb img,
    .admin-message-section .admin-thumb img {
        width: 220px;
        height: 220px;
    }

    .ceo-message-section .ceo-message,
    .md-spotlight-section .md-message-card,
    .admin-message-section .admin-message {
        padding: 1.5rem;
    }
}

/* End polished message sections */

/* DEBUG: Temporary visual checks (remove after verification) */
.ceo-message-section .ceo-image img {
    border-radius: 12px !important;
    box-shadow: 0 30px 80px rgba(37,99,235,0.35) !important;
    outline: 4px solid rgba(37,99,235,0.6) !important;
}

.hero-section .hero-buttons .btn-secondary {
    background: #fff200 !important;
    color: #111 !important;
    border-color: #ff4500 !important;
}


/* Mission & Vision Section */
.mission-vision-section {
    background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(14,165,233,0.02));
}
.mission-vision-section .section-title.center { text-align: center; }
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.mv-card {
    padding: 2.25rem;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(16,24,40,0.06);
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250,250,255,0.85));
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.mv-card:hover { transform: translateY(-8px); box-shadow: 0 18px 60px rgba(16,24,40,0.12); }
.mv-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.mv-card h3 { margin-top: 0; margin-bottom: 0.75rem; }
.mv-list { margin-top: 1rem; padding-left: 1.25rem; color: var(--text-light); }
.mv-list li { margin-bottom: 0.5rem; }

/* Premium Mobile Responsive Adjustments for Mission & Vision */
/* Tablet & Large Phone - iPad, large Android */
@media (max-width: 1024px) {
    .mission-vision-section {
        padding: 2rem 1rem;
    }

    .section-title.center {
        margin-bottom: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.7rem;
        line-height: 1.2;
        font-weight: 700;
    }

    .section-title .badge {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
    }

    /* MD Spotlight & Admin Message Tablet */
    .md-spotlight-wrapper,
    .admin-message-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .md-name,
    .admin-name {
        font-size: 1.15rem;
        font-weight: 700;
    }

    .md-position,
    .admin-position {
        font-size: 0.9rem;
    }
}

/* Standard Mobile - iPhone 12/13/14, Samsung S20 Ultra (above 480px) */
@media (max-width: 768px) {
    .mission-vision-section {
        padding: 1.5rem 0.75rem;
        background: linear-gradient(135deg, rgba(99,102,241,0.02), rgba(14,165,233,0.01));
    }

    .mv-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 1.2rem;
        padding: 0 0.5rem;
    }

    .mv-card {
        padding: 1.25rem;
        border-radius: 14px;
        box-shadow: 0 6px 24px rgba(16, 24, 40, 0.05);
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(99, 102, 241, 0.06);
        transition: none;
    }

    .mv-card:active {
        box-shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
    }

    .mv-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        display: block;
    }

    .mv-card h3 {
        font-size: 1.125rem;
        line-height: 1.35;
        margin-top: 0;
        margin-bottom: 0.65rem;
        color: var(--text-dark);
    }

    .mv-card p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        line-height: 1.6;
        color: var(--text-light);
    }

    .mv-list {
        margin-top: 0.8rem;
        padding-left: 1.2rem;
        list-style-type: disc;
    }

    .mv-list li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        color: var(--text-light);
        line-height: 1.5;
    }

    .mission-vision-section .section-title.center {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin: 0 auto;
        padding: 0 0.5rem;
    }

    .section-title h2::after {
        width: 50px;
        height: 4px;
        margin: 1rem auto 0;
    }

    .section-title .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
        margin-bottom: 0.8rem;
    }
    .mission-vision-section .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
    }

    .mission-vision-section h2 {
        font-size: 1.65rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .mission-vision-section .section-sub {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-top: 0.5rem;
    }

    /* MD Spotlight & Admin Message Responsive */
    .md-spotlight-wrapper,
    .admin-message-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .md-thumb,
    .admin-thumb {
        margin-bottom: 1rem;
    }

    .md-thumb img,
    .admin-thumb img {
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(37,99,235,0.1);
    }

    .md-name,
    .admin-name {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .md-position,
    .admin-position {
        font-size: 0.85rem;
        padding: 0.3rem 0.7rem;
    }

    .md-message,
    .admin-message {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    }
}

/* Small Phone - iPhone SE, SE 2/3, iPhone 12 mini (320px - 480px) */
@media (max-width: 480px) {
    .mission-vision-section {
        padding: 1.25rem 0.5rem;
    }

    .mv-grid {
        gap: 1rem;
        margin-top: 1rem;
        padding: 0;
    }

    .mv-card {
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 18px rgba(16, 24, 40, 0.04);
        border: 1px solid rgba(99, 102, 241, 0.05);
    }

    .mv-icon {
        font-size: 1.75rem;
        margin-bottom: 0.6rem;
    }

    .mv-card h3 {
        font-size: 1rem;
        margin-bottom: 0.55rem;
    }

    .mv-card p {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
        line-height: 1.55;
    }

    .mv-list {
        margin-top: 0.65rem;
        padding-left: 1.1rem;
    }

    .mv-list li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .mission-vision-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .mission-vision-section .section-sub {
        font-size: 0.9rem;
        margin-top: 0.35rem;
    }
}

/* Extra small phones (360px and below) */
@media (max-width: 360px) {
    .mission-vision-section {
        padding: 1rem 0.4rem;
    }

    .mv-card {
        padding: 0.9rem;
        border-radius: 10px;
    }

    .mv-icon {
        font-size: 1.6rem;
    }

    .mv-card h3 {
        font-size: 0.95rem;
    }

    .mv-card p {
        font-size: 0.85rem;
    }

    .mv-list li {
        font-size: 0.8rem;
    }
}

/* Manager Archive / Single styles */
.manager-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.manager-archive-card {
    display: flex;
    gap: 1rem;
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    align-items: center;
}
.manager-card-thumb img { width: 140px; height: 100px; object-fit: cover; border-radius: 8px; }
.manager-card-body { flex: 1; }
.manager-card-title { margin: 0 0 0.5rem; }
.manager-card-excerpt { color: var(--text-light); margin-bottom: 0.75rem; }

.manager-single-layout { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; }
.manager-single-thumb img { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.manager-single-body .manager-position { display: inline-block; margin-bottom: 1rem; }
.manager-single-body .manager-content { color: var(--text-light); line-height: 1.8; }

.manager-single-thumb {
    text-align: center;
}
.manager-single-thumb .manager-meta {
    margin-top: 0.6rem;
}
.manager-single-thumb .manager-name {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}


.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.search-field:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Entry Meta */
.entry-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Post Thumbnail */
.post-thumbnail {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: var(--transition-base);
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* Page Links */
.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Edit Link */
.edit-link {
    margin-top: 2rem;
    display: block;
}

/* ===== FOOTER STYLES ===== */

/* Footer CTA Section */
.footer-cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.footer-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.footer-cta-content .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
}

/* Site Footer */
.site-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    padding: 3rem 0 0;
}

.footer-top {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Footer About Section */
.footer-about .footer-logo {
    margin-bottom: 1rem;
}

.footer-about .footer-logo h3 {
    font-size: 1.4rem;
    margin: 0;
    color: white;
}

.footer-about p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding-left: 0;
    display: inline-flex;
    align-items: center;
}

.footer-links-list a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.footer-links-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links-list a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 0;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    min-width: 20px;
}

.footer-contact a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

/* Footer Widgets */
.footer-widgets {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-widget-area {
    color: #b0b0b0;
}

.footer-widget-area h3 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright p {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom-links .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Footer Mobile Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-widgets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-cta-section {
        padding: 2.5rem 1rem;
    }

    .footer-cta-content h2 {
        font-size: 1.75rem;
    }

    .footer-cta-content p {
        font-size: 1rem;
    }

    .footer-top {
        padding: 2rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-column h4::after {
        width: 20px;
    }

    .footer-widgets-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links .footer-menu {
        gap: 1rem;
        justify-content: center;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .footer-cta-section {
        padding: 2rem 0.75rem;
    }

    .footer-cta-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }

    .footer-cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .footer-grid {
        gap: 1.25rem;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-about p {
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 0.75rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-links-list {
        gap: 0.6rem;
    }

    .footer-links-list a {
        font-size: 0.9rem;
    }

    .footer-contact p {
        font-size: 0.9rem;
        gap: 0.6rem;
    }

    .footer-bottom-links .footer-menu {
        flex-direction: column;
        gap: 0.75rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============================================
   MAINTENANCE NOTICE - Transparent Design
   ============================================ */
.maintenance-notice {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(30, 58, 138, 0.2);
    backdrop-filter: blur(8px);
    animation: slideInDown 0.5s ease-out;
    position: relative;
    z-index: 1001;
}

.maintenance-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.maintenance-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    animation: rotate 2s linear infinite;
}

.maintenance-notice p {
    margin: 0;
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .maintenance-notice {
        padding: 1rem 0;
    }

    .maintenance-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .maintenance-icon {
        font-size: 1.25rem;
    }

    .maintenance-notice p {
        font-size: 0.85rem;
    }
}

/* Blur overlay that covers page content when maintenance notice is active */
.maintenance-blur {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    pointer-events: none;
}

/* Active state: show blur and block interactions */
.maintenance-blur.active {
    opacity: 1;
    visibility: visible;
}

/* If active and data-block is 1, block interactions; otherwise allow through */
.maintenance-blur.active[data-block="1"] {
    pointer-events: auto;
}
.maintenance-blur.active[data-block="0"] {
    pointer-events: none;
}

/* When maintenance notice removed, fade out blur */
.maintenance-blur.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Slight fade on the notice itself for smoother appearance */
.maintenance-notice {
    animation: slideInDown 0.5s ease-out, fadeIn 0.35s ease-out;
}

