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

:root {
    --primary-red: #B71C1C;
    --royal-red: #8B0000;
    --gold: #FFD700;
    --light-gold: #FFF8DC;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #333333;
    --text-gray: #666666;
    --cursive-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --red-gradient: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    scroll-behavior: smooth;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Ephesis", cursive;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

p {
    letter-spacing: 0.01em;
}

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

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--royal-red), var(--primary-red));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.splash-content {
    text-align: center;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.splash-content video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.splash-content #fallback-logo {
    position: absolute;
    max-width: 300px;
    width: 80%;
    max-height: 80vh;
    height: auto;
    object-fit: contain;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.splash-content #fallback-logo.show {
    opacity: 1;
}

.splash-content video.hidden {
    display: none;
}

/* On mobile, keep logo hidden unless video fails */
@media (max-width: 768px) {
    .splash-content #fallback-logo {
        opacity: 0; /* Hidden by default, only shown if video fails */
    }
}

.fallback-logo {
    max-width: 300px;
    height: auto;
}

.hidden {
    display: none;
}

/* Fade in animation for main content and body */
body {
    opacity: 1;
    animation: fadeInFromBlack 1.2s ease-in;
}

@keyframes fadeInFromBlack {
    from {
        opacity: 0;
        background-color: #000000;
    }
    to {
        opacity: 1;
        background-color: transparent;
    }
}

.main-content {
    opacity: 0;
    background-color: #000000;
    transition: opacity 1.2s ease-in, background-color 1.2s ease-in;
    min-height: 100vh;
}

.main-content.fade-in {
    opacity: 1;
    background-color: transparent;
}

/* Ensure smooth initial state */
.main-content.hidden {
    opacity: 0;
    background-color: #000000;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease, box-shadow 0.4s ease; /* Smooth shadow transition */
    box-shadow: none; /* No shadow at top - connected to hero section */
    min-height: 140px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(40px, 5vw, 80px); /* Responsive: 40px on small, up to 80px on large */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem; /* Much closer to logo for tighter layout */
    width: 100%;
    position: relative;
}

.nav-logo {
    flex-shrink: 0;
    z-index: 2;
}

.nav-logo .logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
}

.nav-logo .logo-link:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

.nav-logo .logo-link::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-logo .logo-link:hover::after {
    opacity: 1;
}

.nav-logo .logo {
    height: 140px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu-left {
    margin-right: auto;
    padding-left: 12rem; /* Small buffer from left edge */
}

.nav-menu-right {
    margin-left: auto;
    padding-right: 12rem; /* Small buffer from right edge */
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--royal-red);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.4);
}

/* Push page content below fixed navbar (non-home pages) */
body.has-fixed-navbar {
    padding-top: 0; /* keep navbar fixed without shifting body */
}

