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

:root {
    --primary-blue: #1e40af;
    --dark-blue: #1e3a8a;
    --light-blue: #e6f2ff;
    --accent-yellow: #fbbf24;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-to-content:focus {
    left: 6px;
    top: 7px;
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
}

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    color: white;
    font-size: 16px;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Top bar – social icons */
.social-links-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-links-icons a {
    font-size: 0;
}

.topbar-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.topbar-social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.topbar-social-svg {
    width: 20px;
    height: 20px;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-info a {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header – sticky so it stays visible when scrolling, without changing layout order */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.header.header-motion {
    overflow: hidden;
    /* keep position: sticky from .header so layout order is preserved */
    background: linear-gradient(135deg, #fafafa 0%, #f0f4ff 40%, #fffbf0 70%, #f8fafc 100%);
    background-size: 400% 400%;
    animation: header-motion-bg 18s ease infinite;
}

@keyframes header-motion-bg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header-motion-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 120% 80% at 80% 0%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(30, 64, 175, 0.05) 0%, transparent 45%);
    animation: header-glow-pulse 6s ease-in-out infinite;
}

@keyframes header-glow-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.header-light-stripes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        95deg,
        transparent 0px,
        transparent 3px,
        rgba(30, 64, 175, 0.02) 3px,
        rgba(30, 64, 175, 0.02) 5px
    );
    animation: header-stripes-move 25s linear infinite;
}

@keyframes header-stripes-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(30px); }
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header.header-motion.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    max-width: 200px;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-left: 10px;
    font-family: 'Georgia', serif;
}

/* Navigation – row, motion, flip-half */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu ul {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu > ul > li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding: 10px 14px;
    transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    perspective: 220px;
}

.nav-link-inner {
    display: inline-block;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Flip-half: bottom half flap flips down on hover */
.nav-link-inner::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(251, 191, 36, 0.35) 100%);
    transform-origin: center top;
    transform: rotateX(-92deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    border-radius: 0 0 4px 4px;
    z-index: -1;
}

.nav-menu a:hover .nav-link-inner {
    transform: translateY(-1px);
    color: var(--primary-blue);
}

.nav-menu a:hover .nav-link-inner::before {
    transform: rotateX(0deg);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-menu a.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu a.active .nav-link-inner::before {
    transform: rotateX(0deg);
    background: linear-gradient(180deg, transparent 0%, rgba(251, 191, 36, 0.25) 100%);
}

/* Services Dropdown – motion, flip-half, ▼ */
.services-dropdown {
    position: relative;
}

.services-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    position: relative;
    transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    perspective: 220px;
}

.services-toggle .dropdown-arrow {
    display: inline-block;
    font-size: 0.65em;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.services-toggle::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(251, 191, 36, 0.3) 100%);
    transform-origin: center top;
    transform: rotateX(-92deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    border-radius: 0 0 4px 4px;
    z-index: -1;
}

.services-dropdown:hover .services-toggle {
    color: var(--primary-blue);
}

.services-dropdown:hover .services-toggle::before {
    transform: rotateX(0deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.12), 0 4px 12px rgba(0,0,0,0.06);
    min-width: 200px;
    padding: 8px 0;
    margin-top: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scaleY(0.95);
    transform-origin: top center;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), visibility 0.25s;
    border-radius: 10px;
    border: 1px solid rgba(30, 64, 175, 0.08);
    overflow: hidden;
}

.services-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scaleY(1);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    transition: background 0.25s ease, padding-left 0.25s ease;
    color: var(--text-dark);
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.15) 0%, rgba(30, 64, 175, 0.06) 100%);
    padding-left: 24px;
}

/* Book Appointment Button - Modernized */
.book-btn {
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    border-radius: 50px;
    pointer-events: none;
}

.book-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: -1;
    pointer-events: none;
}

.book-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 50%, var(--accent-yellow) 100%);
    background-size: 100% 100%;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.5);
    color: #fff;
}

.book-btn:hover::before {
    height: 0;
    opacity: 0;
}

.book-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: white;
    border: 2px solid var(--primary-blue);
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 5px 0;
    transition: 0.3s;
}

/* Home Our Services – Centered on desktop with margin */
.home-services-section {
    background: var(--light-blue);
}

.home-services-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.home-services-section .services-grid {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.home-services-section .service-card-image img {
    object-position: center top;
}

@media (max-width: 768px) {
    .home-services-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Hero Carousel Section - Desktop Split Layout */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    max-height: 100vh;
    overflow: hidden;
    background: #1e3a8a;
    margin-bottom: 0;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    visibility: hidden;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    visibility: visible;
}

/* Split Layout Container */
.hero-split-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Left Sidebar (30%) */
.hero-sidebar {
    width: 30%;
    background: rgba(30, 64, 175, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-sidebar-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: white;
    align-items: center;
    text-align: center;
}

.hero-service-top {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInFromLeft 0.8s ease-out 0.2s forwards;
    text-align: center;
    width: 100%;
}

.hero-divider-line {
    width: 80%;
    height: 2px;
    background: white;
    margin: 8px 0;
    opacity: 0;
    transform: scaleX(0);
    animation: expandLine 0.6s ease-out 0.4s forwards;
    transform-origin: center;
}

.hero-services-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0;
    width: 100%;
}

.hero-service-left,
.hero-service-right {
    flex: 0 1 auto;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    text-align: center;
}

.hero-service-left {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-service-right {
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-service-divider {
    width: 2px;
    height: 40px;
    background: white;
    opacity: 0;
    transform: scaleY(0);
    animation: expandVertical 0.5s ease-out 0.7s forwards;
    transform-origin: top;
}

.hero-logo-section {
    text-align: center;
    margin: 15px 0;
    width: 100%;
}

.hero-logo-main {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s ease-out 1.2s forwards;
}

.hero-swagerlicious {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-yellow);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.6s forwards;
}

.hero-cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    width: 100%;
    flex-wrap: wrap;
}

.hero-book-btn {
    flex: 0 0 auto;
    background: white;
    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.8s forwards, buttonPulse 2s ease-in-out infinite 2.5s;
    position: relative;
    overflow: hidden;
}

.hero-book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

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

.hero-book-btn:hover {
    background: var(--accent-yellow);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

.hero-nav-arrows {
    display: flex;
    gap: 8px;
}

.hero-nav-arrow {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.6s ease-out 2s forwards;
}

.hero-nav-arrow:hover {
    background: white;
    color: var(--primary-blue);
}

/* Mobile-only CTA bar – hidden on desktop */
.hero-cta-mobile {
    display: none;
}

/* Right Main Content (70%) */
.hero-main-content {
    width: 70%;
    background: #1e3a8a;
    background-image: url('../images/gallery/WhatsApp Image 2025-12-26 at 2.11.46 PM.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: visible;
}

.hero-main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(30, 58, 138, 0.9) 100%);
    z-index: 1;
}

.hero-main-frame-left,
.hero-main-frame-right {
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
    background: white;
    z-index: 3;
}

.hero-main-frame-left {
    left: 0;
}

.hero-main-frame-right {
    right: 0;
}

.hero-quote-mark {
    position: absolute;
    left: 80px;
    bottom: 200px;
    font-size: 180px;
    color: white;
    opacity: 0;
    z-index: 2;
    font-family: Georgia, serif;
    line-height: 1;
    transform: scale(0.5) rotate(-10deg);
    animation: quoteMarkAppear 1s ease-out 0.5s forwards;
}

.hero-main-image {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 500px;
    z-index: 15;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: imageSlideIn 1.2s ease-out 0.8s forwards;
    filter: brightness(1.05);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-slide:not(.active) .hero-main-image {
    opacity: 0;
    pointer-events: none;
}

.hero-slide.active .hero-main-image {
    opacity: 1;
    pointer-events: auto;
}

.hero-main-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(251, 191, 36, 0.2));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active .hero-main-image::before {
    opacity: 1;
}

.hero-main-image .hero-slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
}

