/* ==========================================================================
   PAINTHOUSE PAINTING CONTRACTORS - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* 1. CSS Custom Variables & Root Design System */
:root {
    /* Brand Primary Colors */
    --primary-navy: #1A2556;
    --primary-navy-dark: #0D1430;
    --primary-navy-light: #2A3B82;

    /* Brand Accent Colors */
    --accent-red: #E11D48;
    --accent-red-hover: #BE185D;
    --accent-gold: #D97706;
    --accent-cyan: #06B6D4;
    --accent-magenta: #EC4899;
    --accent-yellow: #EAB308;
    --accent-green: #10B981;

    /* Neutral & Background Colors */
    --dark-bg: #0F172A;
    --dark-card: #1E293B;
    --light-bg: #F8FAFC;
    --light-card: #FFFFFF;
    --card-hover-bg: #FFFFFF;

    /* Text Colors */
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;

    /* Borders & Shadows */
    --border-light: #E2E8F0;
    --border-dark: #334155;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(26, 37, 86, 0.12), 0 10px 10px -5px rgba(26, 37, 86, 0.04);
    --shadow-glow: 0 0 25px rgba(225, 29, 72, 0.35);

    /* Fonts & Radii */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* 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-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.2;
}

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

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

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-crimson {
    color: var(--accent-red) !important;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--accent-red) 0%, #F43F5E 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text {
    color: var(--accent-red);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-red);
    border-radius: 2px;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.45);
}

