/* ============================================
   TowerCare Pharmacy - Main Stylesheet
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #5eead4;
    --secondary: #134e4a;
    --accent: #f0fdfa;
    --gold: #d4a574;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0d9488 0%, #134e4a 100%);
    --gradient-light: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    --shadow-sm: 0 2px 10px rgba(13, 148, 136, 0.08);
    --shadow-md: 0 8px 30px rgba(13, 148, 136, 0.12);
    --shadow-lg: 0 20px 60px rgba(13, 148, 136, 0.15);
    --transition: all 0.3s ease;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Utility Classes
   ============================================ */
.section-padding {
    padding: 100px 0;
}

.bg-gradient {
    background: var(--gradient);
}

.bg-gradient-light {
    background: var(--gradient-light);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-gold {
    color: var(--gold) !important;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo-text span {
    color: var(--primary);
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

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

.nav-cta {
    background: var(--gradient) !important;
    color: var(--white) !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.35);
    margin-left: 1rem;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 148, 136, 0.45) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d9488' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    padding: 180px 0 120px;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary-custom {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.45);
    color: var(--white);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    padding: 180px 0 100px;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.page-header .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* ============================================
   Cards
   ============================================ */
.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(13, 148, 136, 0.08);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    fill: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13, 148, 136, 0.05);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: var(--gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-item {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================================
   About Section
   ============================================ */
.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--gradient);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.about-badge strong {
    display: block;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
}

/* ============================================
   Values Section
   ============================================ */
.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--gradient);
    transform: scale(1.1);
}

.value-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--primary);
    transition: var(--transition);
}

.value-card:hover .value-icon svg {
    fill: var(--white);
}

.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   Team Section
   ============================================ */
.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 300px;
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image svg {
    width: 120px;
    height: 120px;
    fill: var(--primary);
    opacity: 0.5;
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-info .role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Care Services
   ============================================ */
.care-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13, 148, 136, 0.08);
    transition: var(--transition);
    height: 100%;
}

.care-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.care-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.care-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
}

.care-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.care-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   Process Steps
   ============================================ */
.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   FAQ Section
   ============================================ */
.accordion-item {
    border: 1px solid rgba(13, 148, 136, 0.1);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary);
    padding: 1.25rem 1.5rem;
    background: var(--white);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-light);
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 148, 136, 0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d9488'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-info-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    background: var(--gradient);
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--primary);
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon svg {
    fill: var(--white);
}

.contact-text h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-text a {
    color: var(--primary);
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Business Hours */
.business-hours {
    background: var(--gradient-light);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.business-hours h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.business-hours svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.hours-row span:last-child {
    color: var(--primary);
    font-weight: 600;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(13, 148, 136, 0.08);
}

.contact-form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   Map Section
   ============================================ */
.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.map-placeholder {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.map-placeholder svg {
    width: 80px;
    height: 80px;
    fill: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.map-placeholder h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.map-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================================
   Emergency Section
   ============================================ */
.emergency-section {
    background: var(--gradient);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emergency-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.emergency-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.emergency-section h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.emergency-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    color: var(--primary-dark);
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.emergency-phone:hover {
    transform: scale(1.05);
    color: var(--primary-dark);
}

.emergency-phone svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--gradient);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-section::before {
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
}

.cta-section::after {
    bottom: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 1.5rem 0;
}

.footer-brand .logo-icon {
    background: rgba(255, 255, 255, 0.15);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .logo-text span {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.footer h5 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    color: var(--white);
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-light);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-left: 2rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 80px 0;
    }

    .hero-section {
        padding: 150px 0 100px;
    }

    .page-header {
        padding: 150px 0 80px;
    }

    .stat-item {
        margin-bottom: 2rem;
    }

    .contact-form-wrapper {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        padding: 130px 0 80px;
    }

    .page-header {
        padding: 130px 0 60px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .service-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-legal {
        margin-top: 1rem;
    }

    .footer-legal a {
        margin: 0 1rem;
    }

    .emergency-phone {
        font-size: 1.25rem;
        padding: 1rem 2rem;
    }

    .map-wrapper {
        height: 350px;
    }
}
