/* Reset and Global Styles */
:root {
    --primary: #123c69;
    --primary-rgb: 18, 60, 105; /* RGB value of #123c69 for rgba() */
    --secondary: #ac8b37;
    --secondary-rgb: 172, 139, 55; /* RGB value of #ac8b37 for rgba() */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #dddddd;
    --dark-gray: #555555;
    --black: #111111;
    --transition: all 0.3s ease;
    --border-radius: 5px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--light-gray);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

button, .button {
    cursor: pointer;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

button:hover, .button:hover {
    background: var(--secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.separator {
    height: 4px;
    width: 60px;
    background-color: var(--secondary);
    margin: 1.5rem auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
    margin: 0.5rem;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
}

.cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header Styles */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary);
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 1rem 1.2rem;
    color: var(--primary);
    font-weight: 500;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--secondary);
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropbtn {
    display: flex;
    align-items: center;
}

.dropbtn i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--box-shadow);
    z-index: 1;
    border-radius: var(--border-radius);
}

.dropdown-content a, .dropdown-content span.disabled-link {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--gray);
    display: block;
}

.dropdown-content span.disabled-link {
    color: #999;
    cursor: default;
    position: relative;
}

.dropdown-content span.disabled-link:after {
    content: " (Coming Soon)";
    font-size: 0.8rem;
    opacity: 0.7;
}

.dropdown-content a:last-child, .dropdown-content span.disabled-link:last-child {
    border-bottom: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Slider - Enhanced Elegant Design */
.hero-slider-container {
    position: relative;
    height: calc(100vh - 92px); /* Account for header height */
    overflow: hidden;
    width: 100%;
    z-index: 1; /* Ensure it's below the header */
    background-color: #000; /* Dark background as base */
}

/* Hero Background Animation Elements - Enhanced */
.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Floating Shapes - More prominent and dynamic */
.floating-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
}

.shape1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary), rgba(var(--secondary-rgb), 0.6));
    border-radius: 50%;
    top: -200px;
    left: -150px;
    animation: float-animation-1 25s infinite ease-in-out;
    filter: blur(2px);
}

.shape2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, var(--primary), rgba(var(--primary-rgb), 0.4));
    border-radius: 50%;
    bottom: -300px;
    right: -200px;
    animation: float-animation-2 30s infinite ease-in-out;
    filter: blur(3px);
}

.shape3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(225deg, var(--secondary), rgba(var(--secondary-rgb), 0.7));
    border-radius: 50%;
    top: 25%;
    left: 80%;
    animation: float-animation-3 20s infinite ease-in-out;
    filter: blur(1px);
}

/* Additional geometric shapes */
.shape4 {
    width: 150px;
    height: 150px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 20%;
    top: 10%;
    left: 10%;
    animation: float-animation-4 18s infinite ease-in-out;
    opacity: 0.06;
}

.shape5 {
    width: 300px;
    height: 80px;
    background: linear-gradient(0deg, var(--secondary), transparent);
    border-radius: 40px;
    top: 60%;
    left: 5%;
    animation: float-animation-5 22s infinite ease-in-out;
    opacity: 0.05;
}

.shape6 {
    width: 120px;
    height: 120px;
    background: var(--secondary);
    border-radius: 50%;
    top: 70%;
    right: 15%;
    animation: float-animation-6 16s infinite ease-in-out;
    opacity: 0.04;
}

