/* ==========================================================================
   PILLAR'S PLUMBING & GAS - MAIN STYLESHEET
   Aesthetics: Premium, Modern, Dynamic, Glassmorphism, Micro-animations
   Fully Mobile Responsive Across All Screen Sizes (320px - 1400px+)
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
    --primary-blue: #0066CC;
    --primary-blue-hover: #0052A3;
    --primary-dark-blue: #0A192C;
    --navy-surface: #0E223D;
    --accent-orange: #FF6B00;
    --accent-orange-hover: #E05D00;
    --light-orange: #FFF4EC;

    --text-heading: #0F172A;
    --text-body: #475569;
    --text-light: #94A3B8;

    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-slate: #F1F5F9;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 45px rgba(0, 102, 204, 0.12);
    --shadow-orange: 0 10px 25px rgba(255, 107, 0, 0.3);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   UNIQUE INTRO PRELOADER ANIMATION
   ========================================================================== */
.site-preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FF 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
}

.site-preloader.loaded {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.water-drop-icon {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(255, 107, 0, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
}

.water-drop-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #0066CC 0%, #FF6B00 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: dropPulse 1.6s ease-in-out infinite alternate;
}

.ripple-wave {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(0, 102, 204, 0.3);
    animation: rippleExpand 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.wave-delay {
    animation-delay: 1s;
    border-color: rgba(255, 107, 0, 0.3);
}

@keyframes dropPulse {
    0% { transform: scale(0.95); opacity: 0.85; }
    100% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 6px 12px rgba(0, 102, 204, 0.3)); }
}

@keyframes rippleExpand {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.preloader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.preloader-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 102, 204, 0.12));
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.preloader-tagline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: var(--accent-orange);
    text-transform: uppercase;
}

@keyframes logoGlow {
    0% { opacity: 0.9; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1.02); }
}

.loading-bar-wrapper {
    width: 220px;
    height: 5px;
    background: rgba(0, 102, 204, 0.12);
    border-radius: 99px;
    overflow: hidden;
}

.loading-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0066CC 0%, #FF6B00 100%);
    border-radius: 99px;
    animation: barProgress 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes barProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Reset & Global Base */
*, *::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-body);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: clamp(50px, 8vw, 90px) 0;
}

.text-center { text-align: center; }
.text-orange { color: var(--accent-orange) !important; }
.highlight-blue { color: var(--primary-blue); }
.w-100 { width: 100%; }
.mt-2 { margin-top: 10px; }

/* Subtitle & Section Headers */
.sub-title {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 2.5vw, 0.875rem);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-orange);
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-heading);
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   BUTTONS & UI CONTROLS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
}

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--text-heading);
    color: var(--text-heading);
}

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

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

.btn-orange:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ==========================================================================
   FLOATING ACTION WIDGET (DESKTOP & MOBILE RESPONSIVE)
   ========================================================================== */
.floating-widget {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 102, 204, 0.15);
}

.float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    position: relative;
    transition: var(--transition-normal);
}

.float-btn span {
    font-size: 0.6rem;
    font-weight: 700;
    margin-top: 2px;
}

