@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors - Premium Luxury Gold Palette */
    --primary-color: #D4AF37; /* Gold */
    --primary-dark: #AA8C2C; /* Darker Gold */
    --primary-light: #F9F1D8; /* Pale Gold */
    --secondary-color: #0f172a; /* Deep Navy/Black for contrast */
    --accent-color: #D4AF37; /* Gold as accent */
    --success: #0f9d58;
    
    /* Neutral Palette */
    --dark: #000000;
    --text-main: #e2e8f0; /* Light text for dark mode */
    --text-muted: #94a3b8;
    --bg-light: #1e293b; /* Dark Slate */
    --bg-white: rgba(255, 255, 255, 0.03); /* Ultra transparent for glass */
    --border-soft: rgba(212, 175, 55, 0.2); /* Gold border */
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #BF953F 0%, #FCF6BA 40%, #B38728 100%); /* Metallic Gold */
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Spacing System */
    --space-unit: 1rem;
    --space-xs: calc(var(--space-unit) * 0.5);
    --space-sm: var(--space-unit);
    --space-md: calc(var(--space-unit) * 2);
    --space-lg: calc(var(--space-unit) * 4);
    --space-xl: calc(var(--space-unit) * 8);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-full: 100px;
    
    /* Advanced Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.4);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    background: radial-gradient(circle at top left, #1e293b, #0f172a); /* Luxury Dark Background */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* Typography Redesign */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color); /* Gold Headings */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Layout Components */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--space-xl) 0;
}

.page-header-spacer {
    margin-top: 120px;
    padding-bottom: var(--space-xl);
}

/* Cinema Ticker Style */
.ticker-wrap {
    width: 100%;
    background: var(--gradient-primary);
    overflow: hidden;
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    margin-top: 70px; /* Offset for fixed header (matched new header height) */
    z-index: 90;
}

.ticker-track {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
    min-width: 100%;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 40px;
    color: #000000; /* Black text on Gold background */
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ticker-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.ticker-item i {
    color: #ffffff; /* White icons for contrast */
}

@keyframes scroll {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
} /* RTL: Move Right to Left (technically positive translate for RTL or negative for LTR? In RTL, content starts right. TranslateX positive moves right. Wait. */
}
/* In RTL, items flow Right to Left. We want them to move.
   Usually tickers move Right to Left (Reading direction).
   So we want to start at 0 and move to -50% (if duplicated) or similar.
   Let's assume standard marquee behavior: Move Right to Left.
   translate X from 0 to -100% moves left.
   translate X from 0 to 100% moves right.
*/

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Modern Services Card Redesign */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
}

.service-card-modern {
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.service-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.service-img-wrapper img,
.service-img-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card-modern:hover .service-img-wrapper img,
.service-card-modern:hover .service-img-wrapper video {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 30%, transparent 60%);
    opacity: 0.9;
    z-index: 1;
    transition: 0.3s;
}

.service-card-modern:hover .service-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 40%, transparent 70%);
}

.service-icon-floating {
    position: absolute;
    top: 20px;
    left: 20px;
    right: auto;
    bottom: auto;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 3;
    transition: 0.4s;
}

.service-card-modern:hover .service-icon-floating {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(360deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.service-content-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    /* Removed background and backdrop-filter for cleaner look */
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); /* Added text shadow for readability */
}

.service-content-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.service-content-modern p {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 2rem;
}

