/**
 * client.css - Optimized with Red Color Scheme & Animations
 * Professional design for Ngumbela Funeral Services
 */

/* ==========================================================================
   1. BASE STYLES & RESET
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #dc2626;
    --dark-red: #b91c1c;
    --navy-blue: #1e3a8a;
    --dark-navy: #1e40af;
    --black: #000000;
    --white: #ffffff;
    --gray: #6b7280;
    --light-gray: #f8fafc;
    --dark-gray: #374151;
    --darker-bg: #050505;
    --border-gray: #e5e7eb;
    --gold: #d97706;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */

.header {
    background: var(--white);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--black);
}

/* Hide site name if logo exists */
.logo-image[src*="/"] + .logo-text {
    display: none;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-red);
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    list-style: none;
    min-width: 180px;
    z-index: 1000;
    animation: fadeInUp 0.3s ease;
}

.nav-item:hover .submenu {
    display: block;
}

.submenu-item {
    border-bottom: 1px solid var(--light-gray);
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-link {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
}

.submenu-link:hover {
    background-color: var(--primary-red);
    color: var(--white);
    transform: translateX(5px);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mylife-btn {
    background: var(--navy-blue);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.mylife-btn:hover {
    background: var(--dark-navy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.emergency-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    animation: shake 3s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.emergency-btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.toggle-bar {
    width: 20px;
    height: 2px;
    background: var(--black);
    transition: 0.3s;
}

/* ==========================================================================
   3. BUTTON STYLES - RED & NAVY ONLY
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
    background: var(--navy-blue);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.2);
}

.btn-secondary:hover {
    background: var(--dark-navy);
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.3);
}

/* ==========================================================================
   4. BANNER SECTION - ANIMATED
   ========================================================================== */

.banner-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.02"><path fill="%23000" d="M500,250c138,0,250,112,250,250S638,750,500,750S250,638,250,500S362,250,500,250z"/></svg>') center/150px;
    animation: float 25s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-80px, -80px) rotate(360deg); }
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-text {
    color: var(--black);
    animation: flyInLeft 0.8s ease-out;
}

@keyframes flyInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

.slogan {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    color: var(--black);
    line-height: 1.2;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 5px rgba(0,0,0,0.1); }
    to { text-shadow: 0 0 15px rgba(0,0,0,0.2); }
}

.banner-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--black);
    line-height: 1.6;
    opacity: 0.9;
    animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.banner-image {
    text-align: center;
    animation: flyInRight 0.8s ease-out 0.3s both;
}

@keyframes flyInRight {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

.banner-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: perspective(800px) rotateY(-3deg) rotateX(3deg);
    transition: all 0.5s ease;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: perspective(800px) rotateY(-3deg) rotateX(3deg) translateY(0); }
    50% { transform: perspective(800px) rotateY(-3deg) rotateX(3deg) translateY(-10px); }
}

.banner-img:hover {
    transform: perspective(800px) rotateY(0) rotateX(0) scale(1.02);
}

/* ==========================================================================
   5. SERVICES SECTION - ANIMATED
   ========================================================================== */

.services-section {
    background: var(--white);
    padding: 4rem 0;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 3rem;
    font-weight: bold;
    position: relative;
    animation: zoomIn 0.8s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 1px;
    animation: widthGrow 1s ease-out 0.5s both;
}

@keyframes widthGrow {
    from { width: 0; }
    to { width: 60px; }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.05), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-red);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--black);
    margin-bottom: 1.2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary-red);
}

.service-name {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 0.8rem;
    font-weight: bold;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card:hover .service-name {
    color: var(--primary-red);
}

.service-description {
    color: var(--black);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    flex-grow: 1;
    opacity: 0.8;
    font-size: 0.9rem;
}

.service-price {
    font-size: 1.2rem;
    color: var(--primary-red);
    font-weight: bold;
    margin-bottom: 1.2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-price {
    transform: scale(1.05);
}

.service-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    display: inline-block;
    font-size: 0.9rem;
}

.service-link::after {
    content: '→';
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(3px);
}

.service-link:hover {
    color: var(--dark-red);
    text-decoration: none;
}

/* Fallback services styles */
.no-services {
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.no-services > p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--black);
    font-weight: 500;
}