/* Animated overlay with more dynamic gradient */
.animated-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(var(--secondary-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(var(--primary-rgb), 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(var(--secondary-rgb), 0.04) 0%, transparent 70%);
    animation: pulse-complex 12s infinite ease-in-out;
}

/* Floating particles effect */
.hero-background-elements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(var(--secondary-rgb), 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(var(--primary-rgb), 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(var(--secondary-rgb), 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(var(--primary-rgb), 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(var(--secondary-rgb), 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particles-float 40s linear infinite;
    opacity: 0.6;
}

/* Diamond shapes */
.hero-background-elements::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(var(--secondary-rgb), 0.03) 40%, rgba(var(--secondary-rgb), 0.03) 60%, transparent 60%);
    background-size: 300px 300px;
    animation: diamond-drift 35s linear infinite;
    opacity: 0.7;
}

/* Enhanced animation keyframes */
@keyframes float-animation-1 {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-30px) rotate(5deg) scale(1.02); }
    50% { transform: translateY(20px) rotate(-3deg) scale(0.98); }
    75% { transform: translateY(-10px) rotate(8deg) scale(1.01); }
    100% { transform: translateY(0) rotate(0deg) scale(1); }
}

@keyframes float-animation-2 {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    30% { transform: translateY(-80px) rotate(-10deg) scale(1.05); }
    60% { transform: translateY(40px) rotate(5deg) scale(0.95); }
    100% { transform: translateY(0) rotate(0deg) scale(1); }
}

@keyframes float-animation-3 {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    33% { transform: translateY(60px) scale(1.15) rotate(120deg); }
    66% { transform: translateY(-20px) scale(0.9) rotate(240deg); }
    100% { transform: translateY(0) scale(1) rotate(360deg); }
}

@keyframes float-animation-4 {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(50px) translateY(-20px) rotate(90deg); }
    50% { transform: translateX(-30px) translateY(40px) rotate(180deg); }
    75% { transform: translateX(20px) translateY(-30px) rotate(270deg); }
    100% { transform: translateX(0) translateY(0) rotate(360deg); }
}

@keyframes float-animation-5 {
    0% { transform: translateX(0) scaleX(1); }
    50% { transform: translateX(100px) scaleX(1.3); }
    100% { transform: translateX(0) scaleX(1); }
}

@keyframes float-animation-6 {
    0% { transform: translateY(0) scale(1); opacity: 0.04; }
    50% { transform: translateY(-100px) scale(1.2); opacity: 0.08; }
    100% { transform: translateY(0) scale(1); opacity: 0.04; }
}

@keyframes pulse-complex {
    0% { opacity: 0.5; transform: scale(1); }
    25% { opacity: 0.8; transform: scale(1.02); }
    50% { opacity: 0.6; transform: scale(0.98); }
    75% { opacity: 0.9; transform: scale(1.01); }
    100% { opacity: 0.5; transform: scale(1); }
}

@keyframes particles-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100vh); }
}

@keyframes diamond-drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-300px); }
}

/* Scrolling Images Gallery Section */
.scrolling-gallery {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    overflow: hidden;
    position: relative;
}

.scrolling-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1" fill="%23ac8b37" opacity="0.05"/><circle cx="75" cy="75" r="1.5" fill="%23123c69" opacity="0.05"/><circle cx="50" cy="10" r="0.8" fill="%23ac8b37" opacity="0.05"/></svg>') repeat;
    pointer-events: none;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.gallery-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.gallery-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.scrolling-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.scrolling-track {
    display: flex;
    gap: 2rem;
    animation: scroll-left 40s linear infinite;
    width: fit-content;
}

.scroll-item {
    flex-shrink: 0;
    width: 350px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.scroll-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scroll-item:hover img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(var(--primary-rgb), 0.8) 50%,
        transparent 100%);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(60%);
    transition: transform 0.3s ease;
}

.scroll-item:hover .item-overlay {
    transform: translateY(0);
}

.item-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 700;
}

.item-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pause animation on hover */
.scrolling-container:hover .scrolling-track {
    animation-play-state: paused;
}

/* Scrolling animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive design for scrolling gallery */
@media (max-width: 768px) {
    .scrolling-gallery {
        padding: 4rem 0 3rem;
    }
    
    .gallery-header h2 {
        font-size: 2.2rem;
    }
    
    .gallery-header {
        margin-bottom: 3rem;
    }
      .scroll-item {
        width: 280px;
        height: 350px;
    }
    
    .scrolling-track {
        gap: 1.5rem;
        animation-duration: 30s;
    }
    
    .item-overlay {
        padding: 1.5rem 1rem 1rem;
        transform: translateY(40%);
    }
    
    .item-overlay h4 {
        font-size: 1.1rem;
    }
    
    .item-overlay p {
        font-size: 0.8rem;
    }
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    z-index: 1;
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, 
            rgba(0,0,0,0.85) 0%, 
            rgba(var(--primary-rgb), 0.7) 30%,
            rgba(var(--secondary-rgb), 0.5) 70%,
            rgba(0,0,0,0.6) 100%),
        radial-gradient(circle at 30% 40%, rgba(var(--secondary-rgb), 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(var(--primary-rgb), 0.15) 0%, transparent 50%);
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    z-index: 3;
    transform: scale(1);
}

