/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary-color: #D4AF37; /* Golden primary color */
    --secondary-color: #2c2c2c;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --accent: #F4D03F; /* Lighter golden accent */
    --golden: #D4AF37; /* Golden accent color */
    --gradient: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%); /* Golden gradient */
    --golden-gradient: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%); /* Golden gradient */
    --shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    --shadow-hover: 0 15px 40px rgba(212, 175, 55, 0.2);
    --transition: all 0.3s ease;
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

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

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

/* ===========================
   Language Switcher
   =========================== */
.language-switcher {
    position: relative;
}

.language-toggle {
    width: auto;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(244, 208, 63, 0.05));
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.language-toggle:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(244, 208, 63, 0.1));
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.lang-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    stroke: var(--primary-color);
}

.language-dropdown.active + .language-toggle .lang-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.25), 
                0 0 0 1px rgba(212, 175, 55, 0.1) inset;
    list-style: none;
    padding: 0.5rem;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1001;
    min-width: 120px;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 0.75rem 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 10px;
    text-align: center;
}

.language-option:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(244, 208, 63, 0.1));
    color: var(--primary-color);
    transform: translateX(3px);
}

/* ===========================
   RTL Styles
   =========================== */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .service-features {
    padding-left: 0;
    padding-right: 1rem;
}

[dir="rtl"] .service-features li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .service-features li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .info-item:hover {
    transform: translateX(-10px);
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .modal-details li {
    padding-left: 1rem;
    padding-right: 2.5rem;
}

[dir="rtl"] .modal-details li::before {
    left: auto;
    right: 1rem;
}

[dir="rtl"] .nav-right {
    gap: 0;
}

[dir="rtl"] .nav-menu {
    gap: 1.5rem;
    margin-left: 2rem;
}

[dir="rtl"] .logo {
    margin-right: auto;
}

[dir="rtl"] .language-switcher {
    margin-left: 1rem;
}

[dir="rtl"] .floating-nav {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .whatsapp-button {
    right: auto;
    left: 20px;
}

@media (max-width: 768px) {
    [dir="rtl"] .whatsapp-button {
        right: auto;
        left: 16px;
    }
}


/* ===========================
   Floating Mobile Navigation
   =========================== */
.floating-nav {
    display: none; /* Hidden by default, shown in media query */
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Rounded Capsule Shape */
    border-radius: 9999px;
    padding: 12px 20px;
    
    /* Gradient Border Effect */
    /* border: 1px solid; */
    border-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.2)
    ) 1;
    border-radius: 9999px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 2px 4px rgba(255, 255, 255, 0.8) inset;
    
    /* Flexbox for Icons */
    display: flex;
    gap: 0; /* Remove gap to prevent overflow on small screens */
    align-items: center;
    /* Adjustments for responsiveness */
    width: 95%; /* Slightly wider on small screens */
    max-width: 400px; /* Prevent it from being too wide */
    justify-content: space-between; /* Distribute items evenly to edges */
    padding: 12px 15px; /* Reduced padding */
    
    /* Smooth transitions */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%; /* This makes it a circle */
    aspect-ratio: 1 / 1; /* Explicitly ensure square aspect ratio */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: rgba(44, 44, 44, 0.7);
}

.floating-nav-item svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active state */
.floating-nav-item.active {
    color: var(--primary-color);
    background: rgba(231, 231, 231, 0.6);
}

.floating-nav-item.active svg {
    transform: scale(1.1);
}

/* Hover effect for non-touch devices */
@media (hover: hover) {
    .floating-nav-item:hover {
        background: rgba(212, 175, 55, 0.1);
        transform: translateY(-2px);
    }
}

/* Tap effect for touch devices */
.floating-nav-item:active {
    transform: scale(0.95);
}

/* ===========================
   WhatsApp Button
   =========================== */
.whatsapp-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    cursor: pointer;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    color: white;
}

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 110px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    height: 100vh;
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.8);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 50px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

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

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white); /* Reverted to white */
    box-shadow: 0 5px 15px rgba(179, 146, 240, 0.3);
    border: 2px solid var(--white); /* Added border */
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(179, 146, 240, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

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

.btn-full {
    width: 100%;
}

/* ===========================
   Section Styling
   =========================== */
section {
    padding: 6rem 0;
    position: relative; /* Added for particles */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gradient);
    margin: 0 auto 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   Particles Container
   =========================== */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

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

/* ===========================
   About Section
   =========================== */
.about {
    background: var(--white);
}

.about .section-header,
.training .section-header,
.contact .section-header {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: fit-content;
    z-index: 1; /* Ensure it stays above particles */
    position: relative; /* Needed for z-index to work */
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 15px;
    padding: 2rem;
    z-index: 1; /* Ensure it stays above particles */
    position: relative; /* Needed for z-index to work */
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--golden);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.2);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================
   Services Section
   =========================== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--golden-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    text-align: left;
    padding-left: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===========================
   Training Section
   =========================== */
.training {
    background: var(--white);
}

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

.training-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
    height: 100%;
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.training-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.training-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--primary-color);
}

.training-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.training-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.training-details {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.training-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: var(--secondary-color);
}

.training-duration, .training-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.training-features {
    list-style: none;
}

.training-features li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.training-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.training-card:hover .btn-outline {
    background: var(--primary-color);
    color: var(--white);
}

.why-us-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.why-us-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.why-us-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    list-style: none;
}

.why-us-list li {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    color: var(--secondary-color);
}

.why-us-list li svg {
    color: var(--primary-color);
}

/* RTL Adjustments for Training */
[dir="rtl"] .training-features li {
    padding-left: 0;
    padding-right: 1.2rem;
}

[dir="rtl"] .training-features li::before {
    left: auto;
    right: 0;
}

/* ===========================
   Gallery Section
   =========================== */
.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
    background: var(--bg-light);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.2), rgba(0, 0, 0, 0.5));
    font-size: 1.2rem;
    color: var(--white);
    font-family: var(--font-heading);
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.gallery-item:hover .gallery-placeholder {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(244, 208, 63, 0.6));
}

.gallery-placeholder span {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    font-size: 1.3rem;
}

/* ===========================
   Gallery Modal
   =========================== */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.modal-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--secondary-color);
}

.modal-close:hover svg {
    stroke: var(--white);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-image-container {
    position: relative;
    background: var(--bg-light);
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.modal-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.modal-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.modal-details li {
    padding: 0.8rem 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    color: var(--text-dark);
    position: relative;
    padding-left: 2.5rem;
}

.modal-details li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-image-container {
        border-radius: 20px 20px 0 0;
    }
    
    .modal-image {
        min-height: 250px;
        max-height: 300px;
    }
    
    .modal-info {
        padding: 2rem 1.5rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background: var(--white);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--golden-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.info-text h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--text-light);
    line-height: 1.6;
}



/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

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

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

.social-link svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

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



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

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    /* Hide desktop navigation menu on mobile */
    .nav-menu {
        display: none;
    }

    /* Show floating navigation on mobile */
    .floating-nav {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

    .social-links {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }
    
    /* Adjust bottom padding for floating nav */
    body {
        padding-bottom: 90px;
    }
}

@media (min-width: 769px) {
    /* Hide floating navigation on desktop */
    .floating-nav {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Smooth scroll offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}