/* ============================================
   MOBILE VIEW RESET - COMPLETE CLEANUP
   Resets all mobile view issues and provides clean base
   ============================================ */

/* ============================================
   1. GLOBAL MOBILE RESET
   ============================================ */
@media (max-width: 768px) {
    /* Reset HTML and Body */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    }
    
    /* Hide conflicting mobile menu backgrounds */
    .nav-menu.mobile-active {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
    }
    
    /* Hide blue background menu completely */
    .nav-menu {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    /* Reset navbar */
    .navbar {
        background: #ffffff !important;
        border-bottom: 1px solid #e9ecef !important;
        padding: 0.75rem 0 !important;
        min-height: 60px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
    }
    
    /* Reset all pages */
    .page,
    .page.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        width: 100% !important;
        min-height: 100vh !important;
        overflow: visible !important;
        transform: none !important;
    }
    
    /* Reset sections */
    section {
        display: block !important;
        width: 100% !important;
        padding: 40px 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }
    
    /* Reset all text elements */
    h1, h2, h3, h4, h5, h6 {
        margin: 0 0 15px 0 !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        color: #333 !important;
    }
    
    h1 { font-size: 28px !important; }
    h2 { font-size: 24px !important; }
    h3 { font-size: 20px !important; }
    h4 { font-size: 18px !important; }
    h5 { font-size: 16px !important; }
    h6 { font-size: 14px !important; }
    
    p, span, li, a {
        font-size: 15px !important;
        line-height: 1.6 !important;
        color: #555 !important;
        margin: 0 !important;
    }
    
    /* Our Story specific - no paragraph gaps */
    #story p,
    #story .story-intro p,
    #story .division-content p,
    #story .timeline-content p,
    #story .roadmap-content p {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.6 !important;
    }
    
    /* Popup background color fix */
    .popup-content,
    .node-popup .popup-content,
    #popupModal .popup-content {
        background: #6c757d !important;
        background-color: #6c757d !important;
    }
    
    /* Reset images */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto 15px auto !important;
        border-radius: 8px !important;
    }
    
    /* Reset buttons */
    button, .btn, input[type="button"], input[type="submit"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        margin: 10px 0 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-align: center !important;
        white-space: normal !important;
        border-radius: 8px !important;
        border: none !important;
        cursor: pointer !important;
        min-height: 44px !important;
        background: #6c757d !important;
        color: #ffffff !important;
    }
    
    /* Reset forms */
    input, textarea, select {
        width: 100% !important;
        padding: 12px 15px !important;
        margin: 5px 0 15px 0 !important;
        font-size: 14px !important;
        border: 1px solid #ddd !important;
        border-radius: 6px !important;
        background: #ffffff !important;
        color: #333 !important;
    }
    
    /* Reset grids and flex */
    .grid, .flex, .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    /* Reset cards */
    .card, .service-card, .highlight-item, .info-card {
        display: block !important;
        width: 100% !important;
        padding: 20px !important;
        margin: 0 0 15px 0 !important;
        background: #ffffff !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
}

/* ============================================
   2. NAVIGATION RESET
   ============================================ */
