/* -------------------------------------------------------------
 * SMART CRYSTAL FACILITY MANAGEMENT - MAIN STYLESHEET
 * 100% Mobile Optimized & Ultra-Responsive Design System
 * ------------------------------------------------------------- */

:root {
    --color-primary: #0046ad;
    --color-primary-dark: #003380;
    --color-primary-light: #e8f1fd;
    --color-primary-hover: #00378a;
    --color-accent: #00aaff;
    --color-dark-navy: #092552;
    --color-darker-navy: #061938;
    
    --color-text-main: #1c2833;
    --color-text-muted: #5e6d82;
    --color-text-light: #8e9bb0;
    
    --color-bg-light: #f6f9fc;
    --color-card-bg: #ffffff;
    --color-border: #e2e8f0;
    
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 70, 173, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 70, 173, 0.08);
    --shadow-lg: 0 16px 36px rgba(0, 70, 173, 0.12);
    --shadow-xl: 0 24px 48px rgba(0, 70, 173, 0.18);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-top: env(safe-area-inset-top, 0px);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh;
    touch-action: manipulation;
}

body.menu-open {
    overflow: hidden !important;
    touch-action: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text-main);
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
}

/* Prevent auto-zoom on iOS devices */
input, select, textarea {
    font-size: 16px !important;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: var(--color-primary-light);
    padding: 4px 12px;
    border-radius: 20px;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    color: var(--color-dark-navy);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

/* Buttons & Touch Targets */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 26px;
    min-height: 48px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    user-select: none;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 70, 173, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 70, 173, 0.4);
}

.btn-outline {
    background-color: #ffffff;
    color: var(--color-text-main);
    border-color: var(--color-border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-light-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    padding: 10px 20px;
    min-height: 44px;
}

.btn-light-outline:hover {
    background: #ffffff;
    color: var(--color-primary);
}

.btn-icon {
    gap: 10px;
}

.btn-block {
    width: 100%;
}

/* -------------------------------------------------------------
 * HEADER & NAVIGATION
 * ------------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1100;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-dark-navy);
    letter-spacing: 0.8px;
}

.brand-tagline {
    font-size: 0.52rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    margin-top: 1px;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-main);
    padding: 8px 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-call-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.phone-text {
    display: flex;
    flex-direction: column;
}

.phone-label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.phone-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--color-dark-navy);
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--color-primary-light);
    border: none;
    font-size: 1.25rem;
    color: var(--color-primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-toggle:active {
    transform: scale(0.92);
}

/* Mobile Nav Drawer Backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 25, 56, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Drawer Header & Footer (Hidden on desktop) */
.nav-drawer-header,
.nav-drawer-footer {
    display: none;
}

/* -------------------------------------------------------------
 * HERO SECTION
 * ------------------------------------------------------------- */
.hero-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fe 100%);
    overflow: hidden;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    padding-right: 15px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    color: var(--color-dark-navy);
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.8px;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.pill-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pill-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.3;
}

/* Hero Image Card & Badge */
.hero-image-wrapper {
    position: relative;
    width: 100%;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid #ffffff;
    background-color: #f1f5f9;
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.floating-badge {
    position: absolute;
    background-color: #ffffff;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--color-border);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.client-badge {
    top: 24px;
    right: 24px;
}

.badge-icon-group {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.badge-highlight {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--color-dark-navy);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* -------------------------------------------------------------
 * SERVICES SECTION
 * ------------------------------------------------------------- */
.services-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 70, 173, 0.05);
    border: 1px solid #edf2f7;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card:hover .service-icon-box {
    background-color: var(--color-primary);
    color: #ffffff;
}

.service-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark-navy);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: auto;
}

.service-link i {
    font-size: 0.75rem;
    transition: var(--transition);
}

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

/* -------------------------------------------------------------
 * STATS BANNER SECTION
 * ------------------------------------------------------------- */
.stats-banner-section {
    padding: 20px 0 60px;
}