.hero-main-image .hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.hero-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 1s ease-in-out, transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.hero-slide.active .hero-main-image img {
    animation: imageFloat 3s ease-in-out infinite 2s;
    opacity: 1;
}

.hero-slide:not(.active) .hero-main-image img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-main-image:hover img {
    transform: scale(1.05);
}

.hero-tagline-main {
    position: absolute;
    left: 80px;
    bottom: 60px;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-yellow);
    text-transform: lowercase;
    line-height: 1.4;
    max-width: 350px;
    text-align: left;
    z-index: 3;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInFromLeft 1s ease-out 1.2s forwards;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--accent-yellow);
    width: 32px;
    border-radius: 6px;
    border-color: rgba(255, 255, 255, 0.6);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Hero Text Motion Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes expandLine {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes expandVertical {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes quoteMarkAppear {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    to {
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes imageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(100px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
    }
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Re-animate text on slide change */
.hero-slide.active .hero-service-top {
    animation: slideInFromLeft 0.8s ease-out 0.2s forwards;
}

.hero-slide.active .hero-divider-line {
    animation: expandLine 0.6s ease-out 0.4s forwards;
}

.hero-slide.active .hero-service-left {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-slide.active .hero-service-right {
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-slide.active .hero-service-divider {
    animation: expandVertical 0.5s ease-out 0.7s forwards;
}

.hero-slide.active .hero-logo-img {
    animation: scaleIn 0.8s ease-out 1.2s forwards;
}

.hero-slide.active .hero-swagerlicious {
    animation: fadeInUp 0.8s ease-out 1.6s forwards;
}

.hero-slide.active .hero-book-btn {
    animation: fadeInUp 0.8s ease-out 1.8s forwards;
}

.hero-slide.active .hero-nav-arrow {
    animation: scaleIn 0.6s ease-out 2s forwards;
}

.hero-slide.active .hero-quote-mark {
    animation: quoteMarkAppear 1s ease-out 0.5s forwards;
}

.hero-slide.active .hero-main-image {
    animation: imageSlideIn 1.2s ease-out 0.8s forwards;
}

.hero-slide.active .hero-tagline-main {
    animation: slideInFromLeft 1s ease-out 1.2s forwards;
}

/* Responsive Design for Hero */
@media (max-width: 1024px) {
    .hero-split-layout {
        flex-direction: column;
    }
    
    .hero-sidebar {
        width: 100%;
        padding: 40px 20px;
    }
    
    .hero-main-content {
        width: 100%;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-main-image {
        width: 300px;
        height: 400px;
        right: 30px;
    }
    
    .hero-tagline-main {
        left: 30px;
        bottom: 80px;
        font-size: 16px;
        max-width: 350px;
    }
    
    .hero-quote-mark {
        left: 30px;
        bottom: 150px;
        font-size: 120px;
    }
    
    /* About Page Tablet Styles */
    .about-hero-title {
        font-size: 48px;
    }
    
    .about-hero-subtitle {
        font-size: 20px;
    }
    
    .about-intro-modern {
        gap: 60px;
        padding: 0 30px;
    }
    
    .about-name {
        font-size: 42px;
    }
    
    .about-title {
        font-size: 28px;
    }
    
    .about-content {
        font-size: 18px;
    }
    
    .about-image-frame img {
        height: 550px;
    }
    
    .about-details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .about-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-cta-title {
        font-size: 42px;
    }
    
    .about-cta-text {
        font-size: 20px;
    }
    
    .services-page-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 24px;
        max-width: 720px;
    }
    
    .services-page-section .services-grid .service-card {
        max-width: none;
    }
}

/* Main Content Sections */
.section {
    padding: 100px 20px;
}

/* First section after hero - add extra top spacing */
.section:first-of-type {
    margin-top: 0;
    padding-top: 120px;
}

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

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-blue);
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Cursive section heading – elegant style (e.g. Recent Events) */
.section-title-cursive {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32px, 4.5vw, 42px);
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    margin: 0 0 40px;
    letter-spacing: 0.02em;
    font-style: italic;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================
   MODERN ABOUT PAGE STYLES
   ============================================ */

/* About Hero Section */
.about-hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-image: url('../images/gallery/hero.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.75) 0%, rgba(30, 58, 138, 0.85) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-hero-title {
    font-size: 64px;
    font-weight: 900;
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    animation: heroTitleFloat 3s ease-in-out infinite;
    letter-spacing: -1px;
    line-height: 1.1;
}

@keyframes heroTitleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.7;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* About Main Section */
.about-main-section {
    padding: 120px 40px;
    background: white;
}

.about-intro-modern {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: center;
    margin-bottom: 120px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.about-text-modern {
    animation: slideInFromLeft 1s ease-out;
    padding-right: 20px;
}

.about-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(30, 64, 175, 0.12);
    color: var(--primary-blue);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.about-name {
    font-size: 52px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.about-name .highlight {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.about-name .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--accent-yellow);
    opacity: 0.5;
    z-index: -1;
    animation: highlightExpand 1s ease-out 0.5s forwards;
    border-radius: 2px;
}

@keyframes highlightExpand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.about-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.2);
}

.about-content {
    font-size: 19px;
    line-height: 2;
    color: var(--text-light);
    font-weight: 400;
}

.about-content p {
    margin-bottom: 25px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content strong {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 20px;
}

.about-image-modern {
    position: relative;
    animation: slideInFromRight 1s ease-out;
}

.about-image-frame {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25), 0 0 60px rgba(30, 64, 175, 0.1);
    transform: perspective(1200px) rotateY(-8deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.about-image-frame:hover {
    transform: perspective(1200px) rotateY(0deg) scale(1.08);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3), 0 0 80px rgba(251, 191, 36, 0.2);
}

.about-image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.4) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.about-image-frame img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-frame:hover img {
    transform: scale(1.15);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(30, 64, 175, 0.05) 100%);
    z-index: 3;
    pointer-events: none;
}

/* About Details Section */
.about-details-section {
    padding: 120px 40px;
    background: var(--light-blue);
}

.about-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1300px;
    margin: 80px auto;
}

.about-detail-card {
    background: white;
    padding: 0 0 50px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.detail-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
    margin-bottom: 30px;
}

.detail-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.about-detail-card:hover .detail-image-wrapper img {
    transform: scale(1.05);
}

.about-detail-card h3,
.about-detail-card p {
    padding: 0 40px;
}

.about-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.1), transparent);
    transition: left 0.5s ease;
}

.about-detail-card:hover::before {
    left: 100%;
}

.about-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-detail-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-detail-card p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 400;
}

.about-detail-card p strong {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 18px;
}

