/* 
=============================================
   Canada-Iraq Chamber of Commerce - Luxury Futuristic Theme
   Black & Gold Edition for the Rebuild
   A tribute to the rebirth of a nation
============================================= 
*/

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

:root {
    --primary-color: #f8c537; /* Vibrant gold */
    --primary-light: #ffdf7a;
    --primary-dark: #d4a41c;
    --primary-glow: rgba(248, 197, 55, 0.4);
    --secondary-color: #000000; /* Pure black */
    --secondary-light: #1a1a1a;
    --secondary-dark: #000000;
    --accent-color: #c89b30; /* Amber gold */
    --accent-light: #e0b242;
    --accent-dark: #9c7b25;
    --text-dark: #000000;
    --text-mid: #333333;
    --text-light: #ffffff;
    --text-gold: #f8c537;
    --bg-light: #0f0f0f; /* Very dark gray/almost black */
    --bg-dark: #000000;
    --bg-accent: #080808; /* Slightly lighter black */
    --bg-gold-gradient: linear-gradient(135deg, #f8c537 0%, #ffdf7a 50%, #f8c537 100%);
    --bg-black-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    --bg-gold-black-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 40%, #9c7b25 100%);
    --transition-slow: 0.5s cubic-bezier(0, 0, 0.2, 1);
    --transition-fast: 0.3s cubic-bezier(0, 0, 0.2, 1);
    --header-height: 90px;
    --section-spacing: 120px;
    --border-radius: 0px; /* Sharp edges for modern look */
    --box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    --box-shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.7);
    --box-shadow-gold: 0 5px 25px rgba(248, 197, 55, 0.3);
    --gold-glow: 0 0 15px rgba(248, 197, 55, 0.5);
    --gold-sharp-glow: 0 0 8px rgba(248, 197, 55, 0.7), 0 0 20px rgba(248, 197, 55, 0.4);
    --futuristic-pattern: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(248, 197, 55, 0.07) 10px,
        rgba(248, 197, 55, 0.07) 20px
    );
    --gold-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    --gold-circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%23f8c537' fill-opacity='0.1'%3E%3Cpath d='M0 0h50v50H0zm50 50h50v50H50zM0 0h10v10H0zm30 0h10v10H30zM0 30h10v10H0zm60 0h10v10H60zM0 60h10v10H0zm60 30h10v10H60zm30-60h10v10H90zm0 30h10v10H90z'/%3E%3Cpath d='M10 10h10v1H10zm0 2h10v1H10zm0 2h10v1H10zm20 0h10v1H30zm20 0h10v1H50zm20 0h10v1H70zm0-2h10v1H70zm0-2h10v1H70zm-40 40h10v1H30zm0 2h10v1H30zm0 2h10v1H30zm20 0h10v1H50zm20 0h10v1H70zm20 0h10v1H90zm0-2h10v1H90zm0-2h10v1H90z'/%3E%3C/g%3E%3C/svg%3E");
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    background-color: var(--bg-dark);
    background-image: var(--gold-circuit);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-gold);
    text-shadow: var(--gold-glow);
}

h1 {
    font-size: 5rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
}

h2 {
    font-size: 3.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    bottom: -10px;
    left: 20%;
    background-color: var(--primary-color);
    box-shadow: var(--gold-glow);
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--primary-light);
    text-shadow: var(--gold-glow);
}

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

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.eyebrow {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 15px;
}

/* Futuristic Design Elements */
.gold-border {
    position: relative;
    border: 1px solid var(--primary-color);
    box-shadow: var(--gold-glow);
}

.angled-corner {
    position: relative;
}

.angled-corner::before,
.angled-corner::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--primary-color);
    border-style: solid;
    z-index: 1;
}

.angled-corner::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.angled-corner::after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.futuristic-border {
    position: relative;
    padding: 3px;
}

.futuristic-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--primary-color);
    clip-path: polygon(0% 15%, 15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%);
    box-shadow: var(--gold-glow);
    z-index: 0;
}

.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Loader (Add glowing circuit pattern effect) */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Much darker background */
    background-image: url('tilebg.png');
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease 2.5s forwards;
}

.loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark overlay */
    z-index: 0;
}

.logo-container {
    width: 182px; /* Increased by 30% from 140px */
    animation: pulsateGlow 2s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    z-index: 1; /* Ensure logo appears above the dark overlay */
}

.logo-loader {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px var(--primary-glow));
    max-width: 100%;
}

@keyframes pulsateGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px var(--primary-glow)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 20px var(--primary-glow)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 10px var(--primary-glow)); }
}

@keyframes fadeOut {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

/* Header Enhancements */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    transition: all var(--transition-slow);
}

/* Modification to header positioning while keeping resize effect */
header {
    position: relative; /* Start as relative to push content down */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1010;
    transition: all var(--transition-slow);
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(248, 197, 55, 0.2);
}

/* Logo Size - Restore bigger initial logo */
.logo {
    width: 286px; /* Increased by 30% from 220px */
    transition: all var(--transition-slow);
}

.logo img {
    width: 100%;
    filter: drop-shadow(0 0 5px var(--primary-glow));
    transition: all var(--transition-slow);
}

/* When scrolled, switch to fixed position and smaller size */
header.scrolled {
    position: fixed; /* Now fixed to top when scrolled */
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.9);
    padding: 10px 0; /* Smaller padding when scrolled */
    border-bottom: 1px solid rgba(248, 197, 55, 0.4);
}

header.scrolled .logo {
    width: 169px; /* Increased by 30% from 130px */
}

/* Navigation spacing adjustments */
nav ul {
    display: flex;
    list-style: none;
    transition: all var(--transition-slow);
}

nav ul li {
    margin-left: 40px;
}

header.scrolled nav ul li {
    margin-left: 30px; /* Slightly closer when scrolled */
}

nav ul li a {
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

header.scrolled nav ul li a {
    color: var(--primary-color);
    font-size: 0.9rem; /* Slightly smaller text when scrolled */
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
    box-shadow: var(--gold-glow);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1005; /* Ensure it's above other elements */
}

header.scrolled .mobile-nav-toggle {
    color: var(--primary-color);
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-color: #000; /* Fallback color if video fails */
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.3) 80%);
    z-index: 1;
    pointer-events: none; /* Ensure this doesn't block interaction */
}

