/* Base Styles - Global typography reduced for elegant look */
:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --secondary: #fff;
    --accent: #ef4444;
}

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

/* 🌟 වෙබ් අඩවිය දෙපැත්තට ඇදීම (Overflow) සම්පූර්ණයෙන්ම ලොක් කිරීම */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important; /* දකුණු පැත්තට කිසිම දෙයක් පිට පැනීම වළක්වයි */
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* */
    line-height: 1.6; /* */
    color: #333; /* */
    font-size: 0.95rem; /* */
}

h1 { font-size: 2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p { font-size: 0.95rem; }

/* Premium Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-icon {
    animation: rotate 2s linear infinite;
    margin-bottom: 1.5rem;
}

.loading-text {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo Styles - Updated to Times New Roman */
.logo-text {
    font-family: 'Times New Roman', Times, serif; /* මෙතැනින් ෆොන්ට් එක වෙනස් කළා */
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px; /* අකුරු තවත් ලස්සනට පෙනීමට */
}

/* Logo Bounce Animation */
.logo-bounce {
    animation: logo-bounce 3s infinite ease-in-out;
}

@keyframes logo-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

/* Navigation */
.nav-link {
    color: #333;
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-underline:hover::after {
    width: 100%;
}

.hamburger-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    border-bottom: 1px solid #f3f3f3;
    transition: background 0.3s ease;
    font-size: 0.95rem;
}

.mobile-nav-link:hover {
    background: #fef2f2;
    color: var(--primary);
}

/* News Ticker - Only on Homepage */
/* News Ticker Background Color Update to Yellow */
.news-ticker-wrapper {
    background: #ffd32a !important; /* Beautiful Vibrant Yellow */
    border-bottom: 2px solid #e1b12c; /* Subtle darker gold border line */
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.news-ticker {
    height: 100%;
    display: flex;
    align-items: center;
}

.news-content {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
}

.news-item {
    color: #1e272e !important; /* Dark Premium Charcoal for maximum readability */
    font-weight: 600; /* Text bold කිරීම */
    font-size: 0.92rem;
    letter-spacing: 0.5px;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 3)); }
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: 64px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* සුදු පාට වෙනුවට පින්තූරය 60% ක් පැහැදිලිව පේන මෘදු අඳුරු Overlay එකක් දීම */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%) !important;
    z-index: 1;
}

/* Slider එක ඇතුළත ඇති අකුරු සහ බොත්තම් Overlay එකට උඩින් පෙනීමට */
.hero-content {
    position: relative;
    z-index: 2; /* Overlay එකට උඩින් අකුරු තැබීම */
}

/* Hero Title එකේ Font Size එක ලොකු කිරීම */
/* --- SLIDER FONTS COLOR UPDATE --- */

/* ප්‍රධාන මාතෘකාව (Title) සුදු පැහැයට හැරවීම සහ Shadow එකක් දීම */
/* --- HERO TITLE ABSOLUTE WHITE COLOR UPDATE --- */
.hero-title {
    color: #ffffff !important; /* Balavāgi beḷḷi baṇṇavannu nīḍalāgide */
    font-size: 2.2rem !important; /* Tumba doddadāgi akṣaragaḷannu loku madi */
    font-weight: 700 !important; /* Extra Bold - akṣara uparimayen ghanakam kirīma */
    line-height: 1.1 !important;
    margin-bottom: 2rem !important;
    letter-spacing: -1px !important;
    
    /* Kaḷu pajahati 100% thada shadow ekak dīmen beḷḷi akṣara lassanata mathu fēna */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 
                 0 0 25px rgba(0, 0, 0, 0.7) !important;
}
/* උපමාතෘකාව (Subtitle) ලස්සන රතු පැහැයට හැරවීම */
.hero-subtitle {
    color: #dfbd00 !important; /* Premium Eye-Catching Red (Tailwind Red-500) */
    font-weight: 600 !important; /* අකුරු තවත් පැහැදිලිව කියවීමට Bold කිරීම */
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4) !important; /* රතු පැහැය මතු කර පෙන්වීමට මෘදු Shadow එකක් */
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem !important; /* Mobile gæḷapena hōma dāḍa doddadāgi pramaṇaya */
        line-height: 1.2 !important;
        margin-bottom: 1.2rem !important;
    }
}