/* Founder Section */
.about-founder-section {
    max-width: 1000px;
    margin: 100px auto 0;
    text-align: center;
    padding: 70px 60px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
    overflow: hidden;
}

.about-founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-yellow), var(--primary-blue));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.founder-content h2 {
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-weight: 900;
    letter-spacing: -1px;
}

.founder-content p {
    font-size: 20px;
    line-height: 2;
    color: var(--text-light);
    font-weight: 400;
}

.founder-content strong {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 21px;
}

/* About Gallery Section */
.about-gallery-section {
    padding: 120px 40px;
    background: white;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 80px auto 0;
}

.gallery-item-modern {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-gallery-section .gallery-item-modern:nth-child(6) .gallery-image-wrapper img {
    object-position: center top;
}

.gallery-item-modern:hover .gallery-image-wrapper img {
    transform: scale(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(30, 58, 138, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.gallery-item-modern:hover .gallery-overlay {
    opacity: 1;
}

.gallery-label {
    color: white;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-item-modern:hover .gallery-label {
    transform: translateY(0);
}

/* About CTA Section */
.about-cta-section {
    position: relative;
    padding: 140px 40px;
    background-image: url('../images/gallery/WhatsApp Image 2025-12-26 at 2.11.47 PM.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}

.about-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.75) 0%, rgba(30, 58, 138, 0.85) 100%);
    z-index: 1;
}

.about-cta-section .section-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.about-cta-title {
    font-size: 56px;
    font-weight: 900;
    color: white;
    margin-bottom: 30px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    letter-spacing: -1px;
    line-height: 1.2;
}

.about-cta-text {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.98);
    line-height: 2;
    margin-bottom: 50px;
    font-weight: 400;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta-btn {
    display: inline-block;
    padding: 20px 60px;
    background: var(--accent-yellow);
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 35px rgba(251, 191, 36, 0.5);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.about-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.about-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.about-cta-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.5);
}

/* About Section */
/* About Section Divider */
.about-section-divider {
    width: 100px;
    height: 2px;
    background: var(--text-light);
    margin: 0 auto 60px;
    opacity: 0.3;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.12), 0 2px 12px rgba(0, 0, 0, 0.08);
}

.about-image {
    border-radius: 0;
    overflow: hidden;
    min-height: 100%;
    display: flex;
    align-items: stretch;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* White Text Box – matches image height */
.about-text-box {
    background: white;
    border-radius: 0;
    padding: 48px 44px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: 100%;
    border-left: 1px solid var(--border-color);
}

.about-text-box::-webkit-scrollbar {
    width: 8px;
}

.about-text-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.about-text-box::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.about-text-box::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

.about-text-content {
    color: var(--text-dark);
}

.about-text-content h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.4;
}

.about-text-cursive {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
}

.about-text-content h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.about-text-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.about-text-content p + p {
    margin-top: 1em;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .home-services-section .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: var(--light-blue);
}

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

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card h3,
.service-card p,
.service-card ul,
.service-card .more-link {
    padding: 0 30px;
}

.service-card h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
}

.service-card .more-link {
    margin-bottom: 30px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.05), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.service-card h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 800;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.service-card .more-link {
    color: var(--primary-blue);
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.service-card .more-link:hover {
    color: var(--accent-yellow);
    transform: translateX(5px);
}

/* ============================================
   SERVICES PAGE – Hero, CTA, Fluid Motion
   ============================================ */

/* Services Hero Section – transparent overlay, classy motion */
.services-hero-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1e3a8a;
}

.services-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    animation: servicesHeroImageReveal 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes servicesHeroImageReveal {
    from { opacity: 0; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1); }
}

/* Lighter overlay so image shows through */
.services-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(30, 58, 138, 0.52) 0%,
        rgba(30, 64, 175, 0.48) 45%,
        rgba(30, 58, 138, 0.55) 100%
    );
    z-index: 1;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 32px;
    max-width: 820px;
    margin: 0 auto;
}

.services-hero-title {
    margin: 0 0 16px;
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.services-hero-title-line {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    animation: servicesHeroTitleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards,
               servicesHeroTitleFloat 6s ease-in-out 1.4s infinite;
}

@keyframes servicesHeroTitleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes servicesHeroTitleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.services-hero-underline {
    width: 0;
    height: 3px;
    margin: 0 auto 24px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.9), transparent);
    animation: servicesHeroUnderlineIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

@keyframes servicesHeroUnderlineIn {
    to { width: 120px; }
}

.services-hero-subtitle {
    margin: 0;
    font-size: clamp(17px, 2.2vw, 22px);
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.65;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: servicesHeroSubtitleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@keyframes servicesHeroSubtitleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TRAINING PAGE – Hero, Section, CTA
   ============================================ */

/* Training Hero – same classy motion, transparent overlay */
.training-hero-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1e3a8a;
}

.training-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.training-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    animation: trainingHeroImageReveal 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes trainingHeroImageReveal {
    from { opacity: 0; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1); }
}

.training-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(30, 58, 138, 0.52) 0%,
        rgba(30, 64, 175, 0.48) 45%,
        rgba(30, 58, 138, 0.55) 100%
    );
    z-index: 1;
}

.training-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 32px;
    max-width: 820px;
    margin: 0 auto;
}

.training-hero-title {
    margin: 0 0 16px;
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.training-hero-title-line {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    animation: trainingHeroTitleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards,
               trainingHeroTitleFloat 6s ease-in-out 1.4s infinite;
}

@keyframes trainingHeroTitleIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes trainingHeroTitleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.training-hero-underline {
    width: 0;
    height: 3px;
    margin: 0 auto 24px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.9), transparent);
    animation: trainingHeroUnderlineIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

@keyframes trainingHeroUnderlineIn {
    to { width: 120px; }
}

