:root {
    --primary-color: #1a1a1a;
    --accent-gold: #c5a059;
    --accent-gold-light: #e0c58e;
    --bg-color: #ffffff;
    --section-bg: #fafafa;
    --card-bg: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #888888;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 40px 100px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbar */
*::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

body.locked {
    overflow: hidden;
    height: 100vh;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
    will-change: transform, opacity;
}

.reveal.reveal-left { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.stagger-item { opacity: 0; transform: translateY(20px); transition: var(--transition-smooth); }
.active .stagger-item { opacity: 1; transform: translateY(0); }


.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Global Page Background */
.global-page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -3; /* Behind hero and sections */
    opacity: 0;
    animation: fadeInBg 2s ease-in forwards;
}

@keyframes fadeInBg {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.15; /* 15% opacity target for even lighter effect */
    }
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 2rem;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
    font-weight: 200;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    background: transparent;
    padding: 30px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid transparent;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.5s ease,
        padding 0.5s ease,
        border-color 0.5s ease,
        opacity 0.8s;
    opacity: 0;
}

.navbar.show {
    transform: translateY(0);
    opacity: 1;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}


.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Admin Core Styles */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #0f172a; /* Deep Navy */
    color: #e2e8f0;
    padding: 40px 20px;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar-logo {
    display: block;
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 50px;
    text-decoration: none;
    text-align: center;
}

.sidebar-group-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #64748b;
    margin: 30px 0 15px 10px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.sidebar-nav a.active {
    background: var(--accent-gold);
    color: #fff;
}

.admin-main-content {
    margin-left: 280px;
    padding: 40px 60px;
    min-height: 100vh;
    background: #f8fafc;
}

/* Stats Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1px;
}

.stat-card .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 10px 0;
}

/* Admin Cards */
.admin-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
    margin-bottom: 30px;
}

.admin-page-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: #1a202c;
    margin-bottom: 10px;
}

.navbar.scrolled a {
    color: var(--text-color);
    text-shadow: none;
}

.navbar a:hover {
    color: var(--accent-gold);
    letter-spacing: 4px;
}


/* Floating WhatsApp Button - Line Art Theme */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.floating-wa-btn svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #333;
    stroke-width: 1.2;
    transition: all 0.4s ease;
}

/* Hide on Landing Page Hero, Show on Scroll */
.home-page .floating-wa-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page.scrolled .floating-wa-btn {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

.floating-wa-btn:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.floating-wa-btn:hover svg {
    stroke: var(--accent-gold);
}

/* Pulse effect for line art */
.floating-wa-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
}

.floating-wa-btn:hover::after {
    transform: scale(1.3);
    opacity: 0;
    animation: wa-pulse 1.5s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-start; /* Changed from center to push content towards top */
    justify-content: center;
    text-align: center;
    padding-top: 2vh; /* Reduced from 5vh to bring logo closer to top */
}

.video-background-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
    .video-background-wrapper iframe {
        width: 100vw;
        height: 56.25vw;
        /* 9/16 * 100 */
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background-wrapper iframe {
        width: 177.78vh;
        /* 16/9 * 100 */
        height: 100vh;
    }
}

.video-background-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -2;
}

.video-background-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-logo {
    max-width: 140px;
    height: auto;
    margin-top: 0; /* Remove margin-top as requested */
    margin-bottom: 15px; /* Reduced from 30px */
    filter: brightness(0) invert(1); /* Logo purely white in hero overlay */
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 15px;
    margin-bottom: 10px; /* Reduced from 25px */
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    letter-spacing: 8px;
    margin-bottom: 35px; /* Reduced from 45px */
    color: #fff;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero { padding-top: 4vh; } /* Reduced from 10vh to bring logo closer to top on mobile */
    .hero-content h1 { font-size: 2.2rem; letter-spacing: 4px; margin-bottom: 10px; }
    .hero-content p { font-size: 0.65rem; letter-spacing: 2px; margin-bottom: 25px; }
    .btn-start { padding: 14px 35px; font-size: 0.7rem; }
    .hero-logo { max-width: 100px; margin-bottom: 10px; }
}

@media (max-height: 600px) {
    .hero { padding-top: 2vh; }
    .hero-logo { max-width: 80px; margin-bottom: 5px; }
    .hero-content h1 { font-size: 1.8rem; margin-bottom: 5px; }
    .hero-content p { margin-bottom: 15px; font-size: 0.6rem; }
}