/* Base video styles */
#splash-video,
#splash-video-vertical {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
    filter: saturate(1.1) contrast(1.1);
    opacity: 1;
    transition: opacity 0.3s ease;
    will-change: transform; /* Performance optimization */
    backface-visibility: hidden; /* Prevent flickering */
}

/* Fix for iOS fullscreen issues */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* By default, show horizontal and hide vertical */
.desktop-video {
    display: block;
}

.mobile-video {
    display: none;
}

/* Video responsiveness for different screen orientations */
@media (orientation: portrait) and (max-width: 768px) {
    /* In portrait on mobile, show vertical video and hide horizontal */
    .desktop-video {
        display: none;
    }
    
    .mobile-video {
        display: block;
    }
}

/* Media queries for different devices */
@media screen and (max-width: 768px) {
    #splash-video,
    #splash-video-vertical {
        height: 100%;
        width: auto;
    }
    
    .hero-overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7));
    }
}

/* Enhanced mobile video positioning for different device sizes */
@media (max-width: 480px) and (orientation: portrait) {
    #splash-video-vertical {
        width: 100%;
        height: auto;
        object-position: center center;
    }
    
    /* Stronger overlay for better text readability on mobile */
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
        opacity: 0.9;
    }
}

/* Tablet portrait adjustments */
@media (min-width: 481px) and (max-width: 1024px) and (orientation: portrait) {
    #splash-video-vertical {
        width: 100%;
        height: auto;
        object-position: center 20%; /* Position slightly above center */
    }
}

/* Hero Section Adjustments to prevent header overlap */
.hero {
    height: 75vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    padding-top: 0; /* No need for top padding */
    padding-bottom: 30px; /* Reduced bottom padding */
}

/* Adjust content for when header becomes fixed */
body.scrolled .hero {
    padding-top: 90px; /* Add padding when header becomes fixed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.65));
    z-index: 1;
    backdrop-filter: blur(1px);
}

.geometric-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    z-index: 2;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

/* Title container with better positioning */
.title-container {
    margin-bottom: 20px; /* Reduced margin */
    position: relative;
    display: inline-block;
    margin-top: 0;
}

/* Hero Content Adjustments */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 20px; /* Reduced padding */
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero h1, .hero h2 {
    text-shadow: 0 0 15px rgba(248, 197, 55, 0.7), 0 2px 5px rgba(0, 0, 0, 0.9);
}

.hero h1 {
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(248, 197, 55, 0.7), 0 2px 5px rgba(0, 0, 0, 0.9);
    position: relative;
    display: inline-block;
    font-size: 5rem; /* Slightly smaller */
}




.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* Reduced margin */
}

.hero-tagline .line {
    height: 2px;
    width: 50px; /* Smaller lines */
    background-color: var(--primary-color);
    display: inline-block;
    margin: 0 15px; /* Less margin */
    box-shadow: var(--gold-glow);
}

.hero h2 {
    font-size: 2rem; /* Smaller subtitle */
    font-weight: 400;
    margin-bottom: 0;
    display: inline-block;
    color: var(--text-light);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px; /* Less bottom margin */
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7; /* Reduced line height */
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Secondary Button */
.secondary-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    box-shadow: var(--gold-glow);
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.secondary-button i {
    margin-left: 10px;
    transition: transform var(--transition-fast);
}

.secondary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(248, 197, 55, 0.1);
    transition: all 0.6s;
    transform: skewX(-15deg);
}

.secondary-button:hover {
    background-color: rgba(248, 197, 55, 0.2);
    transform: translateY(-3px);
    color: var(--primary-light);
}

.secondary-button:hover i {
    transform: translateX(5px);
}

.secondary-button:hover::before {
    left: 100%;
}

/* Premium Button */
.premium-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--bg-gold-gradient);
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0;
    transition: all var(--transition-fast);
    box-shadow: var(--box-shadow-gold);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.premium-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.6s;
    transform: skewX(-15deg);
}

.premium-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(248, 197, 55, 0.4);
    color: var(--text-dark);
}

.premium-button:hover::before {
    left: 100%;
}

/* Section Styles */
section {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--bg-gold-gradient);
    margin: 0 auto;
    position: relative;
    box-shadow: var(--gold-glow);
}

.section-header.left-align {
    text-align: left;
}

.section-header.left-align .section-line {
    margin: 0;
}

/* About Section */
.about {
    background-color: var(--bg-accent);
    position: relative;
    padding: 80px 0; /* Increased padding */
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.1;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 197, 55, 0.05) 0%, rgba(248, 197, 55, 0) 80%);
    top: -100px;
    right: -100px;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 3px;
    bottom: -15px;
    left: 10%;
    background: var(--bg-gold-gradient);
    box-shadow: var(--gold-glow);
}

.eyebrow {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 15px;
    position: relative;
    text-shadow: var(--gold-glow);
}
/*
.eyebrow::before,
.eyebrow::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 40px;
    background-color: var(--primary-color);
    top: 50%;
    box-shadow: var(--gold-glow);
}

.eyebrow::before {
    right: calc(50% + 80px);
}

.eyebrow::after {
    left: calc(50% + 80px);
}
*/
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Use grid instead of flex */
    gap: 60px;
    align-items: start; /* Align to top instead of center */
    position: relative;
    z-index: 1;
}

.about-text {
    position: relative;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0;
    border: 2px solid var(--primary-color);
    box-shadow: var(--box-shadow), var(--gold-glow);
    overflow: hidden;
}

.about-text-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(248, 197, 55, 0.1);
    pointer-events: none;
    z-index: 0;
}

.about-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--futuristic-pattern);
    opacity: 0.05;
    z-index: -1;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.about-text p {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-image {
    position: relative;
    align-self: flex-start; /* Stick to the top */
}

.premium-image-frame {
    position: relative;
    padding: 5px;
    background-color: var(--bg-accent);
    box-shadow: var(--box-shadow), var(--gold-glow);
    border: 2px solid var(--primary-color);
    overflow: hidden;
    max-width: 100%; /* Ensure it doesn't overflow */
    transform: rotate(0deg); /* Remove rotation */
}

.premium-image-frame img {
    position: relative;
    z-index: 2;
    border-radius: 0;
    transition: transform 1.5s ease, filter 1.5s ease;
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
    display: block; /* Prevent bottom margin */
    filter: contrast(1.1) saturate(1.1);
}

.premium-image-frame::before {
    content: '';
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    top: 20px;
    left: 20px;
    border: 1px solid var(--primary-color);
    z-index: 1;
    pointer-events: none;
    box-shadow: var(--gold-glow);
}

.premium-image-frame::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(135deg, 
        rgba(248, 197, 55, 0.1) 0%, 
        rgba(248, 197, 55, 0) 50%,
        rgba(248, 197, 55, 0.1) 100%
    );
    pointer-events: none;
    z-index: 3;
}