.float-call { background-color: var(--primary-blue); }
.float-whatsapp { background-color: #25D366; }
.float-email { background-color: var(--accent-orange); }

.float-btn:hover {
    transform: scale(1.12);
}

/* Mobile Sticky Bottom Call Bar for Phones */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0A192C;
    z-index: 998;
    padding: 10px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.mobile-bottom-bar .bar-content {
    display: flex;
    gap: 10px;
}

.mobile-bottom-bar .btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
    background-color: var(--primary-dark-blue);
    color: #CBD5E1;
    font-size: 0.85rem;
    padding: 8px 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: 10px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-info-item i {
    color: var(--primary-blue);
}

.top-divider {
    color: rgba(255, 255, 255, 0.2);
}

.emergency-badge {
    color: var(--accent-orange);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-phone {
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-phone:hover {
    color: var(--primary-blue);
}

/* ==========================================================================
   MAIN NAVIGATION HEADER
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    z-index: 990;
    padding: 12px 0;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 15;
    margin-left: -35px;
    padding-left: 0;
    margin-right: 140px;
}

.brand-logo img {
    height: clamp(38px, 6vw, 52px);
    width: auto;
    object-fit: contain;
    transform: scale(2.5);
    transform-origin: left center;
    filter: drop-shadow(0 2px 8px rgba(0, 102, 204, 0.12));
    transition: var(--transition-normal);
}

.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(--text-heading);
    padding: 8px 0;
    position: relative;
}

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

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

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.75rem;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-heading);
}

.dropdown-menu a i {
    color: var(--primary-blue);
    width: 16px;
}

.dropdown-menu a:hover {
    background-color: var(--bg-slate);
    color: var(--primary-blue);
}

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

.mobile-toggle {
    display: none;
    background: var(--bg-slate);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    color: var(--text-heading);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 290px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}

.mobile-drawer.open { right: 0; }
.mobile-drawer-overlay.open { opacity: 1; visibility: visible; }

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bg-slate);
}

.drawer-logo { height: 38px; }

.drawer-close {
    background: var(--bg-slate);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-links li { margin-bottom: 14px; }

.drawer-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    display: block;
    padding: 6px 0;
}

.drawer-cta { margin-top: auto; padding-top: 20px; }

/* ==========================================================================
   HERO SECTION & CURVED MASK
   ========================================================================== */
.hero-section {
    position: relative;
    padding: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px);
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FF 100%);
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,102,204,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    color: var(--accent-orange);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-description {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: var(--text-body);
    margin-bottom: 24px;
    max-width: 540px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-bottom: 30px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: var(--text-heading);
}

.icon-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Curved Hero Photo Frame */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.curved-hero-frame {
    position: relative;
    width: 100%;
    max-width: clamp(260px, 80vw, 480px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.svg-curved-border {
    position: absolute;
    inset: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    z-index: 2;
    pointer-events: none;
    animation: rotateSlow 25s linear infinite;
}

@keyframes rotateSlow {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}

.photo-clip-container {
    width: 100%;
    height: 100%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-dark-blue);
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.curved-hero-frame:hover .hero-img {
    transform: scale(1.05);
}

/* ==========================================================================
   OUR SERVICES SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-slate);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.2);
}

.service-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-icon-badge {
    position: absolute;
    bottom: -18px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--bg-white);
}

.service-card-body {
    padding: 26px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.service-card-body p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 16px;
    flex-grow: 1;
}

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

.service-link:hover {
    color: var(--primary-blue-hover);
    gap: 10px;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 50px;
}

.curved-about-frame {
    position: relative;
    width: 100%;
    max-width: clamp(250px, 80vw, 450px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.svg-about-border {
    position: absolute;
    inset: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    z-index: 2;
    pointer-events: none;
}

.about-photo-clip {
    width: 100%;
    height: 100%;
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-content-col .section-title {
    margin-bottom: 16px;
}

.about-text {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    color: var(--text-body);
    margin-bottom: 20px;
}

.about-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: var(--text-heading);
}

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

/* ==========================================================================
   WHY NEWCASTLE CHOOSES US
   ========================================================================== */
.why-us-section {
    background-color: var(--primary-dark-blue);
    color: white;
    padding: clamp(50px, 7vw, 70px) 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 36px;
    text-align: center;
}

.why-card {
    padding: 20px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-normal);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 102, 204, 0.2);
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-card h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 6px;
}

.why-card p {
    font-size: 0.8rem;
    color: #94A3B8;
}

/* ==========================================================================
   OUR SIMPLE PROCESS
   ========================================================================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 50px;
    position: relative;
    text-align: center;
}

.process-line {
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    border-top: 2px dashed #CBD5E1;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
}

.step-node {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 16px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background-color: var(--accent-orange);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.process-step p {
    font-size: 0.825rem;
    color: var(--text-body);
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, #0066CC 0%, #0A4DA0 100%);
    color: white;
    padding: clamp(36px, 5vw, 50px) 0;
    position: relative;
    overflow: hidden;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-24-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
}

.cta-text h2 {
    color: white;
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    margin-bottom: 4px;
}

.cta-text p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    opacity: 0.9;
}

.cta-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-phone-number {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ==========================================================================
   RECENT PROJECTS SECTION (SEPARATE FULL-WIDTH SECTION)
   ========================================================================== */
.projects-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.view-all-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

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

.photo-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 102, 204, 0.35);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition-normal);
}

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

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

/* ==========================================================================
   WHAT OUR CLIENTS SAY SECTION (SEPARATE FULL-WIDTH SECTION)
   ========================================================================== */
.testimonials-section {
    background-color: var(--bg-slate);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.star-rating {
    color: #FFB800;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 16px;
}

.client-author strong {
    display: block;
    color: var(--text-heading);
    font-size: 0.9rem;
}

.client-author span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.testimonial-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #CBD5E1;
    cursor: pointer;
}

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