.hero-button {
    background: var(--primary);
    color: white;
    padding: 12px 35px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: pulseGlow 2s infinite, fadeIn 1s ease forwards 0.6s;
}

.hero-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}

.slider-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

/* Page View System - SPA Navigation */
.page-view {
    display: none;
    min-height: 100vh;
}

.page-view.active {
    display: block;
    animation: pageFadeIn 0.5s ease;
}

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.back-button-container {
    margin-bottom: 2rem;
}

.back-button {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--primary);
    color: white;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
    position: relative;
    opacity: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary);
}

/* About Section */
.about-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    font-size: 0.83rem;
    line-height: 1.8;
    color: #222;
    font-weight: 400;
}

/* Treatments Section */
.search-filter-container {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.search-input,
.category-filter {
    padding: 10px 18px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
    min-width: 220px;
}

.search-input:focus,
.category-filter:focus {
    border-color: var(--primary);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.8rem;
}

.treatment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.treatment-card.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.12);
}

.treatment-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.treatment-info {
    padding: 1.3rem;
}

.treatment-name {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.treatment-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    margin-bottom: 1rem;
}

.treatment-desc {
    color: #555;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.treatment-btn {
    background: var(--primary);
    color: white;
    padding: 9px 18px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.treatment-btn:hover {
    background: var(--primary-dark);
}

/* Treatment Details Page */
#treatments-details {
    padding-top: 100px;
}