/* Iraq Investment Forum Section */
.iraq-forum {
    background-color: #0a0a0a;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.iraq-forum::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.08;
    z-index: 0;
}

.forum-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.forum-text {
    position: relative;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0;
    border: 2px solid var(--primary-color);
    box-shadow: var(--box-shadow), var(--gold-glow);
    overflow: hidden;
}

.forum-text::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(248, 197, 55, 0.1);
    pointer-events: none;
    z-index: 0;
}

.forum-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--futuristic-pattern);
    opacity: 0.05;
    z-index: -1;
}

.forum-text-content {
    padding: 35px;
    position: relative;
    z-index: 1;
}

.forum-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.forum-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding: 22px;
    background: rgba(248, 197, 55, 0.03);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.forum-highlights li:last-child {
    margin-bottom: 0;
}

.forum-highlights li:hover {
    background: rgba(248, 197, 55, 0.08);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(248, 197, 55, 0.15);
}

.forum-highlights li i {
    color: var(--primary-color);
    font-size: 1.5rem;
    min-width: 24px;
    margin-top: 2px;
    text-shadow: var(--gold-glow);
}

.forum-highlights li span {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

.forum-highlights li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.forum-cta {
    margin-top: 35px;
    text-align: center;
    padding: 30px 0 0 0;
    border-top: 1px solid rgba(248, 197, 55, 0.2);
    position: relative;
    z-index: 1;
}

.forum-cta .premium-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    padding: 16px 32px;
}

.forum-cta .premium-button i {
    font-size: 1.3rem;
}

.forum-video {
    position: relative;
    align-self: flex-start;
}

.premium-video-frame {
    position: relative;
    padding: 5px;
    background-color: var(--bg-accent);
    box-shadow: var(--box-shadow), var(--gold-glow);
    border: 2px solid var(--primary-color);
    overflow: hidden;
    max-width: 100%;
}

.premium-video-frame::before {
    content: '';
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    top: 20px;
    left: 20px;
    border: 1px solid var(--primary-color);
    z-index: 1;
    pointer-events: none;
    box-shadow: var(--gold-glow);
}

.premium-video-frame::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(135deg, 
        rgba(248, 197, 55, 0.1) 0%, 
        rgba(248, 197, 55, 0) 50%,
        rgba(248, 197, 55, 0.1) 100%
    );
    pointer-events: none;
    z-index: 3;
}

.video-inner-frame {
    position: relative;
    background: #000;
    cursor: pointer;
}

.video-inner-frame video {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    cursor: pointer;
}

.video-inner-frame:hover .video-play-overlay {
    opacity: 1;
}

.video-play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #c9a962);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(248, 197, 55, 0.6), 0 0 60px rgba(248, 197, 55, 0.3);
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.video-play-overlay:hover .video-play-button {
    transform: scale(1.1);
}

.video-play-overlay:active .video-play-button {
    transform: scale(0.95);
}

.video-play-button i {
    color: #1a1202;
    font-size: 2rem;
    margin-left: 4px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(248, 197, 55, 0.6), 0 0 60px rgba(248, 197, 55, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(248, 197, 55, 0.8), 0 0 80px rgba(248, 197, 55, 0.4);
    }
}

.video-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    padding: 20px;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-video-frame:hover .video-overlay-text {
    opacity: 1;
}

.video-overlay-text p {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    line-height: 1.4;
}

/* Responsive styles for Iraq Forum */
@media screen and (max-width: 1024px) {
    .forum-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .forum-text-content {
        padding: 30px;
    }
    
    .forum-highlights li {
        padding: 15px;
        gap: 15px;
    }
    
    .forum-cta {
        margin-top: 30px;
        padding: 25px 0 0 0;
    }
}

@media screen and (max-width: 768px) {
    .iraq-forum {
        padding: 60px 0;
    }
    
    .forum-text-content {
        padding: 20px;
    }
    
    .forum-highlights li {
        flex-direction: column;
        gap: 10px;
    }
    
    .forum-highlights li i {
        font-size: 1.3rem;
    }
    
    .forum-cta {
        margin-top: 25px;
        padding: 20px 0 0 0;
    }
    
    .forum-cta .premium-button {
        font-size: 1rem;
        padding: 14px 24px;
    }
    
    .video-play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-play-button i {
        font-size: 1.5rem;
    }
}

.stats-container {
    display: flex;
    justify-content: space-between;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px 0;
    margin-bottom: 30px;
    border: 2px solid var(--primary-color); /* Unified border */
    box-shadow: var(--gold-glow);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.stats-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--futuristic-pattern);
    opacity: 0.1;
    z-index: 0;
}

.futuristic-divider {
    height: 20px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.stat-item {
    flex: 1;
    padding: 20px;
    border-right: 1px solid rgba(248, 197, 55, 0.3);
    position: relative;
    z-index: 1;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(248, 197, 55, 0.5);
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--bg-gold-gradient);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--gold-glow);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

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

/* Parallax Section */
.parallax-section {
    height: 500px;
    background: url('zigg.jpg') no-repeat fixed center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Overlay */
    z-index: 1;
}

.parallax-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.1;
    z-index: 2;
}

.parallax-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.parallax-content h2 {
    font-size: 4rem;
    margin-bottom: 0;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(248, 197, 55, 0.7);
    position: relative;
}

.parallax-content h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: var(--bg-gold-gradient);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--gold-glow);
}

/* Services Section */
.services {
    background-color: var(--bg-dark);
    position: relative;
    background-image: url('tilebg.png');
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark overlay */
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 197, 55, 0.05) 0%, rgba(248, 197, 55, 0) 70%);
    bottom: -150px;
    left: -150px;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-accent);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-fast);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: var(--futuristic-pattern);
    opacity: 0.05;
    z-index: 0;
    transition: opacity var(--transition-fast);
}

.service-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: 0;
    left: 0;
    background: var(--bg-gold-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover), var(--gold-glow);
    border-color: var(--primary-light);
}

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

.service-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
    z-index: 2;
    text-shadow: var(--gold-glow);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Opportunities Section */