.training-hero-subtitle {
    margin: 0;
    font-size: clamp(17px, 2.2vw, 22px);
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.65;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: trainingHeroSubtitleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@keyframes trainingHeroSubtitleIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Training page section */
.training-page-section {
    padding: 100px 40px 80px;
    background: linear-gradient(180deg, #fff 0%, var(--light-blue) 12%, var(--light-blue) 100%);
}

.training-intro {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.training-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.training-grid {
    margin-top: 40px;
}

@media (min-width: 900px) {
    .training-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.training-page-section .training-grid .service-card {
    animation: serviceCardReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}

.training-page-section .training-grid .stagger-item:nth-child(1) { animation-delay: 0.1s; }
.training-page-section .training-grid .stagger-item:nth-child(2) { animation-delay: 0.2s; }
.training-page-section .training-grid .stagger-item:nth-child(3) { animation-delay: 0.3s; }

.training-page-section .service-card {
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.training-page-section .service-card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 24px 56px rgba(30, 64, 175, 0.18);
}

.training-page-section .service-card-image img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.training-page-section .service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.training-page-section .service-card-image img {
    object-position: center top;
}

.training-page-section .service-card h3,
.training-page-section .service-card p,
.training-page-section .service-card ul {
    padding-left: 20px;
    padding-right: 20px;
}

.training-page-section .service-card ul li {
    padding-left: 25px;
    padding-right: 20px;
    margin-bottom: 8px;
    position: relative;
}

/* Training CTA Box – image background */
.training-cta-box {
    position: relative;
    text-align: center;
    margin-top: 70px;
    padding: 70px 40px;
    border-radius: 24px;
    overflow: hidden;
    background-color: #1e40af;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.training-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.training-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.training-cta-box:hover {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.training-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.88) 0%, rgba(30, 64, 175, 0.9) 100%);
    z-index: 1;
}

.training-cta-content {
    position: relative;
    z-index: 2;
}

.training-cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.training-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.training-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.training-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Services Page Section – 3 per row, centralized, modern flair & motions */
.services-page-section {
    padding: 100px 40px 80px;
    background: linear-gradient(180deg, #fff 0%, var(--light-blue) 15%, var(--light-blue) 100%);
}

.services-page-section .section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.services-page-section .section-title,
.services-page-section .section-subtitle {
    text-align: center;
}

.services-page-section .section-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.services-page-section .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 32px;
    margin-top: 56px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.services-page-section .services-grid .service-card {
    animation: servicesCardReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    max-width: 360px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(30, 64, 175, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(30, 64, 175, 0.06),
                0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
}

.services-page-section .services-grid .stagger-item:nth-child(1) { animation-delay: 0.08s; }
.services-page-section .services-grid .stagger-item:nth-child(2) { animation-delay: 0.16s; }
.services-page-section .services-grid .stagger-item:nth-child(3) { animation-delay: 0.24s; }
.services-page-section .services-grid .stagger-item:nth-child(4) { animation-delay: 0.32s; }
.services-page-section .services-grid .stagger-item:nth-child(5) { animation-delay: 0.4s; }
.services-page-section .services-grid .stagger-item:nth-child(6) { animation-delay: 0.48s; }

@keyframes servicesCardReveal {
    from {
        opacity: 0;
        transform: translateY(48px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.services-page-section .service-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 32px 64px rgba(30, 64, 175, 0.14),
                0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(30, 64, 175, 0.2);
}

.services-page-section .service-card-image {
    border-radius: 20px 20px 0 0;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.services-page-section .service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.services-page-section .service-card:hover .service-card-image::after {
    opacity: 1;
}

.services-page-section .service-card-image img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-page-section .service-card:hover .service-card-image img {
    transform: scale(1.12);
}

.services-page-section .service-card h3,
.services-page-section .service-card p {
    text-align: center;
}

.services-page-section .service-card ul {
    text-align: left;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.services-page-section .services-grid .service-card:nth-child(1) .service-card-image img {
    object-position: center top;
}

.services-page-section .services-grid .service-card:nth-child(2) .service-card-image img,
.services-page-section .services-grid .service-card:nth-child(4) .service-card-image img,
.services-page-section .services-grid .service-card:nth-child(5) .service-card-image img,
.services-page-section .services-grid .service-card:nth-child(6) .service-card-image img {
    object-position: center top;
}

/* Services CTA Box – image background + fluid art */
.services-cta-box {
    position: relative;
    text-align: center;
    margin-top: 80px;
    padding: 70px 40px;
    border-radius: 24px;
    overflow: hidden;
    background-image: url('../images/gallery/WhatsApp Image 2025-12-26 at 2.11.51 PM.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-cta-box:hover {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.services-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.88) 0%, rgba(30, 64, 175, 0.9) 100%);
    z-index: 1;
}

.services-cta-content {
    position: relative;
    z-index: 2;
}

.services-cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.services-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.services-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.3s ease;
}

.services-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* CTA Section */
.cta-section {
    background-image: url('../images/gallery/WhatsApp Image 2025-12-26 at 2.11.46 PM.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(30, 58, 138, 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

.cta-section .section-container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 850px;
    margin: 0 auto 50px;
    line-height: 1.9;
    position: relative;
    z-index: 2;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 20px;
    background: var(--light-blue);
    position: relative;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 0 60px;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.testimonial-card {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateX(50px);
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: testimonialSlideIn 0.5s ease forwards;
}

@keyframes testimonialSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-yellow);
    flex-shrink: 0;
    background: var(--primary-blue);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating .star {
    color: var(--accent-yellow);
    font-size: 20px;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-date {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    text-align: right;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.testimonial-nav:hover {
    background: var(--dark-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

/* TikTok Style Add Button */
.testimonial-add-btn {
    position: absolute;
    bottom: -70px;
    right: 50%;
    transform: translateX(50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
    border: 4px solid white;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-add-btn:hover {
    transform: translateX(50%) scale(1.1) rotate(90deg);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.5);
}

.testimonial-add-btn svg {
    width: 28px;
    height: 28px;
    stroke-width: 3;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 80px;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-indicator.active {
    background: var(--accent-yellow);
    width: 30px;
    border-radius: 6px;
    border-color: var(--primary-blue);
}

.testimonial-indicator:hover {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Testimonial Modal */
.testimonial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.testimonial-modal.active {
    display: flex;
}

.testimonial-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.testimonial-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-blue);
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.testimonial-modal-close:hover {
    background: var(--primary-blue);
    color: white;
    transform: rotate(90deg);
}

.testimonial-modal-content h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    text-align: center;
}

.testimonial-modal-content .form-group {
    margin-bottom: 20px;
}

.testimonial-modal-content input,
.testimonial-modal-content textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.testimonial-modal-content input:focus,
.testimonial-modal-content textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.testimonial-modal-content label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.rating-input {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.rating-star {
    background: none;
    border: none;
    font-size: 32px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.rating-star:hover,
.rating-star.active {
    color: var(--accent-yellow);
    transform: scale(1.2);
}

.testimonial-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.testimonial-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

/* Footer – motion eccentric art: wheels + light passage */
.footer.footer-motion {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0d0d12 0%, #1a1a24 35%, #15151f 70%, #0f0f18 100%);
    color: white;
    padding: 60px 20px 30px;
}

.footer-motion-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 120%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(30, 64, 175, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse 50% 30% at 20% 100%, rgba(251, 191, 36, 0.06) 0%, transparent 40%);
    animation: footer-light-pulse 8s ease-in-out infinite;
}

@keyframes footer-light-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.footer-light-rays {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: repeating-linear-gradient(
        105deg,
        transparent 0px,
        transparent 2px,
        rgba(251, 191, 36, 0.03) 2px,
        rgba(251, 191, 36, 0.03) 4px
    );
    animation: footer-rays-move 20s linear infinite;
    pointer-events: none;
}

@keyframes footer-rays-move {
    0% { transform: translateX(0) skewX(-5deg); }
    100% { transform: translateX(-50px) skewX(-5deg); }
}

.footer-wheels {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.footer-wheel {
    position: absolute;
    color: rgba(255, 255, 255, 0.06);
}

.footer-wheel-1 {
    width: 180px;
    height: 180px;
    left: 5%;
    bottom: 10%;
    animation: footer-wheel-spin 25s linear infinite;
}

.footer-wheel-2 {
    width: 120px;
    height: 120px;
    right: 15%;
    bottom: 25%;
    animation: footer-wheel-spin 18s linear infinite reverse;
}

.footer-wheel-3 {
    width: 90px;
    height: 90px;
    right: 8%;
    bottom: 5%;
    animation: footer-wheel-spin 14s linear infinite;
}

@keyframes footer-wheel-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.footer-wheel .wheel-svg {
    width: 100%;
    height: 100%;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: white;
}

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

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.footer-social-svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   CONTACT PAGE – Hero, Motion, Social Icons
   ============================================ */

/* Contact Hero */
.contact-hero-section {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1e3a8a;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(30, 58, 138, 0.72) 0%, rgba(30, 64, 175, 0.68) 100%);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 32px;
}

.contact-hero-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.contact-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Contact page – motion eccentric art bg */
.contact-page-section {
    position: relative;
    padding: 80px 40px 100px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, var(--light-blue) 15%, #eef2ff 100%);
}

.contact-motion-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.contact-motion-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    animation: contactMotionFloat 12s ease-in-out infinite;
}

.contact-motion-1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    top: -80px;
    right: -60px;
    animation-delay: 0s;
}

.contact-motion-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-yellow) 0%, transparent 70%);
    bottom: 10%;
    left: -40px;
    animation-delay: 2s;
}

.contact-motion-3 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    top: 40%;
    right: 10%;
    animation-delay: 4s;
}

.contact-motion-4 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, var(--accent-yellow) 0%, transparent 70%);
    bottom: -60px;
    left: 30%;
    animation-delay: 1s;
}

@keyframes contactMotionFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 20px) scale(0.98); }
}

.contact-container {
    position: relative;
    z-index: 1;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-block {
    background: rgba(255, 255, 255, 0.92);
    padding: 36px 32px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.06);
}

.contact-info-title {
    font-size: 28px;
    color: var(--primary-blue);
    margin: 0 0 28px;
    font-weight: 800;
}

.contact-info-item {
    margin-bottom: 24px;
}

.contact-info-item:last-of-type {
    margin-bottom: 0;
}

.contact-info-item h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0 0 8px;
    font-weight: 600;
}

.contact-info-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

.contact-info-item a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-item a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

.contact-social-block {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(30, 64, 175, 0.1);
}

.contact-social-block h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0 0 16px;
    font-weight: 600;
}

.contact-social-icons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--light-blue);
    color: var(--primary-blue);
    transition: transform 0.3s ease, background 0.3s, color 0.3s;
    text-decoration: none;
}

.contact-social-icon:hover {
    transform: translateY(-4px) scale(1.05);
    background: var(--primary-blue);
    color: #fff;
}

.contact-icon-svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.contact-social-icon.social-fb:hover { background: #1877f2; color: #fff; }
.contact-social-icon.social-ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.contact-social-icon.social-tt:hover { background: #000; color: #fff; }
.contact-social-icon.social-wa:hover { background: #25d366; color: #fff; }
.contact-social-icon.social-email:hover { background: var(--primary-blue); color: #fff; }

.contact-form-block {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 36px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.06);
}

.contact-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
}

.contact-alert-success {
    background: #d4edda;
    color: #155724;
}

.contact-alert-error {
    background: #f8d7da;
    color: #721c24;
}

.contact-form-block .contact-form {
    max-width: 100%;
    margin: 0;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

.submit-btn {
    background: var(--primary-blue);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--dark-blue);
}

/* ============================================
   EVENTS PAGE – Hero, Grid, CTA
   ============================================ */

/* Events Hero – classy motion, transparent overlay */
.events-hero-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1e3a8a;
}

.events-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.events-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    animation: eventsHeroImageReveal 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes eventsHeroImageReveal {
    from { opacity: 0; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1); }
}

.events-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(30, 58, 138, 0.52) 0%,
        rgba(30, 64, 175, 0.48) 45%,
        rgba(30, 58, 138, 0.55) 100%
    );
    z-index: 1;
}