.mobile-menu-wrapper {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger:active {
    background-color: rgba(0, 0, 0, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.hero-left {
    background: var(--white);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-right {
    background: var(--royal-red);
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-right video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Medium screens and up - split layout */
@media (min-width: 768px) {
    .hero-left {
        width: 50%;
    }

    .hero-right {
        width: 50%;
    }
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 8vw, 8rem);
}

.hero-title {
    font-family: "Ephesis", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
    color: var(--dark-gray);
    margin-top: 4rem;
    margin-bottom: 4rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    animation: fadeInUpScale 1.2s ease-out;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark-gray);
    animation: titleUnderline 1.5s ease-out 1.2s forwards;
}

@keyframes titleUnderline {
    to {
        width: 100px;
    }
}

.hero-subtitle {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    width: 100%;
    max-width: 66.666%;
    animation: fadeInUp 1.4s ease-out;
    will-change: transform, opacity;
    transform-style: preserve-3d;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    animation: fadeInUp 1.4s ease-out;
    margin-top: 1.25rem;
    position: relative;
}

.btn {
    padding: 12px 30px;
    border: 1px solid;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn:nth-child(2) {
    animation-delay: 0.3s;
}

/* ============================================
   CTA BUTTON EFFECTS - ALTERNATIVE OPTIONS
   ============================================
   Currently using: OPTION 1 (Pulse Glow)
   To switch: Comment out current option and uncomment desired option
   ============================================ */

/* OPTION 1: Pulse Glow Effect (CURRENT) */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(51, 51, 51, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(51, 51, 51, 0.2);
    }
}

.btn-primary {
    animation: pulseGlow 3s ease-in-out infinite;
}

.btn-secondary {
    animation: pulseGlow 3s ease-in-out infinite 0.5s;
}

/* OPTION 2: Gradient Shift Effect
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-primary {
    background: linear-gradient(90deg, #1a1a1a, #333333, #1a1a1a);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.btn-secondary {
    border-image: linear-gradient(90deg, #333333, #666666, #333333) 1;
    animation: gradientShift 4s ease infinite 0.5s;
}
*/

/* OPTION 3: Shimmer Effect
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(51, 51, 51, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite 0.5s;
    pointer-events: none;
}
*/

/* OPTION 4: Scale Bounce Effect
@keyframes scaleBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-primary {
    animation: scaleBounce 2s ease-in-out infinite;
}

.btn-secondary {
    animation: scaleBounce 2s ease-in-out infinite 0.3s;
}
*/

/* OPTION 5: Border Animation Effect
.btn-primary, .btn-secondary {
    position: relative;
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 0;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% {
        border-color: transparent;
        opacity: 0;
    }
    50% {
        border-color: rgba(51, 51, 51, 0.5);
        opacity: 1;
    }
}

.btn-secondary::before {
    animation-delay: 0.3s;
}
*/

/* OPTION 6: Floating Effect (Gentle)
@keyframes floatGentle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.btn-primary {
    animation: floatGentle 4s ease-in-out infinite;
}

.btn-secondary {
    animation: floatGentle 4s ease-in-out infinite 0.5s;
}
*/

/* OPTION 7: Magnetic Hover Effect (requires JS - see script.js comments)
   This option requires JavaScript implementation
*/

/* Enhanced fade in with scale */
@keyframes fadeInUpScale {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.btn-primary {
    background: var(--dark-gray);
    color: var(--white);
    border: 1px solid var(--dark-gray);
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: none;
    box-shadow: none;
    animation: none; /* Stop pulse on hover */
}

.btn-primary:active {
    transform: none;
}

.btn-secondary {
    background: transparent;
    color: var(--dark-gray);
    border: 1px solid var(--dark-gray);
    position: relative;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--dark-gray);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    background: var(--dark-gray);
    color: var(--white);
    border-color: var(--dark-gray);
    transform: none;
    box-shadow: none;
    animation: none; /* Stop pulse on hover */
}

.btn-secondary:active {
    transform: none;
}

/* Hero card styling */

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Vision & Mission Section */
.vision-mission {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(1.75rem, 3vw, 2.5rem);
    align-items: stretch;
}

.vm-card {
    background: var(--white);
    padding: clamp(1.75rem, 2vw, 2.5rem);
    border-radius: 18px;
    text-align: left;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
}

.vm-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(183, 28, 28, 0.14), rgba(255, 215, 0, 0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.vm-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 16%, rgba(183, 28, 28, 0.08), transparent 32%),
        radial-gradient(circle at 86% 10%, rgba(255, 215, 0, 0.06), transparent 26%);
    pointer-events: none;
    z-index: 0;
}

.vm-card > * {
    position: relative;
    z-index: 1;
}

.vm-card:hover {
    transform: none;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.06);
}

.vm-card:hover::before {
    opacity: 1;
}

.vm-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(183, 28, 28, 0.08);
    color: var(--royal-red);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(183, 28, 28, 0.15);
}

.vm-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--royal-red);
    box-shadow: 0 0 0 4px rgba(183, 28, 28, 0.12);
}

.vm-pill-mission {
    background: rgba(255, 215, 0, 0.08);
    color: var(--dark-gray);
    border-color: rgba(255, 215, 0, 0.22);
}

