:root {
    --primary: #e53e3e;
    --primary-hover: #c53030;
    --primary-light: rgba(229, 62, 62, 0.1);
    --primary-glow: rgba(229, 62, 62, 0.5);
    --card-bg: #1a202c;
    --card-border: #2d3748;
    --heading-color: #f7fafc;
    --body-color: #e2e8f0;
    --transition-standard: all 0.3s ease;
    --bg-dark: #111827;
    --bg-darker: #0d1320;
    --bg-gradient: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

img {
    content-visibility: auto;
}

.offscreen {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--bg-gradient);
    position: relative;
    margin: 0;
    padding: 0;
}

.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: #60a5fa;
    width: 0%;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: width 0.1s ease;
}

.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    will-change: transform;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    will-change: transform;
    filter: blur(30px);
}

.bg-circle-1 {
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.bg-circle-2 {
    bottom: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.bg-circle-3 {
    top: 40%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #4299e1 0%, transparent 70%);
}

.bg-fencing-element {
    position: absolute;
    opacity: 0.03;
    will-change: transform;
}

.bg-sword-1 {
    top: 15%;
    right: 5%;
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 17.5L3 6V3h3l11.5 11.5'/%3E%3Cpath d='M13 19l6-6'/%3E%3Cpath d='M16 16l4 4'/%3E%3Cpath d='M19 21l2-2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    transform: rotate(45deg);
}

.bg-sword-2 {
    bottom: 10%;
    left: 7%;
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 17.5L3 6V3h3l11.5 11.5'/%3E%3Cpath d='M13 19l6-6'/%3E%3Cpath d='M16 16l4 4'/%3E%3Cpath d='M19 21l2-2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    transform: rotate(-30deg);
}

.bg-mask {
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 1v4M4 6l1 2M20 6l-1 2M12 23a8 8 0 0 0 8-8V9H4v6a8 8 0 0 0 8 8z'/%3E%3Cpath d='M8 13v3M16 13v3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    opacity: 0.03;
    will-change: transform;
}

.bg-mask-1 {
    top: 30%;
    left: 10%;
}

.bg-mask-2 {
    bottom: 20%;
    right: 15%;
    transform: rotate(15deg);
}

.bg-accent-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
    opacity: 0.2;
    will-change: transform;
}

.bg-accent-line-1 {
    top: 25%;
    left: 0;
    width: 100%;
    transform: rotate(-1deg);
}

.bg-accent-line-2 {
    bottom: 35%;
    left: 0;
    width: 100%;
    transform: rotate(1deg);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.text-center {
    text-align: center;
}

.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
    will-change: transform;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23111827' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(229, 62, 62, 0.3);
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

section:nth-child(even) {
    background-color: var(--bg-darker);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(229, 62, 62, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(229, 62, 62, 0.03) 0%, transparent 25%);
    pointer-events: none;
}

.section-header {
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heading-color);
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-header h2 i {
    margin-right: 0.75rem;
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.section-divider {
    height: 4px;
    width: 80px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 0 10px var(--primary-glow);
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 20px;
    background: var(--primary);
    opacity: 0.5;
    border-radius: 2px;
}

.section-divider::before {
    left: -30px;
}

.section-divider::after {
    right: -30px;
}

.section-divider.center {
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--body-color);
    line-height: 1.6;
}

.location-story-section {
    padding-top: 5rem;
}

.location-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .location-story {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.location-story-content {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--card-border);
    transition: var(--transition-standard);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.location-story-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(229, 62, 62, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(229, 62, 62, 0.05) 0%, transparent 30%);
    z-index: -1;
    pointer-events: none;
}

.location-story-content:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--primary);
    transform: translateY(-5px);
}

.location-story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--body-color);
}

.location-quote {
    display: flex;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
    position: relative;
}

.location-quote::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -3px;
    width: 3px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.location-quote::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -3px;
    width: 3px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.location-quote i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 1rem;
    opacity: 0.7;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.location-quote p {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 0;
}

.location-highlight {
    display: flex;
    align-items: center;
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.location-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(229, 62, 62, 0.1) 25%, transparent 25%, transparent 50%, rgba(229, 62, 62, 0.1) 50%, rgba(229, 62, 62, 0.1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.location-highlight i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 1rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.location-highlight p {
    margin-bottom: 0;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.location-image {
    position: relative;
}

.location-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-top: 3px solid var(--primary);
    border-left: 3px solid var(--primary);
    z-index: -1;
    opacity: 0.5;
    box-shadow: 0 0 10px var(--primary-glow);
}

.location-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    border-bottom: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    z-index: -1;
    opacity: 0.5;
    box-shadow: 0 0 10px var(--primary-glow);
}

.location-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.location-image:hover img {
    transform: scale(1.03);
}

.image-caption {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: var(--body-color);
    opacity: 0.8;
}

.facility-overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .facility-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .facility-overview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.facility-overview-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--card-border);
    transition: var(--transition-standard);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.facility-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(229, 62, 62, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(229, 62, 62, 0.05) 0%, transparent 30%);
    z-index: -1;
    pointer-events: none;
}

.facility-overview-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--primary);
    transform: translateY(-5px);
}

.facility-overview-image {
    overflow: hidden;
    height: 200px;
    position: relative;
}

.facility-overview-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, var(--card-bg), transparent);
    z-index: 1;
}