.stats-banner {
    background: linear-gradient(135deg, #0046ad 0%, #002d72 100%);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 30px rgba(0, 70, 173, 0.25);
    color: #ffffff;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* -------------------------------------------------------------
 * WHY CHOOSE US SECTION
 * ------------------------------------------------------------- */
.why-us-section {
    padding: 60px 0 90px;
    background-color: #ffffff;
}

.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-us-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.why-us-checklist {
    margin-bottom: 32px;
}

.why-us-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 12px;
}

.check-icon {
    color: var(--color-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.why-us-visual {
    position: relative;
    width: 100%;
}

.visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid #ffffff;
}

.why-us-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.overlay-brand-card {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: var(--color-dark-navy);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.overlay-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.overlay-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.overlay-logo-text strong {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: #ffffff;
}

.overlay-logo-text span {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.overlay-logo-text small {
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.5);
}

.overlay-tagline {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

/* -------------------------------------------------------------
 * TESTIMONIALS SECTION
 * ------------------------------------------------------------- */
.testimonials-section {
    padding: 70px 0 90px;
    background-color: #f8fbfe;
}

.testimonials-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    position: relative;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    background-color: #ffffff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.testimonials-slider-container {
    width: 100%;
    overflow: hidden;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    transition: transform 0.4s ease;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.star-rating {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: flex;
    gap: 4px;
}

.testimonial-quote {
    font-size: 0.92rem;
    color: var(--color-text-main);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.client-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark-navy);
}

.client-location {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--color-primary);
    width: 24px;
    border-radius: 10px;
}

/* -------------------------------------------------------------
 * SERVICES DETAIL PAGE & CALCULATOR (services.html)
 * ------------------------------------------------------------- */
.page-banner {
    background: linear-gradient(135deg, #061938 0%, #0046ad 100%);
    color: #ffffff;
    padding: 60px 0 50px;
    text-align: center;
}

.page-banner h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: #ffffff;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 50px 0;
}

.service-detail-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-detail-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.service-detail-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-price-tag {
    display: inline-block;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

.calculator-box {
    background: linear-gradient(135deg, #0046ad 0%, #002d72 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 60px 0;
    box-shadow: var(--shadow-lg);
}

.calculator-box h2 {
    color: #ffffff;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.calculator-box p {
    color: rgba(255, 255, 255, 0.85);
}

.calc-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 16px;
    align-items: flex-end;
    margin-top: 24px;
}

.calc-field label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-weight: 600;
    color: #ffffff;
}

.calc-field select, .calc-field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #ffffff;
    color: var(--color-text-main);
    min-height: 48px;
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 80px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 18px 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: var(--color-dark-navy);
    user-select: none;
}

.faq-question i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 22px 18px;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* -------------------------------------------------------------
 * CONTACT PAGE (contact.html)
 * ------------------------------------------------------------- */
.contact-page-wrapper {
    padding: 60px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-card {
    background: var(--color-dark-navy);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-text h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 4px;
}

.info-text p, .info-text a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 50px;
    height: 380px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* -------------------------------------------------------------
 * FOOTER
 * ------------------------------------------------------------- */
.footer {
    background-color: var(--color-dark-navy);
    color: #ffffff;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1.1fr 1fr;
    gap: 30px;
    padding-bottom: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.text-white .brand-title { color: #ffffff; }
.text-white .brand-subtitle { color: rgba(255, 255, 255, 0.85); }
.text-white .brand-tagline { color: rgba(255, 255, 255, 0.65); }

.footer-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 0.65rem;
    color: var(--color-accent);
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-contact li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--color-accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
    color: #ffffff;
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-row {
    display: flex;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.hours-row .day {
    font-weight: 600;
    width: 75px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    background-color: var(--color-darker-navy);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
}

.legal-links a:hover {
    color: #ffffff;
}

/* -------------------------------------------------------------
 * MODALS (POPUP DIALOGS)
 * ------------------------------------------------------------- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 25, 56, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-backdrop.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--color-dark-navy);
}

.modal-header h3 {
    font-size: 1.35rem;
    color: var(--color-dark-navy);
    margin-bottom: 6px;
    padding-right: 36px;
}

.modal-header p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-main);
    outline: none;
    transition: var(--transition);
    background-color: #ffffff;
    min-height: 48px;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 70, 173, 0.12);
}

.video-modal-card {
    max-width: 720px;
    padding: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* -------------------------------------------------------------
 * FLOATING MOBILE QUICK ACTION BAR (STICKY BOTTOM)
 * ------------------------------------------------------------- */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    padding: 10px 14px calc(10px + var(--safe-bottom));
    gap: 10px;
    border-top: 1px solid var(--color-border);
}

.mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    min-height: 46px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    user-select: none;
}

.mobile-btn:active {
    transform: scale(0.97);
}

.whatsapp-btn {
    background-color: #25d366;
}

.whatsapp-btn:hover {
    background-color: #1eb956;
}

.call-btn {
    background-color: var(--color-primary);
}

.call-btn:hover {
    background-color: var(--color-primary-dark);
}

/* -------------------------------------------------------------
 * WHATSAPP CHATBOT WIDGET (ENHANCED AI ASSISTANT)
 * ------------------------------------------------------------- */
.wa-chatbot-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1090;
    font-family: var(--font-body);
}

/* Prompt Tooltip */
.wa-launcher-tooltip {
    position: absolute;
    bottom: 12px;
    right: 70px;
    background-color: #ffffff;
    color: var(--color-dark-navy);
    padding: 10px 16px;
    border-radius: 20px 20px 4px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInSlideLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition);
}

.wa-launcher-tooltip:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.wa-tooltip-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
}

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

