/* ============================================
   L&A Unlimited Care Adult Family Home
   Professional Stylesheet
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Colors - Professional Theme */
    --primary-color: #1a5f7a;
    --secondary-color: #159895;
    --accent-color: #57c5b6;
    --dark-color: #002b5b;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --overlay-dark: rgba(0, 43, 91, 0.7);
    --overlay-light: rgba(0, 43, 91, 0.5);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 500;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn i {
    margin-left: 8px;
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ============================================
   Accessibility Toolbar
   ============================================ */
.accessibility-toolbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accessibility-toolbar button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.accessibility-toolbar button:hover {
    background: var(--dark-color);
    transform: scale(1.1);
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar-link {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-link:hover {
    color: var(--accent-color);
}

.top-bar-link i {
    color: var(--accent-color);
}

/* ============================================
   Header
   ============================================ */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 80px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ============================================
   Hero Slider
   ============================================ */
.hero-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 700px;
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-nav:hover {
    background: var(--primary-color);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   Welcome Section
   ============================================ */
.welcome-section {
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
}

/* ============================================
   Services Preview/Grid
   ============================================ */
.services-preview {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 43, 91, 0.9), rgba(0, 43, 91, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
}

.service-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* ============================================
   About Preview
   ============================================ */
.about-preview {
    background: var(--light-color);
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-img-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    min-height: 300px;
    object-fit: cover;
}

.about-img-secondary {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.about-img-tertiary {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.about-preview-content h2 {
    margin-bottom: 20px;
}

.about-preview-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.highlight-item span {
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================
   What Sets Us Apart
   ============================================ */
.sets-apart {
    background: var(--white);
}

.sets-apart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.apart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.apart-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(10px);
}

.apart-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    min-width: 40px;
}

.apart-item:hover i {
    color: var(--white);
}

.apart-item span {
    font-weight: 500;
}

/* ============================================
   Video Section
   ============================================ */
.video-section {
    background: var(--light-color);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* ============================================
   Gallery Preview/Main
   ============================================ */
.gallery-preview {
    background: var(--light-color);
}

.gallery-preview-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 91, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    color: var(--white);
    font-size: 3rem;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: var(--white);
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ============================================
   Full Width Background Sections
   ============================================ */
.fullwidth-bg-section {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    overflow: hidden;
}

.fullwidth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 91, 0.85), rgba(26, 95, 122, 0.85));
    z-index: 1;
}

.fullwidth-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.fullwidth-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.fullwidth-icon i {
    font-size: 3rem;
    color: var(--white);
}

.fullwidth-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.fullwidth-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 35px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.fullwidth-bg-section:hover .fullwidth-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

/* ============================================
   About Page Styles
   ============================================ */
.about-story {
    background: var(--white);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-story-image {
    position: relative;
}

.about-story-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* Two-Image Layout for Story Section */
.about-story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.about-story-image-main {
    position: relative;
    grid-column: span 2;
}

.about-story-image-main img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.about-story-image-secondary {
    position: relative;
    grid-column: span 2;
    margin-top: -40px;
}

.about-story-image-secondary img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-story-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.about-story-badge i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.about-story-badge span {
    font-size: 0.85rem;
    line-height: 1.2;
}

.mission-vision {
    background: var(--light-color);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-box,
.vision-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.mission-icon,
.vision-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.mission-box h3,
.vision-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission-box p,
.vision-box p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.core-values {
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 3px solid transparent;
}

.value-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.value-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.why-choose {
    background: var(--light-color);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.why-item {
    display: flex;
    gap: 20px;
}

.why-icon {
    min-width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.why-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.why-text p {
    font-size: 0.95rem;
}

/* ============================================
   Services Page Styles
   ============================================ */
.services-intro {
    background: var(--white);
}

.services-detail {
    background: var(--light-color);
}

.services-detail-grid {
    display: grid;
    gap: 40px;
}

.service-detail-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 300px 1fr;
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-detail-image {
    height: 100%;
    object-fit: cover;
}

.service-detail-content {
    padding: 40px;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-detail-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-detail-content h3 {
    font-size: 2rem;
}

.service-detail-content p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.additional-services {
    background: var(--white);
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.additional-service-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.additional-service-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-10px);
}

.additional-service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.additional-service-card:hover i {
    color: var(--white);
}

.additional-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.additional-service-card:hover h3 {
    color: var(--white);
}

.additional-service-card p {
    font-size: 0.95rem;
}

.additional-service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   Care Excellence Section
   =================================== */
.care-excellence {
    background: var(--white);
    padding: 80px 0;
}

.care-excellence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.excellence-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.excellence-card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.excellence-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.excellence-card:hover .excellence-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.excellence-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.excellence-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.excellence-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    background: var(--light-color);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--dark-color);
}

.faq-question i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 30px 25px;
}

.faq-answer p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-section {
    background: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-info-card p {
    margin-bottom: 8px;
}

.contact-info-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-info-card a:hover {
    color: var(--secondary-color);
}

.contact-info-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-form-header p {
    font-size: 1.05rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.required {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.map-section {
    padding: 60px 0 0;
}

.map-container {
    margin-top: 40px;
}

.map-container iframe {
    width: 100%;
    border-radius: 15px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    background: var(--white);
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-links i {
    font-size: 0.8rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.2rem;
    min-width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--dark-color);
    transform: translateY(-5px);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 30px;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
    }
    
    .about-preview-grid,
    .about-story-grid,
    .why-choose-grid,
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-story-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-story-image-main,
    .about-story-image-secondary {
        grid-column: span 1;
    }
    
    .about-story-image-secondary {
        margin-top: 0;
    }
    
    .about-story-image-secondary img {
        height: 250px;
    }
    
    .about-story-badge {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 20px;
    }
    
    .about-story-badge i {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .about-story-badge span {
        font-size: 0.75rem;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .fullwidth-bg-section {
        background-attachment: scroll;
        min-height: 400px;
        padding: 60px 0;
    }
    
    .fullwidth-content h2 {
        font-size: 2.2rem;
    }
    
    .fullwidth-content p {
        font-size: 1.1rem;
    }
}

/* Tablet breakpoint for core values */
@media (min-width: 769px) and (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .video-container {
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .hero-content {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav.prev {
        left: 15px;
    }
    
    .slider-nav.next {
        right: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .video-section {
        padding: 60px 0;
    }
    
    .video-container {
        margin-top: 1rem;
        padding-bottom: 56.25%;
    }
    
    .page-header {
        height: 300px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .fullwidth-bg-section {
        min-height: 350px;
        padding: 50px 0;
    }
    
    .fullwidth-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .fullwidth-icon i {
        font-size: 2.5rem;
    }
    
    .fullwidth-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .fullwidth-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* Contact Page Mobile Optimization */
    .contact-grid {
        gap: 30px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .contact-info-card {
        padding: 25px 20px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .contact-form-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-form-header p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 50px 0;
    }
    
    /* Prevent horizontal overflow on mobile */
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    section {
        overflow-x: hidden;
    }
    
    .services-grid,
    .features-grid,
    .gallery-preview-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .video-section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .video-container {
        margin-top: 0.75rem;
        padding-bottom: 56.25%;
        border-radius: 6px;
    }
    
    .video-container iframe {
        border-radius: 6px;
    }
    
    .accessibility-toolbar {
        right: 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    /* Contact Page Extra Small Mobile Optimization */
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-grid {
        gap: 25px;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .contact-info-card {
        padding: 20px 15px;
    }
    
    .contact-info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .contact-info-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .contact-info-card p {
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    
    .contact-form-header {
        margin-bottom: 20px;
    }
    
    .contact-form-header h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .contact-form-header p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        gap: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .btn-block {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .map-section {
        padding: 40px 0 0;
    }
    
    .map-container {
        margin-top: 30px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    /* Top bar text wrapping fix */
    .top-bar {
        padding: 12px 0;
    }
    
    .top-bar-content {
        gap: 10px;
    }
    
    .top-bar-left,
    .top-bar-right {
        gap: 8px;
        width: 100%;
    }
    
    .top-bar-link {
        font-size: 0.85rem;
        gap: 6px;
        justify-content: center;
    }
    
    .top-bar-link span {
        font-size: 0.85rem;
        word-break: break-word;
        text-align: center;
    }
    
    .top-bar-link i {
        font-size: 0.9rem;
    }
    
    /* Page header mobile fix */
    .page-header {
        height: 250px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
}

/* ============================================
   High Contrast Mode
   ============================================ */
body.high-contrast {
    --primary-color: #000;
    --secondary-color: #000;
    --text-dark: #000;
    --text-light: #000;
    --white: #fff;
    --light-color: #fff;
    background: #fff;
    color: #000;
}

body.high-contrast .hero-overlay,
body.high-contrast .page-header-overlay {
    background: rgba(0, 0, 0, 0.9);
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .top-bar,
    .header,
    .accessibility-toolbar,
    .back-to-top,
    .slider-nav,
    .slider-dots,
    .mobile-menu-toggle {
        display: none;
    }
}