.hero-content {
    max-width: 1000px;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-slide:not(.active) .hero-content {
    opacity: 0;
    transform: translateY(50px);
}

.hero-slide.active .hero-content > * {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.hero-slide.active .hero-badge {
    animation-name: fadeInDown;
    animation-delay: 0.2s;
}

.hero-slide.active h1 {
    animation-name: fadeInUp;
    animation-delay: 0.5s;
}

.hero-slide.active h2 {
    animation-name: fadeInUp;
    animation-delay: 0.7s;
}

.hero-slide.active p {
    animation-name: fadeInUp;
    animation-delay: 0.9s;
}

.hero-slide.active .hero-buttons {
    animation-name: fadeInUp;
    animation-delay: 1.1s;
}

.hero-content h1,
.hero-content h2,
.hero-content p {
    color: var(--white);
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(var(--secondary-rgb), 0.3),
        0 0 40px rgba(var(--secondary-rgb), 0.1);
    opacity: 0;
}

.hero-content h1 {
    text-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(var(--secondary-rgb), 0.4),
        0 0 60px rgba(var(--secondary-rgb), 0.2);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    font-weight: 700;
    line-height: 1.1;
}

.hero-content h1 .highlight {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero-content h1 .highlight:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--secondary);
    opacity: 0.4;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
    opacity: 0;
}

.hero-badge span {
    background-color: rgba(var(--secondary-rgb), 0.9);
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(var(--secondary-rgb), 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
}

.cta-button.primary {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-button.primary:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.cta-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--secondary-rgb), 0.5);
}

.cta-button.primary:hover:before {
    left: 0;
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-5px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none; /* Allow clicks to pass through the container */
}

.prev-slide, .next-slide {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0 15px;
    transition: all 0.3s ease;
    pointer-events: auto; /* Make buttons clickable */
    position: absolute; /* Position the buttons */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.prev-slide:hover, .next-slide:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto; /* Make dots clickable */
}

.slider-dot.active {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.3);
}

/* Position the buttons */
.prev-slide {
    left: 40px;
}

.next-slide {
    right: 40px;
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.scroll-down-indicator:hover {
    opacity: 1;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.scroll-down-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Additional Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Animations for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scale {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

/* Introduction Section */
.intro-section {
    background-color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

/* Featured Inductees */
.featured-inductees {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.category {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}

.card-content h3 {
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
}

.read-more {
    font-weight: 500;
    color: var(--secondary);
}

.read-more:hover {
    text-decoration: underline;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    position: relative;
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(var(--secondary-rgb), 0.3);
}

.category-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--white);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.7) 0%, 
        rgba(var(--secondary-rgb), 0.6) 50%, 
        rgba(var(--primary-rgb), 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card:hover .category-content {
    background: linear-gradient(135deg, 
        rgba(var(--secondary-rgb), 0.9) 0%, 
        rgba(var(--primary-rgb), 0.8) 50%, 
        rgba(var(--secondary-rgb), 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(var(--secondary-rgb), 0.3) 100%);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.3);
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--secondary) 0%, #f1c40f 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(var(--secondary-rgb), 0.5);
}

.category-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.category-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.category-card:hover h3 {
    transform: scale(1.05);
}

.category-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 300;
}

.category-stats {
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 0.9rem;
}

.category-stats span {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.category-stats i {
    margin-right: 5px;
}

/* CTA Section */
.cta-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/cta-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.cta-section p {
    max-width: 600px;
    margin: 1.5rem auto;
}

/* Latest News */
.latest-news {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: block;
}

.news-content h3 {
    margin-bottom: 0.8rem;
}

.news-excerpt {
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    background-image: 
        linear-gradient(135deg, rgba(18, 60, 105, 0.97) 0%, rgba(18, 60, 105, 0.95) 100%),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSIgZD0iTTM2IDM0aDN2M2gtM3ptMC04aDN2M2gtM3ptLTh2LTNoM3YzaC0zem0wIDE0aDN2M2gtM3pNMjAgMThIM3Y0aDIwVjNINDB2MTVoMjB2NEgzNnYzaDRWNDBINDB2LTRoLTR2LTNoOHYtMnYtM2gtNHYtM2gtNHYtM2gtOHYzaC00eiIvPjwvZz48L3N2Zz4=');
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--secondary);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    margin-bottom: 1rem;
    transition: transform 0.3s ease, filter 0.4s ease;
    animation: subtle-pulse 5s ease-in-out infinite;
}

.footer-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(172, 139, 55, 0.5));
}