.events-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 32px;
    max-width: 820px;
    margin: 0 auto;
}

.events-hero-title {
    margin: 0 0 16px;
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.events-hero-title-line {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    animation: eventsHeroTitleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards,
               eventsHeroTitleFloat 6s ease-in-out 1.4s infinite;
}

@keyframes eventsHeroTitleIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes eventsHeroTitleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.events-hero-underline {
    width: 0;
    height: 3px;
    margin: 0 auto 24px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.9), transparent);
    animation: eventsHeroUnderlineIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

@keyframes eventsHeroUnderlineIn {
    to { width: 120px; }
}

.events-hero-subtitle {
    margin: 0;
    font-size: clamp(17px, 2.2vw, 22px);
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.65;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: eventsHeroSubtitleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@keyframes eventsHeroSubtitleIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Events page section */
.events-page-section {
    padding: 100px 40px 80px;
    background: linear-gradient(180deg, #fff 0%, var(--light-blue) 12%, var(--light-blue) 100%);
}

.events-page-section .event-card {
    animation: serviceCardReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}

.events-page-section .event-card:nth-child(1) { animation-delay: 0.05s; }
.events-page-section .event-card:nth-child(2) { animation-delay: 0.1s; }
.events-page-section .event-card:nth-child(3) { animation-delay: 0.15s; }
.events-page-section .event-card:nth-child(4) { animation-delay: 0.2s; }
.events-page-section .event-card:nth-child(5) { animation-delay: 0.25s; }
.events-page-section .event-card:nth-child(6) { animation-delay: 0.3s; }
.events-page-section .event-card:nth-child(7) { animation-delay: 0.35s; }
.events-page-section .event-card:nth-child(8) { animation-delay: 0.4s; }

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
    border: 1px solid rgba(30, 64, 175, 0.08);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(30, 64, 175, 0.15);
}

.event-image {
    height: 220px;
    background: var(--light-blue);
    overflow: hidden;
    display: block;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

.event-content {
    padding: 32px 28px 36px;
}

.event-content h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.event-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
}

/* Events CTA Box */
.events-cta-box {
    position: relative;
    text-align: center;
    margin-top: 70px;
    padding: 70px 40px;
    border-radius: 24px;
    overflow: hidden;
    background-color: #1e40af;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.events-cta-box:hover {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
}

.events-cta-box .events-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.events-cta-box .events-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.events-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.88) 0%, rgba(30, 64, 175, 0.9) 100%);
    z-index: 1;
}

.events-cta-content {
    position: relative;
    z-index: 2;
}

.events-cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.events-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 36px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.events-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.events-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Recent Events section – cursive heading, yellow border cards */
.recent-events-section {
    margin-top: 80px;
    padding: 60px 40px 70px;
    background: linear-gradient(180deg, rgba(230, 230, 255, 0.4) 0%, rgba(240, 242, 255, 0.6) 100%);
}

.recent-events-section .section-title-cursive {
    margin-bottom: 44px;
}

.recent-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1200px;
    margin: 0 auto;
}

.recent-events-section .recent-event-card {
    animation: serviceCardReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}

.recent-events-section .recent-event-card:nth-child(1) { animation-delay: 0.1s; }
.recent-events-section .recent-event-card:nth-child(2) { animation-delay: 0.2s; }
.recent-events-section .recent-event-card:nth-child(3) { animation-delay: 0.3s; }

.recent-event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--accent-yellow);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.recent-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30, 64, 175, 0.12);
}

.recent-event-image {
    height: 240px;
    overflow: hidden;
    background: var(--light-blue);
}

.recent-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.recent-event-card:hover .recent-event-image img {
    transform: scale(1.05);
}

.recent-event-content {
    padding: 28px 26px 32px;
    flex: 1;
}

.recent-event-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0 0 14px;
    line-height: 1.25;
}

.recent-event-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.recent-events-cta {
    text-align: center;
    margin-top: 40px;
}