@media (max-width: 768px) {
    /* Navbar reset */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        background: #ffffff !important;
        padding: 10px 0 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    .nav-container {
        width: 100% !important;
        padding: 0 15px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .nav-logo img {
        height: 40px !important;
        width: auto !important;
    }
    
    /* Mobile menu */
    .hamburger {
        display: block !important;
        width: 30px !important;
        height: 20px !important;
        cursor: pointer !important;
    }
    
    .hamburger .bar {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background: #333 !important;
        margin: 3px 0 !important;
        border-radius: 2px !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 60px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 60px) !important;
        background: #ffffff !important;
        transition: left 0.3s ease !important;
        padding: 20px !important;
        overflow-y: auto !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-item {
        margin: 10px 0 !important;
    }
    
    .nav-link {
        display: block !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        color: #333 !important;
        text-decoration: none !important;
        border-radius: 6px !important;
    }
    
    .nav-link.active {
        background: #6c757d !important;
        color: #ffffff !important;
    }
    
    /* Add top padding to body to account for fixed navbar */
    body {
        padding-top: 60px !important;
    }
}

/* ============================================
   3. SPECIFIC PAGE RESETS
   ============================================ */
@media (max-width: 768px) {
    /* Home page reset */
    #home {
        padding-top: 0 !important;
    }
    
    .hero-section {
        height: auto !important;
        min-height: 400px !important;
        margin-top: -60px !important;
        padding-top: 60px !important;
    }
    
    .slide {
        height: auto !important;
        min-height: 400px !important;
    }
    
    /* Slider mobile reset */
    .slide {
        height: auto !important;
        min-height: 400px !important;
    }
    
    /* Reduce slider title text size */
    .slide-title {
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        color: #ffffff !important;
        text-shadow: none !important;
        background: none !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    
    /* Specific welcome text size - STRONGER RULES */
    .slide-title[data-text="Welcome To XEFAN Group"],
    .slide[data-slide="0"] .slide-title,
    .main-slider .slide[data-slide="0"] .slide-title,
    .slider-wrapper .slide[data-slide="0"] .slide-title,
    #home .slide[data-slide="0"] .slide-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
        color: #ffffff !important;
        text-shadow: none !important;
        background: none !important;
        -webkit-text-fill-color: #ffffff !important;
        font-weight: 600 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        display: block !important;
        width: 100% !important;
        max-width: 90vw !important;
    }
    
    /* Story page reset */
    #story .story-content {
        padding: 20px 0 !important;
    }
    
    #story .division-card,
    #story .division-card.reverse {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
        margin: 0 0 20px 0 !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
    }
    
    #story .division-image {
        width: 100% !important;
        order: -1 !important;
    }
    
    #story .division-content {
        width: 100% !important;
    }
    
    #story .timeline-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 20px !important;
        margin: 0 0 15px -30px !important;
        background: transparent !important;
        border-radius: 0 !important;
        border: none !important;
        border-left: none !important;
        text-align: left !important;
        width: 100% !important;
        position: relative !important;
        box-shadow: none !important;
    }
    
    #story .timeline-year,
    .history-section .timeline-year,
    #story .history-timeline .timeline-year {
        display: inline-block !important;
        width: 70px !important;
        height: 70px !important;
        padding: 0 !important;
        background: #6c757d !important;
        border-radius: 50% !important;
        margin-bottom: 4px !important;
        margin-left: -20px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        text-align: center !important;
        line-height: 70px !important;
        border: 2px solid #6c757d !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    /* Move Vision node down */
    #story .timeline-item:nth-child(1) .timeline-year {
        margin-top: 15px !important;
        margin-bottom: 4px !important;
    }
    
    #story .timeline-content {
        width: 100% !important;
        text-align: left !important;
        position: relative !important;
        z-index: 5 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin-left: 80px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    
    #story .timeline-content p {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Remove empty space below Vision text */
    #story .timeline-item:nth-child(1) .timeline-content p,
    #story .timeline-item:nth-child(1) .timeline-content span,
    #story .timeline-item:nth-child(1) .timeline-content div {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.1 !important;
    }
    
    #story .timeline-content p {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Light grey background for Our Direction & Principles section */
    #story .history-section {
        background: #f5f5f5 !important;
        padding: 40px 20px !important;
        margin: 0 !important;
    }
    
    /* Vision circle - slide slightly to right */
    #story .timeline-item:nth-child(1) .timeline-year {
        margin-left: 10px !important;
        margin-right: 0px !important;
        align-self: flex-start !important;
        justify-self: flex-start !important;
    }
    
    #story .history-section h3 {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin: 0 auto 60px auto !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
    
    #story .history-section h3 .heading-underline {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    #story .history-timeline {
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    
    /* Hide vertical lines */
    #story .timeline-item::before,
    #story .timeline-item::after,
    #story .timeline-year::before,
    #story .timeline-year::after,
    #story .timeline-content::before,
    #story .timeline-content::after {
        display: none !important;
        content: none !important;
        border: none !important;
        background: none !important;
    }
    
    #story .history-timeline::before,
    #story .history-timeline::after {
        display: none !important;
        content: none !important;
        border: none !important;
        background: none !important;
    }
    
    #story .roadmap-item {
        background: #ffffff !important;
        padding: 20px !important;
        margin: 0 0 15px 0 !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    /* Brand page reset */
    #brand .brand-selector {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: center !important;
        margin: 20px 0 !important;
    }
    
    #brand .brand-btn {
        flex: 1 1 calc(50% - 10px) !important;
        min-width: 120px !important;
        max-width: calc(50% - 10px) !important;
        padding: 12px 20px !important;
        font-size: 13px !important;
        margin: 0 !important;
        transform: none !important;
        transform: translateY(0) !important;
        transform: translateX(0) !important;
        transform: scale(1) !important;
        transition: none !important;
        animation: none !important;
    }
    
    #brand .brand-btn:hover,
    #brand .brand-btn:active,
    #brand .brand-btn:focus {
        transform: none !important;
        transform: translateY(0) !important;
        transform: translateX(0) !important;
        transform: scale(1) !important;
        transition: none !important;
        animation: none !important;
    }
    
    #brand .brand-section {
        display: none !important;
    }
    
    #brand .brand-section.active {
        display: block !important;
    }
    
    #brand .building-content,
    #brand .hotel-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    
    #brand .building-text,
    #brand .hotel-text,
    #brand .building-image,
    #brand .hotel-image {
        width: 100% !important;
    }
    
    /* Move images before discover more button - STRONGER RULES */
    #brand .building-image,
    #brand .hotel-image,
    #brand .resort-image,
    #brand .brand-section .building-image,
    #brand .brand-section .hotel-image,
    #brand .brand-section .resort-image,
    #brand .building-content img,
    #brand .hotel-content img,
    #brand .resort-content img,
    #brand .brand-section img {
        order: -1 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
        display: block !important;
        width: 100% !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }
    
    /* Ensure discover more button appears after image - STRONGER RULES */
    #brand .discover-hotel-btn,
    #brand .discover-btn,
    #brand .btn-discover,
    #brand .btn-discover-more,
    #brand .discover-more-btn,
    #brand button.discover-hotel-btn,
    #brand button.discover-btn,
    #brand button.btn-discover,
    #brand button.btn-discover-more,
    #brand button.discover-more-btn,
    #brand .brand-section .discover-hotel-btn,
    #brand .brand-section .discover-btn,
    #brand .brand-section .btn-discover,
    #brand .brand-section .btn-discover-more,
    #brand .brand-section button {
        order: 1 !important;
        margin-top: 20px !important;
        display: block !important;
        width: 100% !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }
    
    /* Force flex layout for brand sections */
    #brand .building-content,
    #brand .hotel-content,
    #brand .resort-content,
    #brand .brand-section .building-content,
    #brand .brand-section .hotel-content,
    #brand .brand-section .resort-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
        position: relative !important;
    }
    
    /* Hotel hero content - icon and heading in same row */
    #brand .hotel-hero-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 15px !important;
        padding: 20px !important;
        background: #ffffff !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    #brand .hotel-hero-content h3 {
        flex: 1 !important;
        margin: 0 !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #333 !important;
        text-align: left !important;
    }
    
    #brand .hotel-hero-location {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
        font-size: 14px !important;
        color: #6c757d !important;
        white-space: nowrap !important;
    }
    
    #brand .hotel-hero-location i {
        font-size: 16px !important;
        color: #6c757d !important;
        flex-shrink: 0 !important;
    }
    
    #brand .building-highlights,
    #brand .hotel-highlights,
    #brand .resort-highlights {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin: 20px 0 !important;
    }
    
    #brand .highlight-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 15px !important;
        padding: 15px !important;
        background: #ffffff !important;
        border-radius: 8px !important;
        transform: none !important;
        transform: translateY(0) !important;
        transform: translateX(0) !important;
        transform: scale(1) !important;
        transition: none !important;
        animation: none !important;
    }
    
    #brand .highlight-item:hover,
    #brand .highlight-item:active,
    #brand .highlight-item:focus {
        transform: none !important;
        transform: translateY(0) !important;
        transform: translateX(0) !important;
        transform: scale(1) !important;
        transition: none !important;
        animation: none !important;
    }
    
    #brand .highlight-item i {
        font-size: 18px !important;
        color: #6c757d !important;
        flex-shrink: 0 !important;
        width: 20px !important;
    }
    
    #brand .highlight-item div {
        flex: 1 !important;
    }
    
    #brand .building-stats,
    #brand .hotel-stats,
    #brand .resort-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin: 20px 0 !important;
        padding: 20px !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
    }
    
    #brand .stat-item {
        text-align: center !important;
        padding: 15px !important;
        background: #ffffff !important;
        border-radius: 8px !important;
        transform: none !important;
        transform: translateY(0) !important;
        transform: translateX(0) !important;
        transform: scale(1) !important;
        transition: none !important;
        animation: none !important;
    }
    
    #brand .stat-item:hover,
    #brand .stat-item:active,
    #brand .stat-item:focus {
        transform: none !important;
        transform: translateY(0) !important;
        transform: translateX(0) !important;
        transform: scale(1) !important;
        transition: none !important;
        animation: none !important;
    }
    
    #brand .stat-item i {
        font-size: 20px !important;
        color: #6c757d !important;
        margin-bottom: 8px !important;
    }
    
    #brand .stat-item h4 {
        font-size: 18px !important;
        margin: 0 0 5px 0 !important;
    }
    
    #brand .stat-item p {
        font-size: 12px !important;
        margin: 0 !important;
        text-transform: uppercase !important;
    }
    
    /* Contact page reset */
    #contact .contact-new-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    #contact .contact-cards-horizontal {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    #contact .contact-card-horizontal {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 20px !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
    }
    
    #contact .contact-form-square {
        padding: 25px !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
    }
    
    #contact .form-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    #contact .form-group-half,
    #contact .form-group-full {
        width: 100% !important;
    }
    
    /* Center Visit Us button on contact image */
    #contact .map-overlay {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: 30% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
        border-radius: 8px !important;
        pointer-events: none !important;
    }
    
    #contact .map-overlay-text-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        background: #6c757d !important;
        color: #ffffff !important;
        padding: 6px 12px !important;
        border-radius: 3px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        margin: 0 auto !important;
        text-align: center !important;
        min-width: auto !important;
        max-width: fit-content !important;
        height: auto !important;
        line-height: 1.2 !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    #contact .map-overlay-text-link:hover {
        background: #5a6268 !important;
        transform: scale(1.05) !important;
    }
    
    #contact .map-overlay-text-link h4 {
        margin: 0 !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
}