.btn-start {
    display: inline-block;
    padding: 18px 50px;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0;
    /* Sharp corners like Axioo */
    text-transform: uppercase;
}

.btn-start:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-5px);
    letter-spacing: 5px;
}

/* Testimonial Carousel */
.testimonial-carousel-wrapper {
    max-width: 800px; /* Reduced from 900px */
    margin: 30px auto 0;
    position: relative;
    padding-bottom: 30px; /* Reduced from 50px */
}

.testimonial-carousel {
    position: relative;
    min-height: 280px; /* Reduced from 330px/400px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    padding: 15px;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.testimonial-photo {
    width: 90px; /* Reduced from 120px */
    height: 90px; /* Reduced from 120px */
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: var(--shadow-soft);
    background: #fff;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #cbd5e1;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.4rem; /* Reduced from 1.8rem */
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

.testimonial-author {
    color: var(--accent-gold);
    font-size: 1rem; /* Reduced from 1.1rem */
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 3px;
}

.testimonial-role {
    font-size: 0.8rem; /* Reduced from 0.85rem */
    color: var(--text-muted);
    letter-spacing: 1px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px; /* Reduced from 15px */
}

.dot {
    width: 8px; /* Reduced from 10px */
    height: 8px; /* Reduced from 10px */
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-text { font-size: 1.1rem; }
    .testimonial-photo { width: 80px; height: 80px; }
    .testimonial-carousel { min-height: 300px; }
}


/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: var(--text-color);
    font-weight: 400;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -45px;
    margin-bottom: 80px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
}

/* Portfolio */
.portfolio-section {
    padding: 100px 0;
    background: transparent; /* Allow global BG to show through */
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .portfolio-grid { grid-template-columns: 1fr; gap: 50px; }
    .portfolio-photo-btn { width: 180px; height: 180px; }
}

.portfolio-card.circular-card {
    background: transparent;
    text-align: center;
    transition: transform 0.5s ease;
}

/* Base Idle Animations for Alumni */
.portfolio-card.circular-card:nth-child(3n+1) {
    animation: alumniFloat 6s ease-in-out infinite;
}

.portfolio-card.circular-card:nth-child(3n+2) {
    animation: alumniPulse 8s ease-in-out infinite;
    animation-delay: -2s;
}

.portfolio-card.circular-card:nth-child(3n) {
    animation: alumniSway 10s ease-in-out infinite;
    animation-delay: -5s;
}

/* Varying durations for more randomness */
.portfolio-card.circular-card:nth-child(even) {
    animation-duration: 7s;
}

@keyframes alumniFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes alumniPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes alumniSway {
    0%, 100% { transform: rotate(0deg) translateX(0); }
    33% { transform: rotate(1deg) translateX(5px); }
    66% { transform: rotate(-1deg) translateX(-5px); }
}

.portfolio-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.portfolio-photo-btn {
    position: relative;
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 12px;
    border: 1px solid var(--text-color);
    cursor: pointer;
    z-index: 5;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card .card-body {
    padding: 0;
    background: rgba(255, 255, 255, 0.5); /* 50% transparent white background */
    border-radius: 12px;
    margin-top: -20px; /* Slight overlap effect */
    position: relative;
    z-index: 10;
}

.portfolio-photo-btn::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.4;
}

.portfolio-img-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-photo-btn {
    transform: scale(1.05);
    border-color: var(--accent-gold);
}

.portfolio-card:hover .portfolio-photo-btn::before {
    transform: scale(1.06);
    border-color: var(--accent-gold);
    opacity: 0.8;
}

.portfolio-card:hover .portfolio-img-circle {
    transform: scale(1.05);
}

.card-body {
    padding: 10px;
}

.card-body h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.alumni-occupation {
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    margin-bottom: 8px !important;
}

.category-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: none;
    /* Changed from uppercase to allow mixed case Wedding / Prewedding */
    margin-bottom: 15px;
    letter-spacing: 4px;
    color: var(--accent-gold);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.program-card {
    background: rgba(255, 255, 255, 0.5); /* 50% transparent white background */
    padding: 50px;
    border-radius: 12px;
    box-shadow: none; /* Removed soft shadow for cleaner look on bg */
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
    position: relative;
}