.service-btn {
    align-self: flex-start;
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.service-btn:hover {
    gap: 12px;
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
}

@media (max-width: 768px) {
    .services-page-grid {
        grid-template-columns: 1fr;
    }
    
    .ticker-item {
        font-size: 1rem;
        padding: 0 30px;
    }
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    gap: 0.75rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000; /* Dark text on gold for better contrast */
    box-shadow: var(--glow-gold);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFD700, #FDB931);
    z-index: -1;
    transition: opacity 0.4s;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 60px rgba(212, 175, 55, 0.4);
    color: #000;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px);
}

/* Reusing .btn class for existing PHP compatibility */
a.btn, button.btn {
    /* Base styles already applied by .btn above, ensuring compatibility overrides if needed */
}

/* Header & Navigation Redesign */
header {
    background: rgba(15, 23, 42, 0.7); /* Dark glass base */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

header.scrolled {
    padding: 0;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px; /* Reduced from 90px */
    transition: var(--transition-base);
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 50px; /* Reduced from 60px */
    width: 50px; /* Reduced from 60px */
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(10deg) scale(1.05);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: #ffffff; /* White text for dark header */
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Slider Redesign */
.slider-container {
    position: relative;
    width: 100%;
    height: 70vh; /* Further reduced to 70vh as requested */
    overflow: hidden;
    background: var(--dark);
    margin-top: 0; /* Removed offset as it sits below ticker */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ken Burns Effect Background - Removed as we use img tag now */
/* .slide::before rule removed/modified below */

.slide-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 6s linear;
}

.slide.active .slide-bg-img {
    transform: scale(1.1); /* Ken Burns Effect on img */
}

.slide::before {
    /* Overlay only */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

/* .slide::after removed as it is redundant with .slide::before overlay */

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

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 650px;
    padding: 3rem 2rem;
    margin: 0 1rem;
    
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.4s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.slide-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-weight: 500;
    line-height: 1.8;
}

.slide-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.slide-content .btn-primary {
    padding: 1.2rem 3.5rem;
    font-size: 1.3rem;
    background: var(--gradient-primary);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.slide-content .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    background: var(--bg-white);
    color: var(--primary-color);
}

/* Section Titles */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* Services Section Redesign */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.service-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: inline-block;
    background: var(--primary-light);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: var(--radius-md);
    color: var(--primary-color);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: rotateY(360deg);
}

/* Statistics Section */
.stats-section {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: var(--space-lg) 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h2 {
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.stat-label {
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Before & After Redesign */
.ba-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ba-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.ba-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ba-images-container {
    display: flex;
    gap: 4px;
    background: var(--bg-light);
    height: 250px; /* Reduced height to fit better in 3 columns */
}

.ba-single-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

.ba-single-image:hover img,
.ba-single-image:hover video {
    transform: scale(1.15);
}

.ba-label {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.ba-content {
    padding: 2rem;
}

.ba-title {
    margin-bottom: 1rem;
}

.ba-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Success Stories Redesign */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.story-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-soft);
    transition: var(--transition-base);
}

.story-card:hover {
    box-shadow: var(--shadow-lg);
}

.story-img, .story-img-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    object-fit: cover;
    border: 4px solid var(--primary-light);
}

.story-img-placeholder {
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.story-name {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.story-text {
    font-style: italic;
    position: relative;
}

.story-text::before {
    content: '“';
    font-size: 4rem;
    color: var(--primary-light);
    position: absolute;
    top: -2rem;
    right: -1rem;
    line-height: 1;
}

/* FAQ Redesign */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-soft);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--bg-white);
    transition: var(--transition-base);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 2rem;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

/* Scroll Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Children Animation */
.stagger-parent .service-card,
.stagger-parent .ba-item,
.stagger-parent .story-card,
.stagger-parent .stat-item,
.stagger-parent .gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-parent.active .service-card,
.stagger-parent.active .ba-item,
.stagger-parent.active .story-card,
.stagger-parent.active .stat-item,
.stagger-parent.active .gallery-item {
    opacity: 1;
    transform: translateY(0);
}

.stagger-parent.active .service-card:nth-child(1) { transition-delay: 0.1s; }
.stagger-parent.active .service-card:nth-child(2) { transition-delay: 0.2s; }
.stagger-parent.active .service-card:nth-child(3) { transition-delay: 0.3s; }

.stagger-parent.active .gallery-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-parent.active .gallery-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-parent.active .gallery-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-parent.active .gallery-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-parent.active .gallery-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-parent.active .gallery-item:nth-child(6) { transition-delay: 0.6s; }

.stagger-parent.active .ba-item:nth-child(odd) { transition-delay: 0.2s; }
.stagger-parent.active .ba-item:nth-child(even) { transition-delay: 0.4s; }

/* Fixed Left Social Sidebar */
.fixed-social-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-sidebar-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Brand Colors (True Colors) */
.social-sidebar-item.facebook {
    background: #1877f2;
    color: #ffffff;
    border: none;
}

.social-sidebar-item.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d62976 60%, #285AEB 90%);
    color: #ffffff;
    border: none;
}

.social-sidebar-item.whatsapp {
    background: #25d366;
    color: #ffffff;
    border: none;
}

.social-sidebar-item:hover {
    transform: translateX(5px) scale(1.1);
    background: var(--gradient-primary) !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    border-color: transparent;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-links { gap: 1.5rem; }
    .navbar { height: 80px; }
    .ba-section { grid-template-columns: repeat(2, 1fr); }
    
    /* Hide Social Sidebar on Tablet/Mobile */
    .fixed-social-sidebar {
        display: none;
    }

    /* Contact Page Responsive - Stacked Style (Tablet & Mobile) */
    /* Moved from 768px to 992px to ensure it applies to all mobile/tablet devices */
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        background: transparent;
        box-shadow: none;
        border: none;
        backdrop-filter: none;
        padding: 0;
    }
    
    /* Ensure individual cards keep their style */
    .contact-info, .contact-form {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 2rem;
        border-radius: var(--radius-lg);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Force Order: Info Top, Form Bottom */
    .contact-info {
        order: -1;
        margin-bottom: 0;
    }
    
    .contact-form {
        order: 1;
    }

    .contact-info::before, .contact-form::before {
        display: block;
    }
}

@media (max-width: 768px) {
    /* Adjust container padding for mobile to gain space */
    .container {
        padding: 0 1rem;
    }

    .ba-section { grid-template-columns: 1fr; }
    
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .ba-images-container { height: 300px; }
    
    .section-padding { padding: var(--space-lg) 0; }
}

/* Footer Redesign */
footer {
    background: #050910; /* Ultra dark footer */
    color: #e2e8f0;
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 10px;
}

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

.footer-bottom p {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 0;
}



/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-text .section-subtitle {
    margin-bottom: 0.5rem;
    display: inline-block;
}

.about-title {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.about-desc {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.about-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.about-list li i {
    color: var(--success);
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); /* Deep shadow */
    transition: transform var(--transition-base);
    border: 3px solid rgba(212, 175, 55, 0.8); /* Stronger Gold border */
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.5;
    transition: var(--transition-base);
}

.about-image:hover::before {
    top: -20px;
    left: -20px;
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border-color: var(--primary-color);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    width: 80%;
    max-width: 900px;
    border-radius: var(--radius-md);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.close-video {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10003;
}

.close-video:hover,
.close-video:focus {
    color: var(--primary-color);
}

/* WhatsApp Modal */
.wa-modal {
    display: none;
    position: fixed;
    z-index: 10002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s;
    align-items: center;
    justify-content: center;
}

.wa-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    animation: slideIn 0.3s;
}

.wa-modal h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.wa-input-group {
    margin-bottom: 1.5rem;
    text-align: right;
}

.wa-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.wa-input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.wa-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.wa-close:hover {
    color: #000;
}

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

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

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-full);
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.dot.active {
    background: var(--bg-white);
    transform: scale(1.3);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Section Common Styles */
section, .section-padding {
    padding: var(--space-xl) 0;
}

/* Modern Form Styles */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-family: inherit;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    backdrop-filter: blur(5px);
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    /* Glassmorphism moved to children for separation */
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

.contact-wrapper::before {
    /* Removed global background */
    display: none;
}

.contact-info, .contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Add subtle gradient to each card */
.contact-info::before, .contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent 40%);
    pointer-events: none;
}

/* Crystal Button Style */
.contact-form .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

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

.contact-form .btn:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px);
    color: #000;
    text-shadow: none;
}

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

