/* 
=============================================
   IRAQ IS BACK - 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: 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: 220px; /* Bigger initial logo */
    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: 130px; /* Smaller logo when scrolled */
}

/* 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);
    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;
}

.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: 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    height: 450px;
    overflow: hidden;
    position: relative;
}

.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: 30px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    color: var(--text-light);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    z-index: 2;
}

.gallery-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    text-shadow: var(--gold-glow);
}

.gallery-caption p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

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

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

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

/* 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;
}

.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;
}

.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);
}

.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);
    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: 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));
}

/* Children and Future Focus Elements */
.children-focus {
    position: relative;
    padding: 30px; /* Reduced padding */
    background-color: rgba(8, 8, 8, 0.7);
    margin: 40px 0; /* Reduced margin */
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--gold-sharp-glow);
}

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

.children-focus h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.children-focus p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 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 {
        max-width: 100% !important;
    }
}

/* 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 */
.gallery-item:hover .gallery-caption h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    box-shadow: var(--gold-glow);
}

/* 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);
    }
    
    .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: 160px; /* Smaller on mobile */
    }
    
    /* 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;
    }
    
    .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 desktop */
@media screen and (min-width: 1200px) {
    .hero {
        padding-top: 200px; /* Even more padding on larger screens */
    }
    
    .title-container {
        margin-top: 70px; /* More margin on larger screens */
    }
    
    .hero-content {
        margin-top: 60px;
    }
}

/* Media Queries for mobile */
@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));
    }

    .hero {
        height: auto;
        min-height: 99vh;
        padding-top: 120px;
        padding-bottom: 80px;
    }
    
    .hero-content {
        margin-top: 30px;
        padding: 20px;
    }
    
    .title-container {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

/* Small mobile styles */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-content {
        margin-top: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .premium-button, 
    .secondary-button {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Additional media query for Samsung Galaxy S8+ and similar devices */
@media screen and (width >= 350px) and (width <= 380px) and (orientation: portrait) {
    /* Increased spacing for the specific resolution */
    .hero {
        padding-top: 150px;
    }
    
    .title-container {
        margin-top: 40px;
    }
    
    /* Make the IRAQ IS BACK title smaller on this specific resolution */
    .hero h1 {
        font-size: 2.4rem;
    }
    
    /* Adjust spacing for hero content */
    .hero-content {
        margin-top: 20px;
        padding: 15px;
    }
    
    .hero-tagline {
        margin-top: 15px;
    }
    
    /* Ensure buttons have enough space */
    .hero-buttons {
        margin-top: 20px;
    }
}

/* More comprehensive mobile fixes */
@media screen and (max-width: 480px) {
    /* Ensure header is fully visible */
    header {
        background-color: rgba(0, 0, 0, 0.9);
    }
    
    /* Make sure hero has sufficient space from header */
    .hero {
        padding-top: 120px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    /* More space between elements */
    .title-container {
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    /* Decrease space between elements */
    .hero-tagline .line {
        width: 40px;
        margin: 0 10px;
    }
}

/* Mobile navigation spacing fixes */
@media screen and (max-width: 768px) {
    /* Ensure header is smaller on mobile */
    header {
        padding: 15px 0; 
    }
    
    /* Logo sizing for mobile */
    .logo {
        width: 160px;
    }
    
    header.scrolled .logo {
        width: 130px;
    }
    
    /* Mobile toggle positioning */
    .mobile-nav-toggle {
        position: relative;
        z-index: 1005;
    }
}

/* Tall mobile devices (iPhone 12, 13, etc.) */
@media screen and (max-width: 390px) and (min-height: 800px) and (orientation: portrait) {
    .hero {
        padding-top: 130px;
    }
    
    .title-container {
        margin-top: 50px;
    }
    
    /* Adjust spacing for tall screens */
    .hero-content {
        margin-top: 15px;
    }
}

/* Shorter mobile devices */
@media screen and (max-width: 380px) and (max-height: 700px) and (orientation: portrait) {
    .hero {
        padding-top: 100px;
    }
    
    .title-container {
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    /* Reduce spacing for shorter screens */
    .hero-content {
        margin-top: 10px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

/* Fix for notched phones (iPhone X, etc.) */
@supports (padding-top: env(safe-area-inset-top)) {
    header {
        padding-top: calc(env(safe-area-inset-top) + 15px);
    }
    
    .hero {
        padding-top: 0;
    }
}

/* Ensure the focus is on the title and not the header */
.hero-content {
    position: relative;
    z-index: 5; /* Higher than header to ensure focus */
}

/* Make sure the mobile menu appears above the content */
nav.active {
    z-index: 1011; /* Higher than header */
}

/* Mobile loader adjustments */
@media screen and (max-width: 768px) {
    .logo-container {
        width: 160px; /* Smaller on mobile */
        position: absolute;
        top: 50%;
        
        /* Absolute centering */
    }
}

/* Extra small mobile adjustments */
@media screen and (max-width: 480px) {
    .logo-container {
        width: 140px; /* Even smaller on very small screens */
    }
}

/* Mobile-first header improvements */
@media screen and (max-width: 768px) {
    /* Always use the scrolled styling for header on mobile */
    header {
        padding: 12px 0;
        background-color: rgba(0, 0, 0, 0.95);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.9);
        position: fixed; /* Always fixed on mobile */
        border-bottom: 1px solid rgba(248, 197, 55, 0.4);
    }
    
    /* Logo is always at the smaller size */
    .logo {
        width: 140px;
    }
    
    /* Adjust content spacing to account for fixed header */
    .hero {
        padding-top: 80px; /* Add padding to account for fixed header */
    }
    
    /* Mobile menu toggle positioning */
    .mobile-nav-toggle {
        margin-right: 5px;
    }
} 

/* 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);
}