/*
Theme Name: Rescue Federation Theme
Theme URI: https://rescuefederation.com
Author: Ronit Roy
Author URI: https://yourwebsite.com
Description: Emergency Medical Transportation WordPress Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rescue-federation-theme
*/
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Urbanist:wght@500;600;700;800&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(15px);
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        header.scrolled {
            background: rgba(255, 255, 255, 0.99);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
        }

        header.scrolled nav {
            padding: 0.6rem 0;
        }

        header.scrolled .logo img {
            height: 45px;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.8rem 0;
            transition: all 0.3s ease;
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            transition: transform 0.3s ease;
            padding: 0.2rem;
        }

        .logo img {
            height: 50px;
            width: auto;
            max-width: 180px;
            object-fit: contain;
            transition: all 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.02);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 0.5rem;
            align-items: center;
            margin: 0;
        }

        .nav-links li {
            position: relative;
        }

        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            padding: 0.7rem 1rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            font-size: 0.95rem;
            white-space: nowrap;
            position: relative;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: #dc2626;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-links a:hover {
            color: #c1131a;
            background: rgba(220, 38, 38, 0.08);
            transform: translateY(-1px);
        }

        .nav-links a:hover::before {
            width: 70%;
        }

        .emergency-btn {
            font-family: 'Urbanist', sans-serif;
            background: linear-gradient(135deg, #dc2626, #c1131a);
            color: white;
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgb(113, 34, 11);
            font-size: 0.9rem;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }

        .emergency-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 ease;
        }

        .emergency-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgb(113, 34, 11);
            background: linear-gradient(135deg, #ef4444, #f87171);
        }

        .emergency-btn:hover::before {
            left: 100%;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #333;
            padding: 0.5rem;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .mobile-menu-btn:hover {
            background: rgba(220, 38, 38, 0.1);
            color: #c1131a;
        }

        .hero {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            background: url("https://rescuefederation.com/wp-content/uploads/2025/10/bg-1.jpg") no-repeat center center/cover;
            color: #fff;
            text-align: left;
            padding-left: 5%;
            margin: 0;
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
            z-index: 1;
        }

        .hero .container {
            position: relative;
            z-index: 2;
            max-width: 600px;
            margin-left: 0;
        }

        .hero-content {
            animation: slideInUp 1s ease-out;
        }

        .hero h1 {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 1rem;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
            line-height: 1.1;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            max-width: 600px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
            line-height: 1.6;
            opacity: 0.95;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .cta-primary,
        .cta-secondary {
            font-family: 'Urbanist', sans-serif;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .cta-primary {
            background: white;
            color: #c1131a;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .cta-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }

        .cta-secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .cta-secondary:hover {
            background: white;
            color: #c1131a;
        }

        .stats {
            background: linear-gradient(135deg, #1e293b, #334155);
            color: white;
            padding: 4rem 0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 3rem;
            color: #fbbf24;
            margin-bottom: 0.5rem;
        }

        .stat-item p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            color: #1e293b;
            margin-bottom: 1rem;
        }

        .section-header p {
            font-size: 1.1rem;
            color: #64748b;
            max-width: 600px;
            margin: 0 auto;
        }

        .section-subtitle {
            font-size: 1rem;
            color: #c1131a;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1rem;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #1e293b;
            margin-bottom: 1rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #c1131a, #ef4444);
            border-radius: 2px;
        }

        .services {
            padding: 5rem 0;
            background: #f8fafc;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border-top: 4px solid #c1131a;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .service-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, #c1131a, #ef4444);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            color: white;
            font-size: 1.5rem;
        }

        .service-card h3 {
            font-size: 1.3rem;
            color: #1e293b;
            margin-bottom: 1rem;
        }

        .service-card p {
            color: #64748b;
            line-height: 1.6;
        }

        .why-choose {
            padding: 5rem 0;
            background: white;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .feature-item {
            text-align: center;
            padding: 2rem;
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(45deg, #fbbf24, #f59e0b);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            color: white;
            font-size: 2rem;
        }

        .feature-item h3 {
            font-size: 1.2rem;
            color: #1e293b;
            margin-bottom: 0.5rem;
        }

        .feature-item p {
            color: #64748b;
        }

        .media-partners {
            padding: 5rem 0;
            background: #f1f5f9;
        }

        .partners-container {
            margin-top: 3rem;
            position: relative;
            height: 600px;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            background: white;
            overflow-y: auto;
        }

        .partners-scroll {
            display: flex;
            flex-direction: column;
            animation: scroll-partners-vertical 60s linear infinite;
            gap: 1.5rem;
            padding: 2rem;
            will-change: transform;
        }

        .partners-scroll:hover {
            animation-play-state: paused;
        }

        @keyframes scroll-partners-vertical {
            0% {
                transform: translateY(0);
            }

            100% {
                transform: translateY(-50%);
            }
        }

        .partner-card {
            background: white;
            padding: 2rem 3rem;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 120px;
            text-align: center;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            border-left: 4px solid transparent;
            transform: scale(0.95);
        }

        .partner-card:hover {
            transform: scale(1) translateX(10px);
            box-shadow: 0 15px 40px rgba(220, 38, 38, 0.15);
            border-left-color: #c1131a;
            background: linear-gradient(145deg, #ffffff, #f8fafc);
        }

        .partner-card::before {
            content: '';
            position: absolute;
            top: -100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, transparent, rgba(220, 38, 38, 0.05), transparent);
            transition: top 0.6s ease;
        }

        .partner-card:hover::before {
            top: 100%;
        }

        .partner-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.6s ease;
        }

        .partner-card:hover::after {
            left: 100%;
        }

        .partner-logo {
            max-width: 180px;
            max-height: 100px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .partner-card:hover .partner-logo {
            transform: scale(1.1);
        }

        .partners-fade {
            position: absolute;
            left: 0;
            right: 0;
            height: 100px;
            pointer-events: none;
            z-index: 10;
        }

        .partners-fade.top {
            top: 0;
            background: linear-gradient(to bottom, rgba(241, 245, 249, 1) 0%, rgba(241, 245, 249, 0.9) 30%, rgba(241, 245, 249, 0.5) 70%, transparent 100%);
        }

        .partners-fade.bottom {
            bottom: 0;
            background: linear-gradient(to top, rgba(241, 245, 249, 1) 0%, rgba(241, 245, 249, 0.9) 30%, rgba(241, 245, 249, 0.5) 70%, transparent 100%);
        }

        .testimonials {
            padding: 5rem 0;
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            position: relative;
            overflow: hidden;
        }

        .testimonials::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .google-reviews {
            background: white;
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
            margin-bottom: 3rem;
            position: relative;
            z-index: 2;
            border: 1px solid rgba(220, 38, 38, 0.1);
        }

        .google-header {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .business-info {
            flex: 1;
        }

        .business-name {
            font-size: 1.3rem;
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 0.5rem;
        }

        .business-description {
            color: #64748b;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .rating-overview {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.5rem;
        }

        .rating-score {
            font-size: 2rem;
            font-weight: bold;
            color: #c1131a;
        }

        .stars {
            display: flex;
            gap: 2px;
        }

        .star {
            color: #fbbf24;
            font-size: 1.2rem;
        }

        .review-count {
            color: #64748b;
            font-size: 0.9rem;
        }

        .powered-by {
            font-size: 0.8rem;
            color: #94a3b8;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .google-logo {
            font-weight: bold;
            color: #4285f4;
        }

        .review-btn {
            font-family: 'Urbanist', sans-serif;
            background: #4285f4;
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .review-btn:hover {
            background: #3367d6;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
        }

        .testimonials-carousel {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
        }

        .testimonials-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            gap: 2rem;
        }

        .testimonial-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            min-width: calc(33.333% - 1.35rem);
            flex-shrink: 0;
            border-left: 4px solid #c1131a;
            position: relative;
            transition: all 0.3s ease;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .testimonial-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .reviewer-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(45deg, #c1131a, #ef4444);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .reviewer-info h4 {
            color: #1e293b;
            font-weight: 600;
            margin-bottom: 0.2rem;
        }

        .review-date {
            color: #94a3b8;
            font-size: 0.8rem;
        }

        .review-stars {
            display: flex;
            gap: 2px;
            margin-bottom: 1rem;
        }

        .review-text {
            color: #4b5563;
            line-height: 1.6;
            font-style: italic;
        }

        .google-icon {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 20px;
            height: 20px;
        }

        .carousel-controls {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
        }

        .carousel-btn {
            font-family: 'Urbanist', sans-serif;
            background: white;
            border: 2px solid #dc2626;
            color: #c1131a;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .carousel-btn:hover {
            background: #c1131a;
            color: white;
            transform: scale(1.1);
        }

        .carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #cbd5e1;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: #c1131a;
            transform: scale(1.2);
        }

        .patrons {
            padding: 5rem 0;
            background: linear-gradient(135deg, #fef7f7 0%, #fecaca 20%, #fef7f7 100%);
            position: relative;
        }

        .patrons::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="hearts" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20,15 C15,5 5,5 5,15 C5,25 20,35 20,35 C20,35 35,25 35,15 C35,5 25,5 20,15 Z" fill="%23fecaca" opacity="0.1"/></pattern></defs><rect width="200" height="200" fill="url(%23hearts)"/></svg>');
            opacity: 0.3;
        }

        .patrons-title {
            text-align: center;
            font-size: 3rem;
            font-weight: 800;
            color: #c1131a;
            margin-bottom: 3rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(220, 38, 38, 0.1);
            position: relative;
            z-index: 2;
        }

        .patrons-grid {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            flex-wrap: nowrap;
            position: relative;
            z-index: 2;
        }

        .patron-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
            border: 2px solid transparent;
            min-height: 150px;
            position: relative;
            overflow: hidden;
            flex: 1;
            max-width: 250px;
        }

        .patron-card::before {
            content: '';
            position: absolute;
            top: -100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.1));
            transition: top 0.4s ease;
        }

        .patron-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 50px rgba(220, 38, 38, 0.2);
            border-color: #c1131a;
        }

        .patron-card:hover::before {
            top: 0;
        }

        .patron-logo {
            max-width: 150px;
            max-height: 80px;
            object-fit: contain;
            transition: transform 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .patron-card:hover .patron-logo {
            transform: scale(1.1);
        }

        footer {
            background: linear-gradient(135deg, #71220b 0%, #c1131a 50%, #b91c1c 100%);
            color: white;
            padding: 3rem 0 1rem;
            position: relative;
            overflow: hidden;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 200%;
            height: 4px;
            background: linear-gradient(90deg, transparent, #fca5a5, #ffffff, #fca5a5, transparent);
            animation: footerGlow 4s ease-in-out infinite;
        }

        @keyframes footerGlow {

            0%,
            100% {
                left: -100%;
            }

            50% {
                left: 0%;
            }
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease-out;
        }

        .footer-section {
            position: relative;
            padding: 1.5rem;
            border-radius: 12px;
            transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(239, 68, 68, 0.2));
            opacity: 0;
            transition: opacity 0.3s ease;
            border-radius: 12px;
        }

        .footer-section:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .footer-section:hover::before {
            opacity: 1;
        }

        .footer-section h3 {
            color: #ffffff;
            margin-bottom: 1rem;
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 0.5rem;
            transition: all 0.3s ease;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #ffffff, #fca5a5);
            transition: width 0.4s ease;
        }

        .footer-section:hover h3::after {
            width: 50px;
        }

        .footer-section a {
            color: #94a3b8;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
            display: inline-block;
            position: relative;
            padding: 0.3rem 0;
        }

        .footer-section a::before {
            content: '→';
            position: absolute;
            left: -20px;
            opacity: 0;
            color: #ffffff;
            transition: all 0.3s ease;
        }

        .footer-section a:hover {
            color: white;
            transform: translateX(10px);
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }

        .footer-section a:hover::before {
            opacity: 1;
            left: -15px;
        }

        .footer-section ul {
            list-style: none;
            padding: 0;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
            transform: translateX(0);
            transition: transform 0.3s ease;
        }

        .footer-section:hover ul li {
            animation: slideInLeft 0.5s ease forwards;
        }

        .footer-section ul li:nth-child(1) {
            animation-delay: 0.1s;
        }

        .footer-section ul li:nth-child(2) {
            animation-delay: 0.2s;
        }

        .footer-section ul li:nth-child(3) {
            animation-delay: 0.3s;
        }

        .footer-section ul li:nth-child(4) {
            animation-delay: 0.4s;
        }

        .footer-section ul li:nth-child(5) {
            animation-delay: 0.5s;
        }

        .footer-section ul li:nth-child(6) {
            animation-delay: 0.6s;
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .social-links a::before {
            display: none;
        }

        .social-links a:hover {
            background: white;
            color: #dc2626;
            transform: translateY(-3px) translateX(0);
            box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
        }

        .social-links svg {
            width: 20px;
            height: 20px;
        }

        .footer-bottom {
            border-top: 1px solid #334155;
            padding-top: 1rem;
            text-align: center;
            color: #94a3b8;
            position: relative;
            background: rgba(0, 0, 0, 0.2);
            margin: 0 -2rem;
            padding-left: 2rem;
            padding-right: 2rem;
            animation: fadeIn 1s ease-out 0.5s both;
        }

        .footer-bottom::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, #fbbf24, transparent);
            animation: footerBottomGlow 3s ease-in-out infinite;
        }

        @keyframes footerBottomGlow {

            0%,
            100% {
                opacity: 0.5;
                transform: scaleX(1);
            }

            50% {
                opacity: 1;
                transform: scaleX(1.2);
            }
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .animate-on-scroll.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .animate-fade-in {
            animation: fadeInUp 0.8s ease-out;
        }

        @media (max-width: 1024px) {
            .nav-links {
                gap: 1rem;
            }

            .nav-links a {
                padding: 0.6rem 0.8rem;
                font-size: 0.9rem;
            }

            .emergency-btn {
                padding: 0.7rem 1.5rem;
                font-size: 0.85rem;
            }

            .testimonial-card {
                min-width: calc(50% - 1rem);
            }

            .patrons-grid {
                flex-wrap: wrap;
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: flex;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.98);
                flex-direction: column;
                padding: 1.5rem 1rem;
                box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
                border-radius: 0 0 15px 15px;
                backdrop-filter: blur(20px);
                animation: slideDown 0.3s ease-out;
                gap: 0.5rem;
            }

            .nav-links.active {
                display: flex;
            }

            .nav-links li {
                margin: 0.3rem 0;
                width: 100%;
            }

            .nav-links a {
                width: 100%;
                text-align: center;
                padding: 0.8rem 1rem;
            }

            .logo img {
                height: 45px;
            }

            header.scrolled .logo img {
                height: 38px;
            }

            .emergency-btn {
                padding: 0.6rem 1.2rem;
                font-size: 0.8rem;
            }

            nav {
                padding: 0.8rem 0;
            }

            header.scrolled nav {
                padding: 0.6rem 0;
            }

            .hero {
                padding-left: 5%;
                text-align: center;
            }

            .hero .container {
                max-width: 100%;
                margin: 0 auto;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .services-grid,
            .features-grid {
                grid-template-columns: 1fr;
            }

            .partners-container {
                height: 400px;
            }

            .partner-card {
                padding: 1.5rem 2rem;
                min-height: 100px;
            }

            .footer-section {
                padding: 1rem;
            }

            .footer-content {
                gap: 1.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .patrons-title {
                font-size: 2rem;
            }

            .google-header {
                flex-direction: column;
                text-align: center;
            }

            .testimonial-card {
                min-width: calc(100% - 2rem);
            }

            .patrons-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .patron-card {
                min-height: 120px;
                padding: 1.5rem;
            }

            .patron-logo {
                max-width: 120px;
                max-height: 60px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .logo img {
                height: 40px;
                max-width: 150px;
            }

            header.scrolled .logo img {
                height: 35px;
            }

            .emergency-btn {
                padding: 0.5rem 1rem;
                font-size: 0.75rem;
            }

            .nav-links {
                padding: 1rem;
            }

            .nav-links a {
                padding: 0.7rem 0.8rem;
                font-size: 0.9rem;
            }

            .testimonial-card {
                min-width: 280px;
            }

            .google-reviews {
                padding: 1.5rem;
            }

            .patrons-grid {
                grid-template-columns: 1fr;
            }
        }
