/* ============================================
   Becky's Chic Collective - Modern Fashion Website
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-color: #c9a961;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bg-light);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1001;
    overflow: hidden;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 70px;
}

.hero-video,
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.65));
    z-index: 0;
    pointer-events: none;
}

.hero-video,
.hero-image {
    will-change: transform;
}

/* Parallax effect for hero */
@media (min-width: 768px) {
    .hero-video,
    .hero-image {
        transition: transform 0.3s ease-out;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 3rem 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-audio-controls {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-audio-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.45);
    color: white;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.hero-audio-btn svg {
    stroke-width: 1.5;
}

.hero-audio-btn:hover {
    transform: translateY(-2px);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.hero-audio-btn.active {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .hero-audio-controls {
        gap: 0.75rem;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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 ease, height 0.6s ease;
    z-index: -1;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Button secondary on light backgrounds */
.section .btn-secondary,
.about-content .btn-secondary,
.contact-wrapper .btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    backdrop-filter: blur(10px);
}

.section .btn-secondary:hover,
.about-content .btn-secondary:hover,
.contact-wrapper .btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

/* Section spacing improvements */
.section + .section {
    margin-top: 0;
}

/* Remove gap before footer */
.section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 6rem;
}

.footer {
    margin-top: 0 !important;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    font-weight: 400;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    animation: expandLine 0.8s ease-out;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Gallery Grid - Masonry Style */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    grid-auto-rows: auto;
}

/* Staggered grid effect */
.gallery-grid .gallery-item:nth-child(3n+1) {
    grid-row: span 1;
}

.gallery-grid .gallery-item:nth-child(3n+2) {
    grid-row: span 1;
}

.gallery-grid .gallery-item:nth-child(3n+3) {
    grid-row: span 1;
}

/* Loading Skeleton */
.image-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 12px;
    aspect-ratio: 4/5;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/5;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-white);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(201, 169, 97, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover::before {
    opacity: 1;
}

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

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.15);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

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

.gallery-item-overlay h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.gallery-item-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .video-play-overlay {
    background: rgba(212, 175, 55, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.gallery-item.video-item {
    position: relative;
}

/* Media Type Tabs */
.media-type-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.media-tab-btn {
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.media-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.media-tab-btn:hover,
.media-tab-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--secondary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.filter-btn.active::before {
    width: 300px;
    height: 300px;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    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.4), transparent);
    transition: left 0.5s ease;
}

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Core Values Cards - Brand Colors */
.core-value-card {
    border: none;
}

.core-value-gold {
    background: linear-gradient(135deg, #d4af37, #c9a961);
    color: #1a1a1a;
}

.core-value-gold h4 {
    color: #1a1a1a;
    font-weight: 600;
}

.core-value-gold p {
    color: #2c2c2c;
}

.core-value-black {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    color: #ffffff;
}

.core-value-black h4 {
    color: #d4af37;
    font-weight: 600;
}

.core-value-black p {
    color: rgba(255, 255, 255, 0.9);
}

.core-value-white {
    background: #ffffff;
    color: #1a1a1a;
    border: 2px solid #d4af37;
}

.core-value-white h4 {
    color: #1a1a1a;
    font-weight: 600;
}

.core-value-white p {
    color: #2c2c2c;
}

.core-value-light-gold {
    background: linear-gradient(135deg, #f5e6d3, #e8d5b7);
    color: #1a1a1a;
}

.core-value-light-gold h4 {
    color: #1a1a1a;
    font-weight: 600;
}

.core-value-light-gold p {
    color: #2c2c2c;
}

.core-value-dark {
    background: linear-gradient(135deg, #2c2c2c, #3a3a3a);
    color: #ffffff;
}

.core-value-dark h4 {
    color: #d4af37;
    font-weight: 600;
}

.core-value-dark p {
    color: rgba(255, 255, 255, 0.85);
}

.core-value-gold-gradient {
    background: linear-gradient(135deg, #d4af37, #f4d03f, #d4af37);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: #1a1a1a;
}

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

.core-value-gold-gradient h4 {
    color: #1a1a1a;
    font-weight: 600;
}

.core-value-gold-gradient p {
    color: #2c2c2c;
}

/* Override hover for core value cards */
.core-value-gold:hover,
.core-value-light-gold:hover,
.core-value-gold-gradient:hover {
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
}

.core-value-black:hover,
.core-value-dark:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.core-value-black:hover h4,
.core-value-dark:hover h4 {
    color: #d4af37;
}

.core-value-black:hover p,
.core-value-dark:hover p {
    color: #d4af37;
}

.core-value-white:hover {
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    border-color: #c9a961;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(201, 169, 97, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(201, 169, 97, 0.2));
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    margin-top: 3rem;
}

.about-content > div:first-child {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content > div:first-child.about-image {
    padding-right: 0;
}

.about-content > div:last-child {
    padding-left: 0;
}

.about-content > div:last-child.about-image {
    padding-left: 0;
}

.about-content h2 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.0625rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    height: 100%;
    min-height: 420px;
    width: 100%;
    flex-shrink: 0;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(201, 169, 97, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 50px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

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

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

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.8;
    font-family: var(--font-heading);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: linear-gradient(135deg, #d4af37, #1a1a1a);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.contact-form h3 {
    color: #ffffff;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #c9a961);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

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

.form-group input:invalid:not(:placeholder-shown):not(:focus),
.form-group textarea:invalid:not(:placeholder-shown):not(:focus) {
    border-color: #f44336;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c2c2c' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.form-group select option:first-child {
    color: #999;
}

.form-group select:invalid {
    color: #999;
}

.form-group select:valid:not([value=""]) {
    color: var(--text-dark);
}

/* Form Success/Error Messages */
.contact-form > div[style*="background: #d4edda"],
.contact-form > div[style*="background: #f8d7da"] {
    padding: 1.25rem 1.5rem !important;
    border-radius: 12px !important;
    margin-bottom: 2rem !important;
    border: 2px solid !important;
    font-size: 0.9375rem;
    line-height: 1.6;
    animation: slideInFromTop 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form > div[style*="background: #d4edda"] {
    background: linear-gradient(135deg, #d4edda, #c3e6cb) !important;
    color: #155724 !important;
    border-color: #c3e6cb !important;
}

.contact-form > div[style*="background: #f8d7da"] {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb) !important;
    color: #721c24 !important;
    border-color: #f5c6cb !important;
}

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

/* Form Label Required Indicator */
.form-group label:has(+ input[required]),
.form-group label:has(+ textarea[required]),
.form-group label:has(+ select[required]) {
    position: relative;
}

.form-group label:has(+ input[required])::after,
.form-group label:has(+ textarea[required])::after,
.form-group label:has(+ select[required])::after {
    content: ' *';
    color: var(--secondary-color);
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.info-item.learn-card {
    background: linear-gradient(135deg, #d4af37, #c9a961);
    border: none;
    color: #1a1a1a;
}

.info-item.learn-card h4 {
    color: #1a1a1a;
    font-weight: 600;
}

.info-item.learn-card p,
.info-item.learn-card ul li {
    color: #2c2c2c;
}

.info-item.benefits-card {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    border: none;
    color: #ffffff;
}

.info-item.benefits-card h4 {
    color: #d4af37;
    font-weight: 600;
}

.info-item.benefits-card p,
.info-item.benefits-card ul li {
    color: rgba(255, 255, 255, 0.9);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-item.contact-gold:hover,
.info-item.contact-black:hover,
.info-item.contact-white:hover {
    background: inherit;
}

.info-item.learn-card:hover {
    background: linear-gradient(135deg, #d4af37, #c9a961);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
    transform: translateX(5px) translateY(-5px);
}

.info-item.benefits-card:hover {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(5px) translateY(-5px);
}

.info-item.benefits-card:hover h4 {
    color: #d4af37;
}

/* Contact Info Cards - Brand Colors */
.info-item.contact-gold {
    background: linear-gradient(135deg, #d4af37, #c9a961);
    border: none;
    color: #1a1a1a;
}

.info-item.contact-gold h4 {
    color: #1a1a1a;
    font-weight: 600;
}

.info-item.contact-gold p,
.info-item.contact-gold a {
    color: #2c2c2c;
}

.info-item.contact-gold svg {
    color: #1a1a1a;
}

.info-item.contact-black {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    border: none;
    color: #ffffff;
}

.info-item.contact-black h4 {
    color: #d4af37;
    font-weight: 600;
}

.info-item.contact-black p,
.info-item.contact-black a {
    color: rgba(255, 255, 255, 0.9);
}

.info-item.contact-black svg {
    color: #d4af37;
}

.info-item.contact-white {
    background: #ffffff;
    border: 2px solid #d4af37;
    color: #1a1a1a;
}

.info-item.contact-white h4 {
    color: #1a1a1a;
    font-weight: 600;
}

.info-item.contact-white p,
.info-item.contact-white a {
    color: #2c2c2c;
}

.info-item.contact-white svg {
    color: #d4af37;
}

.info-item.contact-gold:hover {
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
    transform: translateX(5px) translateY(-5px);
}

.info-item.contact-black:hover {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(5px) translateY(-5px);
}

.info-item.contact-black:hover p,
.info-item.contact-black:hover a {
    color: rgba(255, 255, 255, 0.9);
}

.info-item.contact-black:hover h4 {
    color: #d4af37;
}

.info-item.contact-black:hover svg {
    color: #d4af37;
}

.info-item.contact-white:hover {
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    border-color: #c9a961;
    transform: translateX(5px) translateY(-5px);
}

.info-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.info-item:hover svg {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), #0f0f0f);
    color: white;
    padding: 5rem 0 2rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.9);
}

.social-links a svg {
    fill: currentColor;
    stroke: currentColor;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links a:hover svg {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

/* Social links on light backgrounds (like contact page) */
.contact-info .social-links a,
.contact-form .social-links a {
    background: var(--bg-light);
    color: var(--text-dark);
}

.contact-info .social-links a svg,
.contact-form .social-links a svg {
    fill: var(--text-dark);
    stroke: var(--text-dark);
}

.contact-info .social-links a:hover,
.contact-form .social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.contact-info .social-links a:hover svg,
.contact-form .social-links a:hover svg {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

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

.tagline {
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 400;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.back-to-top:active {
    transform: translateY(-5px) scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
    line-height: 1;
    padding: 0;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg) scale(1.1);
    color: var(--secondary-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInMenu 0.4s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }
    
    @keyframes slideInMenu {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-info {
        order: -1; /* Show contact info first on mobile */
    }
    
    .contact-form {
        order: 1; /* Show form second on mobile */
    }
    
    .about-content > div:first-child,
    .about-content > div:last-child {
        padding: 0;
    }
    
    .about-image {
        min-height: auto;
        height: auto;
    }
    
    .about-image img {
        height: auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Testimonials Carousel Section */
.testimonials-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.testimonial-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide:first-child {
    display: block;
    opacity: 1;
}

.testimonial-image-card {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-image-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-image-card img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.testimonial-image-card:hover .testimonial-overlay {
    opacity: 1;
}

.testimonial-view-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
}

.testimonial-view-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
}

.testimonial-nav:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.testimonial-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-prev {
    left: 10px;
}

.testimonial-next {
    right: 10px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--secondary-color);
    width: 30px;
    border-radius: 6px;
}

.testimonial-dot:hover {
    background: var(--accent-color);
}

/* Certificates Section */
.certificates-section {
    background: linear-gradient(135deg, var(--primary-color), var(--text-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.certificates-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

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

.certificates-section .section-title h2 {
    color: white;
}

.certificates-section .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.certificate-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.certificate-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.certificate-card:hover::after {
    opacity: 1;
}

.certificate-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(212, 175, 55, 0.4);
}

.certificate-image-wrapper {
    position: relative;
    overflow: hidden;
}

.certificate-info {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.nigeria-flag-icon {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    margin-bottom: 1rem;
}

.certificate-pdf svg {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.certificate-icon {
    margin-bottom: 0.5rem;
}

.certificate-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.certificate-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1rem;
}

.certificate-country {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.certificate-type {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.certificate-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.certificate-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    line-height: 1.6;
}

.certificate-image {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
}

.certificate-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.02);
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.certificate-card:hover .certificate-overlay {
    opacity: 1;
}

.certificate-view-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
}

.certificate-view-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.certificates-section .btn-primary,
.certificates-section .btn-secondary {
    width: 100%;
    justify-content: center;
}

.certificates-section .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.certificates-section .btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

/* Facebook Feed Section */
.facebook-feed-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 2rem;
    min-height: 480px;
    width: 100%;
}

.facebook-feed-content {
    background: linear-gradient(135deg, #d4af37, #c9a961);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: none;
    color: #1a1a1a;
}

.facebook-feed-content h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.facebook-feed-content p {
    color: #2c2c2c;
    margin-bottom: 1.25rem;
}

.facebook-feed-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.facebook-feed-content ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.facebook-feed-content ul li::before {
    content: '•';
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: bold;
}

.facebook-feed-content .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: auto;
    margin-top: 1.5rem;
    background: #1a1a1a;
    color: #d4af37;
    border: 2px solid #1a1a1a;
}

.facebook-feed-content .btn-secondary:hover {
    background: #2c2c2c;
    border-color: #2c2c2c;
    color: #d4af37;
}

.facebook-feed-widget {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 1rem;
    overflow: hidden;
}

.facebook-feed-widget .fb-page {
    width: 100% !important;
}

.facebook-feed-widget iframe,
.facebook-feed-widget span,
.facebook-feed-widget div {
    max-width: 100% !important;
}

/* Force Facebook widget inner container to be full width */
.fb_iframe_widget > span,
.fb_iframe_widget > span > iframe,
.fb_iframe_widget,
.fb-page,
div._2p3a {
    width: 100% !important;
    min-width: 100% !important;
}

.facebook-feed-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

.widget-wrapper ._2p3a {
    min-width: 100% !important;
    width: 100% !important;
}

._2p3a {
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}


/* Custom Facebook Posts Grid (for Graph API method) */
.facebook-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.facebook-post-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.facebook-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.facebook-post-card img {
    width: 100%;
    height: auto;
    display: block;
}

.facebook-post-content {
    padding: 1.5rem;
}

.facebook-post-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.facebook-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-light);
}

.facebook-post-date {
    font-weight: 500;
}

.facebook-post-stats {
    display: flex;
    gap: 1rem;
}

.facebook-post-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        padding: 0 1rem;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-prev {
        left: -20px;
    }
    
    .testimonial-next {
        right: -20px;
    }
    
    .testimonial-image-card img {
        max-height: 400px;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-card {
        grid-template-columns: 1fr;
    }
    
    .certificate-image-wrapper {
        min-height: 300px;
        order: 2; /* Display image at the bottom */
    }
    
    .certificate-info {
        padding: 2rem 1.5rem;
        order: 1; /* Display info at the top */
    }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .media-type-tabs {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .media-tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .video-play-overlay {
        width: 60px;
        height: 60px;
    }
    
    .video-play-overlay svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .media-type-tabs {
        gap: 0.5rem;
    }
    
    .media-tab-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Responsive Facebook Feed */
@media (max-width: 1024px) {
    .facebook-feed-wrapper {
        grid-template-columns: 1.5fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .facebook-feed-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: 400px;
    }
    
    .facebook-feed-content {
        padding: 2rem;
    }
    
    .facebook-feed-content .btn-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: auto;
    }
    
    .facebook-feed-widget {
        padding: 0;
        box-shadow: none;
    }
    
    .facebook-feed-wrapper .fb-page {
        max-width: 100%;
    }
    
    .facebook-feed-wrapper iframe,
    .facebook-feed-wrapper span {
        max-width: 100% !important;
    }
    .facebook-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Image Loading States */
img.loading {
    filter: blur(10px);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

img.loaded {
    filter: blur(0);
    opacity: 1;
}

img.error {
    opacity: 0.5;
    background: var(--bg-light);
}

/* Smooth Page Transitions */
* {
    scroll-behavior: smooth;
}

/* Enhanced Focus States for Accessibility */
*:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection Styling */
::selection {
    background: var(--secondary-color);
    color: var(--primary-color);
}

::-moz-selection {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Smooth Scrollbar Styling (Webkit) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Enhanced section spacing */
.section:nth-child(even) {
    background: var(--bg-light);
}

/* Performance optimizations */
.gallery-item,
.service-card,
.certificate-card {
    will-change: transform;
}

/* CEO Photos Grid */
.ceo-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.ceo-photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ceo-photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

@media (max-width: 768px) {
    .ceo-photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