.wa-chatbot-launcher {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    position: relative;
    border: none;
    outline: none;
    animation: pulseWhatsapp 2.5s infinite;
    user-select: none;
}

.wa-chatbot-launcher:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.wa-chatbot-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* WhatsApp Chat Window */
.wa-chatbot-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    background-color: #e5ddd5;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.08);
}

.wa-chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-header {
    background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.wa-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #075e54;
    font-size: 1.25rem;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.wa-avatar::after {
    content: '';
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #25d366;
    border: 2px solid #ffffff;
}

.wa-header-info h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 700;
}

.wa-header-info span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    gap: 4px;
}

.wa-header-info span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #25d366;
}

.wa-header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-control-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.85;
    padding: 6px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-control-btn:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.15);
}

.wa-close {
    font-size: 1.3rem;
}

.wa-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 340px;
    max-height: 380px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86ed0f77-7396-11e7-9f54-a903b479159f.png');
    background-repeat: repeat;
    background-color: #efeae2;
    scroll-behavior: smooth;
}

.wa-msg {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.45;
    position: relative;
    word-break: break-word;
    animation: fadeInBubble 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInBubble {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wa-msg-bot {
    background-color: #ffffff;
    color: #111b21;
    align-self: flex-start;
    border-top-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
}

.wa-msg-user {
    background-color: #d9fdd3;
    color: #111b21;
    align-self: flex-end;
    border-top-right-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
}

.wa-msg-time {
    font-size: 0.65rem;
    color: #667781;
    float: right;
    margin-top: 6px;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.wa-double-check {
    color: #53bdeb;
    font-size: 0.72rem;
}

/* Interactive Card in WhatsApp message */
.wa-card-action {
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
}

.wa-card-title {
    font-weight: 700;
    color: #075e54;
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.wa-card-desc {
    font-size: 0.8rem;
    color: #556575;
    margin-bottom: 8px;
}

.wa-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #25d366;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
}

.wa-action-btn:hover {
    background-color: #1eb956;
}

/* Typing Indicator Animation */
.wa-typing-indicator {
    align-self: flex-start;
    background-color: #ffffff;
    padding: 10px 16px;
    border-radius: 12px;
    border-top-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
    display: none;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.wa-typing-indicator.active {
    display: flex;
}

.wa-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #8696a0;
    animation: waBlink 1.4s infinite both;
}

.wa-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.wa-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes waBlink {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.1); }
}

.wa-quick-replies {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.wa-pill {
    background-color: #ffffff;
    border: 1px solid #128c7e;
    color: #075e54;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-pill::after {
    content: '›';
    font-size: 1.1rem;
    color: #128c7e;
    font-weight: bold;
}

.wa-pill:hover, .wa-pill:active {
    background-color: #128c7e;
    color: #ffffff;
}

.wa-pill:hover::after, .wa-pill:active::after {
    color: #ffffff;
}

.wa-footer {
    padding: 10px 14px;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #e0e0e0;
}

.wa-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 15px !important;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.wa-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #128c7e;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.wa-send-btn:hover {
    background-color: #075e54;
    transform: scale(1.05);
}

/* -------------------------------------------------------------
 * RESPONSIVE MEDIA QUERIES (100% FULLY OPTIMIZED)
 * ------------------------------------------------------------- */

/* Breakpoint: Tablets and Small Laptops (<= 1100px) */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px;
    }
}