.vm-pill-mission::before {
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.12);
}

.vm-title {
    font-family: var(--cursive-font);
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    color: var(--dark-gray);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    position: relative;
}

.vm-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, var(--royal-red), transparent);
    opacity: 0.9;
}

.vm-text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 48ch;
    margin: 1.4rem 0 0;
}

/* Core Values Section */
.core-values {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
}

.section-title {
    font-family: "Ephesis", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(2.3rem, 4vw, 2.9rem);
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 2px;
    background: linear-gradient(90deg, var(--royal-red), transparent);
    border-radius: 999px;
    opacity: 0.85;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.25rem);
}

.value-card {
    background: var(--white);
    padding: clamp(1.5rem, 2vw, 2rem);
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
}

.value-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(183, 28, 28, 0.1), rgba(255, 215, 0, 0.06));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 14%, rgba(183, 28, 28, 0.07), transparent 30%),
        radial-gradient(circle at 80% 12%, rgba(255, 215, 0, 0.05), transparent 28%);
    pointer-events: none;
    z-index: 0;
}

.value-card > * {
    position: relative;
    z-index: 1;
}

.value-card:hover {
    transform: none;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.06);
}

.value-card:hover::before {
    opacity: 1;
}

.value-image {
    margin-bottom: 1.25rem;
}

.value-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.value-title {
    font-family: var(--cursive-font);
    font-size: clamp(1.35rem, 2.4vw, 1.6rem);
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    position: relative;
}

.value-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, var(--royal-red), transparent);
    opacity: 0.85;
}

.value-description {
    color: var(--text-gray);
    line-height: 1.7;
}

/* About Preview Section */
.about-preview {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.about-image:hover img {
    transform: none;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(139, 0, 0, 0.1);
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
}

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

.news-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(139, 0, 0, 0.1);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 1;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: none;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
}

.news-card[onclick] {
    cursor: pointer;
}

.news-card[onclick]:active {
    transform: none;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
    position: relative;
}

.news-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after {
    opacity: 1;
}

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

.news-card:hover .news-image img {
    transform: none;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-family: var(--cursive-font);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 500;
}

.news-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.news-author {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: auto;
}

.no-news {
    text-align: center;
    color: var(--text-gray);
    padding: 2rem;
    font-size: 1.1rem;
}

/* News Modal Styles */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.news-modal.active {
    opacity: 1;
    visibility: visible;
}

.news-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.news-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 10001;
}

/* Custom scrollbar for modal */
.news-modal-content::-webkit-scrollbar {
    width: 8px;
}

.news-modal-content::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.news-modal-content::-webkit-scrollbar-thumb {
    background: var(--royal-red);
    border-radius: 10px;
}

.news-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

.news-modal.active .news-modal-content {
    transform: scale(1) translateY(0);
}

.news-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--royal-red);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: background 0.3s ease, transform 0.3s ease;
    line-height: 1;
    padding: 0;
}

.news-modal-close:hover {
    background: var(--primary-red);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.4);
}

.news-modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

#news-modal-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: visible;
    max-height: none;
}

.news-modal-image-container {
    width: 100%;
    margin: 1.5rem 0;
}

.news-modal-image {
    position: relative;
    width: 100%;
    max-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    object-fit: contain;
}