@keyframes subtle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);    background: linear-gradient(to right, var(--white), #e0d5a8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-logo p {
    color: var(--gray);
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-size: 1.3rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 40px;
    background: var(--secondary);
    background: linear-gradient(90deg, var(--secondary), transparent);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0;
    transition: transform 0.2s ease;
}

.footer-column ul li:hover {
    transform: translateX(5px);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(172, 139, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--white);
    border-color: var(--secondary);
}

.social-icons a:hover::before {
    opacity: 0.8;
}

.newsletter {
    margin-top: 1.5rem;
}

.newsletter form {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.newsletter-note {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.newsletter input {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: var(--border-radius);
    font-family: inherit;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter input:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter button {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter button:hover {
    background: #c5a045;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-info {
    margin-top: 2rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-info p i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.copyright a {
    color: var(--secondary);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.footer-nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-nav a:hover {
    color: var(--secondary);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* Footer hover effects for links */
.footer-column ul li a span {
    margin-right: 5px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.footer-column ul li a:hover span {
    transform: translateX(3px);
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    /* Header Navigation */
    .header-container {
        padding: 1rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu li {
        display: block;
        margin: 0;
        padding: 0.5rem 1rem;
    }

    .menu-icon {
        display: block;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }

    /* Hero Section */
    .hero-slider-container {
        height: 80vh;
    }

    .hero-content {
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    /* Section Spacing */
    section {
        padding: 3rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Grid Layouts */
    .about-home-grid,
    .purpose-grid,
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Cards and Features */
    .booking-cards {
        flex-direction: column;
    }

    .booking-card {
        width: 100%;
        margin-bottom: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    /* Gallery Section */
    .scrolling-gallery .scroll-item {
        width: 300px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 2rem;
    }

    .social-icons {
        justify-content: center;
    }

    /* Modal Windows */
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.875rem;
    }

    /* Navigation */
    .logo h1 {
        font-size: 1.5rem;
    }

    /* Cards */
    .purpose-card,
    .category-card {
        min-height: 200px;
    }

    /* Footer */
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Tablet Devices */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .purpose-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .booking-card {
        width: calc(50% - 1rem);
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .cta-button:hover {
        transform: none;
    }

    .category-card:hover {
        transform: none;
    }
    
    .purpose-card:hover {
        transform: none;
    }
}

/* About Home Section Styles */
.about-home-section {
    padding: 5rem 0;
    background-color: var(--white);
    overflow: hidden;
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-home-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-home-image:hover img {
    transform: scale(1.05);
}

.about-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 1.5rem;
}

.overlay-content {
    display: flex;
    flex-direction: column;
}

.overlay-content .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.overlay-content .text {
    font-size: 1rem;
    font-weight: 500;
}

.about-home-content {
    padding: 2rem;
}

.about-home-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-home-image {
        max-height: 500px;
    }

    .about-overlay {
        width: 150px;
        height: 150px;
    }

    .overlay-content .years {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-home-content {
        padding: 1rem 0;
    }

    .about-home-content h2 {
        font-size: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .about-overlay {
        width: 120px;
        height: 120px;
    }

    .overlay-content .years {
        font-size: 1.8rem;
    }
}

/* Purpose Section Styles */
.purpose-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.purpose-card {
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.purpose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.purpose-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.purpose-card:hover::before {
    opacity: 1;
}

.purpose-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

.purpose-card:hover .purpose-icon {
    transform: scale(1.1) rotate(10deg);
}

.purpose-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.purpose-card p {
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.purpose-footer {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid var(--gray);
}

.purpose-footer p {
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Legacy Section Styles */
.legacy-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(18, 60, 105, 0.05), rgba(172, 139, 55, 0.05));
    position: relative;
    overflow: hidden;
}

.legacy-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(172, 139, 55, 0.1), transparent);
    border-radius: 50%;
    z-index: 0;
}

.legacy-section .container {
    position: relative;
    z-index: 1;
}

.legacy-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legacy-content {
    margin-top: 3rem;
}

.legacy-main {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.legacy-main::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 100px;
    color: var(--secondary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.legacy-main h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.legacy-main p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legacy-promise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.promise-box {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.promise-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary);
}

.promise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

.promise-box:hover .promise-icon {
    transform: scale(1.1) rotate(360deg);
}

.promise-box h4 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.promise-box p {
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .legacy-section h2 {
        font-size: 2rem;
    }
    
    .legacy-main h3 {
        font-size: 1.6rem;
    }
    
    .legacy-main p {
        font-size: 1rem;
    }
    
    .legacy-main {
        padding: 2rem 1.5rem;
    }
    
    .promise-box {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    /* Footer responsive styles */
    .footer-container {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}

/* Gallery Page */
.gallery-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--dark-gray);
}

.exhibition-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.exhibition-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.exhibition-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.exhibition-image:hover img {
    transform: scale(1.05);
}

.exhibition-text {
    flex: 2;
    min-width: 300px;
}

.featured-exhibition {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.visitor-info {
    padding: 4rem 0;
    background-color: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.info-card h3 {
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .exhibition-content {
        flex-direction: column;
    }
    
    .exhibition-image {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Soccer Page */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray);
}

.tab-button {
    padding: 1rem 1.5rem;
    background: none;
    color: var(--black);
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.tab-button.active {
    color: var(--primary);
    border-bottom: 3px solid var(--secondary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.category-heroes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hero-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-card:hover .hero-photo img {
    transform: scale(1.05);
}

.hero-info {
    padding: 1.5rem;
}

.hero-info h3 {
    margin-bottom: 0.3rem;
}

.hero-years {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.hero-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.achievement-tag {
    background-color: var(--light-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.hero-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.featured-legend {
    background-color: var(--white);
    padding: 4rem 0;
    margin-top: 4rem;
}

.legend-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.legend-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.legend-text {
    flex: 2;
    min-width: 300px;
}

.legend-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-gray);
    font-weight: 500;
}

/* Nomination Page */
.nomination-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.nomination-form {
    max-width: 800px;
    margin: 2rem auto;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-help {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: 0.3rem;
}

.file-upload {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.required {
    color: red;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    /* Header Navigation */
    .header-container {
        padding: 1rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu li {
        display: block;
        margin: 0;
        padding: 0.5rem 1rem;
    }

    .menu-icon {
        display: block;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }

    /* Hero Section */
    .hero-slider-container {
        height: 80vh;
    }

    .hero-content {
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    /* Section Spacing */
    section {
        padding: 3rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Grid Layouts */
    .about-home-grid,
    .purpose-grid,
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Cards and Features */
    .booking-cards {
        flex-direction: column;
    }

    .booking-card {
        width: 100%;
        margin-bottom: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    /* Gallery Section */
    .scrolling-gallery .scroll-item {
        width: 300px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 2rem;
    }

    .social-icons {
        justify-content: center;
    }

    /* Modal Windows */
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.875rem;
    }

    /* Navigation */
    .logo h1 {
        font-size: 1.5rem;
    }

    /* Cards */
    .purpose-card,
    .category-card {
        min-height: 200px;
    }

    /* Footer */
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Tablet Devices */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .purpose-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .booking-card {
        width: calc(50% - 1rem);
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .cta-button:hover {
        transform: none;
    }

    .category-card:hover {
        transform: none;
    }
    
    .purpose-card:hover {
        transform: none;
    }
}

/* About Home Section Styles */
.about-home-section {
    padding: 5rem 0;
    background-color: var(--white);
    overflow: hidden;
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-home-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-home-image:hover img {
    transform: scale(1.05);
}

.about-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 1.5rem;
}

.overlay-content {
    display: flex;
    flex-direction: column;
}

.overlay-content .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.overlay-content .text {
    font-size: 1rem;
    font-weight: 500;
}

.about-home-content {
    padding: 2rem;
}

.about-home-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-home-image {
        max-height: 500px;
    }

    .about-overlay {
        width: 150px;
        height: 150px;
    }

    .overlay-content .years {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-home-content {
        padding: 1rem 0;
    }

    .about-home-content h2 {
        font-size: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .about-overlay {
        width: 120px;
        height: 120px;
    }

    .overlay-content .years {
        font-size: 1.8rem;
    }
}