.opportunities {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.97) 0%, rgba(20, 20, 20, 0.95) 100%);
    position: relative;
    padding: calc(var(--section-spacing) * 1.1) 0;
    overflow: hidden;
}

.opportunities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('zigg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.08;
    filter: contrast(1.2) saturate(1.2);
    z-index: 0;
}

.opportunities::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.1;
    z-index: 0;
    mix-blend-mode: overlay;
}

.opportunity-intro-container {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--primary-color);
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: var(--gold-sharp-glow);
    clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 15px);
}

.opportunity-intro-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(248, 197, 55, 0.2);
    pointer-events: none;
    z-index: 0;
}

.opportunity-intro-content {
    position: relative;
    z-index: 1;
}

.opportunity-intro-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: var(--gold-sharp-glow);
}

.opportunity-intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

.opportunity-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
}

.opportunity-stat {
    text-align: center;
    position: relative;
}

.opportunity-stat::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 70%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    top: 15%;
    right: -30px;
}

.opportunity-stat:last-child::after {
    display: none;
}

.opportunity-stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-shadow: var(--gold-glow);
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.opportunity-stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.opportunity-card {
    aspect-ratio: 1/1;
    perspective: 1000px;
    position: relative;
}

.opportunity-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.2, 0.85, 0.4, 1);
    transform-style: preserve-3d;
    background: rgba(12, 12, 12, 0.7);
    border: 2px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    z-index: 1;
    overflow: hidden;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.opportunity-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--futuristic-pattern);
    opacity: 0.05;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.opportunity-card:hover .opportunity-card-inner {
    transform: rotateY(10deg) translateZ(20px);
    border-color: var(--primary-light);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--gold-sharp-glow);
}

.opportunity-card:hover .opportunity-card-inner::before {
    opacity: 0.15;
}

.opportunity-card:hover .opportunity-card-glow {
    opacity: 1;
}

.opportunity-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    text-shadow: var(--gold-glow);
}

.opportunity-card:hover .opportunity-icon {
    transform: scale(1.15);
    color: var(--primary-light);
    text-shadow: var(--gold-sharp-glow);
}

.opportunity-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    text-shadow: var(--gold-glow);
}

.opportunity-card:hover h3 {
    color: var(--primary-light);
    text-shadow: var(--gold-sharp-glow);
}

.opportunity-card-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle at center,
        rgba(248, 197, 55, 0.2) 0%,
        rgba(248, 197, 55, 0.1) 30%,
        rgba(248, 197, 55, 0) 70%
    );
    top: -25%;
    left: -25%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.opportunity-cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.opportunity-cta .premium-button {
    padding: 18px 40px;
    font-size: 1rem;
    letter-spacing: 0.12em;
    box-shadow: var(--gold-sharp-glow);
}

.opportunity-cta .premium-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.opportunity-cta .premium-button:hover i {
    transform: translateX(5px);
}

/* Responsive styles for opportunities section */
@media screen and (max-width: 992px) {
    .opportunity-stats {
        gap: 40px;
    }
    
    .opportunity-stat::after {
        right: -20px;
    }
    
    .opportunity-stat-number {
        font-size: 2.5rem;
    }
    
    .opportunity-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .opportunity-intro-container {
        padding: 30px 20px;
    }
    
    .opportunity-intro-title {
        font-size: 1.8rem;
    }
    
    .opportunity-intro-text {
        font-size: 1rem;
    }
    
    .opportunity-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .opportunity-stat {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .opportunity-stat::after {
        display: none;
    }
    
    .opportunity-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .opportunity-icon {
        font-size: 3rem;
    }
}

@media screen and (max-width: 480px) {
    .opportunity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .opportunity-card-inner {
        padding: 20px 15px;
    }
    
    .opportunity-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .opportunity-card h3 {
        font-size: 0.9rem;
    }
}

/* Image Gallery */
.image-gallery {
    padding: 80px 0;
    background-color: #0a0a0a;
    position: relative;
}

.image-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.03;
    pointer-events: none;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 10px;
}

.gallery-item {
    height: 450px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(248, 197, 55, 0.2);
    border-radius: 8px;
    transition: all var(--transition-fast);
    background: #000;
}

.gallery-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(248, 197, 55, 0.4), 0 0 40px rgba(248, 197, 55, 0.2);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 25px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.85) 50%, rgba(0, 0, 0, 0));
    color: var(--text-light);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.gallery-caption h3 {
    font-size: 1.4rem;
    margin: 0 0 12px 0;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(248, 197, 55, 0.5);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gallery-caption p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

/* Caption only shows in modal, not on hover */

/* Membership Section */
.membership {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.97) 0%, rgba(15, 15, 15, 0.95) 100%);
    color: var(--text-light);
    position: relative;
    padding: calc(var(--section-spacing) * 1.2) 0;
    overflow: hidden;
}

.membership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('zigg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.12;
    filter: contrast(1.2) saturate(1.2);
    z-index: 0;
}

.membership::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.15;
    z-index: 1;
    mix-blend-mode: overlay;
}

.section-header.light {
    position: relative;
    z-index: 3;
}

.section-header.light h2 {
    color: var(--primary-color);
    font-size: 3.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(248, 197, 55, 0.5), 0 0 20px rgba(248, 197, 55, 0.3); }
    100% { text-shadow: 0 0 15px rgba(248, 197, 55, 0.7), 0 0 30px rgba(248, 197, 55, 0.5); }
}

.section-header.light .eyebrow {
    color: var(--primary-light);
    font-size: 1.2rem;
    letter-spacing: 0.25em;
}

.section-header.light .section-line {
    height: 4px;
    background: var(--bg-gold-gradient);
    width: 120px;
    margin: 30px auto 70px;
    position: relative;
    box-shadow: var(--gold-sharp-glow);
}

.section-header.light .section-line::before,
.section-header.light .section-line::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 100px;
    background: var(--primary-color);
    top: 50%;
    opacity: 0.5;
}

.section-header.light .section-line::before {
    left: -120px;
}

.section-header.light .section-line::after {
    right: -120px;
}

.membership-options {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 3;
    perspective: 1000px;
}

.membership-card {
    flex: 1;
    background: rgba(15, 15, 15, 0.8);
    color: var(--text-light);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), var(--gold-glow);
    transition: all 0.4s cubic-bezier(0.2, 0.85, 0.4, 1);
    border: 2px solid var(--primary-color);
    position: relative;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform: translateY(0) rotateX(0) scale(1);
    clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 15px);
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--futuristic-pattern);
    opacity: 0.08;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 0;
}

