/* ===========================
   XPLOREA KIDS GYMNASTICS & FITNESS
   Custom CSS Styles
   ========================== */

/* Root Variables */
:root {
    --primary-color: #FF3B30; /* Bright red for logo visibility */
    --secondary-color: #34C759; /* Fresh green */
    --accent-color: #007AFF; /* Vibrant blue */
    --success-color: #30D158;
    --warning-color: #FF9500;
    --danger-color: #FF453A;
    --dark-color: #1D1D1F;
    --light-color: #F2F2F7;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #FF3B30, #FF9500);
    --gradient-secondary: linear-gradient(135deg, #34C759, #30D158);
    --gradient-accent: linear-gradient(135deg, #007AFF, #5AC8FA);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-radius: 15px;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Bootstrap Overrides */
.btn {
    font-weight: 500;
    text-transform: none;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a4f, #e6bd5a);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Custom Bootstrap Color Classes */
.text-primary {
    color: #e9282a !important;
}

.brand-shadow {
    text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.6),
     1px -1px 0 rgba(255, 255, 255, 0.6),
    -1px  1px 0 rgba(255, 255, 255, 0.6),
     1px  1px 0 rgba(255, 255, 255, 0.6);
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: var(--white);
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-family: 'Fredoka', cursive;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(255, 59, 48, 0.2);
}

.logo-img {
    margin-right: 0.5rem;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(255, 59, 48, 0.3));
}

.logo-text-img {
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(255, 59, 48, 0.2));
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color), #FF9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--gradient-primary);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 100px 0 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    z-index: 2;
}

/* Hero Main Image - Standalone with bounce animation */
.hero-main-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    animation: slowFloat 4s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

/* Hero Image Placeholder with Animation */
.hero-image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    border-radius: var(--border-radius);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: slowFloat 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
    margin: 0 auto;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.hero-image-placeholder .placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    position: relative;
}

.hero-image-placeholder .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.hero-image-placeholder .placeholder-text {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
}

@keyframes slowFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-star {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-star {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.star-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.star-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    font-size: 1.8rem;
}

.star-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    font-size: 1.5rem;
}

.star-4 {
    top: 10%;
    right: 30%;
    animation-delay: 1s;
    font-size: 1.3rem;
}

.star-5 {
    top: 40%;
    left: 5%;
    animation-delay: 3s;
    font-size: 1.6rem;
}

.star-6 {
    bottom: 20%;
    right: 25%;
    animation-delay: 5s;
    font-size: 1.4rem;
}

.star-7 {
    top: 80%;
    left: 15%;
    animation-delay: 1.5s;
    font-size: 1.7rem;
}

.star-8 {
    top: 25%;
    right: 5%;
    animation-delay: 3.5s;
    font-size: 1.2rem;
}

.star-9 {
    bottom: 50%;
    left: 25%;
    animation-delay: 2.5s;
    font-size: 1.5rem;
}

.star-10 {
    bottom: 10%;
    right: 10%;
    animation-delay: 4.5s;
    font-size: 1.8rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 59, 48, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animated,
.fade-in-left.animated,
.fade-in-right.animated {
    opacity: 1;
    transform: translate(0);
}

/* About Section */
.about-section {
    background: var(--light-color);
    position: relative;
}

.about-content {
    padding: 2rem 0;
}

.about-features .feature-item {
    padding: 0.5rem 0;
    color: var(--dark-color);
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--white);
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.badge-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

/* Mission Statement */
.mission-statement {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.05), rgba(52, 199, 89, 0.05));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    z-index: 1;
}