.news-image-enlarge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(139, 0, 0, 0.85);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.news-image-enlarge:hover {
    background: var(--royal-red);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.news-image-enlarge:active {
    transform: scale(0.95);
}

.news-image-enlarge svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.news-modal-text {
    padding: 0;
    margin-bottom: 1rem;
    overflow: visible;
    max-height: none;
    background: transparent;
    border: none;
    box-shadow: none;
}

.news-modal-text:first-child {
    margin-top: 0;
}

.news-modal-text:last-child {
    margin-bottom: 0;
}

.news-modal-title {
    font-family: var(--cursive-font);
    font-size: 2rem;
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.news-modal-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
    flex-wrap: wrap;
    align-items: center;
}

.news-modal-date {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

.news-modal-author {
    color: var(--text-gray);
    font-style: italic;
    font-size: 0.95rem;
}

.news-modal-text .news-modal-content {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1.05rem;
    overflow: visible;
    max-height: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.news-modal-text .news-modal-content p {
    margin-bottom: 1rem;
}

.news-modal-text .news-modal-content br {
    line-height: 1.8;
}

/* Image Enlargement Modal */
.image-enlarge-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-enlarge-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-enlarge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.image-enlarge-content {
    position: relative;
    max-width: 95%;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20001;
}

.image-enlarge-content img {
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.image-enlarge-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(139, 0, 0, 0.9);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20002;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.image-enlarge-close:hover {
    background: var(--royal-red);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.6);
}

.image-enlarge-close:active {
    transform: rotate(90deg) scale(0.95);
}

/* Admin Interface Styles */
.admin-container {
    min-height: 100vh;
    background: var(--light-gray);
    padding: 100px 20px 40px;
}

.admin-content {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.admin-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.admin-header h1 {
    font-family: var(--cursive-font);
    font-size: 2.5rem;
    color: var(--royal-red);
    margin-bottom: 0.5rem;
}

.admin-header p {
    color: var(--text-gray);
}

.admin-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.admin-form h2 {
    font-family: var(--cursive-font);
    font-size: 1.8rem;
    color: var(--royal-red);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--royal-red);
}

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

.form-group input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #ddd;
    border-radius: 5px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    position: relative;
    z-index: 2;
}

.form-group input[type="file"]:hover {
    border-color: var(--royal-red);
    background: var(--light-gray);
}

/* Custom file upload button styling */
.form-group > div[style*="position: relative"] {
    width: 100%;
}

.form-group > div[style*="position: relative"] button {
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.form-group > div[style*="position: relative"] input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-gray);
    font-size: 0.85rem;
}

#image-preview-container {
    position: relative;
}

#image-preview {
    background: var(--light-gray);
    padding: 0.5rem;
    border-radius: 5px;
    border: 2px solid #ddd;
}

#image-preview-img {
    display: block;
    max-width: 100%;
    max-height: 200px;
    margin: 0 auto;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-edit {
    background: var(--gold);
    color: var(--royal-red);
}

.btn-edit:hover {
    background: #FFC700;
}

.btn-delete {
    background: #dc3545;
    color: var(--white);
}

.btn-delete:hover {
    background: #c82333;
}

.btn-cancel {
    background: var(--text-gray);
    color: var(--white);
}

.btn-cancel:hover {
    background: #555;
}

.admin-news-list {
    margin-top: 2rem;
}

.admin-news-list h2 {
    font-family: var(--cursive-font);
    font-size: 1.8rem;
    color: var(--royal-red);
    margin-bottom: 1.5rem;
}

.admin-news-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

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

.admin-news-content {
    flex: 1;
}

.admin-news-content h3 {
    font-family: var(--cursive-font);
    font-size: 1.3rem;
    color: var(--royal-red);
    margin-bottom: 0.5rem;
}

.admin-news-date {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.admin-news-excerpt {
    color: var(--text-gray);
    line-height: 1.5;
}

.admin-news-actions {
    display: flex;
    gap: 0.5rem;
}

.password-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--royal-red), var(--primary-red));
    padding: 20px;
}

.password-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.password-form h1 {
    font-family: var(--cursive-font);
    font-size: 2rem;
    color: var(--royal-red);
    margin-bottom: 1rem;
}

.password-form p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.password-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.password-form input:focus {
    outline: none;
    border-color: var(--royal-red);
}

.password-form .btn {
    width: 100%;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 0, 0, 0.2) 15%, rgba(255, 215, 0, 0.4) 50%, rgba(139, 0, 0, 0.2) 85%, transparent 100%);
    margin: 80px auto;
    max-width: 1200px;
    position: relative;
    opacity: 0;
    animation: fadeInDivider 1s ease-out 0.5s forwards;
}

@keyframes fadeInDivider {
    to {
        opacity: 1;
    }
}