.program-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-gold-light);
}

.program-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 35px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.program-card:hover .program-image {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .program-grid { grid-template-columns: 1fr; }
    .program-card { padding: 30px; }
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .featured-grid { grid-template-columns: 1fr; gap: 50px; }
    h2 { font-size: 2.2rem; }
}

.featured-block {
    background: rgba(255, 255, 255, 0.5); /* 50% white background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.featured-block:hover {
    transform: translateY(-10px);
    background: #fff;
    border-color: rgba(197, 160, 89, 0.2);
    box-shadow: var(--shadow-soft);
}

.featured-block img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-block:hover img {
    transform: scale(1.1) rotate(5deg);
}

.featured-block p {
    font-size: 1.1rem;
    color: var(--text-color);
    letter-spacing: 1px;
    margin-top: 15px;
}

.featured-block strong {
    color: var(--accent-gold);
    font-weight: 700;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.featured-block img {
    animation: float 4s ease-in-out infinite;
}

.featured-block:nth-child(2) img {
    animation-delay: 0.5s;
}

.featured-block:nth-child(3) img {
    animation-delay: 1s;
}

/* About Section */
.about-section {
    padding: 150px 0;
    background: transparent;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
}

.about-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo-btn {
    position: relative;
    display: block;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 15px;
    border: 1px solid var(--text-color);
    text-decoration: none;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-btn::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.6;
}

.about-img-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-btn:hover {
    transform: scale(1.02);
    border-color: var(--accent-gold);
}

.about-photo-btn:hover::before {
    transform: scale(1.05);
    border-color: var(--accent-gold);
    opacity: 1;
}

.about-photo-btn:hover .about-img-circle {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
    min-width: 400px;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 35px;
    font-size: 3rem;
}

.about-text {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.5); /* 50% white background */
    padding: 20px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .about-container { gap: 40px; }
    .about-image-wrapper, .about-content { min-width: 100%; }
    .about-content h2 { font-size: 2.2rem; text-align: center; }
    .about-photo-btn { width: 250px; height: 250px; }
}

/* WhatsApp Line Art Button */
.btn-wa-line {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-wa-line i,
.btn-wa-line svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    transition: transform 0.4s ease;
}

.btn-wa-line:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
    padding-left: 10px;
}

.btn-wa-line:hover i,
.btn-wa-line:hover svg {
    transform: rotate(15deg) scale(1.1);
}

/* Footer */
footer {
    padding: 100px 0;
    background: #000;
    color: #fff;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* Responsive */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-padding {
    padding: 100px 0;
    background: transparent; /* Allow global BG to show through */
}

@media (max-width: 768px) {
    .section-padding { padding: 80px 0; }
}

section {
    position: relative;
    overflow: hidden;
}

/* Admin Sidebar Expansion */
.admin-sidebar {
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
}

.admin-sidebar::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.sidebar-nested-group {
    margin-bottom: 5px;
}

/* Sub Menu (Categories) - Bold */
.sidebar-cat-link {
    display: block;
    font-weight: 700 !important;
    /* Bold */
    color: #444 !important;
    flex: 1;
}

/* Sidebar Toggle Button - Left Side with Plus Icon */
.sidebar-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
    color: #444;
}

.sidebar-toggle-btn svg {
    transition: transform 0.3s ease;
}

/* Minus icon when expanded (rotate vertical line to hide it) */
.sidebar-toggle-btn.expanded svg line:first-child {
    transform: rotate(90deg);
    opacity: 0;
}

.sidebar-sub-nav {
    display: flex;
    flex-direction: column;
    padding-left: 28px;
    /* Align with text after + icon */
    border-left: 1px solid #f0f0f0;
    margin-left: 10px;
    gap: 10px !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    opacity: 0;
}

.sidebar-sub-nav.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 10px;
}

/* Sub-Sub Menu (Stories) - Regular */
.sidebar-story-link {
    font-size: 0.6rem !important;
    letter-spacing: 1px !important;
    color: #777 !important;
    text-transform: none !important;
    font-weight: 400 !important;
    /* Regular */
    transition: all 0.3s ease;
}

.sidebar-story-link:hover,
.sidebar-story-link.active {
    color: #111 !important;
    padding-left: 5px;
}