.membership-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    bottom: 10px;
    border: 1px solid rgba(248, 197, 55, 0.3);
    pointer-events: none;
    opacity: 0.7;
    z-index: 1;
    transition: all 0.4s ease;
}

.membership-card:hover {
    transform: translateY(-20px) rotateX(5deg) scale(1.03);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(248, 197, 55, 0.4);
    border-color: var(--primary-light);
    z-index: 10;
}

.membership-card:hover::before {
    opacity: 0.15;
    transform: scale(1.1);
}

.membership-card:hover::after {
    border-color: rgba(248, 197, 55, 0.6);
    top: 8px;
    right: 8px;
    left: 8px;
    bottom: 8px;
}

.membership-header {
    background: var(--bg-gold-gradient);
    padding: 35px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.membership-header h3 {
    color: var(--text-dark);
    margin-bottom: 0;
    font-weight: 800;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.membership-card:hover .membership-header {
    background: linear-gradient(135deg, #ffdf7a 0%, #f8c537 50%, #ffdf7a 100%);
}

.membership-content {
    padding: 50px 40px 60px;
    position: relative;
    z-index: 1;
}

.membership-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.membership-content ul {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.membership-content li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.membership-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-weight: bold;
}

.membership-price {
    margin: 35px 0;
    text-align: center;
    position: relative;
}

.membership-price .price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    text-shadow: var(--gold-glow);
    display: block;
    line-height: 1;
}

.membership-price .period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    display: block;
}

.membership-button {
    display: inline-block;
    padding: 18px 40px;
    background: rgba(15, 15, 15, 0.8);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.2, 0.85, 0.4, 1);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    text-align: center;
    backface-visibility: hidden;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.membership-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--bg-gold-gradient);
    transition: all 0.5s cubic-bezier(0.2, 0.85, 0.4, 1);
    z-index: -1;
    transform: skewX(-20deg);
}

.membership-button:hover {
    color: var(--text-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(248, 197, 55, 0.3), var(--gold-glow);
    border-color: transparent;
}

.membership-button:hover::before {
    left: 0;
    transform: skewX(0);
}

.membership-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--primary-color);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 15px;
    transform: rotate(15deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
}

.cta-container {
    text-align: center;
    margin-top: 80px;
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(20, 20, 20, 0.85) 100%);
    padding: 60px 50px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), var(--gold-sharp-glow);
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(248, 197, 55, 0.3);
    pointer-events: none;
    z-index: 0;
}

.cta-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.1;
    z-index: -1;
    mix-blend-mode: overlay;
}

.cta-container p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.cta-container .premium-button {
    padding: 20px 50px;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), var(--gold-sharp-glow);
    transform: translateZ(0);
}

.cta-container .premium-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(248, 197, 55, 0.5);
}

/* Add a shimmering highlight effect that moves across the membership cards */
.shimmer {
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 3;
    transform: skewX(-25deg);
    animation: shimmer 5s infinite;
}

@keyframes shimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* Media queries for responsive design */
@media screen and (max-width: 992px) {
    .membership-options {
        flex-direction: column;
        gap: 60px;
    }
    
    .membership-card {
        max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    }
    
    .section-header.light h2 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    .cta-container {
        padding: 40px 30px;
    }
    
    .cta-container p {
        font-size: 1.1rem;
    }
    
    .membership-content {
        padding: 40px 30px 50px;
    }
    
    .section-header.light h2 {
        font-size: 2.4rem;
    }
    
    .section-header.light .section-line::before,
    .section-header.light .section-line::after {
        width: 60px;
    }
    
    .section-header.light .section-line::before {
        left: -70px;
    }
    
    .section-header.light .section-line::after {
        right: -70px;
    }
}

@media screen and (max-width: 480px) {
    .cta-container .premium-button {
        padding: 16px 30px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .section-header.light h2 {
        font-size: 2rem;
    }
    
    .membership-header h3 {
        font-size: 1.5rem;
    }
    
    .membership-content p {
        font-size: 1rem;
    }
}

/* Events Section */
.events {
    background-color: var(--bg-accent);
    position: relative;
}

.events::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.05;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.event-card {
    background-color: var(--bg-dark);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    transition: all var(--transition-fast);
    border: 1px solid var(--primary-color);
    position: relative;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--futuristic-pattern);
    opacity: 0.05;
    transition: opacity var(--transition-fast);
    z-index: 0;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover), var(--gold-glow);
    border-color: var(--primary-light);
}

.event-card:hover::before {
    opacity: 0.1;
}

.event-date {
    background: var(--bg-black-gradient);
    color: var(--primary-color);
    padding: 20px;
    text-align: center;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.event-date .month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-shadow: var(--gold-glow);
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: var(--gold-glow);
}

.event-details {
    padding: 25px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.event-details h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.event-location {
    font-size: 0.9rem;
    color: var(--accent-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.event-location i {
    margin-right: 8px;
    color: var(--primary-color);
}

.event-details p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.view-all-container {
    text-align: center;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    position: relative;
    padding: 5px 10px;
}

.view-all-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.view-all-button i {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.view-all-button:hover i {
    transform: translateX(5px);
}

.view-all-button:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* News Section */
.news {
    background-color: var(--bg-dark);
}

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

.news-card {
    background-color: var(--bg-accent);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-fast);
    border: 1px solid var(--primary-color);
    position: relative;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--futuristic-pattern);
    opacity: 0.05;
    transition: opacity var(--transition-fast);
    z-index: 0;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover), var(--gold-glow);
    border-color: var(--primary-light);
}

.news-card:hover::before {
    opacity: 0.1;
}

.news-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.news-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--primary-color);
}

.news-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 5px 0;
}

.read-more::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.read-more i {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.read-more:hover i {
    transform: translateX(5px);
}

.read-more:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Contact Section */
.contact {
    background-color: var(--bg-accent);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info p {
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
    text-shadow: var(--gold-glow);
}

.contact-item span {
    line-height: 1.6;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1rem;
    transition: all var(--transition-fast);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(248, 197, 55, 0.2);
    transition: all 0.4s;
    z-index: 0;
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    background-color: var(--secondary-light);
    color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--gold-glow);
}

.social-icon:hover::before {
    left: 0;
}

.contact-form-container {
    background-color: var(--bg-dark);
    padding: 50px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--primary-color);
    position: relative;
    clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 15px);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(248, 197, 55, 0.3);
    pointer-events: none;
}