.btn-secondary {
    background-color: var(--primary-navy);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--primary-navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary-navy);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-glow {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(225, 29, 72, 0);
    }
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* 3. Top Announcement Bar */
.top-bar {
    background-color: var(--primary-navy-dark);
    color: var(--text-white);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-info span {
    margin-right: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.top-info i,
.top-contact i {
    color: var(--accent-red);
    margin-right: 0.4rem;
}

.top-contact {
    display: flex;
    gap: 1.2rem;
}

.top-contact a:hover {
    color: var(--accent-red);
}

/* 4. Navbar Navigation Header */
.navbar-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

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

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo-img {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.brand-logo:hover .navbar-logo-img {
    transform: scale(1.03);
}

/* Contact & Footer Logo Wrappers */
.panel-logo-wrap {
    display: inline-block;
    background: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 1.2rem;
}

.panel-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-wrap {
    display: inline-block;
    background: #FFFFFF;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform var(--transition-fast);
}

.footer-logo-wrap:hover {
    transform: translateY(-2px);
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-mobile-cta {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-navy);
    cursor: pointer;
}

/* Subpage Banner Header */
.subpage-banner {
    background: linear-gradient(135deg, #1A2556 0%, #0D1430 100%);
    color: var(--text-white);
    padding: 4rem 0 4.5rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-red);
}

.subpage-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #FFFFFF;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.subpage-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.82);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 5. HERO SECTION */
.hero-section {
    position: relative;
    padding: 5rem 0 6rem 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    overflow: hidden;
}

.hero-bg-art {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.splash-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.splash-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-red);
    top: -100px;
    right: 10%;
}

.splash-2 {
    width: 500px;
    height: 500px;
    background: var(--primary-navy-light);
    bottom: -150px;
    left: -100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(26, 37, 86, 0.08);
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(26, 37, 86, 0.15);
}

.badge-pill .dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    color: var(--primary-navy);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.badge-item i {
    color: var(--accent-red);
    font-size: 1.1rem;
}

/* Hero Visual Architectural Showcase Frame */
.hero-visual {
    position: relative;
}

.architectural-showcase-card {
    position: relative;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(26, 37, 86, 0.25);
    border: 2px solid rgba(26, 37, 86, 0.08);
    transition: var(--transition-normal);
}

.architectural-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -12px rgba(225, 29, 72, 0.2);
}

.showcase-banner {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    color: var(--text-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.showcase-banner i {
    color: var(--accent-gold);
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 420px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-overlay-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: var(--text-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.image-overlay-badge i {
    font-size: 1.4rem;
    color: var(--accent-red);
}

.floating-card {
    position: absolute;
    background: var(--light-card);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 5;
    border: 1px solid var(--border-light);
}

.float-1 {
    top: -20px;
    right: -20px;
    animation: floatAnim 4s ease-in-out infinite;
}

.float-2 {
    bottom: 40px;
    left: -30px;
    animation: floatAnim 4s ease-in-out 2s infinite;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.1rem;
}

.bg-navy {
    background-color: var(--primary-navy);
}

.bg-crimson {
    background-color: var(--accent-red);
}

/* 6. STATS COUNTER BAR */
.stats-bar-section {
    background-color: var(--primary-navy);
    color: var(--text-white);
    padding: 2.5rem 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.stat-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-red);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

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

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

/* 7. ABOUT US SECTION */
.about-section {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.about-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.visual-stack {
    position: relative;
}

.main-img-box {
    width: 85%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sub-img-box {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid #FFFFFF;
}

.rounded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Tags & Visual Dividers */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--accent-red);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.35rem 0.95rem;
    background: rgba(225, 29, 72, 0.08);
    border-radius: var(--radius-full);
    border: 1px solid rgba(225, 29, 72, 0.15);
}

.light-tag {
    color: var(--accent-gold) !important;
    background: rgba(217, 119, 6, 0.15) !important;
    border-color: rgba(217, 119, 6, 0.3) !important;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(226, 232, 240, 0.9) 15%, rgba(225, 29, 72, 0.35) 50%, rgba(226, 232, 240, 0.9) 85%, transparent 100%);
    margin: 0;
    position: relative;
    z-index: 2;
}

.section-tint {
    background-color: #F1F5F9 !important;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.section-white {
    background-color: #FFFFFF !important;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-description {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.highlight-item .item-icon {
    width: 26px;
    height: 26px;
    background: rgba(225, 29, 72, 0.1);
    color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.highlight-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.brochure-quote-box {
    background: linear-gradient(135deg, #1A2556 0%, #0d1430 100%);
    color: var(--text-white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    position: relative;
    border-left: 5px solid var(--accent-red);
}

.quote-icon {
    font-size: 1.8rem;
    color: var(--accent-red);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.quote-text {
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* 8. SERVICES SECTION */
.services-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

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

.service-card {
    background: var(--light-card);
    padding: 2.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(225, 29, 72, 0.3);
}



.card-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(26, 37, 86, 0.06);
    color: var(--primary-navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover .card-icon-box {
    background: var(--accent-red);
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.service-list li {
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li i {
    color: var(--accent-red);
    font-size: 0.6rem;
}

/* 10. OUR PROJECTS SECTION */
.projects-section {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.brochure-sub-title {
    display: inline-block;
    background: var(--primary-navy);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 0.5rem 2rem;
    border-radius: var(--radius-full);
    margin-top: 0.5rem;
}

.portfolio-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-red);
    color: var(--text-white);
    border-color: var(--accent-red);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--light-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

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

.project-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.lightbox-trigger {
    background: var(--accent-red);
    color: var(--text-white);
    border: none;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(15px);
    transition: transform 0.3s ease;
}

.project-card:hover .lightbox-trigger {
    transform: translateY(0);
}

.project-info {
    padding: 1.5rem;
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

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

.project-location i {
    color: var(--accent-red);
}

.brochure-footer-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
    text-align: center;
}

.quote-line {
    flex: 1;
    max-width: 150px;
    height: 2px;
    background: var(--accent-red);
}

.brochure-footer-quote p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-navy);
}

.red-quote {
    color: var(--accent-red);
}

/* 11. CALCULATOR SECTION */
.calculator-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.calc-card-wrapper {
    background: var(--light-card);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.calc-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.calc-inputs-box {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1.4rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
    word-break: break-word;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--light-bg);
    transition: var(--transition-fast);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231A2556%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.75rem;
    padding-right: 2.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
    background-color: #FFFFFF;
}

.help-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    display: block;
    word-break: break-word;
}

.calc-results-box {
    background: linear-gradient(135deg, #1A2556 0%, #0D1430 100%);
    color: var(--text-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--accent-red);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.calc-results-box h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.8rem;
}

.result-metric {
    margin-bottom: 1.5rem;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.3rem;
}

.metric-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
}

.highlight-metric {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.result-breakdown {
    margin: 1.5rem 0;
}

.breakdown-item {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* 12. WHY CHOOSE US */
.why-section {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-navy);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 13. CONTACT US SECTION */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: var(--text-white);
}

.contact-card-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-info-panel {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.panel-header {
    margin-bottom: 2rem;
}

.light-logo .logo-main {
    color: #FFFFFF;
}

.light-logo .logo-sub {
    color: rgba(255, 255, 255, 0.7);
}

.panel-desc {
    color: var(--text-light);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.info-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    min-width: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.info-item > div {
    min-width: 0;
    flex: 1;
}

.item-icon-wrap {
    width: 46px;
    height: 46px;
    background: var(--accent-red);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item small {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.info-link {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 4vw, 1.15rem);
    font-weight: 700;
    color: #FFFFFF;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: block;
}

.info-link:hover {
    color: var(--accent-red);
}

.address-text {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--text-white);
    line-height: 1.5;
    word-break: break-word;
}

/* Embedded Google Map Styling */
.map-card-box {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.map-card-box:hover {
    border-color: rgba(225, 29, 72, 0.4);
    transform: translateY(-2px);
}

.map-card-header {
    background: rgba(13, 20, 48, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.map-card-header i {
    color: var(--accent-red);
}

.map-open-link {
    font-size: 0.75rem;
    color: var(--accent-gold);
    background: rgba(217, 119, 6, 0.18);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(217, 119, 6, 0.35);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.map-open-link:hover {
    background: var(--accent-gold);
    color: #FFFFFF;
}

.map-frame-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 220px;
    background: #000000;
    box-sizing: border-box;
    overflow: hidden;
}

.google-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: contrast(1.05) saturate(1.15);
    transition: filter var(--transition-normal);
}

.map-card-box:hover .google-map-iframe {
    filter: contrast(1.1) saturate(1.25);
}

.social-links-box span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-icons a:hover {
    background: var(--accent-red);
}

.contact-form-panel {
    background: #FFFFFF;
    color: var(--text-main);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-form-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.contact-form-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* 14. FOOTER SECTION */
.main-footer {
    background-color: #0B1120;
    color: var(--text-light);
    padding-top: 5rem;
    border-top: 1px solid var(--border-dark);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-desc {
    margin-top: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-red);
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.footer-contact-item {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact-item i {
    color: var(--accent-red);
}

.footer-bottom {
    background-color: #060A14;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.scroll-top-btn {
    width: 40px;
    height: 40px;
    background: var(--accent-red);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
}

/* 15. LIGHTBOX MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

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

.modal-card {
    background: #FFFFFF;
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(15, 23, 42, 0.7);
    color: #FFFFFF;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.modal-img-box {
    height: 450px;
    background: #000;
}

.modal-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(225, 29, 72, 0.1);
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.modal-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--primary-navy);
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid var(--accent-red);
    animation: toastIn 0.4s ease forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 16. RESPONSIVE BREAKPOINTS (Mobile, Tablet & iPad Optimization) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .header-cta-btn {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        background: rgba(26, 37, 86, 0.05);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .badge-pill {
        margin: 0 auto 1.2rem auto;
    }

    .hero-subtitle {
        margin: 0 auto 1.8rem auto;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .calc-card-wrapper {
        padding: 2.5rem 2rem;
    }

    .calc-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-card-layout {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
        gap: 2.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }

    .top-bar {
        display: none !important;
    }

    .navbar-header {
        padding: 0.2rem 0;
    }

    .navbar-logo-img {
        height: 38px;
        max-width: 140px;
    }

    /* Clean mobile header bar: hide heavy header button, move CTA inside drawer */
    .header-cta-btn {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        background: rgba(26, 37, 86, 0.05);
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: #FFFFFF;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 1.5rem;
        gap: 1rem;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-mobile-cta {
        display: inline-flex !important;
        width: 100%;
        margin-top: 1rem;
    }

    /* Responsive Button Wrappers & Text Scaling */
    .btn {
        white-space: normal;
        word-break: break-word;
        max-width: 100%;
        text-align: center;
        justify-content: center;
    }

    .btn-lg {
        padding: 0.85rem 1.4rem;
        font-size: 0.98rem;
    }

    /* Section Spacing & Titles */
    .hero-section {
        padding: 3rem 0 3.5rem 0;
    }

    .services-section,
    .about-section,
    .projects-section,
    .calculator-section,
    .why-section,
    .contact-section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .hero-title {
        font-size: clamp(1.85rem, 6vw, 2.6rem);
    }

    .image-wrapper {
        height: 300px;
    }

    /* Mobile Floating Badge row instead of overlapping absolutely */
    .float-1,
    .float-2 {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        animation: none !important;
        width: 100%;
        margin-top: 0.8rem;
        box-sizing: border-box;
    }

    /* Responsive Grid Layouts without Horizontal Scrollbars */
    .stats-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .stat-card {
        background: rgba(255, 255, 255, 0.06);
        padding: 1rem;
        border-radius: var(--radius-md);
        border: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .stat-icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .stat-divider {
        display: none !important;
    }

    /* About Section Visual Stack */
    .main-img-box {
        width: 100%;
    }

    .sub-img-box {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: 1rem;
        border: none;
    }

    .about-highlights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Services Responsive Grid */
    .services-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
        margin-top: 1.8rem !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .service-card {
        flex: none !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
    }

    /* Projects Portfolio Responsive Grid */
    .portfolio-filter-bar {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        overflow: visible !important;
        margin-bottom: 2rem !important;
    }

    .filter-btn {
        flex: none !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .projects-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .project-card {
        flex: none !important;
        max-width: 100% !important;
    }

    .project-img-wrapper {
        height: 210px;
    }

    /* Features Responsive Grid */
    .features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin-top: 1.8rem !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .feature-box {
        flex: none !important;
        max-width: 100% !important;
        padding: 1.2rem 1rem !important;
    }

    .feature-icon {
        width: 54px;
        height: 54px;
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    /* Calculator & Contact Card Padding */
    .calc-card-wrapper {
        padding: 1.5rem 1.2rem;
        border-radius: var(--radius-md);
    }

    .calc-results-box {
        padding: 1.5rem 1.2rem;
    }

    .metric-val {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .contact-card-layout {
        padding: 1.5rem 1.2rem;
        border-radius: var(--radius-md);
    }

    .contact-form-panel {
        padding: 1.5rem 1.2rem;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-img-box {
        height: 220px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .toast-container {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .btn-lg {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .calc-cta-group {
        flex-direction: column !important;
        width: 100%;
    }

    .calc-cta-group .btn {
        width: 100%;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

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

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .calc-card-wrapper {
        padding: 1.25rem 0.9rem;
    }

    .calc-results-box {
        padding: 1.25rem 0.9rem;
    }

    .contact-card-layout {
        padding: 1.25rem 0.9rem;
    }

    .contact-form-panel {
        padding: 1.25rem 0.9rem;
    }

    .map-frame-wrapper {
        height: 200px;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 0.75rem;
    }

    .btn {
        padding: 0.7rem 0.85rem;
        font-size: 0.88rem;
        width: 100%;
    }

    .btn-lg {
        padding: 0.75rem 0.9rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .calc-card-wrapper,
    .calc-results-box,
    .contact-card-layout,
    .contact-form-panel {
        padding: 1rem 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .metric-val {
        font-size: 1.2rem;
    }
}