.contact-form .btn.clicked {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(40, 167, 69, 0.6) !important;
    transform: scale(0.98);
}

/* Compact Contact Page Styles */
.contact-page-container.page-header-spacer {
    margin-top: 100px;
    padding-bottom: 2rem;
}

.contact-page-container .contact-wrapper {
    padding: 2.5rem;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-page-container .form-group {
    margin-bottom: 1rem;
}

.contact-page-container .form-group label {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.contact-page-container .form-control {
    padding: 0.8rem;
    font-size: 1rem;
}

.contact-page-container textarea.form-control {
    min-height: 100px;
}

.contact-page-container .contact-form .btn {
    padding: 0.9rem;
    font-size: 1.2rem;
}

.contact-page-container h1.section-title {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.contact-page-container .contact-info p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.contact-page-container .contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Ensure crystal button hover/click states work with new padding */
.contact-page-container .contact-form .btn:hover {
    transform: translateY(-2px);
}

.contact-info {
    padding-right: 1rem;
}

.contact-form {
    padding-left: 1rem;
}

/* Utility Classes */
.bg-white {
    background-color: var(--bg-white) !important;
}

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* Enhanced Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    height: 350px;
    box-shadow: var(--shadow-glass);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

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

.gallery-item:hover img {
    transform: scale(1.15);
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5) 50%, transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    font-weight: 700;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
    border: 2px solid var(--primary-color);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    pointer-events: none;
}


/* Gallery Video Wrapper */
.gallery-video-wrapper {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
}

.gallery-video-wrapper video,
.gallery-video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* About Slider Styles */
.about-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px; /* Ensure height matches image */
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

.about-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.about-slide.active {
    opacity: 1;
    z-index: 2;
}

.about-slide img,
.about-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