.contact-form-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--futuristic-pattern);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--primary-color);
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2;
}

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

.form-group label {
    position: absolute;
    top: 17px;
    left: 20px;
    color: var(--text-light);
    transition: all var(--transition-fast);
    z-index: 3;
    pointer-events: none;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(248, 197, 55, 0.2);
    background-color: rgba(0, 0, 0, 0.5);
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label,
.form-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-25px) scale(0.85);
    color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f8c537' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 100px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--bg-gold-gradient);
    box-shadow: var(--gold-glow);
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.05;
    z-index: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    width: 195px; /* Increased by 30% from 150px */
    filter: drop-shadow(0 0 10px rgba(248, 197, 55, 0.3));
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    box-shadow: var(--gold-glow);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
    position: relative;
}

.footer-column ul li::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 1px;
    background-color: var(--primary-color);
    top: 13px;
    left: -15px;
    opacity: 0;
    transition: all var(--transition-fast);
}

.footer-column ul li:hover::before {
    opacity: 1;
    left: -10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-column i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(248, 197, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom-links .separator {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.3);
}

/* Animation Classes */
.reveal-text {
    overflow: hidden;
    position: relative;
}


.reveal-element {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-1::after {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 1s;
}

.delay-2::after {
    animation-delay: 1s;
}

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

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

/* Futuristic Decorative Elements */
.futuristic-divider {
    height: 20px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.futuristic-divider::before {
    content: '';
    position: absolute;
    height: 1px;
    width: 100%;
    top: 50%;
    left: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 20%, 
        var(--primary-color) 80%, 
        transparent 100%
    );
    box-shadow: var(--gold-glow);
}

.futuristic-divider::after {
    content: '';
    position: absolute;
    height: 8px;
    width: 40%;
    top: calc(50% - 4px);
    left: 30%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 10%, 
        var(--primary-color) 90%, 
        transparent 100%
    );
    box-shadow: var(--gold-glow);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

.gold-symbol {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cg fill='%23f8c537'%3E%3Cpolygon points='15,5 20,10 10,10'/%3E%3Cpolygon points='5,15 25,15 20,25 10,25'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    margin: 0 5px;
    vertical-align: middle;
    filter: drop-shadow(0 0 3px rgba(248, 197, 55, 0.7));
}

/* Enhanced Children and Future Focus Elements */
.children-focus-container {
    position: relative;
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.9) 0%, rgba(20, 20, 20, 0.85) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: var(--gold-sharp-glow);
    overflow: hidden;
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
}

.children-focus-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.08;
    z-index: 0;
}

.children-focus-container::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(248, 197, 55, 0.2);
    pointer-events: none;
    z-index: 0;
}

.children-focus-header {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 50px 40px 30px;
    background: linear-gradient(135deg, rgba(248, 197, 55, 0.05) 0%, rgba(248, 197, 55, 0.02) 100%);
    border-bottom: 1px solid rgba(248, 197, 55, 0.3);
}

.children-focus-title-wrapper {
    margin-bottom: 30px;
}

.children-focus-eyebrow {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 15px;
    text-shadow: var(--gold-glow);
}

.children-focus__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: var(--gold-sharp-glow);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.children-focus-line {
    width: 100px;
    height: 3px;
    background: var(--bg-gold-gradient);
    margin: 0 auto 30px;
    box-shadow: var(--gold-glow);
}

.children-focus__intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.children-focus-main-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    padding: 50px 40px;
    position: relative;
    z-index: 2;
}

.children-focus__image-section {
    position: relative;
}

.children-focus__image-frame {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: var(--gold-sharp-glow);
    clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 15px);
}

.children-focus__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.children-focus__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 197, 55, 0.1) 0%, rgba(248, 197, 55, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.children-focus__image-frame:hover .children-focus__image {
    transform: scale(1.05);
}

.children-focus__image-frame:hover .children-focus__image-overlay {
    opacity: 1;
}

.children-focus__image-caption {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: var(--primary-color);
    text-shadow: var(--gold-glow);
    font-weight: 500;
    font-size: 1rem;
}

.children-focus__content-inner {
    position: relative;
}

.children-focus__subheading {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 500;
}

.children-focus__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.children-focus__card {
    position: relative;
    perspective: 1000px;
}

.children-focus__card-inner {
    position: relative;
    background: rgba(12, 12, 12, 0.8);
    border: 2px solid var(--primary-color);
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.85, 0.4, 1);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.children-focus__card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--futuristic-pattern);
    opacity: 0.05;
    z-index: 0;
    transition: opacity 0.4s ease;
}

.children-focus__card:hover .children-focus__card-inner {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--primary-light);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--gold-sharp-glow);
}

.children-focus__card:hover .children-focus__card-inner::before {
    opacity: 0.12;
}

.children-focus__card:hover .children-focus__card-glow {
    opacity: 1;
}

.children-focus__icon-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
}

.children-focus__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: var(--gold-glow);
    transition: all 0.4s ease;
}

.children-focus__card:hover .children-focus__icon {
    transform: scale(1.15);
    color: var(--primary-light);
    text-shadow: var(--gold-sharp-glow);
}

.children-focus__card-content {
    position: relative;
    z-index: 2;
}

.children-focus__card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: var(--gold-glow);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.02em;
    transition: all 0.4s ease;
}

.children-focus__card:hover .children-focus__card-title {
    color: var(--primary-light);
    text-shadow: var(--gold-sharp-glow);
}

.children-focus__card-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

.children-focus__card-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle at center,
        rgba(248, 197, 55, 0.15) 0%,
        rgba(248, 197, 55, 0.08) 30%,
        rgba(248, 197, 55, 0) 70%
    );
    top: -25%;
    left: -25%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.children-focus__conclusion-section {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(248, 197, 55, 0.08) 0%, rgba(248, 197, 55, 0.03) 100%);
    border-top: 1px solid rgba(248, 197, 55, 0.3);
    padding: 40px;
}

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

.children-focus__conclusion {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 400;
}

.children-focus__cta {
    position: relative;
}

.children-focus__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.children-focus__button:hover {
    transform: translateY(-3px);
    box-shadow: var(--gold-sharp-glow);
}

.children-focus__button i {
    transition: transform 0.3s ease;
}

.children-focus__button:hover i {
    transform: translateX(5px);
}

/* New Children Future Section */
.children-future {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.children-future::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gold-circuit);
    opacity: 0.05;
    z-index: 0;
}