.treatment-details-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.treatment-details-name {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.treatment-details-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.treatment-details-desc {
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.treatment-features-title {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.treatment-details-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.treatment-details-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #444;
    font-size: 0.92rem;
}

.treatment-details-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.treatment-details-book-btn {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.treatment-details-book-btn:hover {
    background: var(--primary-dark);
}

/* Location Section */
.location-container {
    opacity: 1;
    transform: translateY(0);
}

.map-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   PREMIUM ABOUT PAGE STYLES (MOBILE-FIRST LOCK COMPATIBLE)
   ========================================================================== */
   
/* Premium Hero Banner Background styling */
.about-premium-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 20px 80px 20px; /* Header එකට යටින් ඉඩ තැබීම */
    position: relative;
    color: white;
}

.about-hero-title {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6) !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
}

.about-hero-subtitle {
    font-size: 1.3rem !important;
    color: #ffe4e4 !important; /* Elegant light rose contrast tint */
    font-weight: 500 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

/* Back Button Styles */
.back-button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #ffffff;
    color: var(--primary) !important;
    transform: translateX(-3px);
}

/* Content Main White Card for better reading look */
.about-content-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

/* Image Wrapper Top */
.about-main-img-wrapper {
    width: 100%;
    max-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.about-premium-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Typography for Long Content Story Text */
.story-main-heading {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.story-main-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.story-p {
    font-size: 0.83rem !important;
    line-height: 1.75 !important;
    color: #475569 !important;
    margin-bottom: 1.2rem !important;
    text-align: justify;
}

/* Highlighted Callout Quote */
.story-highlight-quote {
    border-left: 4px solid var(--primary);
    background: #fef2f2;
    padding: 1.2rem 1.5rem;
    font-style: italic;
    font-size: 0.83rem;
    color: #991b1b;
    border-radius: 0 12px 12px 0;
    font-weight: 500;
}

/* --- MOBILE RESPONSIVE TUNING --- */
@media (max-width: 768px) {
    .about-premium-hero {
        padding: 110px 15px 50px 15px;
    }
    
    .about-hero-title {
        font-size: 1.8rem !important; /* Smaller on mobile to fit nicely */
    }
    
    .about-hero-subtitle {
        font-size: 1.05rem !important;
    }
    
    .about-content-card {
        padding: 1.2rem; /* Save space on mobile screens */
        border-radius: 16px;
    }
    
    .about-main-img-wrapper {
        max-height: 240px; /* Compact image height on mobile view */
        margin-bottom: 1.2rem;
    }
    
    .story-main-heading {
        font-size: 1.4rem;
    }
    
    .story-p {
        font-size: 0.96rem !important;
        line-height: 1.65 !important;
        text-align: left; /* Easier mobile reading */
    }
}

/* Booking Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: var(--primary);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-dark);
}

.modal-body {
    padding: 1.8rem;
}

.booking-title {
    font-size: 1.6rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.booking-form {
    padding: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.9 tribe-rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary);
}

.booking-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.booking-submit:hover {
    background: var(--primary-dark);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
}

.animate-pulse-vibrate {
    animation: pulseVibrate 2s infinite;
}

@keyframes pulseVibrate {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1) rotate(5deg); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1) rotate(-5deg); }
}

/* ==========================================================================
   PREMIUM ANIMATED GRADIENT FOOTER
   ========================================================================== */
.premium-footer {
    position: relative;
    background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%); /* Premium Dark Wine Gradient */
    color: #ffffff;
    padding-top: 6rem;
    padding-bottom: 2rem;
    overflow: hidden;
    margin-top: auto;
}

/* Live Wave Animation CSS */
.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-svg {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
}

/* Parallax movement for waves */
.wave-parallax > use {
    animation: move-wave 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.wave-parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.wave-parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.wave-parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.wave-parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes move-wave {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

/* Layout Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.footer-premium-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

/* Typography & Headings */
.footer-title-premium {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #ff8484, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-subtitle-premium {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    color: #fca5a5;
}

.footer-subtitle-premium::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 2px;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.footer-about-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #f3f4f6;
    opacity: 0.85;
}

/* Quick Links with Hover Effects */
.premium-footer-links {
    list-style: none;
    padding: 0;
}

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

.p-footer-link {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.p-footer-link:hover {
    color: #ffffff;
    transform: translateX(6px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Contact Box Custom Styling */
.p-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.p-contact-icon {
    font-size: 1.1rem;
}

.p-contact-item p {
    font-size: 0.92rem;
    color: #e5e7eb;
    margin: 0;
    line-height: 1.5;
}

/* ORIGINAL SOCIAL ICONS WITH ORIGINAL BRAND BACKGROUND GLOW */
.premium-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

/* Original Brand Colors & Glow Effects on Hover */
.social-icon-btn.facebook:hover {
    background: #1877F2; /* Facebook Official Blue */
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.6);
    transform: translateY(-5px) scale(1.08);
}

.social-icon-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* Instagram Gradient */
    box-shadow: 0 0 15px rgba(220, 39, 67, 0.6);
    transform: translateY(-5px) scale(1.08);
}

.social-icon-btn.website:hover {
    background: #00a8ff; /* Clean Web Blue */
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.6);
    transform: translateY(-5px) scale(1.08);
}

/* Bottom Copyright Bar with glass border line */
.footer-premium-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-text, .developer-text {
    font-size: 0.88rem;
    color: #d1d5db;
    margin: 0;
    opacity: 0.8;
}

.text-glow {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.premium-snap-link {
    color: #fca5a5;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed rgba(252, 165, 165, 0.5);
    transition: all 0.3s ease;
}

.premium-snap-link:hover {
    color: #ffffff;
    border-bottom-style: solid;
    text-shadow: 0 0 8px rgba(252, 165, 165, 0.6);
}

/* RESPONSIVE DESIGN - MOBILE ADJUSTMENTS */
@media (max-width: 992px) {
    .footer-premium-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .premium-footer {
        padding-top: 5rem;
    }
}

@media (max-width: 576px) {
    .footer-premium-grid {
        grid-template-columns: 1fr;
    }

    .footer-premium-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-subtitle-premium::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-brand-box, .footer-links-box, .footer-contact-box, .footer-social-box {
        text-align: center;
    }
    
    .premium-social-icons, .p-contact-item {
        justify-content: center;
    }
}
/* Custom Categories Section */
.categories-section {
    padding: 4rem 2rem;
    background: #fff5f5; /* Light subtle premium background */
}

.categories-carousel-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.category-slide-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-slide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.12);
    border-color: var(--primary);
}

.category-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.category-slide-card:hover .category-card-icon {
    transform: scale(1.15);
}

.category-card-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-card-text {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.5;
}

/* Mobile View Responsive - Horizontal Side Scrolling Carousel */
@media (max-width: 768px) {
    .categories-section {
        padding: 3rem 1rem;
    }

    .categories-carousel-wrapper {
        display: flex; /* Switches from Grid to Flexbox for side movement */
        overflow-x: auto; /* Enables horizontal swipe */
        scroll-snap-type: x mandatory; /* Stops exactly on a card when swiping */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch; /* Extra smooth scroll on iOS */
        gap: 1.2rem;
        padding: 1rem 1.5rem;
        margin-left: -1rem; /* Full-bleed layout effect */
        margin-right: -1rem;
    }

    /* Hide standard scrollbars for clean premium look */
    .categories-carousel-wrapper::-webkit-scrollbar {
        display: none;
    }
    .categories-carousel-wrapper {
        -ms-overflow-style: none;  
        scrollbar-width: none;  
    }

    .category-slide-card {
        flex: 0 0 80%; /* Each card takes up 80% of the mobile screen width */
        scroll-snap-align: center; /* Snap card to the center of the viewport */
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    }
}
/* ==========================================================================
   PREMIUM LOCATION PAGE STYLES (WITH MAP CARD)
   ========================================================================== */
.location-premium-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: start;
}

.location-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.location-detail-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.05);
}