/* ============================================
   4. FOOTER RESET
   ============================================ */
@media (max-width: 768px) {
    .footer {
        margin-top: 40px !important;
        padding: 30px 15px !important;
        background: #6c757d !important;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-section {
        width: 100% !important;
    }
    
    .footer-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .footer-links a {
        display: block !important;
        padding: 8px 0 !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }
    
    .footer-links a:hover {
        color: #f8f9fa !important;
    }
}

/* ============================================
   5. ANIMATION RESET FOR MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Disable all animations for better performance */
    * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    /* Keep essential transitions */
    .nav-menu,
    .nav-link,
    button,
    .btn {
        transition: all 0.3s ease !important;
    }
    
    /* Reset all animation classes */
    [data-aos],
    .scroll-animate,
    .fade-up,
    .slide-left,
    .slide-right,
    .zoom-in,
    .visible,
    .os-card-visible,
    .os-visible,
    .reveal-visible {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    
    /* Timeline cards static - no movement */
    #story .timeline-item {
        transform: none !important;
        animation: none !important;
        transition: none !important;
        position: relative !important;
    }
    
    #story .timeline-year {
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    
    #story .timeline-content {
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    
    /* Network nodes static - no movement */
    .network-node,
    .node-wrapper .network-node,
    .network-hero-section .network-node,
    .network-hero-section .node-wrapper .network-node {
        transform: none !important;
        animation: none !important;
        transition: none !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    /* FORCE ICONS TO SHOW - STRONGEST RULES */
    .network-node .node-icon i,
    .node-wrapper .network-node .node-icon i,
    .network-hero-section .network-node .node-icon i,
    .network-hero-section .node-wrapper .network-node .node-icon i,
    .network-node i.fas,
    .node-wrapper .network-node i.fas,
    .network-hero-section .network-node i.fas,
    .network-hero-section .node-wrapper .network-node i.fas,
    .network-node i.fa-building,
    .node-wrapper .network-node i.fa-building,
    .network-hero-section .network-node i.fa-building,
    .network-hero-section .node-wrapper .network-node i.fa-building,
    .network-node i.fa-hotel,
    .node-wrapper .network-node i.fa-hotel,
    .network-hero-section .network-node i.fa-hotel,
    .network-hero-section .node-wrapper .network-node i.fa-hotel,
    .network-node i.fa-umbrella-beach,
    .node-wrapper .network-node i.fa-umbrella-beach,
    .network-hero-section .network-node i.fa-umbrella-beach,
    .network-hero-section .node-wrapper .network-node i.fa-umbrella-beach {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 20px !important;
        color: #ffffff !important;
        position: relative !important;
        z-index: 999 !important;
        width: auto !important;
        height: auto !important;
        line-height: 1 !important;
        text-align: center !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
    }
    
    /* Force node containers to show icons */
    .network-node .node-icon,
    .node-wrapper .network-node .node-icon,
    .network-hero-section .network-node .node-icon,
    .network-hero-section .node-wrapper .network-node .node-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 998 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Force node content to be visible */
    .network-node .node-content,
    .node-wrapper .network-node .node-content,
    .network-hero-section .network-node .node-content,
    .network-hero-section .node-wrapper .network-node .node-content {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 997 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* All nodes stay in place */
    .node,
    .network-hero-section .node,
    .node-popup,
    .network-hero-section .node-popup {
        transform: none !important;
        animation: none !important;
        transition: none !important;
        position: static !important;
    }
}

/* ============================================
   6. EXTRA SMALL SCREENS (480px and below)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 10px !important;
    }
    
    h1 { font-size: 24px !important; }
    h2 { font-size: 20px !important; }
    h3 { font-size: 18px !important; }
    h4 { font-size: 16px !important; }
    
    p, span, li, a {
        font-size: 14px !important;
        margin: 0 !important;
    }
    
    /* Our Story specific - no paragraph gaps on small screens */
    #story p,
    #story .story-intro p,
    #story .division-content p,
    #story .timeline-content p,
    #story .roadmap-content p {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.5 !important;
    }
    
    /* Timeline year circles for small screens */
    #story .timeline-year {
        width: 50px !important;
        height: 50px !important;
        font-size: 9px !important;
        line-height: 50px !important;
        border: 2px solid #6c757d !important;
        margin-bottom: 12px !important;
    }
    
    .card, .service-card, .highlight-item, .info-card {
        padding: 15px !important;
    }
    
    #brand .brand-btn {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        font-size: 12px !important;
    }
    
    #brand .building-stats,
    #brand .hotel-stats,
    #brand .resort-stats {
        grid-template-columns: 1fr !important;
    }
}