.children-future::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 197, 55, 0.05) 0%, rgba(248, 197, 55, 0) 70%);
    bottom: -150px;
    right: -150px;
    z-index: 0;
}

.children-content {
    position: relative;
    z-index: 1;
}

.children-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.children-text {
    position: relative;
}

.children-text ul li {
    position: relative;
    padding-left: 30px;
}

.children-text ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    text-shadow: var(--gold-glow);
}

.children-text ul li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.children-image {
    position: relative;
}

/* Media queries for children section */
@media screen and (max-width: 992px) {
    .children-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .children-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .children-focus-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
    
    .children-focus__image-section {
        order: -1;
    }
    
    .children-focus__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .children-focus__title {
        font-size: 2rem;
    }
    
    .children-focus-header {
        padding: 40px 30px 25px;
    }
    
    .children-focus__conclusion-section {
        padding: 30px;
    }
}

@media screen and (max-width: 768px) {
    .children-focus-container {
        margin: 20px 0;
    }
    
    .children-focus-header {
        padding: 30px 20px 20px;
    }
    
    .children-focus-main-content {
        padding: 30px 20px;
    }
    
    .children-focus__conclusion-section {
        padding: 25px 20px;
    }
    
    .children-focus__title {
        font-size: 1.8rem;
    }
    
    .children-focus__intro {
        font-size: 1rem;
    }
    
    .children-focus__card-inner {
        min-height: 160px;
        padding: 20px 15px;
    }
    
    .children-focus__icon {
        font-size: 2rem;
    }
    
    .children-focus__card-title {
        font-size: 1rem;
    }
    
    .children-focus__card-text {
        font-size: 0.85rem;
    }
}

/* Highlight Text */
.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: var(--gold-glow);
}

/* Quote Section for Impact */
.impact-quote {
    position: relative;
    padding: 40px 30px; /* Reduced padding */
    margin: 50px 0; /* Reduced margin */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.impact-quote::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 8rem;
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 0.6;
}

.impact-quote p {
    font-size: 1.5rem;
    line-height: 1.8;
    font-style: italic;
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    margin-bottom: 30px;
}