.section-divider::before,
.section-divider::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1rem;
    background: var(--white);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    border: 2px solid var(--gold);
}

.section-divider::before {
    left: 15%;
}

.section-divider::after {
    right: 15%;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

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

.footer-logo {
    height: 200px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.footer-title {
    font-family: var(--cursive-font);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--royal-red), var(--primary-red));
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
    margin-top: 60px; /* offset from navbar */
}

/* Offset page headers below fixed navbar (non-home) */
body.has-fixed-navbar .page-header {
    padding-top: 150px;
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 40px;
    }

    body.has-fixed-navbar .page-header {
        padding-top: 120px;
    }
}

.page-title {
    font-family: "Ephesis", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(2.4rem, 5vw, 3rem);
    margin-bottom: 1rem;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.01em;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 2px;
    background: linear-gradient(90deg, var(--royal-red), transparent);
    border-radius: 999px;
    opacity: 0.9;
}

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

/* About Company Section */
.about-company {
    padding: 80px 0;
    background: var(--white);
}

/* Leadership Section */
.leadership {
    padding: 80px 0;
    background: var(--light-gray);
}

.leadership-grid {
    display: grid;
    gap: 3rem;
}

.leader-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex; /* horizontal layout */
    align-items: stretch;
    border: 1px solid rgba(139, 0, 0, 0.1);
    position: relative;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 1;
}

.leader-card:hover::before {
    transform: scaleX(1);
}

.leader-card:hover {
    transform: none;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
}

.leader-image {
    width: 40%;
    min-width: 320px;
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3; /* keep full face visible without cropping */
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ensure full image visible */
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}

.leader-card:hover .leader-image img {
    transform: none;
    filter: grayscale(0%);
}

.leader-content {
    padding: 2rem;
    flex: 1;
}

.leader-name {
    font-family: var(--cursive-font);
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.leader-title {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.05em;
}

.leader-bio p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Company Values Section */
.company-values {
    padding: 80px 0;
    background: var(--white);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--royal-red);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(139, 0, 0, 0.1) 100%);
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: none;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(139, 0, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: none;
}

/* Icon placeholders - using Unicode symbols as fallback */
.value-icon::before {
    content: '★';
    font-size: 2.5rem;
    color: var(--gold);
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Portfolio Overview */
.portfolio-overview {
    padding: 60px 0;
    background: var(--light-gray);
}

.overview-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.overview-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-top: 1rem;
}