/* Admin Panel - Line Art Theme Extensions */
.admin-page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.admin-card {
    position: relative;
    background: #fff;
    padding: 30px;
    border: 1px solid #1a1a1a;
    border-radius: 15px;
    /* Soft edges */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 11px;
    /* Slightly smaller for nested effect */
    pointer-events: none;
}

.admin-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #111;
}

.admin-form-group {
    margin-bottom: 25px;
}

.admin-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #444;
}

.admin-input,
.admin-textarea,
.admin-select {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    color: #1a1a1a;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.4s ease;
    border-radius: 0;
}

.admin-input:focus,
.admin-textarea:focus,
.admin-select:focus {
    outline: none;
    border-bottom-color: #1a1a1a;
}

.admin-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-btn-outline:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.admin-table th {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    padding: 10px 20px;
    text-align: left;
}

.admin-table td {
    background: #fff;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.admin-table td:first-child {
    border-left: 1px solid #f0f0f0;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.admin-table td:last-child {
    border-right: 1px solid #f0f0f0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Admin Core Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f8fafc;
}

.admin-sidebar {
    width: 280px;
    background: #ffffff;
    color: #1e293b;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-right: 1px solid #e2e8f0;
}

.admin-sidebar .sidebar-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.05em;
    margin-bottom: 48px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px;
}

.admin-sidebar .sidebar-logo img {
    height: 32px;
    width: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-group-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin: 32px 8px 12px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #475569;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s;
    letter-spacing: normal;
}

.sidebar-nav a:hover {
    background: #f8fafc;
    color: #0f172a;
}

.sidebar-nav a.active {
    background: #f1f5f9;
    color: #6366f1;
}

.sidebar-nested-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-cat-link {
    flex: 1;
    font-weight: 600 !important;
    color: #1e293b !important;
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-toggle-btn:hover {
    color: #0f172a;
    background: #f8fafc;
}

.sidebar-toggle-btn svg {
    transition: transform 0.2s;
}

.sidebar-toggle-btn.expanded svg {
    transform: rotate(45deg);
}

.sidebar-sub-nav {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    margin-left: 17px;
    border-left: 1px solid #e2e8f0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-sub-nav.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 4px;
    margin-bottom: 8px;
}

.sidebar-story-link {
    font-size: 0.8125rem !important;
    padding: 8px 16px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.admin-sidebar .sidebar-footer {
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.admin-main-content {
    flex: 1;
    margin-left: 280px;
    padding: 48px;
    width: calc(100% - 280px);
}

@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.2);
    }

    .admin-main-content {
        margin-left: 0;
        width: 100%;
        padding: 80px 24px 40px;
    }
    
    .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
    }
    
    .sidebar-backdrop.show {
        display: block;
    }
}


/* Admin Modals */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.admin-modal-container {
    background: #fff;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 60px;
    position: relative;
    border: 1px solid #111;
    box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.02);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.admin-modal-overlay.show .admin-modal-container {
    transform: translateY(0);
}

.admin-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.admin-modal-close:hover {
    color: #111;
}