.impact-quote cite {
    font-size: 1rem;
    color: var(--primary-color);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Child-focused gallery styles */
/* Caption hover effects removed - captions only show in modal */

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    :root {
        --section-spacing: 100px;
    }
    
    h1 {
        font-size: 4.5rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .parallax-content h2 {
        font-size: 3.5rem;
    }
    
    .footer-links {
        gap: 60px;
    }
}

@media screen and (max-width: 1024px) {
    :root {
        --section-spacing: 80px;
    }
    
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 60px;
    }
    
    .about-image {
        margin-top: 40px;
        order: 2;
    }
    
    .parallax-content h2 {
        font-size: 3rem;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-item {
        height: 350px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-spacing: 70px;
        --header-height: 70px;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    /* Fixed header for mobile */
    header {
        padding: 15px 0;
    }
    
    .header-container {
        padding: 0 10px;
    }

    .logo {
        width: 208px; /* Increased by 30% from 160px */
    }
    
    /* Remove extra top spacing */
    .hero {
        padding-top: 0;
        min-height: 90vh; /* Reduced height */
    }
    
    .hero-content {
        padding: 10px;
        margin-top: 0;
    }
    
    /* More compact elements */
    .title-container {
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    /* Compact buttons */
    .hero-buttons {
        gap: 15px;
    }
    
    .premium-button, 
    .secondary-button {
        padding: 14px 25px;
        font-size: 0.85rem;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    /* Hero adjustments for mobile */
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 80px;
    }
    
    .hero-content {
        margin-top: 30px;
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .title-container {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    /* Nav menu for mobile */
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 120px 40px 40px;
        transition: all var(--transition-slow);
        z-index: 1004;
        border-left: 1px solid var(--primary-color);
    }
    
    nav.active {
        right: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.7);
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0 0 25px 0;
    }
    
    nav ul li a {
        color: var(--primary-color);
        font-size: 1.1rem;
    }
    
    .membership-options {
        flex-direction: column;
    }
    
    .parallax-content h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 60px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul li::before {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .secondary-button, 
    .premium-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media screen and (max-width: 580px) {
    :root {
        --section-spacing: 60px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    premium-button {
        padding: 14px 30px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .gallery-caption {
        padding: 30px 20px 20px;
    }
    
    .gallery-caption h3 {
        font-size: 1.2rem;
    }
    
    .gallery-caption p {
        font-size: 0.9rem;
    }
    
    .opportunity-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(248, 197, 55, 0.3);
        padding: 15px 0;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
} 



/* Media Queries for mobile */
/* Desktop styles - Starts higher, all content visible in viewport */
@media screen and (min-width: 1200px) {
    .hero {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 80px 40px 40px 40px;
    overflow: visible;
    box-sizing: border-box;
    }
    
    
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        max-width: 1200px;
        width: 100%;
        flex: 1;
        gap: 25px;
    }
    
    .title-container {
        margin: 0;
        flex-shrink: 0;
    }
    
    .hero h1 {
        font-size: 3.8rem;
        margin: 0 0 15px 0;
        line-height: 1.1;
    }
    
    .hero h2 {
        font-size: 1.9rem;
        margin: 0;
        line-height: 1.2;
    }
    
    .hero-tagline {
        margin: 0;
        flex-shrink: 0;
    }
    
    .hero-description {
        font-size: 1.15rem;
        margin: 0;
        max-width: 800px;
        text-align: center;
        line-height: 1.5;
        flex-shrink: 0;
    }
    
    .hero-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 10px;
    }
    
    
    }
    
    /* Tablet styles - Starts higher, all content visible in viewport */
    @media screen and (min-width: 769px) and (max-width: 1199px) {
    .hero {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 70px 30px 30px 30px;
    overflow: visible;
    box-sizing: border-box;
    }
    
    
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        max-width: 900px;
        width: 100%;
        flex: 1;
        gap: 20px;
    }
    
    .title-container {
        margin: 0;
        flex-shrink: 0;
    }
    
    .hero h1 {
        font-size: 3.3rem;
        margin: 0 0 12px 0;
        line-height: 1.1;
    }
    
    .hero h2 {
        font-size: 1.7rem;
        margin: 0;
        line-height: 1.2;
    }
    
    .hero-tagline {
        margin: 0;
        flex-shrink: 0;
    }
    
    .hero-description {
        font-size: 1.05rem;
        margin: 0;
        max-width: 700px;
        text-align: center;
        line-height: 1.4;
        flex-shrink: 0;
    }
    
    .hero-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 8px;
    }
    
    
    }
    
    /* Mobile base styles - All mobile devices */
    @media screen and (max-width: 768px) {
    #splash-video {
    height: 100%;
    width: auto;
    }
    
    
    .hero-overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7));
    }
    
    /* Fixed header styling for mobile */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 12px 0;
        background-color: rgba(0, 0, 0, 0.95);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
        border-bottom: 1px solid rgba(248, 197, 55, 0.4);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }
    
    .logo {
        width: 182px; /* Increased by 30% from 140px */
    }
    
    /* Hero container - ensures all content fits in viewport */
    .hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        overflow: hidden;
        padding: 80px 20px 20px 20px; /* Account for fixed header */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Hero content container - flexible spacing */
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        flex: 1;
        gap: 15px; /* Consistent spacing between elements */
    }
    
    /* Title container - reduced margins */
    .title-container {
        margin: 0;
        flex-shrink: 0;
    }
    
    /* Hero title sizing */
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.1;
        margin: 0 0 10px 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin: 0;
    }
    
    /* Hero tagline - compact */
    .hero-tagline {
        margin: 15px 0;
        flex-shrink: 0;
    }
    
    .hero-tagline .line {
        width: 30px;
        margin: 0 8px;
    }
    
    /* Hero description - responsive text */
    .hero-description {
        font-size: 1rem;
        line-height: 1.4;
        margin: 0 0 20px 0;
        max-width: 90%;
        flex-shrink: 0;
    }
    
    /* Hero buttons - always fit */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        flex-shrink: 0;
    }
    
    .premium-button, 
    .secondary-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Mobile navigation */
    .mobile-nav-toggle {
        position: relative;
        z-index: 1005;
        margin-right: 5px;
    }
    
    nav.active {
        z-index: 1010;
    }
    
    
    }
    
    /* Small mobile devices (iPhone SE, older Android) */
    @media screen and (max-width: 480px) {
    .hero {
    padding: 70px 15px 15px 15px;
    }
    
    
    .hero-content {
        gap: 12px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
        max-width: 95%;
    }
    
    .hero-buttons {
        max-width: 260px;
        gap: 10px;
    }
    
    .premium-button, 
    .secondary-button {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    
    }
    
    /* Very small mobile devices */
    @media screen and (max-width: 380px) {
    .hero {
    padding: 65px 12px 12px 12px;
    }
    
    
    .hero-content {
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .hero-tagline .line {
        width: 25px;
        margin: 0 6px;
    }
    
    .hero-buttons {
        max-width: 240px;
        gap: 8px;
    }
    
    
    }
    
    /* Tall mobile devices (iPhone 12, 13, 14 Pro Max, etc.) */
    @media screen and (max-width: 430px) and (min-height: 850px) and (orientation: portrait) {
    .hero {
    padding: 85px 15px 25px 15px;
    }
    
    
    .hero-content {
        gap: 18px;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .hero-description {
        margin-bottom: 20px;
    }
    
    
    }
    
    /* Short mobile devices (older iPhones, compact Android) */
    @media screen and (max-width: 380px) and (max-height: 700px) and (orientation: portrait) {
    .hero {
    padding: 60px 10px 10px 10px;
    }
    
    
    .hero-content {
        gap: 8px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .hero-tagline {
        margin: 8px 0;
    }
    
    .hero-buttons {
        gap: 6px;
        max-width: 220px;
    }
    
    .premium-button, 
    .secondary-button {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    
    }
    
    /* Ultra-wide mobile devices (Samsung Galaxy S21 Ultra, etc.) */
    @media screen and (min-width: 400px) and (max-width: 480px) and (orientation: portrait) {
    .hero {
    padding: 75px 20px 20px 20px;
    }
    
    
    .hero-content {
        gap: 16px;
    }
    
    .hero h1 {
        font-size: 2.7rem;
    }
    
    .hero h2 {
        font-size: 1.45rem;
    }
    
    .hero-buttons {
        max-width: 300px;
    }
    
    
    }
    
    /* Notched phones support */
    @supports (padding-top: env(safe-area-inset-top)) {
    @media screen and (max-width: 768px) {
    header {
    padding-top: calc(env(safe-area-inset-top) + 12px);
    }
    
    
        .hero {
            padding-top: calc(80px + env(safe-area-inset-top));
        }
    }
    
    
    }
    
    /* Landscape mobile orientation */
    @media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
    height: 100vh;
    padding: 60px 20px 10px 20px;
    }
    
    
    .hero-content {
        gap: 8px;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .hero-buttons {
        flex-direction: row;
        max-width: 400px;
        gap: 10px;
    }
    
    .premium-button, 
    .secondary-button {
        flex: 1;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    
    }
    
    /* Loading logo - Perfectly centered on all devices */
    .logo-container {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    }
    
    /* Desktop loading logo */
    @media screen and (min-width: 1200px) {
    .logo-container {
    width: 200px !important;
    height: 200px !important;
    }
    }
    
    /* Tablet loading logo */
    @media screen and (min-width: 769px) and (max-width: 1199px) {
    .logo-container {
    width: 180px !important;
    height: 180px !important;
    }
    }
    
    /* Mobile loading logo */
    @media screen and (max-width: 768px) {
    .logo-container {
    width: 140px !important;
    height: 140px !important;
    }
    }
    
    /* Small mobile loading logo */
    @media screen and (max-width: 480px) {
    .logo-container {
    width: 120px !important;
    height: 120px !important;
    }
    }
/* Responsive adjustments for About section */
@media screen and (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr; /* Stack on smaller screens */
        gap: 30px;
    }
    
    .about-image {
        margin-top: 20px;
        max-width: 600px; /* Limit width on tablets */
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 993px) and (max-width: 1200px) {
    /* Medium desktop adjustments */
    .about-content {
        gap: 30px; /* Less gap on medium screens */
    }
    
    .premium-image-frame {
        max-width: 90%; /* Slightly reduced size on medium screens */
        margin-left: auto;
    }
}

@media screen and (min-width: 1201px) {
    /* Large desktop optimizations */
    .about-content {
        gap: 60px; /* More gap on large screens */
    }
    
    .about-text {
        padding-right: 20px; /* Add some padding */
    }
}

/* Hover effect for image */
.premium-image-frame:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}