/* Companies Section */
.companies-section {
    padding: 80px 0;
    background: var(--white);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.company-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.company-card:hover::before {
    transform: scaleX(1);
}

.company-card:hover {
    transform: none;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
}

.company-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.company-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    color: var(--royal-red);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(139, 0, 0, 0.1) 100%);
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.company-card:hover .company-icon {
    transform: none;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(139, 0, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: none;
}

.company-icon::before {
    content: '🏢';
    font-size: 2rem;
}

.company-logo {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.company-logo-img {
    height: 50px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

.company-name {
    font-family: var(--cursive-font);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.company-sector {
    background: var(--gold-gradient);
    color: var(--royal-red);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.company-card:hover .company-sector {
    transform: none;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.company-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.company-card:hover .stat-number {
    transform: none;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Sector Focus */
.sector-focus {
    padding: 80px 0;
    background: var(--light-gray);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.sector-item {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.sector-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.sector-item:hover::before {
    transform: scaleX(1);
}

.sector-item:hover {
    transform: none;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
}

.sector-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--royal-red);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(139, 0, 0, 0.1) 100%);
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.sector-item:hover .sector-icon {
    transform: none;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(139, 0, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: none;
}

.sector-icon::before {
    content: '⭐';
    font-size: 2rem;
}

.sector-name {
    font-family: var(--cursive-font);
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.sector-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.sector-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-content-centered {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-container {
    padding: 2rem 0;
    width: 100%;
}

.info-title {
    font-family: var(--cursive-font);
    font-size: 2rem;
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    position: relative;
}

.info-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 0, 0, 0.1);
    box-shadow: var(--shadow-sm), 0 0 0 1px rgba(139, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    transform: none;
    box-shadow: var(--shadow-sm), 0 0 0 1px rgba(139, 0, 0, 0.05);
}

.contact-icon {
    font-size: 2rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-text h3 {
    font-family: var(--cursive-font);
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.contact-text p {
    color: var(--text-gray);
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.quick-links {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm), 0 0 0 1px rgba(139, 0, 0, 0.05);
    border: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.quick-links:hover {
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 215, 0, 0.1);
}

.links-title {
    font-family: var(--cursive-font);
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.links-list {
    list-style: none;
}

.links-list li {
    margin-bottom: 0.75rem;
}

.links-list a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.links-list a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.links-list a:hover {
    color: var(--royal-red);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.map-placeholder {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    font-family: var(--cursive-font);
    font-size: 1.5rem;
    color: var(--royal-red);
    margin-bottom: 0.5rem;
}

.map-placeholder p {
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

/* Foundation Page */
.foundation-hero {
    padding: 80px 0 40px;
    background: var(--white);
}

.foundation-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.foundation-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-top: 1rem;
}

.foundation-overview {
    padding: 40px 0 20px;
    background: var(--light-gray);
}

.foundation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.foundation-card-large {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
    border: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.foundation-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.foundation-card-large:hover::before {
    transform: scaleX(1);
}

.foundation-card-large:hover {
    transform: none;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
}

.foundation-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.foundation-card-title {
    font-family: var(--cursive-font);
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.focus-areas {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 1.25rem;
}

.impact-stats {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
    border: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: none;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
}

.stat-number {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--royal-red) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: none;
}

.programs-section {
    padding: 60px 0;
    background: var(--light-gray);
}

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

.program-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
    border: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: none;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(139, 0, 0, 0.05);
}

.program-title {
    font-family: var(--cursive-font);
    font-size: 1.35rem;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    position: relative;
}

.program-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, var(--royal-red), transparent);
    opacity: 0.85;
}

.get-involved {
    padding: 60px 0 80px;
    background: var(--white);
}

.get-involved-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Mobile Splash Screen Enhancements - merged with main mobile styles below */

/* Responsive Design */
/* Mobile-First Optimizations */
@media (max-width: 768px) {
    /* Splash Screen Mobile Enhancements */
    .splash-screen {
        /* Ensure splash screen is visible on mobile */
        position: fixed;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .splash-content #fallback-logo {
        /* Better sizing for mobile and ensure visibility */
        max-width: 250px;
        width: 70%;
    }
    
    /* Ensure minimum touch target size */
    .btn, .nav-link, button, a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .navbar {
        min-height: 100px;
        padding: 0.75rem 0;
    }

    .nav-container {
        gap: 0;
        justify-content: space-between;
    }

    .nav-logo .logo {
        height: 120px;
    }

    .nav-menu-left,
    .nav-menu-right {
        display: none;
    }

    .mobile-menu-wrapper {
        display: block;
    }

    .nav-menu-mobile {
        position: fixed;
        right: -100%;
        top: 100px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        max-width: 320px;
        text-align: center;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        padding: 2rem 0;
        height: calc(100vh - 100px);
        overflow-y: auto;
        z-index: 1000;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        list-style: none;
        margin: 0;
        gap: 0;
    }

    .nav-menu-mobile.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        position: static;
        transform: none;
    }
    
    /* Hamburger animation */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Mobile menu backdrop overlay */
    .nav-menu-mobile::before {
        content: '';
        position: fixed;
        top: 100px;
        right: 0;
        width: 100%;
        height: calc(100vh - 100px);
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .nav-menu-mobile.active::before {
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu-mobile li {
        margin: 0.5rem 0;
    }
    
    .nav-menu-mobile .nav-link {
        display: block;
        padding: 1rem 2rem;
        color: var(--dark-gray);
        font-size: 1.1rem;
        min-height: 44px;
        width: 100%;
        text-align: left;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 60px;
        /* Show background color immediately while image loads */
        background-color: #000;
        /* Background image will be visible as soon as browser starts loading it */
        background-image: url('Web Images/Hero.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        justify-content: center;
        align-items: center;
        /* Ensure background is visible immediately, even if image is still loading */
        background-attachment: scroll;
    }
    
    /* Progressive loading: show subtle placeholder overlay while image loads */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        background-image: linear-gradient(135deg, rgba(26, 26, 26, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
        z-index: 0;
        opacity: 1;
        transition: opacity 1s ease-in;
        pointer-events: none;
    }
    
    /* Once image is loaded, fade out placeholder overlay smoothly */
    .hero.image-loaded::before {
        opacity: 0;
    }
    
    /* Ensure hero content is above placeholder */
    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero {
        flex-direction: column;
    }

    .hero-left {
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-right {
        width: 100%;
        height: 50vh;
        min-height: 300px;
    }

    .hero-content {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 3rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        justify-content: flex-start;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

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

    .vm-card {
        padding: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        height: 95px;
    }

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

    .leader-content {
        padding: 1.5rem;
    }

    .leader-name {
        font-size: 1.5rem;
    }

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

    /* Leadership mobile: stack vertically */
    .leader-card {
        flex-direction: column;
    }
    .leader-image {
        width: 100%;
        min-width: 0;
        aspect-ratio: 16 / 9;
    }

    .company-header {
        flex-direction: column;
        text-align: center;
    }

    .company-sector {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .company-stats {
        justify-content: center;
    }

    .sectors-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .contact-content-centered {
        padding: 0 1rem;
    }
    
    .contact-info-container {
        text-align: center;
    }
    
    .info-title {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-text {
        text-align: center;
    }
    
    .contact-text h3 {
        text-align: center;
    }
    
    .contact-text p {
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .quick-links {
        text-align: center;
    }
    
    .links-title {
        text-align: center;
    }
    
    .links-list {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        list-style: none;
        padding: 0;
    }
    
    .links-list li {
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .links-list a {
        text-align: center;
        padding-left: 0;
        display: inline-block;
    }
    
    .links-list a::before {
        display: none; /* Hide arrow on mobile for cleaner center alignment */
    }
    
    .section-title {
        text-align: center;
    }
    
    .section-divider {
        margin: 60px 20px;
    }

    .section-divider::before {
        left: 10%;
    }

    .section-divider::after {
        right: 10%;
    }
    
    /* News Section Mobile */
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        margin-bottom: 1rem;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-title {
        font-size: 1.3rem;
    }
    
    /* Admin Mobile */
    .admin-container {
        padding: 80px 10px 20px;
    }
    
    .admin-content {
        padding: 1.5rem;
    }
    
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .admin-news-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-news-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .admin-news-actions .btn {
        flex: 1;
    }
    
    .password-form {
        padding: 2rem 1.5rem;
    }
    
    /* Image upload mobile */
    .form-group > div[style*="flex"] {
        flex-direction: column !important;
    }
    
    #image-preview-container {
        width: 100% !important;
        margin-top: 1rem;
    }
    
    /* News Modal Mobile */
    .news-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 10px;
    }
    
    #news-modal-body {
        padding: 1.5rem;
    }
    
    .news-modal-title {
        font-size: 1.5rem;
    }
    
    .news-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .news-modal-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    /* Image modal mobile */
    .news-modal-image {
        max-height: 250px;
    }
    
    .news-modal-image img {
        max-height: 250px;
    }
    
    .news-image-enlarge {
        width: 40px;
        height: 40px;
        bottom: 0.75rem;
        right: 0.75rem;
    }
    
    .news-image-enlarge svg {
        width: 18px;
        height: 18px;
    }
    
    .image-enlarge-close {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }
    
    .image-enlarge-content {
        max-width: 98%;
        max-height: 98vh;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .vm-title {
        font-size: 1.5rem;
    }

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

    .hero-content {
        padding: 0 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

