/* ==========================================================================
   KALI TESISAT THEME STYLESHEET
   ========================================================================== */

/* 1. Design Tokens & CSS Variables */
:root {
    /* Color System */
    --color-primary: #0284c7;       /* Deep Sky Blue */
    --color-primary-hover: #0369a1;
    --color-primary-light: #e0f2fe;
    --color-secondary: #0f172a;     /* Deep Slate/Dark Navy */
    --color-accent: #f97316;        /* Safety Orange (Emergency) */
    --color-accent-hover: #ea580c;
    --color-accent-light: #ffedd5;
    --color-success: #22c55e;       /* Green for Whatsapp / Availability */
    --color-success-hover: #16a34a;
    
    /* Backgrounds */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --bg-dark-card: #1e293b;
    --bg-gradient-blue: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    --bg-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --bg-gradient-orange: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    
    /* Typography */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1280px;
    --header-height: 80px;
    --header-top-height: 40px;
    
    /* Borders & Shadows */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 15px rgba(2, 132, 199, 0.4);
    --shadow-glow-orange: 0 0 15px rgba(249, 115, 22, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset & General Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.25;
}

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

a:hover {
    color: var(--color-primary-hover);
}

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* WordPress Screen Reader Text (Accessibility) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* 3. Utility Classes */
.section {
    padding: 80px 0;
}
.section-bg {
    background-color: var(--bg-white);
}
.text-center { text-align: center; }
.text-white { color: var(--bg-white) !important; }
.text-accent { color: var(--color-accent) !important; }

.section-title-wrapper {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--bg-gradient-blue);
    color: var(--bg-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
    color: var(--bg-white);
}

.btn-accent {
    background: var(--bg-gradient-orange);
    color: var(--bg-white);
    box-shadow: var(--shadow-glow-orange);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
    color: var(--bg-white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--bg-white);
}

.btn-dark {
    background-color: var(--color-secondary);
    color: var(--bg-white);
}

.btn-dark:hover {
    background-color: #1e293b;
    color: var(--bg-white);
}

/* 4. Top Header Bar */
.top-bar {
    background-color: var(--color-secondary);
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

.top-bar-contact a, .top-bar-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
}

.top-bar-contact a:hover {
    color: var(--color-primary);
}

.top-bar-socials {
    display: flex;
    gap: 15px;
}

.top-bar-socials a {
    color: #94a3b8;
}

.top-bar-socials a:hover {
    color: var(--color-primary);
}

/* Main Navigation Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    height: 70px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.main-header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo-link {
    display: flex;
    align-items: center;
}

.site-logo-img {
    max-height: 50px;
    width: auto;
    max-width: 250px;
    display: block;
    height: auto;
}

.site-logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover, .nav-menu .current-menu-item a {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.header-action {
    display: flex;
    align-items: center;
}

/* Hamburger menu button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    color: var(--bg-white);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.mobile-menu a, .mobile-menu ul.mobile-nav-menu li a {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition-fast);
}

.mobile-menu a:hover, .mobile-menu ul.mobile-nav-menu li a:hover {
    color: var(--color-primary);
}

.mobile-menu ul.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.mobile-menu ul.mobile-nav-menu li {
    display: block;
    text-align: center;
    width: 100%;
}

/* 5. Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 100px 0;
    background-color: var(--color-secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: var(--bg-white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(2, 132, 199, 0.25) 0%, rgba(15, 23, 42, 0.95) 70%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(2, 132, 199, 0.25);
    border: 1px solid rgba(2, 132, 199, 0.4);
    color: #38bdf8;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(to right, #38bdf8, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-phone-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-phone-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.25rem;
}

.hero-phone-info span {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
}

.hero-phone-info a {
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-img-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid rgba(255, 255, 255, 0.05);
}

.hero-experience-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background-color: var(--bg-white);
    color: var(--color-secondary);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
}

.hero-exp-num {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.hero-exp-text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}

/* 6. Emergency Callout Strip */
.emergency-strip {
    background: var(--bg-gradient-orange);
    color: var(--bg-white);
    padding: 20px 0;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.emergency-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.emergency-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.emergency-info i {
    font-size: 2rem;
    animation: wiggle 1s ease infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

.emergency-text h3 {
    color: var(--bg-white);
    font-size: 1.25rem;
    font-weight: 800;
}

.emergency-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.emergency-cta-btn {
    background-color: var(--bg-white);
    color: var(--color-accent);
    font-weight: 800;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    box-shadow: var(--shadow-sm);
}

.emergency-cta-btn:hover {
    background-color: var(--color-secondary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* 7. Services Grid */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
    background-color: var(--color-primary);
    color: var(--bg-white);
    transform: scale(1.05);
}

.service-card-title {
    font-size: 1.35rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.service-card-link i {
    transition: var(--transition-fast);
}

.service-card:hover .service-card-link i {
    transform: translateX(4px);
}

/* 8. Why Choose Us Section */
.features-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-content-left {
    position: relative;
}

.features-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.features-card-floating {
    position: absolute;
    top: 40px;
    right: -20px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--color-accent);
}

.features-card-floating i {
    font-size: 2.25rem;
    color: var(--color-accent);
}

.features-card-text h4 {
    font-size: 1.1rem;
    color: var(--color-secondary);
}

.features-card-text p {
    font-size: 0.85rem;
    color: #64748b;
}

.features-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.features-item {
    display: flex;
    gap: 15px;
}

.features-item-icon {
    width: 32px;
    height: 32px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.features-item-text h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.features-item-text p {
    font-size: 0.95rem;
    color: #64748b;
}

/* 9. Testimonials */
.testimonials-section {
    background-color: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: rgba(2, 132, 199, 0.1);
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: #475569;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* 10. Contact & Form */
.contact-section {
    background-color: var(--bg-light);
}

.contact-section .container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-text p, .contact-info-text a {
    font-size: 0.95rem;
    color: #64748b;
}

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

.contact-card-floating {
    background: var(--bg-gradient-blue);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-card-floating h4 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.contact-card-floating p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.contact-card-phone {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
}

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-form-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-secondary);
}

.form-control {
    background-color: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    color: var(--color-secondary);
}

.form-control:focus {
    border-color: var(--color-primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

/* 11. Footer */
.main-footer {
    background-color: var(--bg-dark);
    color: #94a3b8;
    padding: 80px 0 30px 0;
    font-size: 0.95rem;
    border-top: 4px solid var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-widget-title {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
}

.footer-about-text {
    margin: 20px 0;
    line-height: 1.7;
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

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

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
}

.footer-contact-item i {
    color: var(--color-primary);
    margin-top: 5px;
}

.footer-contact-item a {
    color: #94a3b8;
}

.footer-contact-item a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #64748b;
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

/* 12. Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.75rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-normal);
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    color: var(--bg-white);
}

.floating-whatsapp {
    background-color: var(--color-success);
}

.floating-whatsapp:hover {
    background-color: var(--color-success-hover);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
}

.floating-phone {
    background-color: var(--color-accent);
}

.floating-phone:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
}

.back-to-top {
    width: 45px;
    height: 45px;
    background-color: var(--color-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.1rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    align-self: center;
}

.back-to-top.active {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

/* Blog Archive Layout */
.archive-layout {
    display: grid;
    grid-template-columns: 2.3fr 0.7fr;
    gap: 40px;
    align-items: start;
}

.sidebar-area {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    height: fit-content;
}

@media (max-width: 992px) {
    .archive-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 13. Responsive Breakpoints */
@media (max-width: 1024px) {
    .main-navigation {
        display: none; /* Desktop menu hidden for tablet size and below due to wide logo */
    }
    .menu-toggle {
        display: flex;
    }
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image {
        display: none; /* Hide complex floating image layout on tablet/mobile to focus on CTA */
    }
    .features-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-section .container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    .top-bar {
        display: none; /* Hide thin top bar on mobile */
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1.05rem;
    }
    .emergency-strip .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