/* Gap Between Main Headings and Text - All Devices */
@media (min-width: 769px) {
    /* Main headings gap with text below */
    h1,
    .main-heading,
    .hero-heading,
    .section-title,
    .page-title,
    .main-title {
        margin-bottom: 30px !important;
        padding-bottom: 15px !important;
    }
    
    /* h2 headings gap */
    h2,
    .section-header h2,
    .section-title h2,
    h2.main-heading,
    .sub-heading {
        margin-bottom: 25px !important;
        padding-bottom: 12px !important;
    }
    
    /* h3 headings gap */
    h3,
    .section-header h3,
    .subsection-title h3,
    h3.main-heading {
        margin-bottom: 20px !important;
        padding-bottom: 10px !important;
    }
    
    /* Paragraphs after headings */
    h1 + p,
    .main-heading + p,
    h1 + .text-content,
    .main-heading + .text-content,
    h2 + p,
    .section-header h2 + p,
    h2 + .text-content,
    h3 + p,
    .section-header h3 + p,
    h3 + .text-content {
        margin-top: 20px !important;
        padding-top: 10px !important;
    }
    
    /* Text content sections */
    .text-content,
    .content-text,
    .description,
    .section-content {
        margin-top: 15px !important;
        margin-bottom: 20px !important;
    }
    
    /* Hero section specific */
    .hero-section h1,
    .hero h1,
    .slider h1,
    .slide-title {
        margin-bottom: 40px !important;
        padding-bottom: 20px !important;
    }
    
    .hero-section .hero-text,
    .hero .description,
    .slider .slide-text {
        margin-top: 25px !important;
        padding-top: 15px !important;
    }
}

/* Mobile Gap Between Headings and Text */
@media (max-width: 768px) {
    /* Main headings gap with text below */
    h1,
    .main-heading,
    .hero-heading,
    .section-title,
    .page-title,
    .main-title {
        margin-bottom: 25px !important;
        padding-bottom: 12px !important;
    }
    
    /* h2 headings gap */
    h2,
    .section-header h2,
    .section-title h2,
    h2.main-heading,
    .sub-heading {
        margin-bottom: 20px !important;
        padding-bottom: 10px !important;
    }
    
    /* h3 headings gap */
    h3,
    .section-header h3,
    .subsection-title h3,
    h3.main-heading {
        margin-bottom: 18px !important;
        padding-bottom: 8px !important;
    }
    
    /* Paragraphs after headings */
    h1 + p,
    .main-heading + p,
    h1 + .text-content,
    .main-heading + .text-content,
    h2 + p,
    .section-header h2 + p,
    h2 + .text-content,
    h3 + p,
    .section-header h3 + p,
    h3 + .text-content {
        margin-top: 15px !important;
        padding-top: 8px !important;
    }
    
    /* Text content sections */
    .text-content,
    .content-text,
    .description,
    .section-content {
        margin-top: 12px !important;
        margin-bottom: 15px !important;
    }
    
    /* Hero section mobile specific */
    .hero-section h1,
    .hero h1,
    .slider h1,
    .slide-title {
        margin-bottom: 30px !important;
        padding-bottom: 15px !important;
    }
    
    .hero-section .hero-text,
    .hero .description,
    .slider .slide-text {
        margin-top: 20px !important;
        padding-top: 10px !important;
    }
}
/* Clean WhatsApp FAB Implementation - Single Button Only */

/* WhatsApp Floating Button - Simple Original Version */

/* Main WhatsApp Container */
.whatsapp-float-container {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* WhatsApp Button */
.whatsapp-float-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: #25D366 !important;
    border: 2px solid #25D366 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 24px !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* WhatsApp Icon */
.whatsapp-float-btn i {
    font-size: 24px !important;
    color: #ffffff !important;
}

/* Hover Effect */
.whatsapp-float-btn:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float-container {
        bottom: 15px !important;
        right: 15px !important;
    }
    
    .whatsapp-float-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    
    .whatsapp-float-btn i {
        font-size: 20px !important;
    }
}

/* Remove conflicting styles */
footer .whatsapp-float-container,
.footer .whatsapp-float-container,
.whatsapp-fab-container,
.whatsapp-fab-btn,
.whatsapp-float {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    z-index: -9999 !important;
}

.whatsapp-float-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    border: 2px solid #25D366 !important;
    color: #ffffff !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 24px !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    overflow: hidden !important;
    position: relative !important;
    /* Ensure visibility and prevent conflicts */
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 100000 !important;
    /* Detach from parent constraints */
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    /* Force circular shape */
    aspect-ratio: 1/1 !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    /* Performance and animation */
    transform: translateZ(0) scale(1) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    will-change: transform, opacity !important;
    /* Smooth animations */
    animation: whatsappBreathe 3s infinite ease-in-out, whatsappGlow 2s infinite alternate !important;
}

.whatsapp-float-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%) !important;
    transform: translateZ(0) scale(1.1) translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 6px 15px rgba(37, 211, 102, 0.4) !important;
    border-color: #128C7E !important;
}

.whatsapp-float-btn:active {
    transform: translateZ(0) scale(0.95) !important;
    transition: transform 0.1s ease !important;
}

.whatsapp-float-btn i {
    color: #ffffff !important;
    font-size: 28px !important;
    margin: 0 !important;
    transition: transform 0.3s ease !important;
    animation: whatsappIconRotate 4s infinite ease-in-out !important;
    display: block !important;
    text-align: center !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1 !important;
    position: relative !important;
}

.whatsapp-float-btn:hover i {
    transform: translateZ(0) rotate(15deg) scale(1.1) !important;
    animation: whatsappIconSpin 0.6s ease-in-out !important;
}

/* Shine effect */
.whatsapp-float-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.5s ease !important;
    z-index: 0 !important;
}

.whatsapp-float-btn:hover::before {
    left: 100% !important;
}

/* Animations */
@keyframes whatsappBreathe {
    0%, 100% {
        transform: translateZ(0) scale(1) translateY(0) !important;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3) !important;
    }
    25% {
        transform: translateZ(0) scale(1.02) translateY(-2px) !important;
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 6px 15px rgba(37, 211, 102, 0.4) !important;
    }
    50% {
        transform: translateZ(0) scale(1.01) translateY(-1px) !important;
        box-shadow: 0 9px 28px rgba(37, 211, 102, 0.45), 0 5px 14px rgba(37, 211, 102, 0.35) !important;
    }
    75% {
        transform: translateZ(0) scale(1.015) translateY(-1.5px) !important;
        box-shadow: 0 9px 29px rgba(37, 211, 102, 0.48), 0 5px 15px rgba(37, 211, 102, 0.38) !important;
    }
}

@keyframes whatsappGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3), 0 0 20px rgba(37, 211, 102, 0.2) !important;
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(37, 211, 102, 0.5), 0 0 30px rgba(37, 211, 102, 0.4) !important;
    }
}

