:root {
    --bg-color: #08090A;
    --surface-color: #121417;
    --surface-hover: #1A1D21;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #EDEDED;
    --text-secondary: #8A8F98;
    --primary-gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --accent-glow: rgba(99, 102, 241, 0.5);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

/* Navbar */
.navbar {
    background: rgba(8, 9, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff !important;
    letter-spacing: -0.03em;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-custom:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.hero-badge span {
    color: #8B5CF6;
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Cards (Services, etc) */
.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Section Styling */
.section-padding {
    padding: 6rem 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Stats */
.stat-item {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    background: #050505;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
    color: #fff;
}

.footer-links h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

/* Pricing */
.pricing-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, var(--surface-color) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: #8B5CF6;
    margin-right: 0.75rem;
}

/* Accordion */
.custom-accordion .accordion-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

.custom-accordion .accordion-button::after {
    filter: invert(1);
    opacity: 0.5;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(230deg);
}

.custom-accordion .accordion-body {
    color: var(--text-secondary);
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--border-color);
}

.testimonial-info h5 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-quote i {
    color: #8B5CF6;
    margin-right: 0.5rem;
    opacity: 0.5;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: var(--text-secondary);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #8B5CF6;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #8B5CF6;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: scale(1.1);
}

.testimonial-slider {
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

/* =====================================
   Facilities Section Styles
   ===================================== */

#facilities {
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

/* Carousel Container */
.facilities-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    margin: 0 auto;
    max-width: 1400px;
}

.facilities-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.facilities-track {
    display: flex;
    gap: 1.5%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.facility-slide {
    flex: 0 0 32%;
    min-width: 32%;
    max-width: 32%;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 20, 23, 0.95);
    border: 2px solid rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.facility-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.facility-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.facility-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: var(--surface-hover);
}

.facility-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.facility-icon {
    font-size: 2.5rem;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.facility-card:hover .facility-icon {
    transform: scale(1);
}

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

.facility-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.facility-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Facility Modal Styles */
.facility-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.facility-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

.facility-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.facility-modal-title {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.facility-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
    line-height: 1;
}

.facility-modal-close:hover {
    transform: scale(1.2);
}

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .facilities-carousel {
        max-width: 100%;
    }
    
    .facilities-carousel-wrapper {
        padding: 0 50px;
    }
}

@media (max-width: 991px) {
    .facility-slide {
        flex: 0 0 48%;
        min-width: 48%;
        max-width: 48%;
    }
    
    .facilities-track {
        gap: 2%;
    }
    
    .facility-title {
        font-size: 1rem;
    }
    
    .facility-description {
        font-size: 0.85rem;
    }
    
    .facilities-carousel-wrapper {
        padding: 0 45px;
    }
    
    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .facility-slide {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .facilities-track {
        gap: 0;
    }
    
    .facilities-carousel {
        padding: 30px 0;
    }
    
    .facilities-carousel-wrapper {
        padding: 0 35px;
    }
    
    .facility-card {
        margin-bottom: 0;
    }
    
    .facility-content {
        padding: 1.25rem;
    }
    
    .facility-modal-content {
        max-width: 95%;
    }
    
    .facility-modal-close {
        top: -35px;
        font-size: 2rem;
    }
    
    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .facility-image-wrapper {
        padding-top: 60%; /* Adjust ratio for mobile */
    }
    
    .facility-title {
        font-size: 0.95rem;
    }
    
    .facility-description {
        font-size: 0.8rem;
    }
    
    .facility-icon {
        font-size: 2rem;
    }
}

/* Partner Logos */
.partner-logo {
    border-radius: 4px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    max-height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.spacing-lg {
    letter-spacing: 0.2em;
}