.mission-statement h4 {
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

.mission-text {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: var(--dark-color);
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.mission-statement .fas.fa-bullseye {
    color: var(--primary-color);
}

.badge-text {
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
    line-height: 1.1;
    font-weight: 600;
}

/* Programs Section */
.programs-section {
    background: var(--white);
    padding: 80px 0;
}

.program-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.program-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 2;
}

.program-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

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

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

.program-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-title {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.program-description {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.program-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-features li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.program-features i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.program-age {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    background: var(--light-color);
    padding: 80px 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 111, 97, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-content {
    text-align: center;
    color: var(--white);
}

.gallery-content i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gallery-content p {
    font-weight: 500;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--gradient-secondary);
    padding: 80px 0;
    color: var(--white);
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: var(--white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin: 0 1rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.testimonial-stars {
    color: var(--secondary-color);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin: 1.5rem 0;
    line-height: 1.6;
    min-height: 100px;
    display: flex;
    align-items: center;
    text-align: center;
}

.testimonial-author strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    opacity: 0.8;
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

/* Contact Section */
.contact-section {
    background: var(--white);
    padding: 80px 0;
}

.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contact-form h3 {
    color: var(--dark-color);
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    transition: var(--transition);
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 111, 97, 0.25);
}

.contact-info h3 {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p,
.contact-details a {
    color: #6c757d;
    margin: 0;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

/* Footer */
.footer-section {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

.footer-brand h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.footer-links h5,
.footer-programs h5,
.footer-contact h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-programs ul {
    list-style: none;
}

.footer-links li,
.footer-programs li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-programs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 20px;
    margin-top: 2px;
}

.footer-contact-item span {
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Responsive adjustments for footer contact */
@media (max-width: 768px) {
    .footer-contact-item span {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    text-align: left;
}

.footer-links-bottom {
    text-align: right;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: var(--transition);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: var(--shadow-heavy);
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

#modalImage {
    max-height: 70vh;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .hero-main-image {
        max-width: 350px;
    }
    
    .hero-image-placeholder {
        height: 300px;
        max-width: 350px;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: 10px;
        right: 10px;
    }
    
    .badge-number {
        font-size: 1.5rem;
    }
    
    .badge-text {
        font-size: 0.75rem !important;
        line-height: 1.1;
        font-weight: 600;
        padding: 5px;
    }
    
    .testimonial-card {
        padding: 2rem 1rem;
        margin: 0;
        min-height: 320px;
    }
    
    .testimonial-text {
        min-height: 80px;
        font-size: 1rem;
    }
    
    .footer-copyright,
    .footer-links-bottom {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-links-bottom a {
        margin: 0 0.75rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .program-card {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .experience-badge {
        width: 95px;
        height: 95px;
        bottom: 8px;
        right: 8px;
    }
    
    .badge-text {
        font-size: 0.68rem !important;
        line-height: 1.1;
        font-weight: 600;
        padding: 4px;
    }
}

/* Performance Optimizations */
.img-fluid {
    height: auto;
    max-width: 100%;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #d63447;
        --secondary-color: #f39c12;
        --accent-color: #00b894;
        --dark-color: #000000;
        --light-color: #ffffff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer-section,
    .back-to-top,
    .floating-elements {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 18pt;
        color: black !important;
    }
}

/* ===========================
   SPACE RENTAL SECTION
   ========================== */

.space-rental-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    position: relative;
    overflow: hidden;
}

.space-rental-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FF3B30" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%2334C759" opacity="0.05"/><circle cx="75" cy="25" r="1" fill="%23007AFF" opacity="0.05"/><circle cx="25" cy="75" r="1" fill="%23FF9500" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

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

.rental-intro {
    max-width: 800px;
    margin: 0 auto;
}

.rental-intro h3 {
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.rental-intro p.lead {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

.rental-feature {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.rental-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.rental-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.rental-feature h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.rental-feature p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.amenities-list {
    list-style: none;
    padding: 0;
}

.amenities-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.amenities-list li i {
    margin-right: 0.8rem;
    font-size: 1rem;
}

.rental-image {
    position: relative;
    margin-top: 3rem;
    animation: slowFloat 6s ease-in-out infinite;
}

@keyframes slowFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.rental-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    border-radius: 50px;
    padding: 15px 20px;
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
}

.rental-badge-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.rental-badge-icon {
    font-size: 1.2rem;
}

.rental-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

/* Rental Packages */
.rental-package {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rental-package:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.rental-package-featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.rental-package-featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-header {
    margin-bottom: 2rem;
    position: relative;
}

.package-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.rental-package-featured .package-icon {
    background: var(--gradient-primary);
}

.package-header h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.package-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.package-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-features {
    flex: 1;
    margin-bottom: 2rem;
}

.package-features ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.package-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.package-features li i {
    color: var(--success-color);
    margin-right: 0.8rem;
    font-size: 1rem;
}

.package-cta {
    margin-top: auto;
}

.rental-cta {
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .rental-feature {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .rental-package {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .rental-package-featured {
        transform: none;
        margin-top: 1rem;
    }
    
    .rental-package-featured:hover {
        transform: translateY(-5px);
    }
    
    .rental-badge {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
    }
    
    .rental-badge-text {
        font-size: 0.8rem;
    }
    
    .amenities-list li {
        font-size: 0.9rem;
    }
}
