/* ===== Global Styles ===== */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #4a90e2;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100%;
}

/* Prevent horizontal scroll on all elements */
section, div, .container, .row {
    max-width: 100%;
}

.container-fluid, .row {
    margin-left: 0;
    margin-right: 0;
}

/* Fix for AOS animations causing horizontal scroll */
[data-aos] {
    pointer-events: auto;
}

[data-aos="fade-right"] {
    transform: translate3d(-50px, 0, 0);
}

[data-aos="fade-left"] {
    transform: translate3d(50px, 0, 0);
}

[data-aos="fade-up"] {
    transform: translate3d(0, 50px, 0);
}

[data-aos="fade-down"] {
    transform: translate3d(0, -50px, 0);
}

/* Reduce animation distance on mobile */
@media (max-width: 767px) {
    [data-aos="fade-right"] {
        transform: translate3d(-20px, 0, 0);
    }
    
    [data-aos="fade-left"] {
        transform: translate3d(20px, 0, 0);
    }
    
    [data-aos="fade-up"] {
        transform: translate3d(0, 20px, 0);
    }
    
    [data-aos="flip-left"],
    [data-aos="zoom-in"] {
        transform: scale(0.95);
    }
}
#mainNav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

#mainNav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
}

.phone-badge {
    display: inline-block;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.phone-badge-link {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    background: rgba(255, 107, 53, 0.95);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.phone-badge-link:hover {
    background: rgba(255, 87, 34, 1);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.phone-badge-link i {
    font-size: 1.3rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

/* ===== Enhanced Buttons ===== */
.enhanced-btn {
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.enhanced-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.enhanced-btn:hover::before {
    width: 400px;
    height: 400px;
}

.enhanced-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.enhanced-btn i {
    transition: transform 0.3s ease;
}

.enhanced-btn:hover i {
    transform: scale(1.2);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.7);
    }
}

/* Pulse Button Animation */
.pulse-btn {
    animation: pulse-primary 2s infinite;
}

@keyframes pulse-primary {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 107, 53, 0.7);
    }
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ===== About Section ===== */
.about-section {
    background-color: #f9f9f9;
}

.about-section img {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.about-section img:hover {
    transform: scale(1.02);
}

/* ===== Gallery & Videos Sections ===== */
.gallery-section {
    background-color: #fff;
}

.videos-section {
    background-color: #f9f9f9;
}

/* ===== Gallery Item ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 144, 226, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 3rem;
    transform: scale(0);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Gallery Modal */
#galleryModal .modal-content {
    background: transparent !important;
}

#galleryModal .modal-body img {
    max-height: 90vh;
    object-fit: contain;
}

#galleryModal .btn-close {
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    border-radius: 50%;
    padding: 0.75rem;
}

#galleryModal .btn-close:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* ===== Video Gallery ===== */
.video-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.video-card video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

/* ===== Gallery & Videos Sections ===== */
.gallery-section,
.videos-section {
    background-color: #f9f9f9;
}

.videos-section {
    background-color: #fff;
}

/* ===== Contact Section ===== */
.contact-section {
    background: linear-gradient(135deg, var(--dark-color), #2c2c2c);
}

.contact-section .section-title::after {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-section img {
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.contact-item h5 {
    font-weight: 600;
    color: #fff;
}

.contact-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color) !important;
}

/* ===== Facilities Section ===== */
.facilities-section {
    background-color: #fff;
}

.facility-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.facility-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 53, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.facility-overlay i {
    color: white;
    font-size: 4rem;
    transform: scale(0);
    transition: transform 0.4s ease 0.1s;
}

.facility-card:hover .facility-image img {
    transform: scale(1.15);
}

.facility-card:hover .facility-overlay {
    opacity: 1;
}

.facility-card:hover .facility-overlay i {
    transform: scale(1);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* ===== Floating Action Buttons (Left Bottom) ===== */
.floating-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    color: white;
}

.call-btn {
    background: linear-gradient(135deg, var(--primary-color), #ff5722);
}

.call-btn:hover {
    background: linear-gradient(135deg, #ff5722, var(--primary-color));
}

.whatsapp-btn-float {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn-float:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Call Button in Header */
.mobile-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), #ff5722);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4);
    margin-right: 10px;
    white-space: nowrap;
}

.mobile-call-btn:hover {
    background: linear-gradient(135deg, #ff5722, var(--primary-color));
    transform: scale(1.05);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.6);
}

.mobile-call-btn i {
    font-size: 0.9rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .phone-badge-link {
        font-size: 1.3rem;
        padding: 0.8rem 2rem;
    }
    
    .phone-badge-link i {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .phone-badge-link {
        font-size: 1.1rem;
        padding: 0.7rem 1.5rem;
    }
    
    .phone-badge-link i {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Floating buttons smaller on mobile */
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .floating-buttons {
        left: 15px;
        bottom: 15px;
        gap: 12px;
    }
}

/* ===== Scroll Animations ===== */
[data-aos] {
    pointer-events: auto;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff5722;
}