.default-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

/* ==========================================================================
   6. STATS SECTION - ANIMATED
   ========================================================================== */

.stats-section {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #4b5563 100%);
    padding: 4rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 1.5rem 0.8rem;
    animation: bounceIn 0.6s ease-out;
    animation-fill-mode: both;
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-icon {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    opacity: 1;
}

.stat-number {
    font-size: 2.8rem;
    color: var(--white);
    font-weight: bold;
    margin-bottom: 0.4rem;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: color 0.3s ease;
    animation: countUp 1s ease-out;
}

@keyframes countUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item:hover .stat-number {
    color: var(--gold);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
    opacity: 0.9;
}

/* ==========================================================================
   7. TESTIMONIALS SECTION - MOVING CAROUSEL
   ========================================================================== */

.testimonials-section {
    background: var(--light-gray);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.testimonials-container {
    position: relative;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonials-track {
    display: flex;
    gap: 1rem;
    animation: scrollTestimonials 25s linear infinite;
    padding: 1rem 0;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 3 - 1rem * 3));
    }
}

.testimonial-card {
    background: var(--white);
    padding: 1.2rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    position: relative;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    min-width: 200px;
    flex-shrink: 0;
    animation: slideInFromBottom 0.5s ease-out;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-red);
}

.testimonial-icon {
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .testimonial-icon {
    opacity: 0.7;
}

.testimonial-content p {
    color: var(--black);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    color: var(--primary-red);
    font-size: 1rem;
    font-weight: bold;
}

.testimonial-author {
    color: var(--black);
    font-weight: bold;
    font-size: 0.8rem;
    border-top: 1px solid var(--border-gray);
    padding-top: 0.8rem;
}

.testimonial-author span {
    color: var(--gray);
    font-weight: normal;
    display: block;
    margin-top: 0.2rem;
    font-size: 0.7rem;
}

/* Testimonial Controls */
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.testimonial-control-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.testimonial-control-btn.active {
    opacity: 1;
    transform: scale(1.2);
}

.testimonial-control-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* ==========================================================================
   8. EMERGENCY SECTION - COMPACT DESIGN
   ========================================================================== */

.emergency-section {
    background: linear-gradient(135deg, #1f2937 0%, var(--dark-gray) 100%);
    padding: 3rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.emergency-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.emergency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.emergency-info {
    animation: slideInLeft 0.8s ease-out;
}

.emergency-info h2.section-title {
    text-align: left;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.emergency-info h2.section-title::after {
    background: var(--white);
}

.emergency-description {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    opacity: 0.9;
}

.emergency-features {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    animation: fadeInRight 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
    margin-top: 0.1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-text h4 {
    color: var(--white);
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.feature-text p {
    color: var(--white);
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.emergency-cta {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 2rem;
    animation: flipIn 0.8s ease-out 0.3s both;
}

@keyframes flipIn {
    from {
        opacity: 0;
        transform: rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: rotateY(0);
    }
}

.emergency-cta h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.emergency-cta > p {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255,255,255,0.12);
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
}

.contact-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.contact-item i {
    color: var(--white);
    font-size: 1.1rem;
    width: 16px;
    text-align: center;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-item span {
    color: var(--white);
    font-weight: bold;
}

/* ==========================================================================
   9. FOOTER STYLES - PREMIUM BLACK DESIGN
   ========================================================================== */

.footer {
    background: linear-gradient(135deg, var(--darker-bg) 0%, #111827 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-column h3.footer-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 1px;
}

.contact-info .contact-item {
    margin-bottom: 1.2rem;
    justify-content: flex-start;
    background: none;
    padding: 0;
    font-size: 0.9rem;
    border: none;
    transition: none;
}

.contact-info .contact-item:hover {
    transform: none;
    background: none;
}

.contact-info .contact-item strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--primary-red);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: block;
}

.contact-link:hover {
    color: var(--primary-red);
    transform: translateX(3px);
}

.contact-text {
    color: var(--white);
    font-size: 1rem;
    opacity: 0.9;
}

.footer-nav .footer-menu {
    list-style: none;
}

.footer-menu-item {
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-menu-item:hover {
    transform: translateX(5px);
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: block;
    padding: 0.4rem 0;
    opacity: 0.9;
    position: relative;
}

.footer-link::before {
    content: '›';
    position: absolute;
    left: -15px;
    color: var(--primary-red);
    transition: transform 0.3s ease;
    opacity: 0;
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateX(3px);
}

.footer-link:hover {
    color: var(--primary-red);
    opacity: 1;
    padding-left: 8px;
}

.footer-logo-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.4rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.03);
}

.registration-info {
    color: var(--white);
    margin-bottom: 0.8rem;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.registration-info strong {
    color: var(--primary-red);
}

.copyright {
    color: var(--white);
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .slogan {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .default-services {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
    
    .emergency-content {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .container {
        padding: 0 1.2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-buttons {
        display: none;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .slogan {
        font-size: 2rem;
    }
    
    .banner-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services-grid,
    .default-services {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .service-card {
        padding: 1.5rem 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .testimonials-track {
        animation: scrollTestimonialsMobile 25s linear infinite;
    }
    
    @keyframes scrollTestimonialsMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 3 - 1.5rem * 3));
        }
    }
    
    .testimonial-card {
        min-width: 250px;
        padding: 1.5rem 1.2rem;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .emergency-info h2.section-title {
        text-align: center;
    }
    
    .emergency-info h2.section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .feature-item {
        text-align: left;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-column h3.footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .slogan {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .banner-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .testimonial-card {
        min-width: 220px;
        padding: 1.2rem;
    }
    
    .emergency-cta h3 {
        font-size: 1.2rem;
    }
}


/* ==========================================================================
   11. UTILITY CLASSES
   ========================================================================== */

.text-red { color: var(--primary-red); }
.text-black { color: var(--black); }
.text-white { color: var(--white); }
.bg-white { background: var(--white); }
.bg-light { background: var(--light-gray); }
.bg-dark { background: var(--dark-bg); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.8rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.5rem; }
.mt-1 { margin-top: 0.8rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }

.p-1 { padding: 0.8rem; }
.p-2 { padding: 1.5rem; }
.p-3 { padding: 2.5rem; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading-spinner {
    border: 2px solid var(--light-gray);
    border-top: 2px solid var(--primary-red);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ==========================================================================
   MOBILE NAVIGATION FIXES
   ========================================================================== */

@media (max-width: 768px) {
    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 2rem 1.5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .navigation.mobile-active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        margin-bottom: 2rem;
        display: block !important; /* Force display */
    }

    .nav-item {
        border-bottom: 1px solid var(--border-gray);
        opacity: 1 !important; /* Ensure visibility */
        visibility: visible !important;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .submenu {
        position: static;
        box-shadow: none;
        background: var(--light-gray);
        margin: 0.5rem 0;
        display: none;
    }

    .nav-item:hover .submenu {
        display: none;
    }

    .submenu.active {
        display: block;
    }

    .submenu-link {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .header-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        display: flex !important; /* Force display */
    }

    .mylife-btn,
    .emergency-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Mobile menu toggle animation */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
    }

    .toggle-bar {
        width: 25px;
        height: 3px;
        background: var(--black);
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active .toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active .toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 6rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><path fill="%23000" d="M500,250c138,0,250,112,250,250S638,750,500,750S250,638,250,500S362,250,500,250z"/></svg>') center/150px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--black);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-gray);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--dark-red);
}

.breadcrumb li:last-child {
    color: var(--gray);
}

/* Section Badge */
.section-badge {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--black);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* About Company Section */
.about-company {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--black);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.image-placeholder img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-placeholder p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 1rem;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

/* Company Values Section */
.company-values {
    padding: 5rem 0;
    background: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-red);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--black);
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

/* Our Team Section */
.our-team {
    padding: 5rem 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.member-image {
    background: var(--light-gray);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-image .image-placeholder {
    background: none;
    box-shadow: none;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-image i {
    font-size: 3rem;
    color: var(--white);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.position {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.bio {
    color: var(--black);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.qualifications,
.experience {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.qualifications strong,
.experience strong {
    color: var(--black);
    margin-right: 0.5rem;
}

.qualifications span,
.experience span {
    color: var(--gray);
}

/* Facilities Section */
.facilities {
    padding: 5rem 0;
    background: var(--light-gray);
}

.facility-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.facility-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.facility-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.facility-feature:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--black);
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

.facility-cta .cta-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid var(--border-gray);
}

.facility-cta h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
}

.facility-cta > p {
    color: var(--black);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-align: left;
}

.address i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-top: 0.2rem;
}

.address strong {
    display: block;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.address p {
    color: var(--black);
    opacity: 0.8;
    margin: 0;
    line-height: 1.5;
}

/* Community Section */
.community {
    padding: 5rem 0;
    background: var(--white);
}

.community-initiatives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.initiative {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.initiative:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.initiative-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.initiative h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
}

.initiative p {
    color: var(--black);
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

/* Emergency Section */
.emergency-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #4b5563 100%);
    color: var(--white);
}

.emergency-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.emergency-text .section-badge {
    background: var(--white);
    color: var(--primary-red);
}

.emergency-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.emergency-text > p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.emergency-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.emergency-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.emergency-feature .feature-icon {
    font-size: 2rem;
    color: var(--white);
    margin-top: 0.2rem;
}

.emergency-feature h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.emergency-feature p {
    color: var(--white);
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.emergency-cta .cta-card {
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.cta-icon {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.emergency-cta h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1rem;
}

.emergency-cta > p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.emergency-phone:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.emergency-cta .cta-card > p:last-child {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content,
    .facility-content,
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 0 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .community-initiatives {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .value-card,
    .team-member,
    .facility-cta .cta-card,
    .emergency-cta .cta-card {
        padding: 1.5rem;
    }
}
/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

/* Contact Page Layout */
.contact-page {
    padding: 4rem 0;
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Contact Information Section */
.contact-info-section h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 2rem;
    position: relative;
}

.contact-info-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.contact-item:hover {
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: var(--primary-red);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon.emergency {
    background: var(--dark-red);
    animation: pulse 2s infinite;
}

.contact-icon.whatsapp {
    background: #25D366;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-content h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-content > p {
    color: var(--gray);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.contact-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-link.large {
    font-size: 1.2rem;
    font-weight: bold;
}

.contact-link.whatsapp {
    color: #25D366;
}

.contact-link:hover {
    color: var(--dark-red);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-address {
    font-style: normal;
    color: var(--black);
    line-height: 1.6;
    opacity: 0.9;
}

.office-hours {
    margin-top: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row strong {
    color: var(--black);
    font-size: 0.9rem;
}

.hours-row span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid var(--border-gray);
}

.contact-form-section h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-form-section > p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.alert-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert-success {
    background: #efe;
    border: 1px solid #cfc;
    color: #363;
}

.alert i {
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.half {
    /* Already handled by grid */
}

.form-group label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.btn-primary.full-width {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

/* Emergency Section */
.emergency-section {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #4b5563 100%);
    color: var(--white);
    padding: 4rem 0;
}

.emergency-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.emergency-info h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.emergency-info > p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.emergency-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.emergency-cta-box {
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.emergency-cta-box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--white);
}

.emergency-phone-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-red);
    color: var(--white);
    padding: 1.2rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.emergency-phone-large:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
}

.emergency-cta-box > p {
    opacity: 0.9;
    margin: 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-layout {
        gap: 3rem;
    }
    
    .emergency-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-section {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .emergency-info h2 {
        font-size: 2rem;
    }
    
    .emergency-features {
        align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 2rem 0;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 1.8rem;
    }
    
    .emergency-info h2 {
        font-size: 1.8rem;
    }
    
    .emergency-phone-large {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
}
/* ==========================================================================
   SERVICES PAGE STYLES
   ========================================================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 6rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><path fill="%23000" d="M500,250c138,0,250,112,250,250S638,750,500,750S250,638,250,500S362,250,500,250z"/></svg>') center/150px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--black);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-gray);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--dark-red);
}

.breadcrumb li:last-child {
    color: var(--gray);
}

/* Services Detail Section */
.services-detail {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--black);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
}

.filter-btn {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--border-gray);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

/* Detailed Services Grid */
.services-grid.detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card.detailed {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border-gray);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card.detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card.detailed:hover::before {
    transform: scaleX(1);
}

.service-card.detailed:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--primary-red);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card.detailed:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card.detailed h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: var(--black);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-size: 1rem;
}

/* Service Features */
.service-features {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.service-features h4 {
    color: var(--black);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.service-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--black);
    line-height: 1.4;
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-features li i {
    color: var(--primary-red);
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Service Price */
.service-price {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    border-radius: 8px;
    border: 2px dashed var(--border-gray);
}

.price-label {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.price-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-red);
    line-height: 1;
}

/* More Information Toggle */
.service-more-info {
    margin-bottom: 1.5rem;
}

.info-toggle {
    background: none;
    border: none;
    color: var(--primary-red);
    font-weight: 600;
    cursor: pointer;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
}

.info-toggle:hover {
    background: var(--light-gray);
    color: var(--dark-red);
}

.info-toggle.active {
    background: var(--light-gray);
    border-radius: 6px 6px 0 0;
}

.info-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.info-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--light-gray);
    border-radius: 0 0 6px 6px;
    padding: 0 1rem;
}

.info-content.show {
    max-height: 500px;
    padding: 1rem;
    border-top: 1px solid var(--border-gray);
}

.info-content p {
    color: var(--black);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Service Actions */
.service-actions {
    text-align: center;
}

.service-actions .btn-primary {
    width: 100%;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
}

/* No Services State */
.no-services {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 2px dashed var(--border-gray);
    grid-column: 1 / -1;
}

.no-services-icon {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.no-services h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.no-services p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Process Section */
.service-process {
    padding: 5rem 0;
    background: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-red);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--black);
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

/* Emergency Support Section */
.emergency-support {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #4b5563 100%);
    color: var(--white);
}

.emergency-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.emergency-text .section-badge {
    background: var(--white);
    color: var(--primary-red);
}

.emergency-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.emergency-text > p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.emergency-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.emergency-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.emergency-feature .feature-icon {
    font-size: 2rem;
    color: var(--white);
    margin-top: 0.2rem;
}

.emergency-feature h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.emergency-feature p {
    color: var(--white);
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.emergency-cta .cta-card {
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.cta-icon {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.emergency-cta h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1rem;
}

.emergency-cta > p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.emergency-phone:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
}

.emergency-cta .cta-card > p:last-child {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid.detailed {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 0 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .services-grid.detailed {
        grid-template-columns: 1fr;
    }
    
    .service-card.detailed {
        padding: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .emergency-feature {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card.detailed {
        padding: 1.5rem;
    }
    
    .emergency-phone {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .emergency-text h2 {
        font-size: 2rem;
    }
}
/* ==========================================================================
   FUNERAL COVER ESTIMATE PAGE STYLES
   ========================================================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 6rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><path fill="%23000" d="M500,250c138,0,250,112,250,250S638,750,500,750S250,638,250,500S362,250,500,250z"/></svg>') center/150px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--black);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-gray);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--dark-red);
}

.breadcrumb li:last-child {
    color: var(--gray);
}

/* Estimate Page Layout */
.estimate-page {
    padding: 4rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--black);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Alert Messages */
.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease-out;
}

.alert-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert-error h4 {
    color: #c33;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.alert-error ul {
    margin: 0;
    padding-left: 1.5rem;
}

.alert-error li {
    margin-bottom: 0.3rem;
}

/* Estimate Layout */
.estimate-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

/* Estimate Form Section */
.estimate-form-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border-gray);
    position: sticky;
    top: 2rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-red);
    border-radius: 2px;
}

.form-hint {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: var(--primary-red);
    background: var(--light-gray);
}

.radio-label input[type="radio"] {
    display: none;
}

.radiomark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-gray);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radiomark {
    border-color: var(--primary-red);
}

.radio-label input[type="radio"]:checked + .radiomark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
}

/* Checkbox Labels */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

/* Member Groups */
.member-group {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.member-group:hover {
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.member-details {
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 6px;
    border-left: 4px solid var(--primary-red);
    animation: slideDown 0.3s ease-out;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

/* Form Actions */
.btn-primary.full-width {
    width: 100%;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.form-note {
    color: var(--gray);
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

/* Estimate Results Section */
.estimate-results-section {
    min-height: 600px;
}

.results-header {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-red);
}

.results-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.results-header p {
    color: var(--black);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.user-selections-summary {
    background: var(--white);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-gray);
    font-size: 0.9rem;
    color: var(--black);
}

/* Plan Cards */
.plan-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-red);
}

.plan-card.featured-plan {
    border: 2px solid var(--primary-red);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 2rem;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.plan-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.plan-header h4 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--black);
    margin: 0;
    flex: 1;
}

.plan-price {
    text-align: right;
}

.monthly-price {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-red);
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: var(--gray);
}

.plan-type {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.plan-type-badge {
    background: var(--navy-blue);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.age-limit {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.age-limit::before {
    content: '🎯';
    font-size: 0.8rem;
}

.plan-qualification {
    margin-bottom: 1.5rem;
}

.qualification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #28a745;
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Analysis Sections */
.coverage-analysis,
.age-recommendations {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    animation: slideDown 0.3s ease-out;
}

.coverage-analysis {
    background: #e8f5e8;
    border-left: 4px solid #28a745;
}

.age-recommendations {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.coverage-analysis h5,
.age-recommendations h5 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-list,
.recommendations-list {
    margin: 0;
    padding-left: 1.5rem;
}

.analysis-list li,
.recommendations-list li {
    margin-bottom: 0.5rem;
    color: var(--black);
    line-height: 1.4;
}

.analysis-list li:last-child,
.recommendations-list li:last-child {
    margin-bottom: 0;
}

/* Coverage Grid */
.plan-coverage {
    margin: 1.5rem 0;
}

.plan-coverage h5 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
}

.coverage-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: var(--light-gray);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.coverage-item.covered {
    background: #e8f5e8;
    border-left: 3px solid #28a745;
}

.coverage-item.covered::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
}

/* Benefits Grid */
.plan-benefits {
    margin: 1.5rem 0;
}

.plan-benefits h5 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.benefit-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.benefit-item span {
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Plan Details */
.plan-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.detail-item strong {
    color: var(--black);
    font-size: 0.9rem;
}

.detail-item span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Plan Actions */
.plan-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.plan-actions .btn-primary,
.plan-actions .btn-secondary {
    flex: 1;
    justify-content: center;
    gap: 0.5rem;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 2px dashed var(--border-gray);
}

.no-results-icon {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Intelligent Suggestions */
.intelligent-suggestions {
    margin: 2rem 0;
    text-align: left;
}

.intelligent-suggestions h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-item {
    padding: 1rem 1.5rem;
    margin: 0.8rem 0;
    background: var(--white);
    border-left: 4px solid var(--primary-red);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.suggestion-item strong {
    color: var(--primary-red);
}

.suggestion-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Welcome Message */
.welcome-message {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 2px dashed var(--border-gray);
}

.welcome-icon {
    font-size: 4rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.welcome-message h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.welcome-message p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

.feature span {
    color: var(--black);
    font-weight: 500;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .estimate-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .estimate-form-section {
        position: static;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 0 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .estimate-form-section {
        padding: 2rem;
    }
    
    .plan-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .plan-price {
        text-align: center;
    }
    
    .plan-actions {
        flex-direction: column;
    }
    
    .coverage-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-details {
        grid-template-columns: 1fr;
    }
    
    .suggestion-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .estimate-form-section {
        padding: 1.5rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .monthly-price {
        font-size: 1.6rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .member-group {
        padding: 1rem;
    }
    
    .member-details {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-success { color: #28a745; }
.text-muted { color: var(--gray); }

/* Print Styles */
@media print {
    .estimate-form-section,
    .plan-actions,
    .breadcrumb {
        display: none;
    }
    
    .estimate-layout {
        grid-template-columns: 1fr;
    }
    
    .plan-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}
/* ==========================================================================
   FAQ PAGE STYLES
   ========================================================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 6rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><path fill="%23000" d="M500,250c138,0,250,112,250,250S638,750,500,750S250,638,250,500S362,250,500,250z"/></svg>') center/150px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--black);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-gray);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--dark-red);
}

.breadcrumb li:last-child {
    color: var(--gray);
}

/* FAQ Page Layout */
.faq-page {
    padding: 4rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--black);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ Search Section */
.faq-search-section {
    margin-bottom: 3rem;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 3rem;
    border: 2px solid var(--border-gray);
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.1rem;
}

.search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-clear:hover {
    background: var(--light-gray);
    color: var(--black);
}

.search-results-info {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.search-results-info .no-results {
    color: var(--primary-red);
}

/* FAQ Categories */
.faq-categories {
    margin-bottom: 3rem;
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.category-btn {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--border-gray);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

/* FAQ Category Sections */
.faq-category-section {
    margin-bottom: 3rem;
    animation: slideUp 0.6s ease-out;
}

.category-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.category-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--black);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.category-icon {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.category-count {
    background: var(--light-gray);
    color: var(--gray);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* FAQ Accordion */
.faq-accordion {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-item {
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.highlight {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
}

.faq-item.active {
    background: var(--light-gray);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem 2rem 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-item.active .faq-question {
    background: var(--light-gray);
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--white);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    background: var(--primary-red);
    color: var(--white);
}

.toggle-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.answer-content {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--black);
    line-height: 1.6;
    opacity: 0.9;
}

.answer-content p {
    margin-bottom: 1rem;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

.faq-meta {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--light-gray);
    border-top: 1px solid var(--border-gray);
    font-size: 0.8rem;
    color: var(--gray);
}

.faq-id {
    font-weight: 600;
}

.update-info {
    font-style: italic;
}

/* No FAQs State */
.no-faqs {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 2px dashed var(--border-gray);
}

.no-faqs-icon {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.no-faqs h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.no-faqs p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-faqs-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quick Help Section */
.quick-help-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 16px;
    color: var(--white);
    text-align: center;
}

.quick-help-content {
    max-width: 600px;
    margin: 0 auto;
}

.help-text h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--white);
}

.help-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.help-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.help-actions .btn-primary {
    background: var(--white);
    color: var(--primary-red);
}

.help-actions .btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.help-actions .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.help-actions .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .category-count {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 0 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 200px;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .answer-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-meta {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .quick-help-section {
        padding: 2rem;
    }
    
    .help-actions {
        flex-direction: column;
    }
    
    .no-faqs-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 1.2rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .answer-content {
        padding: 0 1.2rem 1.2rem 1.2rem;
    }
    
    .quick-help-section {
        padding: 1.5rem;
    }
    
    .help-text h3 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .faq-search-section,
    .faq-categories,
    .quick-help-section,
    .breadcrumb {
        display: none;
    }
    
    .faq-item {
        break-inside: avoid;
    }
    
    .faq-answer {
        max-height: none !important;
        display: block !important;
    }
    
    .faq-toggle {
        display: none;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .faq-answer,
    .faq-toggle,
    .category-btn,
    .search-input {
        transition: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .faq-item.highlight {
        border-left: 4px solid #000;
        background: #ffff00;
    }
    
    .faq-item.active {
        border: 2px solid #000;
    }
}