.highlight-loc-card {
    background: linear-gradient(135deg, #fef2f2 0%, #ffe4e4 100%);
    border-color: #fca5a5;
}

.loc-card-icon {
    font-size: 1.8rem;
    background: #fef2f2;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.highlight-loc-card .loc-card-icon {
    background: var(--primary);
    color: white;
}

.loc-card-content h3 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.loc-card-content p {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.5;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: #475569;
    margin-bottom: 0.3rem;
    gap: 1.5rem;
}

.loc-facilities-list {
    list-style: none;
    padding: 0;
}

.loc-facilities-list li {
    font-size: 0.92rem;
    color: #334155;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.loc-phone-link {
    display: inline-block;
    margin-top: 0.6rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.loc-phone-link:hover {
    color: var(--primary-dark);
}

/* --- PREMIUM MAP CARD STYLING --- */
.map-card-premium {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease;
}

.map-card-premium:hover {
    box-shadow: 0 20px 45px rgba(220, 38, 38, 0.08);
}

/* Beautiful Top Header for Map Card */
.map-card-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #edf2f7;
}

.map-dot {
    width: 10px;
    height: 10px;
    background: #22c55e; /* Live green pulsing indicator */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.map-header-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-wrapper-inner {
    width: 100%;
    height: 480px; /* Perfect height for desktop */
}

.map-wrapper-inner iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* RESPONSIVE DESIGN - MOBILE ADJUSTMENTS */
@media (max-width: 992px) {
    .location-premium-grid {
        grid-template-columns: 1fr; /* Stack vertically on tablet/mobile */
        gap: 2rem;
    }
    
    .map-wrapper-inner {
        height: 350px; /* Slightly shorter on mobile screens */
    }
}
/* CSS styles අලුත් ID එකටත් සම්බන්ධ කිරීම */
/* Location පේජ් එක Header එකට යටින් පටන් ගැනීම වැළැක්වීමට */
#location-view {
    padding-top: 120px !important; /* Header එකේ උස අනුව ඉඩක් ලබා දීම */
}
#location-view.active {
    display: block !important; /* active වූ විට පමණක් පෙන්වන්න */
}
/* Core Values Section Styling */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #f3f4f6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #fee2e2;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif; /* ඔබේ header font එක */
}

.value-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}