.recent-events-ig-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #E1306C 0%, #C13584 50%, #833AB4 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.recent-events-ig-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.4);
    color: white;
}

.recent-event-content p strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        transition: right 0.3s;
        z-index: 200;
        overflow-y: auto;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-menu ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu ul li a,
    .nav-menu .services-toggle {
        display: block;
        padding: 15px 0;
        width: 100%;
    }

    .nav-link-inner::before,
    .services-toggle::before {
        display: none;
    }

    .header.header-motion {
        animation: none;
        background: #fafafa;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-blue);
        margin: 0;
        padding: 0;
        display: none;
    }

    .dropdown-menu li {
        border-bottom: none;
    }

    .dropdown-menu a {
        padding: 10px 20px;
    }

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

    .hero-carousel {
        height: auto;
        min-height: auto;
        position: relative;
        background: #1e3a8a;
        overflow: hidden;
    }
    
    .hero-slides {
        height: auto;
        position: relative;
    }
    
    .hero-slide {
        position: relative;
        height: auto;
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .hero-slide:not(.active) {
        display: none;
    }
    
    .hero-split-layout {
        flex-direction: column;
        height: auto;
        flex: 0 0 auto;
        gap: 0;
        position: relative;
        isolation: isolate;
    }
    
    /* Mobile: top blue block – text + logo + white frame (stays on top, no overlap) */
    .hero-sidebar {
        width: 100%;
        padding: 20px 16px 60px;
        background: #1e3a8a;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        flex: 0 0 auto;
        flex-shrink: 0;
        z-index: 2;
        isolation: isolate;
    }
    
    .hero-sidebar .hero-cta-section {
        display: none;
    }
    
    .hero-cta-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 20px 20px;
        background: #1e3a8a;
        flex: 0 0 auto;
        margin-top: -10px;
    }
    
    .hero-cta-mobile .hero-book-btn {
        background: white;
        color: var(--primary-blue);
        font-size: 16px;
        font-weight: 600;
        padding: 14px 32px;
        border: 2px solid white;
        border-radius: 8px;
        width: auto;
        min-width: 200px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .hero-cta-mobile .hero-book-btn:hover {
        background: var(--accent-yellow);
        color: var(--text-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .hero-cta-mobile .hero-nav-arrows {
        display: flex;
        gap: 8px;
        justify-content: center;
    }
    
    .hero-cta-mobile .hero-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 22px;
        border: 2px solid white;
        color: white;
        background: transparent;
    }
    
    /* What Our Clients Say – prevent mobile width overflow */
    .testimonials-section {
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .testimonials-section .section-container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    .testimonials-carousel-wrapper {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
    
    .testimonials-carousel {
        max-width: 100%;
    }
    
    .hero-sidebar-content {
        max-width: 100%;
        background: transparent;
        border: 2px dashed rgba(255, 255, 255, 0.9);
        border-radius: 10px;
        padding: 16px 14px 18px;
        position: relative;
        margin-bottom: 10px;
        gap: 8px;
    }
    
    .hero-service-top {
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 4px;
        letter-spacing: 1.2px;
    }
    
    .hero-divider-line {
        margin: 6px auto;
        height: 1px;
        width: 70%;
    }
    
    .hero-services-split {
        flex-direction: column;
        gap: 4px;
        margin: 6px 0;
        align-items: center;
        justify-content: center;
    }
    
    .hero-service-left,
    .hero-service-right {
        text-align: center;
        font-size: 13px;
        width: 100%;
        letter-spacing: 0.5px;
    }
    
    .hero-service-divider {
        display: none;
    }
    
    .hero-logo-section {
        margin: 10px 0 6px;
    }
    
    .hero-logo-img {
        max-width: 140px;
    }
    
    .hero-swagerlicious {
        font-size: 14px;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
        letter-spacing: 1px;
    }
    
    .hero-cta-section {
        gap: 6px;
        margin-top: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-book-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .hero-nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }
    
    /* Mobile: middle – full-width event image only, clearly below top text block */
    .hero-main-content {
        width: 100%;
        min-height: 500px;
        height: auto;
        background: transparent !important;
        background-image: none !important;
        background-attachment: scroll;
        position: relative;
        display: block;
        flex: 0 0 auto;
        overflow: visible;
        margin-top: 0;
        margin-bottom: 0;
        order: 2;
        flex-shrink: 0;
        z-index: 1;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .hero-sidebar {
        order: 1;
    }
    
    .hero-cta-mobile {
        order: 3;
    }
    
    /* Image and CTA block: positioned below sidebar with consistent spacing */
    .hero-split-layout .hero-main-content {
        margin-top: 0;
    }
    
    .hero-main-content .hero-main-overlay {
        display: none;
    }
    
    .hero-main-content .hero-main-image::before {
        display: none;
    }
    
    /* Disable all animations and transitions for hero image on mobile */
    .hero-slide .hero-main-content .hero-main-image,
    .hero-slide.active .hero-main-content .hero-main-image,
    .hero-slide:not(.active) .hero-main-content .hero-main-image {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-slide .hero-main-content .hero-main-image img,
    .hero-slide.active .hero-main-content .hero-main-image img,
    .hero-slide:not(.active) .hero-main-content .hero-main-image img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    .hero-main-content .hero-main-image {
        position: relative;
        right: auto;
        top: auto;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        height: 550px;
        max-height: 70vh;
        min-height: 500px;
        border-radius: 0;
        box-shadow: none;
        border: none;
        display: block;
        margin: 0;
        overflow: hidden;
        animation: none !important;
        opacity: 1 !important;
    }
    
    .hero-main-content .hero-main-image .hero-slide-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-main-content .hero-main-image img,
    .hero-main-content .hero-main-image .hero-slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        vertical-align: top;
        margin: 0;
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    .hero-main-content .hero-main-image:hover img {
        transform: none !important;
    }
    
    .hero-slide.active .hero-main-content .hero-main-image img {
        animation: none !important;
        transform: none !important;
    }
    
    .hero-main-content .hero-main-frame-left,
    .hero-main-content .hero-main-frame-right {
        display: none;
    }
    
    .hero-tagline-main {
        display: none;
    }
    
    .hero-quote-mark {
        display: none;
    }
    
    .carousel-indicators {
        display: none;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .indicator.active {
        width: 24px;
    }
    
    .cta-section {
        background-attachment: scroll;
        padding: 60px 20px;
    }
    
    .cta-section h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .cta-section p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 0 15px;
    }
    
    .home-services-section .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-page-section .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
        max-width: 420px;
    }
    
    .service-card {
        max-width: 100%;
    }
    
    .about-hero-section {
        min-height: 300px;
        background-attachment: scroll;
    }
    
    .about-hero-title {
        font-size: 36px;
    }
    
    .about-hero-subtitle {
        font-size: 18px;
    }
    
    .services-hero-section {
        min-height: 320px;
    }
    
    .services-hero-content {
        padding: 56px 20px 48px;
    }
    
    .services-hero-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .services-hero-underline {
        margin-bottom: 18px;
        height: 2px;
    }
    
    .services-hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .services-page-section {
        padding: 60px 20px 50px;
    }
    
    .services-cta-box {
        margin-top: 50px;
        padding: 50px 24px;
        border-radius: 20px;
    }
    
    .services-cta-content h2 {
        font-size: 26px;
    }
    
    .services-cta-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .training-hero-section {
        min-height: 320px;
    }
    
    .training-hero-content {
        padding: 56px 20px 48px;
    }
    
    .training-hero-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .training-hero-underline {
        margin-bottom: 18px;
        height: 2px;
    }
    
    .training-hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .training-page-section {
        padding: 60px 20px 50px;
    }
    
    .training-intro p {
        font-size: 16px;
    }
    
    .training-cta-box {
        margin-top: 50px;
        padding: 50px 24px;
        border-radius: 20px;
    }
    
    .training-cta-content h2 {
        font-size: 26px;
    }
    
    .training-cta-content p {
        font-size: 16px;
        margin-bottom: 28px;
    }
    
    .events-hero-section {
        min-height: 320px;
    }
    
    .events-hero-content {
        padding: 56px 20px 48px;
    }
    
    .events-hero-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .events-hero-underline {
        margin-bottom: 18px;
        height: 2px;
    }
    
    .events-hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .events-page-section {
        padding: 60px 20px 50px;
    }
    
    .events-grid {
        gap: 24px;
        margin-top: 36px;
    }
    
    .event-image {
        height: 180px;
    }
    
    .event-content {
        padding: 24px 20px 28px;
    }
    
    .event-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .event-content p {
        font-size: 15px;
    }
    
    .events-cta-box {
        margin-top: 50px;
        padding: 50px 24px;
        border-radius: 20px;
    }
    
    .events-cta-content h2 {
        font-size: 26px;
    }
    
    .events-cta-content p {
        font-size: 16px;
        margin-bottom: 28px;
    }
    
    .recent-events-section {
        margin-top: 50px;
        padding: 44px 20px 56px;
    }
    
    .recent-events-section .section-title-cursive {
        margin-bottom: 28px;
        font-size: 28px;
    }
    
    .recent-events-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .recent-event-image {
        height: 200px;
    }
    
    .recent-event-content {
        padding: 22px 20px 26px;
    }
    
    .recent-event-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .recent-event-content p {
        font-size: 15px;
    }
    
    .contact-hero-section {
        min-height: 300px;
    }
    
    .contact-hero-content {
        padding: 56px 20px;
    }
    
    .contact-hero-title {
        font-size: 28px;
    }
    
    .contact-hero-subtitle {
        font-size: 15px;
    }
    
    .contact-page-section {
        padding: 44px 20px 60px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 100%;
    }
    
    .contact-info-block {
        padding: 28px 24px;
        border-radius: 16px;
    }
    
    .contact-info-title {
        font-size: 24px;
        margin-bottom: 22px;
    }
    
    .contact-info-item {
        margin-bottom: 20px;
    }
    
    .contact-info-item h3 {
        font-size: 16px;
    }
    
    .contact-info-item p,
    .contact-info-item a {
        font-size: 15px;
    }
    
    .contact-social-block {
        margin-top: 22px;
        padding-top: 20px;
    }
    
    .contact-social-block h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .contact-social-icon {
        width: 44px;
        height: 44px;
    }
    
    .contact-icon-svg {
        width: 22px;
        height: 22px;
    }
    
    .contact-form-block {
        padding: 28px 22px;
        border-radius: 16px;
    }
    
    .contact-form-block .contact-form,
    .contact-form {
        padding: 24px 0 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 14px 32px;
        font-size: 17px;
    }
    
    .about-intro-modern {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }
    
    .about-name {
        font-size: 32px;
    }
    
    .about-title {
        font-size: 22px;
    }
    
    .about-content {
        font-size: 16px;
    }
    
    .about-image-frame {
        transform: none;
    }
    
    .about-image-frame img {
        height: 400px;
    }
    
    .about-details-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .about-detail-card {
        padding: 0 0 30px;
    }
    
    .detail-image-wrapper {
        height: 180px;
        margin-bottom: 20px;
    }
    
    .about-detail-card h3,
    .about-detail-card p {
        padding: 0 20px;
    }
    
    .about-detail-card h3 {
        font-size: 20px;
    }
    
    .about-founder-section {
        padding: 40px 20px;
        margin: 40px 15px 0;
    }
    
    .founder-content h2 {
        font-size: 28px;
    }
    
    .founder-content p {
        font-size: 16px;
    }
    
    .about-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .gallery-image-wrapper {
        height: 250px;
    }
    
    .about-cta-section {
        background-attachment: scroll;
        padding: 60px 20px;
    }
    
    .about-cta-title {
        font-size: 32px;
    }
    
    .about-cta-text {
        font-size: 16px;
    }
    
    .about-cta-btn {
        padding: 14px 35px;
        font-size: 16px;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 15px;
        min-height: 0;
        border-radius: 12px;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 0;
        min-height: 0;
    }
    
    .about-image img {
        height: auto;
        min-height: 0;
    }
    
    .about-text-box {
        order: 2;
        padding: 30px 20px;
        max-height: none;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .section {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .testimonials-section {
        padding: 60px 15px;
        overflow-x: hidden;
    }
    
    .testimonials-carousel-wrapper {
        padding: 0 15px;
        margin: 30px auto;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .testimonial-card {
        padding: 25px 18px;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .testimonial-prev {
        left: -5px;
    }
    
    .testimonial-next {
        right: -5px;
    }
    
    .testimonial-add-btn {
        width: 48px;
        height: 48px;
        bottom: -60px;
        border-width: 3px;
    }
    
    .testimonial-add-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .testimonial-indicators {
        margin-top: 70px;
        gap: 8px;
    }
    
    .testimonial-indicator {
        width: 10px;
        height: 10px;
    }
    
    .testimonial-indicator.active {
        width: 24px;
    }
    
    .testimonial-modal-content {
        padding: 30px 20px;
        max-width: 95%;
        margin: 20px;
    }
    
    .testimonial-modal-content h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    
    .testimonial-info h4 {
        font-size: 16px;
    }
    
    .testimonial-role {
        font-size: 12px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .testimonial-rating .star {
        font-size: 18px;
    }
    
    .rating-star {
        font-size: 28px;
    }
    
    .hero-cta-mobile .hero-book-btn {
        white-space: nowrap;
    }
    
    .hero-cta-mobile .hero-nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .hero-services-item {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .hero-tagline {
        font-size: 22px;
    }
    
    .hero-logo img {
        height: 70px;
    }

    .about-intro {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    
    .about-image img {
        height: auto;
        min-height: 0;
    }
    
    .about-text-box {
        padding: 30px 25px;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .about-text-content h2 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .about-text-content h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .about-text-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .section {
        padding: 40px 15px;
    }
    
    .section:first-of-type {
        padding-top: 40px;
    }

    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .home-services-section .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        border-radius: 12px;
    }
    
    .service-card-image {
        height: 220px;
        border-radius: 12px 12px 0 0;
    }
    
    .service-card h3 {
        font-size: 22px;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .service-card h3,
    .service-card p,
    .service-card ul,
    .service-card .more-link {
        padding: 0 20px;
    }
    
    .service-card .more-link {
        margin-bottom: 20px;
    }

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

    .footer-wheel-1 { width: 100px; height: 100px; left: -10%; bottom: 5%; opacity: 0.5; }
    .footer-wheel-2 { width: 70px; height: 70px; right: -5%; bottom: 15%; opacity: 0.5; }
    .footer-wheel-3 { width: 50px; height: 50px; right: -5%; bottom: 0; opacity: 0.4; }

    .services-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--dark-blue);
}

/* Loading States */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

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

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

/* Form Enhancements */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

/* Print Styles */
@media print {
    .top-bar,
    .header,
    .footer,
    .scroll-to-top,
    .book-btn {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* ============================================
   MODERN MOTION & ANIMATION EFFECTS
   ============================================ */

/* Scroll-triggered Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation for Grid Items */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }
.stagger-item:nth-child(7) { transition-delay: 0.7s; }
.stagger-item:nth-child(8) { transition-delay: 0.8s; }

/* Hero Section Animations */
.hero-content {
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-services-item {
    animation: slideInFromTop 0.8s ease-out backwards;
}

.hero-services-item:nth-child(1) { animation-delay: 0.2s; }
.hero-services-item:nth-child(2) { animation-delay: 0.4s; }
.hero-services-item:nth-child(3) { animation-delay: 0.6s; }
.hero-services-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    animation: logoPulse 1s ease-out 1s backwards;
}

@keyframes logoPulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-tagline {
    animation: fadeInUp 1s ease-out 1.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parallax Effect for Hero Background */
.hero::before {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Service Card Enhanced Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
}

/* Image Hover Effects */
.about-image img,
.event-image img,
.gallery-item img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.about-image:hover img,
.event-image:hover img,
.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ============================================
   GALLERY PAGE – Video Hero, Flip-Back Cards
   ============================================ */

/* Gallery Video Hero */
.gallery-video-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1e3a8a;
}

.gallery-video-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gallery-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.gallery-video-hero-poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.gallery-video-hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* When video has a source and is playing, hide poster via JS or :has - for now poster shows if no video */
.gallery-video-hero-media:has(.gallery-hero-video[src]) .gallery-video-hero-poster {
    display: none;
}

.gallery-video-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(30, 58, 138, 0.72) 0%, rgba(30, 64, 175, 0.68) 100%);
    z-index: 2;
}

.gallery-video-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 80px 32px;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-video-hero-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.gallery-video-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.5;
}

/* Gallery page section */
.gallery-page-section {
    padding: 100px 40px 80px;
    background: linear-gradient(180deg, #fff 0%, var(--light-blue) 10%, var(--light-blue) 100%);
}

/* Flip-back gallery grid */
.gallery-flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 50px;
    perspective: 1200px;
}

.gallery-flip-card {
    height: 280px;
    cursor: pointer;
    perspective: 1000px;
}

.gallery-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.gallery-flip-card:hover .gallery-flip-inner {
    transform: rotateY(180deg);
}

.gallery-flip-front,
.gallery-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}

.gallery-flip-front {
    background: var(--light-blue);
}

.gallery-flip-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-flip-back-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.gallery-flip-back-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.55) 0%, rgba(30, 58, 138, 0.6) 100%);
    pointer-events: none;
}

.gallery-flip-back-content {
    position: relative;
    z-index: 1;
}

.gallery-flip-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.gallery-page-section .gallery-flip-back-img {
    object-position: center top;
}

.gallery-flip-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Video-only cards: no flip, native controls, caption below */
.gallery-video-card {
    cursor: default;
    height: auto;
    min-height: 280px;
}

.gallery-video-card:hover .gallery-video-card-inner {
    transform: none;
}

.gallery-video-card-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
    background: #000;
    position: relative;
    z-index: 1;
}

.gallery-video-card {
    perspective: none;
}

.gallery-video-card .gallery-video-card-inner {
    transform: none !important;
}

.gallery-video-card-media {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px;
    object-fit: cover;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 2;
    background: var(--light-blue);
    flex-shrink: 0;
}

.gallery-video-card-media::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.gallery-video-card-caption {
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
    text-align: center;
}

.gallery-video-card-caption .gallery-flip-title {
    margin-bottom: 4px;
    font-size: 16px;
}

.gallery-video-card-caption .gallery-flip-category {
    font-size: 13px;
}

.gallery-flip-back-content {
    padding: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}


.gallery-flip-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.gallery-flip-category {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

/* Staggered reveal for flip cards */
.gallery-page-section .gallery-flip-card {
    animation: galleryFlipReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}

.gallery-page-section .gallery-flip-card:nth-child(1) { animation-delay: 0.02s; }
.gallery-page-section .gallery-flip-card:nth-child(2) { animation-delay: 0.04s; }
.gallery-page-section .gallery-flip-card:nth-child(3) { animation-delay: 0.06s; }
.gallery-page-section .gallery-flip-card:nth-child(4) { animation-delay: 0.08s; }
.gallery-page-section .gallery-flip-card:nth-child(5) { animation-delay: 0.1s; }
.gallery-page-section .gallery-flip-card:nth-child(6) { animation-delay: 0.12s; }
.gallery-page-section .gallery-flip-card:nth-child(7) { animation-delay: 0.14s; }
.gallery-page-section .gallery-flip-card:nth-child(8) { animation-delay: 0.16s; }
.gallery-page-section .gallery-flip-card:nth-child(9) { animation-delay: 0.18s; }
.gallery-page-section .gallery-flip-card:nth-child(10) { animation-delay: 0.2s; }
.gallery-page-section .gallery-flip-card:nth-child(n+11) { animation-delay: 0.22s; }

@keyframes galleryFlipReveal {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Gallery CTA box */
.gallery-cta-box {
    text-align: center;
    margin-top: 70px;
    padding: 60px 40px;
    background: var(--light-blue);
    border-radius: 20px;
}

.gallery-cta-box h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 800;
}

.gallery-cta-box p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Gallery Styles (legacy / other pages) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: var(--light-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-item-category {
    font-size: 14px;
    opacity: 0.9;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Button Pulse Animation */
.book-btn {
    position: relative;
    overflow: hidden;
}

.book-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.book-btn:hover::after {
    width: 300px;
    height: 300px;
}

.book-btn:active {
    transform: scale(0.98);
}

/* Loading Skeleton Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Floating Animation for Decorative Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Section Title Animation */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--primary-blue));
    border-radius: 3px;
    transition: transform 0.8s ease-out;
}

.section-title.visible::after {
    transform: translateX(-50%) scaleX(1);
}

/* Service Card List Styling */
.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
    font-size: 18px;
}

.service-card ul li {
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    padding-left: 25px;
}

/* Responsive Animation Adjustments */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-video-hero {
        min-height: 320px;
    }
    
    .gallery-video-hero-content {
        padding: 56px 20px;
    }
    
    .gallery-video-hero-title {
        font-size: 28px;
    }
    
    .gallery-video-hero-subtitle {
        font-size: 16px;
    }
    
    .gallery-page-section {
        padding: 60px 20px 50px;
    }
    
    .gallery-flip-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 18px;
        margin-top: 36px;
    }
    
    .gallery-flip-card {
        height: 240px;
    }
    
    .gallery-flip-title {
        font-size: 16px;
    }
    
    .gallery-flip-category {
        font-size: 13px;
    }
    
    .gallery-cta-box {
        margin-top: 50px;
        padding: 44px 24px;
    }
    
    .gallery-cta-box h2 {
        font-size: 26px;
    }
    
    .gallery-cta-box p {
        font-size: 16px;
    }
    
    .stagger-item:nth-child(n) {
        transition-delay: 0s;
    }
}