.admin-modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Relocated Responsive Queries for Priority */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .about-container {
        gap: 50px;
    }

    .about-image-wrapper,
    .about-content {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        gap: 20px;
    }

    .navbar a {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    .floating-wa-btn {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        z-index: 99999 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Hero Responsive */
    .hero-content h1 {
        font-size: 1.1rem !important;
        letter-spacing: 3px !important;
        margin-bottom: 8px !important;
        line-height: 1.1 !important;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .hero-content p {
        font-size: 0.55rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 30px !important;
        padding: 0 20px;
        line-height: 1.4;
    }

    .btn-start {
        padding: 10px 25px;
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    .container {
        padding: 0 25px;
    }

    h2 {
        font-size: 2rem !important;
        margin-bottom: 40px;
    }

    .section-subtitle {
        margin-top: -30px;
        margin-bottom: 50px;
        font-size: 0.6rem;
        letter-spacing: 4px;
    }

    /* Portfolio Mobile Adjustment */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portfolio-photo-btn {
        width: 180px;
        height: 180px;
    }

    /* About Mobile Adjustment */
    .about-photo-btn {
        width: 250px;
        height: 250px;
    }

    .about-content h2 {
        text-align: center;
        font-size: 2.2rem;
    }

    .btn-wa-line {
        justify-content: center;
        width: 100%;
    }

    /* Global Page Mobile Adjustments */
    .portfolio-section {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    .portfolio-section .admin-page-title {
        font-size: 2rem !important;
        margin-bottom: 10px !important;
    }

    .portfolio-section .section-subtitle {
        font-size: 0.55rem !important;
        letter-spacing: 3px !important;
        margin-bottom: 40px !important;
    }

    /* Category Feed (Story Feed) */
    .portfolio-section div[style*="gap: 120px"] {
        gap: 60px !important;
        margin-top: 40px !important;
    }

    .story-item h2 {
        font-size: 1.8rem !important;
        margin: 15px 0 !important;
    }

    .story-item p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }

    /* Story Detail Gallery */
    div[style*="columns: 2"] {
        columns: 1 !important;
        column-gap: 0 !important;
    }

    .portfolio-section h1.admin-page-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .portfolio-section div[style*="line-height: 2"] {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    /* Footer adjustments for categories */
    div[style*="margin-top: 150px"],
    div[style*="margin-top: 100px"] {
        margin-top: 60px !important;
        padding-top: 40px !important;
    }

    .admin-btn-outline {
        padding: 10px 20px !important;
        font-size: 0.7rem !important;
    }
}

/* Hamburger Menu Button */
.hamburger-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2001;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #0f172a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hamburger-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 992px) {
    .hamburger-btn {
        display: flex;
    }

    /* Hide on Landing Page Hero, Show on Scroll */
    .home-page .fe-hamburger {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-20px);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .home-page.scrolled .fe-hamburger {
        opacity: 1;
        pointer-events: all;
        transform: translateX(0);
    }

    /* Mobile Navbar Drawer Logic */
    .navbar {
        position: fixed;
        top: 0;
        left: -100%; /* Hidden off-screen left */
        width: 300px; /* Slightly wider for better spacing */
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 50px 40px; /* Reset container padding to a normal bounding box */
        gap: 20px;
        z-index: 2000;
        transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 20px 0 50px rgba(0,0,0,0.1);
        transform: none !important; /* Disable desktop translate */
        opacity: 1 !important; /* Controlled by left position */
    }

    .navbar.mobile-active {
        left: 0;
    }

    .navbar a {
        color: #1a1a1a;
        text-shadow: none;
        padding: 15px 0 15px 40px; /* Explicit padding-left for text offset */
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        letter-spacing: 2px;
        transition: padding 0.3s ease;
    }

    /* Force the first link down to clear the "X" button */
    .navbar a:first-of-type {
        margin-top: 100px; 
    }

    .navbar a:hover {
        padding-left: 50px; /* Shift further right on hover */
    }
}

/* Mobile Nav Backdrop */
.fe-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.fe-nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .admin-main-content {
        padding: 80px 16px 40px;
    }
    
    .admin-page-title {
        font-size: 1.75rem;
    }
}

/* Extra Small Devices (< 360px) */
@media (max-width: 360px) {
    .admin-sidebar {
        width: 100%;
    }

    .admin-modal-container {
        padding: 20px 15px;
        width: 98%;
    }

    .admin-dashboard-grid,
    .admin-pricing-grid {
        gap: 15px;
    }

    .admin-card {
        padding: 15px;
    }

    .admin-page-title {
        font-size: 1.5rem;
    }
}

/* Portfolio Management Icons */
.admin-table td a svg {
    transition: all 0.3s ease;
}

.admin-table td a:hover svg {
    transform: scale(1.15);
}

.admin-table td a:hover {
    color: #1a1a1a !important;
}

.admin-table td a[title*="Remove"]:hover {
    color: #ff4d4d !important;
}

.admin-table td a[title*="View"]:hover,
.admin-table td a[title*="Manage"]:hover {
    color: var(--accent-gold) !important;
}

/* ========================================
   DATATABLES CUSTOM STYLING
   ======================================== */

/* DataTables Wrapper */
.dataTables_wrapper {
    font-family: var(--font-body);
    padding: 20px 0;
}

/* Search Box */
.dataTables_filter {
    float: right;
    margin-bottom: 20px;
}

.dataTables_filter label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
}

.dataTables_filter input {
    margin-left: 10px;
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    outline: none;
}

.dataTables_filter input:focus {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

/* Length Menu */
.dataTables_length {
    float: left;
    margin-bottom: 20px;
}

.dataTables_length label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
}

.dataTables_length select {
    margin: 0 10px;
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dataTables_length select:focus {
    border-color: #1a1a1a;
}

/* Info Text */
.dataTables_info {
    float: left;
    padding-top: 15px;
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 1px;
}

/* Pagination */
.dataTables_paginate {
    float: right;
    padding-top: 10px;
}

.dataTables_paginate .paginate_button {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #444;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dataTables_paginate .paginate_button:hover {
    background: #f5f5f5;
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.dataTables_paginate .paginate_button.current {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.dataTables_paginate .paginate_button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.dataTables_paginate .paginate_button.disabled:hover {
    background: #fff;
    border-color: #e0e0e0;
    color: #444;
}

/* Sorting Icons */
table.dataTable thead th {
    position: relative;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before {
    right: 10px;
    content: "↕";
    opacity: 0.3;
    font-size: 0.9rem;
}

table.dataTable thead .sorting_asc:before {
    content: "↑";
    opacity: 1;
}

table.dataTable thead .sorting_desc:before {
    content: "↓";
    opacity: 1;
}

/* Remove default DataTables styling */
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    display: none;
}

/* Processing Indicator */
.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #1a1a1a;
    padding: 20px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: left;
        margin-bottom: 15px;
    }

    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none;
        text-align: center;
        margin-top: 15px;
    }

    .dataTables_paginate .paginate_button {
        padding: 6px 10px;
        font-size: 0.65rem;
        margin: 0 2px;
    }
}

.footer-logo {
    max-width: 90px;
    height: auto;
    margin-bottom: 25px;
}

/* Alumni Lightbox Styles */
.alumni-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.alumni-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.alumni-lightbox-parallax-bg {
    position: absolute;
    inset: -50px;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.7);
    opacity: 0.6;
    z-index: 1;
    transform: translate(0, 0);
    transition: transform 0.1s linear;
}