.facility-overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-overview-card:hover .facility-overview-image img {
    transform: scale(1.05);
}

.facility-overview-content {
    padding: 1.5rem;
    flex: 1;
    position: relative;
}

.facility-overview-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    opacity: 0.5;
    box-shadow: 0 0 10px var(--primary-glow);
}

.facility-overview-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--heading-color);
    display: flex;
    align-items: center;
}

.facility-overview-content h3 i {
    margin-right: 0.75rem;
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.facility-overview-content p {
    color: var(--body-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.detailed-facilities-tabs {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--card-border);
    position: relative;
    backdrop-filter: blur(10px);
}

.detailed-facilities-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(229, 62, 62, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(229, 62, 62, 0.05) 0%, transparent 30%);
    z-index: 0;
    pointer-events: none;
}

.tabs-navigation {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--card-border);
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.tab-button {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--body-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-standard);
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition-standard);
    box-shadow: 0 0 10px var(--primary-glow);
}

.tab-button i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.tab-button:hover {
    color: var(--primary);
}

.tab-button:hover::before {
    width: 50%;
}

.tab-button.active {
    color: var(--primary);
}

.tab-button.active::before {
    width: 80%;
}

.tabs-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .tab-content-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.tab-content-details h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 0.75rem;
}

.tab-content-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.tab-content-details p {
    color: var(--body-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--body-color);
    line-height: 1.6;
}

.feature-list li::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--primary);
    font-size: 0.75rem;
    filter: drop-shadow(0 0 3px var(--primary-glow));
}

.feature-list li span {
    font-weight: 600;
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary-glow);
}

.feature-highlight {
    display: flex;
    align-items: flex-start;
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(229, 62, 62, 0.1) 25%, transparent 25%, transparent 50%, rgba(229, 62, 62, 0.1) 50%, rgba(229, 62, 62, 0.1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.feature-highlight i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 1rem;
    margin-top: 0.25rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.feature-highlight h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
    position: relative;
    z-index: 1;
}

.feature-highlight p {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.tab-content-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.gallery-main::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 70px;
    height: 70px;
    border-top: 3px solid var(--primary);
    border-left: 3px solid var(--primary);
    z-index: -1;
    opacity: 0.5;
    box-shadow: 0 0 10px var(--primary-glow);
}

.gallery-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 70px;
    height: 70px;
    border-bottom: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    z-index: -1;
    opacity: 0.5;
    box-shadow: 0 0 10px var(--primary-glow);
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gallery-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-standard);
    border: 2px solid transparent;
}

.gallery-thumbnails img:hover {
    opacity: 0.8;
    border-color: rgba(229, 62, 62, 0.5);
}

.gallery-thumbnails img.active {
    opacity: 1;
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition-standard);
    will-change: transform;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.2) 0%, transparent 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition-standard);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--primary);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition-standard);
    z-index: 2;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-caption {
    color: #fff;
}

.gallery-item-caption h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.gallery-item-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.gallery-filters {
    margin-top: 2rem;
}

.gallery-filter {
    background: none;
    border: none;
    color: var(--body-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
}

.gallery-filter::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-standard);
    box-shadow: 0 0 10px var(--primary-glow);
}

.gallery-filter:hover {
    color: var(--primary);
}

.gallery-filter:hover::before {
    width: 50%;
}

.gallery-filter.active {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.gallery-filter.active::before {
    width: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--card-border);
    transition: var(--transition-standard);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(229, 62, 62, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(229, 62, 62, 0.05) 0%, transparent 30%);
    z-index: -1;
    pointer-events: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition-standard);
    box-shadow: 0 0 15px var(--primary-glow);
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--primary);
    transform: translateY(-5px);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 1.75rem;
    transition: var(--transition-standard);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    opacity: 0.3;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.feature-card p {
    color: var(--body-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--card-border);
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(229, 62, 62, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(229, 62, 62, 0.05) 0%, transparent 30%);
    z-index: 0;
    pointer-events: none;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--primary);
    transform: translateY(-5px);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.faq-question i {
    margin-right: 0.75rem;
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.25rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
    flex: 1;
}

.faq-answer {
    padding-left: 2rem;
    color: var(--body-color);
    line-height: 1.6;
    display: none;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.5s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.9) 0%, rgba(17, 24, 39, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23e53e3e' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .cta-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--body-color);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-top: 3px solid var(--primary);
    border-left: 3px solid var(--primary);
    z-index: -1;
    opacity: 0.5;
    box-shadow: 0 0 10px var(--primary-glow);
}

.cta-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    border-bottom: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    z-index: -1;
    opacity: 0.5;
    box-shadow: 0 0 10px var(--primary-glow);
}

.cta-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.cta-image:hover img {
    transform: scale(1.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-standard);
    text-decoration: none;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-standard);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(229, 62, 62, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(229, 62, 62, 0.4), 0 0 20px var(--primary-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 10px rgba(229, 62, 62, 0.1);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(229, 62, 62, 0.3), 0 0 20px var(--primary-glow);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .location-quote p {
        font-size: 1.1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .tabs-navigation {
        flex-direction: column;
    }
    
    .tab-button {
        border-bottom: 1px solid var(--card-border);
    }
}

@media (max-width: 480px) {
    .hero {
        height: 350px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .location-quote {
        flex-direction: column;
    }
    
    .location-quote i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .location-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .location-highlight i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .feature-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-highlight i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}