@keyframes whatsappIconRotate {
    0% {
        transform: translateZ(0) rotate(0deg) !important;
    }
    25% {
        transform: translateZ(0) rotate(5deg) !important;
    }
    50% {
        transform: translateZ(0) rotate(0deg) !important;
    }
    75% {
        transform: translateZ(0) rotate(-5deg) !important;
    }
    100% {
        transform: translateZ(0) rotate(0deg) !important;
    }
}

@keyframes whatsappIconSpin {
    0% {
        transform: translateZ(0) rotate(0deg) !important;
    }
    100% {
        transform: translateZ(0) rotate(360deg) !important;
    }
}

/* Desktop Responsive */
@media (min-width: 769px) {
    .whatsapp-float-container {
        bottom: 20px !important;
        right: 20px !important;
        /* Enhanced desktop performance */
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        will-change: transform, box-shadow !important;
    }
    
    .whatsapp-float-btn {
        width: 60px !important;
        height: 60px !important;
        font-size: 24px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
    
    .whatsapp-float-btn i {
        font-size: 24px !important;
    }
    
    /* Desktop Contact Info - Left Aligned */
    .footer-contact {
        text-align: left !important;
        align-self: flex-start !important;
        justify-self: flex-start !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .footer-contact h4 {
        text-align: right !important;
        align-self: flex-end !important;
        justify-self: flex-end !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
    }
    
    .footer-contact .contact-item {
        text-align: left !important;
        align-self: flex-start !important;
        justify-self: flex-start !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .footer-contact .contact-link {
        text-align: left !important;
        align-self: flex-start !important;
        justify-self: flex-start !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .footer-contact span {
        text-align: left !important;
        align-self: flex-start !important;
        justify-self: flex-start !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .footer-contact i {
        text-align: left !important;
        align-self: flex-start !important;
        justify-self: flex-start !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .footer-contact p {
        text-align: left !important;
        align-self: flex-start !important;
        justify-self: flex-start !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .footer-contact div {
        text-align: left !important;
        align-self: flex-start !important;
        justify-self: flex-start !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    /* Desktop specific override */
    @media (min-width: 769px) {
        .footer-contact * {
            text-align: left !important;
        }
    }
}

/* Mobile Responsive - Detached from Footer */
@media (max-width: 768px) {
    .whatsapp-float-container {
        bottom: 15px !important;
        right: 15px !important;
        /* Mobile touch optimizations */
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        will-change: transform !important;
    }
    
    .whatsapp-float-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
        /* Mobile-specific optimizations */
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        /* Touch-friendly */
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        /* Prevent mobile zoom */
        -webkit-transform: translateZ(0) scale(1) !important;
        transform: translateZ(0) scale(1) !important;
    }
    
    .whatsapp-float-btn i {
        font-size: 20px !important;
        /* Prevent text selection on mobile */
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        pointer-events: none !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-float-container {
        bottom: 10px !important;
        right: 10px !important;
    }
    
    .whatsapp-float-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        max-width: 45px !important;
        max-height: 45px !important;
    }
    
    .whatsapp-float-btn i {
        font-size: 18px !important;
    }
}

/* Ensure button stays above all content regardless of container transforms */
.whatsapp-float-container,
.whatsapp-float-btn {
    /* Force above all transforms and positioning */
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    /* Ensure visibility regardless of parent overflow */
    overflow: visible !important;
    /* Prevent clipping */
    clip: auto !important;
    clip-path: none !important;
    /* Ensure proper stacking context */
    isolation: isolate !important;
    contain: layout style paint !important;
}

/* Prevent any parent container from affecting fixed positioning */
html, body {
    overflow-x: hidden !important;
    transform: none !important;
    position: relative !important;
}

/* Remove any footer WhatsApp buttons to prevent duplicates */
footer .whatsapp-float-container,
footer .whatsapp-float-btn,
footer .whatsapp-btn,
footer .whatsapp-float,
footer .whatsapp-link,
.footer .whatsapp-float-container,
.footer .whatsapp-float-btn,
.footer .whatsapp-btn,
.footer .whatsapp-float,
.footer .whatsapp-link {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    z-index: -9999 !important;
}

/* Hide any other WhatsApp buttons to prevent conflicts */
.whatsapp-float-container-old,
.whatsapp-float-btn-old,
.whatsapp-btn,
.whatsapp-float,
.whatsapp-link {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    z-index: -9999 !important;
}

/* Footer About Section - Left Align Heading */
.footer-about h4 {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Footer Quick Links Section - Center Align */
.footer-links {
    text-align: center !important;
    align-self: center !important;
    justify-self: center !important;
}

.footer-links h4 {
    text-align: center !important;
    align-self: center !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer-links ul {
    text-align: center !important;
    align-self: center !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
}

.footer-links ul li {
    text-align: center !important;
    align-self: center !important;
    justify-self: center !important;
}

.footer-links ul li a {
    text-align: center !important;
    display: inline-block !important;
}

/* Footer sections alignment */
.footer-section {
    text-align: left !important;
}

.footer-section h4 {
    text-align: left !important;
    align-self: flex-start !important;
}

/* Remove gap between Quick Links and Contact Info */
.footer-links {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-contact {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove all gaps between footer sections */
.footer-section {
    margin: 0 !important;
    padding: 0 !important;
}

/* Footer content - no gaps */
.footer-content {
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Footer sections container - no gaps */
.footer-content > .footer-section {
    margin: 0 !important;
    padding: 0 !important;
}

/* Specific gap removal between Quick Links and Contact Info */
.footer-section.footer-links + .footer-section.footer-contact {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove gap after Quick Links */
.footer-section.footer-links {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove gap before Contact Info */
.footer-section.footer-contact {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Contact Info heading - left aligned above text */
.footer-contact {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.footer-contact h4 {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
    margin-bottom: 10px !important;
    order: -1 !important;
}

/* Override any conflicting styles */
.footer-section.footer-contact h4 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
    margin-bottom: 10px !important;
    order: -1 !important;
}

/* Inline style override */
h4[style*="text-align: right"] {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
    margin-bottom: 10px !important;
    order: -1 !important;
}

/* Universal override for Contact Info heading */
.footer-contact > h4:first-child {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
    margin-bottom: 10px !important;
    order: -1 !important;
}

/* High specificity override */
footer .footer-section.footer-contact h4 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
    margin-bottom: 10px !important;
    order: -1 !important;
}

/* Maximum specificity override */
body footer .footer-section.footer-contact h4 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
    margin-bottom: 10px !important;
    order: -1 !important;
}

/* Contact Info text - left aligned */
.footer-contact .contact-item {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: 5px !important;
}

.footer-contact .contact-link {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.footer-contact i {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-right: 5px !important;
}

.footer-contact p {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* All text in Contact Info - left aligned */
.footer-contact * {
    text-align: left !important;
}

/* Maximum specificity override - Contact Info left aligned */
body footer .footer-content .footer-section.footer-contact {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

body footer .footer-content .footer-section.footer-contact h4 {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
    margin-bottom: 10px !important;
    order: -1 !important;
}

body footer .footer-content .footer-section.footer-contact .contact-item {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: 5px !important;
}

body footer .footer-content .footer-section.footer-contact * {
    text-align: left !important;
}

/* Universal override for all Contact Info elements */
html body footer .footer-content .footer-section.footer-contact,
html body footer .footer-content .footer-section.footer-contact *,
html body footer .footer-content .footer-section.footer-contact h4,
html body footer .footer-content .footer-section.footer-contact .contact-item,
html body footer .footer-content .footer-section.footer-contact .contact-link,
html body footer .footer-content .footer-section.footer-contact span,
html body footer .footer-content .footer-section.footer-contact i {
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Single WhatsApp FAB - Perfect Sticky Positioning */
.whatsapp-chat-widget {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* Ensure maximum visibility */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    /* Performance optimization for smooth scrolling */
    transform: translateZ(0) !important;
    will-change: transform, opacity !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    /* Smooth scroll-follow behavior */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    animation: whatsappFloatSmooth 4s infinite ease-in-out !important;
    /* Prevent ANY container interference */
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    clip-path: none !important;
    clip: auto !important;
    /* Force positioning regardless of parent */
    position: fixed !important;
    /* Ensure proper stacking context */
    isolation: isolate !important;
    contain: layout style paint !important;
}

/* Main Floating Action Button - Perfect Sticky */
.whatsapp-float-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    border: none !important;
    outline: none !important;
    /* Ensure maximum visibility */
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 100000 !important;
    /* Performance for smooth scrolling */
    transform: translateZ(0) scale(1) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    /* Smooth scroll-follow animation */
    animation: whatsappBreathe 3s infinite ease-in-out, whatsappGlow 2s infinite alternate !important;
    /* Prevent ANY container interference */
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    overflow: visible !important;
    clip-path: none !important;
    clip: auto !important;
    /* Force positioning regardless of parent */
    position: fixed !important;
    will-change: transform, opacity !important;
    /* Ensure proper stacking context */
    isolation: isolate !important;
    contain: layout style paint !important;
}

/* Breathing animation */
@keyframes whatsappBreathe {
    0%, 100% {
        transform: translateZ(0) scale(1) translateY(0) !important;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3) !important;
    }
    25% {
        transform: translateZ(0) scale(1.02) translateY(-2px) !important;
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 6px 15px rgba(37, 211, 102, 0.4) !important;
    }
    50% {
        transform: translateZ(0) scale(1.05) translateY(-4px) !important;
        box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6), 0 8px 18px rgba(37, 211, 102, 0.5) !important;
    }
    75% {
        transform: translateZ(0) scale(1.02) translateY(-2px) !important;
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 6px 15px rgba(37, 211, 102, 0.4) !important;
    }
}

/* Glow animation */
@keyframes whatsappGlow {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.4) !important;
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3), 0 0 20px 10px rgba(37, 211, 102, 0.1) !important;
    }
}

/* Smooth float animation */
@keyframes whatsappFloatSmooth {
    0%, 100% {
        transform: translateZ(0) translateY(0) !important;
    }
    50% {
        transform: translateZ(0) translateY(-8px) !important;
    }
}

/* Hover effects */
.whatsapp-float-button:hover {
    transform: translateZ(0) scale(1.15) translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7), 0 8px 20px rgba(37, 211, 102, 0.5) !important;
    animation: whatsappBreathe 0.5s infinite ease-in-out !important;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%) !important;
}

/* WhatsApp icon */
.whatsapp-float-button i {
    color: #ffffff !important;
    font-size: 28px !important;
    margin: 0 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    animation: whatsappIconRotate 4s infinite ease-in-out !important;
}

/* Icon rotation */
@keyframes whatsappIconRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1) !important;
    }
    25% {
        transform: rotate(-5deg) scale(1.05) !important;
    }
    50% {
        transform: rotate(0deg) scale(1.1) !important;
    }
    75% {
        transform: rotate(5deg) scale(1.05) !important;
    }
}

.whatsapp-float-button:hover i {
    transform: rotate(15deg) scale(1.2) !important;
    animation: whatsappIconSpin 0.6s infinite linear !important;
}

/* Icon spin on hover */
@keyframes whatsappIconSpin {
    0% {
        transform: rotate(0deg) scale(1.2) !important;
    }
    100% {
        transform: rotate(360deg) scale(1.2) !important;
    }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute !important;
    bottom: 70px !important;
    right: 0 !important;
    background: linear-gradient(135deg, #333333 0%, #555555 100%) !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    pointer-events: none !important;
    z-index: 100001 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(10px) !important;
}

.whatsapp-tooltip::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    right: 20px !important;
    border: 6px solid transparent !important;
    border-top-color: #555555 !important;
}

.whatsapp-float-button:hover .whatsapp-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-5px) !important;
}

/* Chat popup */
.whatsapp-chat-popup {
    position: fixed !important;
    bottom: 80px !important;
    right: 20px !important;
    width: 350px !important;
    height: 500px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(30px) scale(0.9) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    pointer-events: none !important;
    overflow: hidden !important;
    z-index: 99998 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.whatsapp-chat-popup.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

/* Chat header */
.whatsapp-chat-header {
    background: #075E54 !important;
    color: #ffffff !important;
    padding: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-radius: 12px 12px 0 0 !important;
}

.whatsapp-header-info {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.whatsapp-business-avatar {
    width: 40px !important;
    height: 40px !important;
    background: #25D366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.whatsapp-business-avatar i {
    color: #ffffff !important;
    font-size: 20px !important;
}

.whatsapp-business-details h4 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.whatsapp-business-details p {
    margin: 0 !important;
    font-size: 12px !important;
    opacity: 0.8 !important;
}

.whatsapp-close-btn {
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 18px !important;
    cursor: pointer !important;
    padding: 5px !important;
    border-radius: 50% !important;
    transition: background 0.3s ease !important;
}

.whatsapp-close-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Chat messages */
.whatsapp-chat-messages {
    flex: 1 !important;
    padding: 20px !important;
    overflow-y: auto !important;
    background: #f5f5f5 !important;
}

.whatsapp-message {
    margin-bottom: 15px !important;
    display: flex !important;
    flex-direction: column !important;
}

.whatsapp-message.received {
    align-items: flex-start !important;
}

.whatsapp-message-content {
    background: #ffffff !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    max-width: 80% !important;
}

.whatsapp-message-content p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #333333 !important;
}

.whatsapp-message-time {
    font-size: 11px !important;
    color: #999999 !important;
    margin-top: 5px !important;
}

/* Chat input */
.whatsapp-chat-input {
    padding: 15px !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e5e5 !important;
    border-radius: 0 0 12px 12px !important;
}

.whatsapp-input-container {
    display: flex !important;
    align-items: flex-end !important;
    gap: 10px !important;
}

.whatsapp-message-input {
    flex: 1 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 20px !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    resize: none !important;
    outline: none !important;
    font-family: inherit !important;
    min-height: 40px !important;
    max-height: 100px !important;
}

.whatsapp-message-input:focus {
    border-color: #25D366 !important;
}

.whatsapp-send-btn {
    background: #25D366 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.whatsapp-send-btn:hover {
    background: #128C7E !important;
}

.whatsapp-send-btn i {
    color: #ffffff !important;
    font-size: 18px !important;
}

/* Mobile Responsive - Enhanced for Mobile */
@media (max-width: 768px) {
    .whatsapp-chat-widget {
        bottom: 15px !important;
        right: 15px !important;
        /* Mobile-specific optimizations */
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        /* Ensure visibility on mobile */
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .whatsapp-float-button {
        bottom: 15px !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        /* Mobile touch optimizations */
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        /* Better mobile positioning */
        position: fixed !important;
        z-index: 100000 !important;
        /* Mobile performance */
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        will-change: transform !important;
        /* Touch-friendly */
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }
    
    .whatsapp-float-button i {
        font-size: 24px !important;
        /* Mobile icon optimizations */
        display: block !important;
        text-align: center !important;
        line-height: 1 !important;
        /* Prevent text selection on mobile */
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        pointer-events: none !important;
    }
    
    .whatsapp-chat-popup {
        width: calc(100vw - 30px) !important;
        height: 600px !important;
        bottom: 65px !important;
        right: 15px !important;
        /* Mobile popup optimizations */
        position: fixed !important;
        z-index: 99998 !important;
        /* Better mobile positioning */
        left: 15px !important;
        right: 15px !important;
        margin: 0 auto !important;
        /* Mobile performance */
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        /* Mobile scrolling */
        -webkit-overflow-scrolling: touch !important;
    }
    
    .whatsapp-tooltip {
        display: none !important;
    }
    
    /* Mobile-specific hover states */
    .whatsapp-float-button:hover,
    .whatsapp-float-button:active {
        transform: translateZ(0) scale(1.1) !important;
        -webkit-transform: translateZ(0) scale(1.1) !important;
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 6px 15px rgba(37, 211, 102, 0.4) !important;
    }
    
    .whatsapp-float-button:active {
        transform: translateZ(0) scale(0.95) !important;
        -webkit-transform: translateZ(0) scale(0.95) !important;
        transition: transform 0.1s ease !important;
    }
    
    /* Mobile chat input optimizations */
    .whatsapp-message-input {
        font-size: 16px !important;
        /* Prevent zoom on iOS */
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
    }
    
    /* Mobile send button */
    .whatsapp-send-btn {
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        /* Touch-friendly */
        -webkit-tap-highlight-color: transparent !important;
    }
    
    /* Mobile close button */
    .whatsapp-close-btn {
        min-width: 30px !important;
        min-height: 30px !important;
        /* Touch-friendly */
        -webkit-tap-highlight-color: transparent !important;
    }
    
    /* Ensure mobile button is clickable */
    .whatsapp-float-button {
        pointer-events: auto !important;
        -webkit-pointer-events: auto !important;
        /* Fix mobile z-index issues */
        z-index: 100000 !important;
        /* Ensure button is above all mobile content */
        position: fixed !important;
    }
    
    /* Fix mobile popup z-index */
    .whatsapp-chat-popup.open {
        z-index: 99999 !important;
        position: fixed !important;
    }
    
    /* Mobile-specific button fixes */
    @media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 0) {
        .whatsapp-float-button {
            -webkit-transform: translateZ(0) !important;
            transform: translateZ(0) !important;
            -webkit-backface-visibility: hidden !important;
            backface-visibility: hidden !important;
        }
    }
    
    /* Fix iOS Safari issues */
    @supports (-webkit-touch-callout: none) {
        .whatsapp-float-button {
            -webkit-appearance: none !important;
            appearance: none !important;
        }
    }
}

/* Tablet Responsive */
@media (min-width: 481px) and (max-width: 768px) {
    .whatsapp-chat-widget {
        bottom: 18px !important;
        right: 18px !important;
    }
    
    .whatsapp-float-button {
        bottom: 18px !important;
        right: 18px !important;
        width: 55px !important;
        height: 55px !important;
    }
    
    .whatsapp-float-button i {
        font-size: 26px !important;
    }
    
    .whatsapp-chat-popup {
        width: calc(100vw - 40px) !important;
        height: 550px !important;
        bottom: 73px !important;
        right: 18px !important;
    }
}

/* Desktop Responsive */
@media (min-width: 769px) {
    .whatsapp-chat-widget {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .whatsapp-float-button {
        bottom: 20px !important;
        right: 20px !important;
        width: 60px !important;
        height: 60px !important;
    }
    
    .whatsapp-float-button i {
        font-size: 28px !important;
    }
    
    .whatsapp-chat-popup {
        width: 350px !important;
        height: 500px !important;
        bottom: 80px !important;
        right: 20px !important;
    }
}

/* Prevent conflicts and ensure stability */
.whatsapp-chat-widget,
.whatsapp-float-button,
.whatsapp-chat-popup {
    position: fixed !important;
    z-index: 99999 !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    will-change: transform, opacity !important;
    /* Prevent any container interference */
    top: auto !important;
    left: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    overflow: visible !important;
    clip-path: none !important;
    clip: auto !important;
    /* Ensure proper positioning regardless of parent */
    position: fixed !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Hide any footer WhatsApp buttons to prevent duplication */
footer .whatsapp-chat-widget,
.footer .whatsapp-chat-widget,
footer .whatsapp-float-button,
.footer .whatsapp-float-button,
footer .contact-item a[href*="wa.me"],
footer .contact-item a[href*="whatsapp"],
.footer-contact .whatsapp-chat-widget,
.footer-contact .whatsapp-float-button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    z-index: -9999 !important;
}

/* Ensure body positioning doesn't interfere */
body {
    position: relative !important;
    /* Prevent body from affecting fixed positioning */
    transform: none !important;
    overflow-x: hidden !important;
}

/* Prevent any parent container from affecting fixed positioning */
html, body {
    overflow-x: hidden !important;
    transform: none !important;
    position: relative !important;
}

/* Override any container positioning that might interfere */
* {
    box-sizing: border-box !important;
}

/* Ensure button stays above all content regardless of container transforms */
.whatsapp-chat-widget,
.whatsapp-float-button,
.whatsapp-chat-popup {
    /* Force above all transforms and positioning */
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    /* Ensure visibility regardless of parent overflow */
    overflow: visible !important;
    /* Prevent clipping */
    clip: auto !important;
    clip-path: none !important;
    /* Ensure proper stacking context */
    isolation: isolate !important;
    contain: layout style paint !important;
}

/* Main Heading Position Adjustment - Move Down */
@media (min-width: 769px) {
    /* Main headings - move down */
    h1,
    .main-heading,
    .hero-heading,
    .section-title,
    .page-title,
    .main-title {
        margin-top: 20px !important;
        padding-top: 15px !important;
        transform: translateY(10px) !important;
        position: relative !important;
        top: 10px !important;
    }
    
    /* Hero section main heading */
    .hero-section h1,
    .hero h1,
    .slider h1,
    .slide-title {
        margin-top: 30px !important;
        padding-top: 20px !important;
        transform: translateY(15px) !important;
        position: relative !important;
        top: 15px !important;
    }
    
    /* Section headers */
    .section-header h2,
    .section-title h2,
    h2.main-heading {
        margin-top: 25px !important;
        padding-top: 15px !important;
        transform: translateY(12px) !important;
        position: relative !important;
        top: 12px !important;
    }
}

/* Mobile heading adjustments - smaller movement */
@media (max-width: 768px) {
    /* Main headings - move down slightly on mobile */
    h1,
    .main-heading,
    .hero-heading,
    .section-title,
    .page-title,
    .main-title {
        margin-top: 10px !important;
        padding-top: 8px !important;
        transform: translateY(5px) !important;
        position: relative !important;
        top: 5px !important;
    }
    
    /* Hero section main heading mobile */
    .hero-section h1,
    .hero h1,
    .slider h1,
    .slide-title {
        margin-top: 15px !important;
        padding-top: 10px !important;
        transform: translateY(8px) !important;
        position: relative !important;
        top: 8px !important;
    }
}
/* Desktop Contact Info Position Adjustment */
@media (min-width: 769px) {
    .contact-info,
    #contact .contact-info,
    .contact-section .contact-info {
        margin-left: 10px !important;
        padding-left: 20px !important;
        transform: translateX(15px) !important;
        position: relative !important;
        left: 15px !important;
    }
    
    /* Also adjust individual contact items */
    .contact-info .info-item,
    #contact .contact-info .info-item,
    .contact-section .contact-info .info-item {
        margin-left: 20px !important;
        transform: translateX(10px) !important;
    }
    
    /* Adjust contact section container if needed */
    #contact,
    .contact-section {
        padding-left: 60px !important;
        margin-left: 10px !important;
    }
    
    /* Footer Contact Info - Move Right on Desktop */
    .footer-contact,
    .footer .contact-info,
    .footer .contact-item,
    .footer-contact .contact-item,
    footer .contact-info,
    footer .contact-item {
        margin-left: 10px !important;
        padding-left: 20px !important;
        transform: translateX(10px) !important;
        position: relative !important;
        left: 10px !important;
    }
    
    /* Footer contact section container */
    .footer,
    footer {
        padding-left: 50px !important;
        margin-left: 10px !important;
    }
    
    /* Footer contact info specific */
    .footer-contact h3,
    .footer-contact h4,
    footer .contact-info h3,
    footer .contact-info h4 {
        margin-left: 15px !important;
        transform: translateX(8px) !important;
    }
}

/* Ensure mobile contact info remains unchanged */
@media (max-width: 768px) {
    .contact-info,
    #contact .contact-info,
    .contact-section .contact-info {
        margin-left: 0 !important;
        padding-left: 0 !important;
        transform: none !important;
        position: static !important;
        left: auto !important;
    }
    
    /* Footer contact info - Keep mobile unchanged */
    .footer-contact,
    .footer .contact-info,
    .footer .contact-item,
    .footer-contact .contact-item,
    footer .contact-info,
    footer .contact-item {
        margin-left: 0 !important;
        padding-left: 0 !important;
        transform: none !important;
        position: static !important;
        left: auto !important;
    }
    
    .footer,
    footer {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
}

/* Chat Header */
.whatsapp-chat-header {
    background: #075E54;
    color: #ffffff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px 12px 0 0;
}

.whatsapp-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-business-avatar {
    width: 45px;
    height: 45px;
    background: #128C7E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-business-avatar i {
    color: #ffffff;
    font-size: 20px;
}

.whatsapp-business-details h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.whatsapp-business-details p {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
}

.whatsapp-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.whatsapp-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Chat Messages */
.whatsapp-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #E5DDD5;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBmaWxsPSIjRTVEREREMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=');
}

.whatsapp-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.whatsapp-message.received {
    align-self: flex-start;
}

.whatsapp-message-content {
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.whatsapp-message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333333;
}

.whatsapp-message-time {
    font-size: 11px;
    color: #666666;
    margin-top: 4px;
    text-align: right;
}

/* Chat Input */
.whatsapp-chat-input {
    padding: 15px;
    background: #ffffff;
    border-top: 1px solid #E5DDD5;
    border-radius: 0 0 12px 12px;
}

.whatsapp-input-container {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    background: #F0F0F0;
    border-radius: 20px;
    padding: 8px;
}

.whatsapp-message-input {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    font-size: 14px;
    line-height: 1.4;
    max-height: 100px;
    min-height: 20px;
    outline: none;
    font-family: inherit;
}

.whatsapp-message-input::placeholder {
    color: #999999;
}

.whatsapp-send-btn {
    width: 36px;
    height: 36px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.whatsapp-send-btn:hover {
    background: #128C7E;
}

.whatsapp-send-btn i {
    font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float-button i {
        font-size: 24px;
    }
    
    .whatsapp-chat-popup {
        width: calc(100vw - 30px);
        height: 600px;
        right: -15px;
        bottom: 65px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}