.alumni-lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.alumni-lightbox-overlay.active .alumni-lightbox-content {
    transform: scale(1) translateY(0);
}

.alumni-lightbox-frame {
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, #c5a059 0%, #ffdf91 50%, #c5a059 100%);
    border-radius: 25px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.alumni-lightbox-frame img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    border-radius: 20px;
    object-fit: contain;
}

.alumni-lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.alumni-lightbox-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .alumni-lightbox-close {
        top: -50px;
        right: 10px;
        font-size: 2.5rem;
    }
}

/* Alumni Expandable Gallery Styles (Refined with CSS Mask) */
.alumni-expand-wrapper {
    position: relative;
    max-height: 850px; /* Approx 2 rows on desktop */
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* The Magic: CSS Masking to fade the actual photos */
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 300px);
    mask-image: linear-gradient(to top, transparent 0%, black 300px);
}

.alumni-expand-wrapper.expanded {
    max-height: 10000px;
    -webkit-mask-image: none;
    mask-image: none;
}

.alumni-show-more-container {
    padding-top: 40px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 100;
    margin-top: -120px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.alumni-show-more-container button {
    background: #fff;
    color: #000;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: buttonFloat 3s ease-in-out infinite;
}

.alumni-show-more-container button:hover {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
    transform: translateY(-5px); /* Stronger lift on hover combined with float */
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.3);
}

@keyframes buttonFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.alumni-expand-wrapper.expanded + .alumni-show-more-container {
    margin-top: 40px;
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1024px) {
    .alumni-expand-wrapper { 
        max-height: 1000px;
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 250px);
        mask-image: linear-gradient(to top, transparent 0%, black 250px);
    } 
}

@media (max-width: 600px) {
    .alumni-expand-wrapper { 
        max-height: 1100px;
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 200px);
        mask-image: linear-gradient(to top, transparent 0%, black 200px);
    } 
} 

/* ========================================
   TESTIMONIAL SECTION REFINEMENTS
   (Placed at end to ensure overrides)
   ======================================== */
.testimonial-section.section-padding {
    padding: 60px 0 !important; /* Force reduction */
}

.testimonial-section h2 {
    font-size: 2.2rem !important; /* Force reduction from 3.5rem */
    margin-bottom: 20px;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .testimonial-section.section-padding {
        padding: 40px 0 !important;
    }
    .testimonial-section h2 {
        font-size: 1.8rem !important;
    }
}