/* ==========================================================================
   SERVICE AREAS & GET IN TOUCH SECTION
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.areas-list {
    margin: 16px 0 24px;
}

.areas-list li {
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.areas-list i {
    color: var(--primary-blue);
}

.form-card {
    background: white;
    padding: clamp(20px, 5vw, 36px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-slate);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-light);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-card-title {
    font-size: 1.35rem;
    color: var(--text-heading);
    margin-bottom: 20px;
}

/* Contact Badges Cards Grid */
.contact-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.c-badge-card {
    background: white;
    padding: 16px 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-slate);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-normal);
}

.c-badge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 204, 0.2);
}

.c-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-phone {
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--primary-blue);
}

.badge-email {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--accent-orange);
}

.badge-location {
    background-color: rgba(15, 23, 42, 0.08);
    color: var(--primary-dark-blue);
}

.c-badge-text small {
    display: block;
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.c-badge-text strong {
    font-size: 0.825rem;
    color: var(--text-heading);
    word-break: break-word;
}

/* Social Connect Bar */
.social-connect-bar {
    background: white;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-slate);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.social-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-heading);
}

.social-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.825rem;
    transition: var(--transition-fast);
}

.pill-facebook {
    background-color: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.pill-facebook:hover {
    background-color: #1877F2;
    color: white;
}

.pill-instagram {
    background-color: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

.pill-instagram:hover {
    background-color: #E1306C;
    color: white;
}

.pill-google {
    background-color: rgba(66, 133, 244, 0.1);
    color: #4285F4;
}

.pill-google:hover {
    background-color: #4285F4;
    color: white;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: #FFFFFF;
    color: var(--text-body);
    border-top: 1px solid #E2E8F0;
    padding: clamp(45px, 7vw, 70px) 0 30px;
    font-size: 0.875rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 30px;
}

.footer-logo {
    display: inline-block;
    position: relative;
    z-index: 5;
    margin-bottom: 48px;
}

.footer-logo img {
    height: 48px;
    width: auto;
    transform: scale(2.0);
    transform-origin: left top;
    filter: drop-shadow(0 2px 8px rgba(0, 102, 204, 0.1));
}

.footer-desc {
    margin-bottom: 16px;
    max-width: 280px;
    color: var(--text-body);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-light);
}

.footer-col h4 {
    color: var(--text-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    color: var(--text-body);
}

.footer-col ul a:hover {
    color: var(--primary-blue);
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
}

.footer-contact-info i {
    color: var(--primary-blue);
}

.footer-legal {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-light);
}

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

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

.footer-legal a:hover {
    color: white;
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    padding: 16px;
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    z-index: 2;
    background: white;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-md);
    padding: clamp(20px, 5vw, 30px);
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

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

.modal-close {
    background: var(--bg-slate);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   ANIMATIONS & COMPREHENSIVE RESPONSIVE BREAKPOINTS
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet Breakpoint (1024px) */
@media (max-width: 1024px) {
    .hero-container {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-cta-group {
        justify-content: center;
    }

    .about-container {
        display: flex;
        flex-direction: column;
    }

    .about-image-col {
        order: -1;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

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

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-line { display: none; }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices (768px & below) */
@media (max-width: 768px) {
    .brand-logo {
        margin-left: 10px;
        margin-right: 15px;
    }

    .brand-logo img {
        transform: scale(2.2);
        transform-origin: left center;
    }

    .top-bar-left { display: none; }
    .nav-list { display: none; }
    .mobile-toggle { display: flex; }
    
    .btn-call-now {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-left {
        flex-direction: column;
    }

    .cta-right {
        flex-direction: column;
        width: 100%;
    }

    .cta-right .btn {
        width: 100%;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-list {
        grid-template-columns: 1fr;
    }

    .contact-badges-grid {
        grid-template-columns: 1fr;
    }

    /* Floating Widget: hide on mobile screens to prevent overlapping CTA buttons */
    .floating-widget {
        display: none;
    }
}

/* Small Phones (576px & below) */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .top-bar-right {
        width: 100%;
        justify-content: space-between;
        font-size: 0.75rem;
    }

    .header-actions .btn-call-now {
        display: none; /* Mobile drawer & hero has big call buttons */
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

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

    .services-grid, .projects-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .about-checklist {
        grid-template-columns: 1fr;
    }

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

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

    .projects-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .curved-hero-frame, .curved-about-frame {
        max-width: 280px;
    }
}

/* Extra Small Phones (360px & below) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-24-badge {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}