/* Breakpoint: Tablets & Mobile Devices (<= 900px) */
@media (max-width: 900px) {
    body {
        padding-bottom: calc(66px + var(--safe-bottom));
    }

    .mobile-action-bar {
        display: flex;
    }

    .nav-backdrop {
        display: block;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    /* Top navbar clean-up on mobile */
    .phone-call-box,
    .header-actions .btn-outline,
    .header-actions .btn-primary {
        display: none;
    }

    /* Mobile Sliding Drawer Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(85vw, 340px);
        height: 100vh;
        height: 100dvh;
        background-color: #ffffff;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
        z-index: 1200;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0;
        transform: translateX(105%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Drawer Header */
    .nav-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 20px 16px;
        border-bottom: 1px solid var(--color-border);
        background: #fafcff;
    }

    .nav-drawer-close {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background-color: var(--color-primary-light);
        color: var(--color-primary);
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-drawer-close:active {
        transform: scale(0.9);
    }

    /* Drawer Menu Links */
    .nav-list {
        flex-direction: column;
        gap: 8px;
        padding: 20px;
        align-items: stretch;
        flex-grow: 1;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: var(--radius-md);
        background-color: #f8fafc;
        font-size: 1rem;
        font-weight: 600;
        color: var(--color-dark-navy);
    }

    .nav-link.active {
        background-color: var(--color-primary-light);
        color: var(--color-primary);
        font-weight: 700;
    }

    .nav-link.active::after {
        display: none;
    }

    /* Drawer Footer with Mobile Action buttons */
    .nav-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 20px;
        border-top: 1px solid var(--color-border);
        background: #fafcff;
    }

    .drawer-phone-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        border-radius: var(--radius-full);
        background: var(--color-primary-light);
        color: var(--color-primary);
        font-weight: 700;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .hero-img {
        height: 380px;
    }

    /* Why Us & Stats */
    .why-us-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .stats-banner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 28px 24px;
    }
    
    .stat-divider {
        display: none;
    }

    /* Testimonials on mobile */
    .testimonials-slider {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 0;
    }

    .testimonial-card {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .services-detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .calc-form {
        grid-template-columns: 1fr;
    }

    /* WhatsApp Bot Mobile Position */
    .wa-chatbot-wrapper {
        bottom: calc(74px + var(--safe-bottom));
        right: 16px;
    }

    .wa-chatbot-launcher {
        width: 52px;
        height: 52px;
        font-size: 1.55rem;
    }

    .wa-chatbot-window {
        width: calc(100vw - 32px);
        max-width: 350px;
        right: 0;
        bottom: calc(66px + var(--safe-bottom));
        max-height: min(460px, calc(100vh - 160px));
    }
}

/* Breakpoint: Phones & Small Tablets (<= 640px) */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 10px 0;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .brand-title {
        font-size: 0.98rem;
    }

    .brand-subtitle {
        font-size: 0.58rem;
    }

    .hero-section {
        padding: 30px 0 45px;
    }

    .hero-title {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 30px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-img {
        height: 290px;
    }

    .client-badge {
        position: relative;
        top: auto;
        right: auto;
        margin: 14px auto 0;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 36px 0;
    }

    .why-us-section {
        padding: 40px 0 60px;
    }

    .why-us-img {
        height: 260px;
    }

    .overlay-brand-card {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        padding: 16px 20px;
    }

    .testimonials-section {
        padding: 50px 0 70px;
    }

    .testimonials-carousel-wrapper {
        gap: 8px;
        margin-top: 24px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .calculator-box {
        padding: 24px 18px;
        margin: 40px 0;
        border-radius: var(--radius-md);
    }

    .contact-page-wrapper {
        padding: 40px 0 60px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 24px 18px;
        border-radius: var(--radius-md);
    }

    .map-container {
        height: 260px;
        margin-top: 36px;
    }

    .footer {
        padding-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }

    /* Modal Mobile Adaptability */
    .modal-card {
        padding: 24px 18px;
        max-height: 88vh;
        border-radius: var(--radius-md);
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }
}

/* Breakpoint: Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
    .brand-tagline {
        display: none;
    }

    .brand-title {
        font-size: 0.92rem;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .stats-banner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-img {
        height: 240px;
    }

    .mobile-btn {
        font-size: 0.84rem;
        padding: 10px 8px;
        gap: 6px;
    }
}
