/* =======================================================
   UNIVERSAL CUSTOM SEARCH DROPDOWN (Desktop & Mobile)
   ======================================================= */
.search-dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid #f1f5f9;
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999; /* Ensures it sits on top of all cards */
    margin-top: 10px;
}

.search-dropdown.active {
    display: block; /* Shows when typing */
}

.suggest-item {
    padding: 14px 20px;
    font-size: 0.95rem;
    color: #475569;
    border-bottom: 1px solid #f8fafc;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.suggest-item:last-child {
    border-bottom: none; /* Keeps the bottom edge clean */
}

.suggest-item:hover, .suggest-item:active {
    background: #f8fafc;
    color: var(--primary-blue, #2563eb);
    padding-left: 28px; /* Smooth slide effect on hover/tap */
}

/* Custom Scrollbar for the dropdown to keep it looking premium */
.search-dropdown::-webkit-scrollbar {
    width: 6px;
}
.search-dropdown::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}
/* --- GLOBAL MASTER CONTAINER --- */
.container {
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
}
/* style.css - PROFESSIONAL V1 */
:root {
    --bg-white: #ffffff;
    --text-main: #0f172a; /* Deep Blue-Black */
    --text-muted: #475569;
    
    /* VIBRANT COLORS */
    --primary-blue: #2563EB; /* Bright Royal Blue */
    --light-blue: #DBEAFE;
    --primary-green: #16A34A; /* Vivid Green */
    --light-green: #DCFCE7;
    
    --gradient-hero: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
    --shadow-card: 0 10px 30px -10px rgba(37, 99, 235, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { /* Adding 'html' here stops all mobile phones from scrolling sideways */
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;    

    /* THE SHARPNESS FIX */
    -webkit-font-smoothing: antialiased;  /* Makes text thinner and crisper on Chrome/Safari */
    -moz-osx-font-smoothing: grayscale;   /* Fixes text on Firefox */
    text-rendering: optimizeLegibility;   /* Improves kerning (spacing between letters) */
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.5px; }
a { text-decoration: none; transition: 0.3s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- FLOATING CRYSTAL NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    
    /* Made the pill wider so it stretches further to the right */
    width: 95%; 
    max-width: 1200px; 
    
    /* Tighter right padding to push the button closer to the edge */
    padding: 10px 12px 10px 32px; 
    z-index: 1000;

    /* Crystal Effect */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
    border-radius: 100px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.dev-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Forces everything inside nav-right to hug the right side */
.nav-right { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    margin-left: auto; 
}

.nav-links { display: flex; gap: 8px; }

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.btn-quote-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-quote-gradient i { font-size: 1.1rem; transition: transform 0.3s; }

.btn-quote-gradient:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    filter: brightness(1.1);
}

.btn-quote-gradient:hover i { transform: translateX(4px); }

/* Ensure the menu icon is completely hidden on desktop */
.menu-toggle { display: none; font-size: 1.6rem; color: var(--text-main); cursor: pointer; }

/* Mobile */
@media (max-width: 768px) {
    .navbar { width: 95%; padding: 15px 20px; top: 15px; }
    .nav-right { display: none; }
    .menu-toggle { display: block; } /* Only shows on mobile screens now */
}

/* --- NEW BUTTON STYLING (Gradient) --- */
.btn-quote-gradient {
    /* The Gradient Background */
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); /* Glowing shadow */
}

.btn-quote-gradient i { font-size: 1.1rem; transition: transform 0.3s; }

.btn-quote-gradient:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4); /* Stronger glow */
    filter: brightness(1.1); /* Slightly brighter */
}

.btn-quote-gradient:hover i { transform: translateX(4px); }

/* Mobile */
@media (max-width: 768px) {
    .navbar { width: 95%; padding: 15px 20px; top: 15px; }
    .nav-right { display: none; }
    .menu-toggle { display: block; }
}
/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: var(--gradient-hero); /* Subtle blue tint */
    position: relative;
    padding-left: 5%;
    padding-right: 5%;
}
/* 1. The outer container handles the spacing */
.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 480px;
}

/* 2. NEW: The tight box that traps the image and badges */
.hero-image-wrapper {
    position: relative;
    width: 320px;
    height: 400px;
}

/* 3. The Colorful Backdrop */
.image-backdrop {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    border-radius: 24px;
    transform: rotate(12deg) translate(25px, 20px);
    z-index: 1;
}

/* 4. The White Frame */
.profile-card {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 8px solid white;
    z-index: 2;
    background: white;
}

/* 5. Your Photo */
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center 30%; 
    transform: scale(1.05); 
}

/* 6. The Badges (Guaranteed to stick to the edges now!) */
.badge-top-right {
    top: 30px;
    right: -40px; /* Pushes just outside the tight wrapper */
    animation-delay: 0s;
}

.badge-bottom-left {
    bottom: 40px;
    left: -40px; /* Pushes just outside the tight wrapper */
    animation-delay: 2s;
}

/* --- THE BADGES (Restoring the white glass background!) --- */
/* --- THE BADGES (Now with auto-stretching background!) --- */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
    z-index: 3;
    animation: floatUpDown 4s ease-in-out infinite;
    
    /* THIS IS THE MAGIC FIX: Forces the white box to stretch fully around the text! */
    width: max-content; 
}
.badge-top-right {
    top: 30px;
    right: -40px; 
    animation-delay: 0s;
}

.badge-bottom-left {
    bottom: 40px;
    left: -40px; 
    animation-delay: 2s;
}

/* Icon and Text Formatting inside the Badges */
.icon-circle-small {
    width: 35px; height: 35px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.2rem;
}
.green-bg { background: var(--primary-green); }

.badge-text { 
    display: flex; 
    flex-direction: column; 
    white-space: nowrap; /* THIS IS THE MAGIC FIX - It stops the text from wrapping! */
}
.badge-text strong { 
    font-size: 1.1rem; 
    color: var(--text-main); 
    line-height: 1.2; 
    font-weight: 800; /* Makes the 5-Star nice and bold */
}
.badge-text span { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    font-weight: 600; 
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-image-container { height: 400px; margin-top: 40px; }
    .profile-card, .image-backdrop { width: 280px; height: 350px; }
    .badge-top-right { right: -10px; top: 10px; }
    .badge-bottom-left { left: -10px; bottom: 10px; }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-image-container { margin-top: 50px; }
    .glowing-card-wrapper { width: 280px; height: 350px; }
}
/* Background Blobs for Pop */
.hero::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(255,255,255,0) 70%);
    top: -100px; right: -100px;
    z-index: 0;
}

.hero-content { z-index: 2; padding-right: 40px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-green);
    color: var(--primary-green);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight-text {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-btns { display: flex; gap: 16px; margin-bottom: 40px; }

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-blue); /* Solid Blue Pop */
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); background: #1d4ed8; }

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}
.btn-secondary:hover { border-color: var(--primary-green); color: var(--primary-green); }

.social-proof { display: flex; gap: 25px; }
.proof-item { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.9rem; }
.proof-item i { font-size: 1.2rem; }
.icon-blue { color: var(--primary-blue); }
.icon-green { color: var(--primary-green); }

/* --- HERO BADGE UPDATES --- */
.status-dot {
    width: 8px; 
    height: 8px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(22, 163, 74, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.hero-content p strong {
    color: var(--text-main);
    font-weight: 700;
}

/* --- NEW PERSONAL BRANDING VISUAL --- */
.personal-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* This creates the cool gradient border around your photo */
.image-wrapper {
    width: 360px;
    height: 420px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    padding: 10px; 
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
    position: relative;
    z-index: 2;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures your photo fills the box without stretching */
    border-radius: 22px;
    background-color: #f1f5f9;
}

/* Floating Trust Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
    z-index: 3;
    animation: floatUpDown 4s ease-in-out infinite;
}

.badge-top-right {
    top: 30px;
    left: 50%; /* Anchors exactly to the center of your photo */
    margin-left: 100px; /* Pushes it out to sit on the right border */
    animation-delay: 0s;
}

.badge-bottom-left {
    bottom: 40px;
    left: 50%; /* Anchors exactly to the center of your photo */
    margin-left: -250px; /* Pulls it out to sit on the left border */
    animation-delay: 2s;
}

.star-icon { color: #F59E0B; font-size: 1.6rem; }

.icon-circle-small {
    width: 35px; height: 35px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.2rem;
}
.green-bg { background: var(--primary-green); }

.badge-text { display: flex; flex-direction: column; }
.badge-text strong { font-size: 1.1rem; color: var(--text-main); line-height: 1.2; }
.badge-text span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .image-wrapper { width: 300px; height: 350px; margin-top: 40px; }
    .badge-top-right { right: -10px; top: 10px; }
    .badge-bottom-left { left: -10px; bottom: 10px; }
}

/* --- SERVICES (TRUE GLASSMORPHISM) --- */
.services-section { 
    padding: 100px 0; 
    /* Changed from pure white to an off-white/light-grey so the glass pops */
    background: #f8fafc; 
    position: relative;
    overflow: hidden; /* Keeps the blurry shapes inside the section */
}

/* 1. Ambient Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px); /* Heavy blur so it looks like a soft glow */
    z-index: 1;
    opacity: 0.5;
}
.shape-left { width: 400px; height: 400px; background: var(--primary-blue); top: 10%; left: -100px; }
.shape-right { width: 350px; height: 350px; background: var(--primary-green); bottom: -50px; right: -50px; }

/* Keep text and cards above the background */
.relative-z { position: relative; z-index: 2; }

.section-header { text-align: center; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* 2. The Glass Cards */
.service-card {
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s ease;
    
    /* THE GLASS EFFECT */
    background: rgba(255, 255, 255, 0.5); /* 50% transparent white */
    backdrop-filter: blur(16px); /* Blurs the blue/green background shapes */
    -webkit-backdrop-filter: blur(16px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.8); /* Sharp white edge */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05); /* Soft outer shadow */
}

/* 3. Hover Effects (Tinted Shadows) */
.glass-card-blue:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15); 
    border-color: rgba(37, 99, 235, 0.3);
}
.glass-card-green:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.15); 
    border-color: rgba(22, 163, 74, 0.3);
}
.glass-card-dark:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15); 
    border-color: rgba(15, 23, 42, 0.3);
}

/* 4. Icon Styling */
.icon-circle {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.glass-card-blue .icon-circle { color: var(--primary-blue); }
.glass-card-green .icon-circle { color: var(--primary-green); }
.glass-card-dark .icon-circle { color: var(--text-main); }

.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; }

.check-list { list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.check-list li i { color: var(--primary-green); }

/* --- PORTFOLIO --- */
.portfolio-section { padding: 80px 0; background: #FAFAFA; }
/* Changed the 400px to 280px so it fits perfectly on an iPhone screen! */
/* --- THE BULLETPROOF TEMPLATE GRID --- */
.portfolio-grid { 
    display: grid; 
    /* This automatically creates beautiful 3-column rows on desktop, and 1-column on mobile */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 2rem; 
    align-items: stretch;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* Ensure the images never stretch or distort */
.project-thumb { 
    height: 250px; 
    width: 100%; 
    object-fit: cover; 
    object-position: top center;
    display: block;    
    border-bottom: 1px solid #f1f5f9; 
}
.color-1 { background: #e0f2fe; }
.color-2 { background: #dcfce7; }

.project-info { padding: 24px; display: flex; align-items: center; justify-content: space-between; }
.project-info h3 { font-size: 1.2rem; }
.tag { font-size: 0.8rem; background: #f1f5f9; padding: 4px 12px; border-radius: 20px; color: #64748b; }

/* --- TEMPLATE DEMO BUTTON (Sleek Minimalist Version) --- */
.btn-demo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px;
    margin-top: 15px;
    background: transparent; /* Clean, transparent initial state */
    color: var(--text-main); /* Crisp, dark text */
    border: 1px solid #cbd5e1; /* Subtle, elegant gray border */
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-demo:hover {
    background: var(--text-main); /* Fills with premium dark color on hover */
    color: white; /* Text turns white */
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
    border-color: var(--text-main);
}

.btn-demo i {
    font-size: 1.1rem;
}
/* --- FOOTER & SOCIALS --- */
footer { padding: 80px 0 20px; border-top: 1px solid #e2e8f0; background: white; }

.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 50px; }

.footer-brand h3 { font-size: 1.8rem; margin-bottom: 10px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }

.social-btn {
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    background: #f1f5f9;
    color: var(--text-main);
}

/* Brand Colors on Hover */
.social-btn.whatsapp:hover { background: #25D366; color: white; }
.social-btn.linkedin:hover { background: #0077b5; color: white; }
.social-btn.facebook:hover { background: #1877F2; color: white; }

.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 40px; }

/* --- TRUST & TESTIMONIAL SECTION --- */
.trust-section {
    padding: 60px 0;
    background: white;
    position: relative;
    z-index: 5;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* This creates the two side-by-side columns */
    gap: 60px;
    align-items: center;
}

/* Testimonial Card */
.testimonial-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.stars { color: #F59E0B; font-size: 1.2rem; margin-bottom: 15px; }
.quote { font-size: 1.1rem; font-style: italic; color: var(--text-main); margin-bottom: 25px; line-height: 1.6; }

.client-info { display: flex; align-items: center; gap: 15px; }
.client-avatar {
    width: 50px; height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
}
.client-info h4 { font-size: 1rem; margin-bottom: 2px; }
.client-info span { font-size: 0.85rem; color: var(--text-muted); }

/* Tech Guarantee */
.tech-guarantee h3 { font-size: 1.8rem; margin-bottom: 15px; }
.tech-guarantee p { color: var(--text-muted); margin-bottom: 25px; line-height: 1.7; }

.guarantee-list { list-style: none; }
.guarantee-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 500; }
.guarantee-list li i { color: var(--primary-green); font-size: 1.2rem; }

/* Mobile */
@media (max-width: 768px) {
    .trust-grid { grid-template-columns: 1fr; }
}
/* --- SCROLLING MARQUEE --- */
.tech-marquee-section {
    background: #ffffff;
    padding: 30px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-right: 50px;
}

.marquee-content span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    opacity: 0.8;
}

.dot-sep {
    color: var(--primary-green) !important;
    margin: 0 40px;
    font-size: 1.5rem !important;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls exactly half the width to loop perfectly */
}

/* --- SVG STARS FIX --- */
.stars-svg-container { display: flex; gap: 4px; margin-bottom: 15px; }

/* --- AUTO-SLIDING TESTIMONIALS --- */
.testimonial-slider {
    position: relative;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    min-height: 280px; /* Ensures the box doesn't resize weirdly */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* --- MOBILE RESPONSIVENESS FIXES (GLOBAL) --- */
@media (max-width: 768px) {
    /* Fix Hero stacking */
    .hero { 
        display: flex; 
        flex-direction: column; 
        padding-top: 120px; 
        text-align: center; 
    }
    
    .hero-content { padding-right: 0; }
    
    /* Center badges and buttons on mobile */
    .hero-btns { justify-content: center; flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .social-proof { justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
    
    /* Fix Services Grid */
    .services-grid { grid-template-columns: 1fr; }
    
    /* Fix Trust Section Grid */
    .trust-grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Fix Pricing Grid */
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); margin: 20px 0; }
    
    /* Fix Marquee size on mobile */
    .marquee-content span { font-size: 1.1rem; }
    .dot-sep { margin: 0 20px; }
}

/* --- INDUSTRIES I SERVE (FIXED GRID & MATCHING BACKGROUND) --- */
.industries-section { 
    padding: 100px 0; 
    /* A richer, darker blue-to-green gradient to make the white cards pop! */
    background: linear-gradient(135deg, #bfdbfe 0%, #f1f5f9 50%, #bbf7d0 100%); 
}

/* This is the rule that went missing and made your cards huge! */
.industry-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
}

/* The Card Look */
.industry-card.premium-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* THE HOVER FEATURE YOU LIKE (Magic Gradient Line) */
.industry-card.premium-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    opacity: 0;
    transition: 0.4s ease;
}

/* Hover Animation */
.industry-card.premium-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.06); 
    border-color: transparent; 
}
.industry-card.premium-card:hover::before { opacity: 1; }

/* Soft Icon Boxes */
.icon-wrapper {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: 0.3s;
}

/* Colors for Icons */
.blue-glow { background: rgba(37, 99, 235, 0.05); color: var(--primary-blue); }
.green-glow { background: rgba(22, 163, 74, 0.05); color: var(--primary-green); }
.dark-glow { background: rgba(15, 23, 42, 0.05); color: var(--text-main); }

/* Typography Formatting */
.industry-card.premium-card h4 { font-size: 1.25rem; color: var(--text-main); margin-bottom: 12px; font-weight: 700; }
.industry-card.premium-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Soft Icon Boxes */
.icon-wrapper {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: 0.3s;
}

/* Custom Icon Colors matching the Services Section */
.blue-glow { background: rgba(37, 99, 235, 0.05); color: var(--primary-blue); }
.green-glow { background: rgba(22, 163, 74, 0.05); color: var(--primary-green); }
.dark-glow { background: rgba(15, 23, 42, 0.05); color: var(--text-main); }

/* Typography Formatting */
.industry-card.premium-card h4 { font-size: 1.25rem; color: var(--text-main); margin-bottom: 12px; font-weight: 700; }
.industry-card.premium-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* --- FAQ SECTION (PREMIUM 2-COLUMN CARDS - UPDATED COLORS) --- */
.faq-section { 
    padding: 100px 0; 
    background: #f8fafc; /* Changed from pale blue to a clean, subtle slate-50 off-white */
}

.faq-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    gap: 20px 40px; 
    align-items: start; 
}

/* 1. The Card Container */
.faq-item { 
    background: #ffffff; /* Changed to pure crisp white */
    border: 1px solid #e2e8f0; 
    border-radius: 16px; 
    margin-bottom: 0; 
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02); /* Added a very soft premium shadow */
}

.faq-item:hover {
    border-color: var(--primary-blue, #2563eb);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1); /* Blue glow on hover */
}

.faq-item.active {
    border-color: var(--primary-green, #16a34a); 
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.08); /* Green glow when open */
}

/* 2. The Question Button */
.faq-question { 
    width: 100%; 
    background: none; 
    border: none; 
    text-align: left; 
    padding: 25px 30px; 
    font-size: 1.15rem; 
    font-weight: 600; 
    color: var(--text-main, #0f172a); /* Deep slate text */
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-family: inherit; 
    transition: color 0.3s;
    outline: none; 
}

/* The Plus Icon inside a soft circle */
.faq-question i { 
    color: var(--primary-blue, #2563eb); 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
    font-size: 1.5rem; 
    background: #eff6ff; /* Very faint blue circle to make the icon pop */
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 15px;
}

/* 3. The Hidden Answer */
.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-out; 
}

.faq-answer p { 
    padding: 0 30px 30px 30px; 
    color: var(--text-muted, #64748b); 
    line-height: 1.7; 
    font-size: 1.05rem; 
    margin: 0; 
}

/* 4. Active Animation */
.faq-item.active .faq-question i { 
    transform: rotate(135deg); /* Spins into an X */
    color: white; 
    background: var(--text-main, #0f172a); /* Turns dark slate when open */
}
.faq-item.active .faq-question {
    color: var(--primary-green, #16a34a); /* Text turns green to show it's active */
}

/* 5. Mobile Adjustments */
@media (max-width: 992px) {
    .faq-container { 
        grid-template-columns: 1fr; 
        max-width: 800px;
    }
    .faq-question { font-size: 1.05rem; padding: 20px; }
    .faq-answer p { padding: 0 20px 20px 20px; }
    .faq-question i { width: 35px; height: 35px; font-size: 1.2rem; }
}

/* 4. Active Animation (Turns into a red X) */
.faq-item.active .faq-question i { 
    transform: rotate(135deg); 
    color: white; 
    background: #ef4444; 
}
.faq-item.active .faq-question {
    color: var(--primary-green, #16a34a);
}

/* 5. Mobile Adjustments */
@media (max-width: 992px) {
    .faq-container { 
        grid-template-columns: 1fr; 
        max-width: 800px;
    }
    .faq-question { font-size: 1.05rem; padding: 20px; }
    .faq-answer p { padding: 0 20px 20px 20px; }
    .faq-question i { width: 35px; height: 35px; font-size: 1.2rem; }
}

/* --- PREMIUM CONTACT SECTION (White Theme + Glass) --- */
.contact-section { 
    padding: 100px 0; 
    background: #ffffff; /* Bright white background */
    color: var(--text-main); 
    position: relative;
    overflow: hidden; /* Keeps the background blobs contained */
}

/* 1. The Glowing Background Blobs */
.blob {
    position: absolute;
    filter: blur(80px); /* Makes them soft and glowing */
    z-index: 0;
    opacity: 0.6;
    border-radius: 50%;
}
.blob-1 {
    top: -10%; right: -5%;
    width: 400px; height: 400px;
    background: rgba(37, 99, 235, 0.2); /* Soft Blue */
}
.blob-2 {
    bottom: -10%; right: 20%;
    width: 300px; height: 300px;
    background: rgba(22, 163, 74, 0.15); /* Soft Green */
}

.relative-z { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* 2. Left Side Typography (Dark Text for White Background) */
.section-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue); 
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-info h2 { font-size: 3rem; margin-bottom: 20px; color: var(--text-main); line-height: 1.1; }
.contact-info p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 40px; line-height: 1.7; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; }

/* 3. The Contact Buttons */
.contact-link { 
    display: flex; align-items: center; gap: 20px; 
    background: #f8fafc; /* Light gray box */
    padding: 20px; border-radius: 16px; 
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease; text-decoration: none;
}
.contact-link:hover { 
    background: white; transform: translateX(10px); 
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

.contact-icon {
    width: 50px; height: 50px; border-radius: 12px;
    background: rgba(37, 99, 235, 0.1); color: var(--primary-blue);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.whatsapp-icon { background: rgba(34, 197, 94, 0.1); color: var(--primary-green); }

.contact-text { display: flex; flex-direction: column; }
.contact-text span { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-text strong { font-size: 1.1rem; color: var(--text-main); font-weight: 600; }

/* 4. Right Side: THE GLASS FORM */
.form-wrapper {
    background: rgba(255, 255, 255, 0.6); /* Semi-transparent white */
    backdrop-filter: blur(20px); /* The Glass Blur! */
    -webkit-backdrop-filter: blur(20px);
    padding: 50px; 
    border-radius: 24px; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 1); /* White glass edge */
}

.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { margin-bottom: 25px; display: flex; flex-direction: column; }
.input-group label { font-size: 0.95rem; color: var(--text-main); font-weight: 600; margin-bottom: 10px; }

/* The text boxes inside the glass */
.premium-form input, .premium-form textarea { 
    width: 100%; padding: 16px 20px; border-radius: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.8); 
    font-family: inherit; font-size: 1rem; 
    background: rgba(255, 255, 255, 0.7); /* Frosted inputs */
    outline: none; transition: all 0.3s ease; color: var(--text-main); 
}
.premium-form textarea { resize: none; }
.premium-form input:focus, .premium-form textarea:focus { 
    border-color: var(--primary-blue); background: white; 
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); 
}

/* Submit Button */
.btn-submit {
    width: 100%; color: white; border: none; padding: 18px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    font-size: 1.15rem; font-weight: 700; cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3); }

/* Mobile Adjustments */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-info h2 { font-size: 2.5rem; }
    .form-wrapper { padding: 30px; }
    .input-row { grid-template-columns: 1fr; gap: 0; }
}
/* --- HOW IT WORKS (PROCESS SECTION) --- */
.process-section {
    padding: 100px 0;
    background: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* The Connecting Timeline */
.process-grid::before {
    content: '';
    position: absolute;
    top: 70px; /* Aligns exactly with the center of the icons */
    left: 100px;
    right: 100px;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.process-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* The Giant Background Numbers */
.step-number {
    position: absolute;
    top: -15px;
    right: 25px;
    font-size: 5rem;
    font-weight: 800;
    color: #f8fafc; /* Very faint gray */
    z-index: -1;
    line-height: 1;
}

/* Overriding the icon circle to cut through the timeline */
.process-card .icon-circle {
    margin-bottom: 25px;
    background: white; 
    box-shadow: 0 0 0 10px white; /* Creates a white border that "cuts" the timeline */
}

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.process-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- TABLETS & SMALL LAPTOPS (769px to 1024px) --- */
@media (max-width: 1024px) {
    /* Make the hero section text a bit smaller so it fits nicely next to your photo */
    h1 { font-size: 3rem; }
    
    /* Ensure the 4-column industry grid drops nicely into 2 columns on iPads */
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Give the contact form and footer a bit more breathing room */
    .contact-grid { gap: 30px; }
    .footer-grid { gap: 30px; }
}
/* Mobile Adjustments */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .input-group { flex-direction: column; gap: 0; }
    .input-group input { margin-bottom: 15px; }
    .contact-form { padding: 25px; }
    .faq-question { font-size: 1.1rem; padding: 20px 0; }
    .contact-info h2 { font-size: 2.2rem; }
}
/* --- PREMIUM FOOTER --- */
.site-footer {
    background: #04070c; /* Deep Navy to anchor the page */
    color: white;
    padding: 50px 0 10px 0;
    font-family: inherit;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Makes the brand section slightly wider */
    gap: 60px;
    margin-bottom: 60px;
}

/* Brand Section */
.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}
.footer-logo span {
    color: var(--primary-green); /* Adds a pop of brand color to the dot dev */
}
.footer-brand p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 350px;
    font-size: 1.05rem;
}

/* Social Icons */
.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.3rem; 
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* Quick Links */
.footer-links h4, .footer-cta h4 {
    font-size: 1.3rem; margin-bottom: 25px; color: white; font-weight: 600;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a {
    color: #94a3b8; text-decoration: none; transition: all 0.3s ease; font-size: 1.05rem; display: inline-block;
}
.footer-links a:hover { 
    color: var(--primary-green); 
    transform: translateX(8px); /* Slides the link slightly to the right on hover */
}

/* CTA Section */
.footer-cta p {
    color: #94a3b8; margin-bottom: 25px; line-height: 1.6; font-size: 1.05rem;
}
.footer-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: white; padding: 14px 28px; border-radius: 12px;
    text-decoration: none; font-weight: 600; font-size: 1.05rem;
    transition: all 0.3s ease;
}
.footer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.25);
}

/* Copyright Bottom Bar */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.95rem;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-brand p { max-width: 100%; }
}
/* --- ULTIMATE MOBILE HEIGHT REDUCTION --- */
@media (max-width: 768px) {
    /* 1. Cut the massive whitespace between sections in half */
    .services-section, 
    .industries-section, 
    .portfolio-section, 
    .faq-section, 
    .contact-section, 
    .site-footer {
        padding: 50px 0 !important; 
    
    }

    /* 2. Shrink the empty space inside the actual cards */
    .service-card,
    .industry-card.premium-card,
    .form-wrapper {
        padding: 25px !important; 
    }

    /* 3. Bring the stacked cards much closer together */
    .services-grid,
    .industry-grid,
    .portfolio-grid,
    .contact-grid {
        gap: 20px !important; 
    }

    /* 4. Reduce the gap below section titles */
    .section-header {
        margin-bottom: 35px !important;
    }

    /* 5. Make the colored icon boxes slightly smaller */
    .icon-wrapper, 
    .icon-circle,
    .contact-icon {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 15px !important;
        font-size: 1.4rem !important;
    }

    /* 6. Tighten up the footer text */
    .footer-grid {
        margin-bottom: 30px !important;
        gap: 30px !important;
    }
    
    .footer-brand p {
        margin-bottom: 15px !important;
    }
}
/* --- HOW IT WORKS (PROCESS SECTION) --- */
.process-section {
    padding: 100px 0;
    background: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* The Connecting Timeline */
.process-grid::before {
    content: '';
    position: absolute;
    top: 70px; /* Aligns exactly with the center of the icons */
    left: 100px;
    right: 100px;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.process-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* The Giant Background Numbers */
.step-number {
    position: absolute;
    top: -15px;
    right: 25px;
    font-size: 5rem;
    font-weight: 800;
    color: #f8fafc; /* Very faint gray */
    z-index: -1;
    line-height: 1;
}

/* Overriding the icon circle to cut through the timeline */
.process-card .icon-circle {
    margin-bottom: 25px;
    background: white; 
    box-shadow: 0 0 0 10px white; /* Creates a white border that "cuts" the timeline */
}

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.process-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}
/* --- TEMPLATE SEARCH & FILTER SYSTEM (ULTRA PREMIUM V2) --- */
.template-controls {
    margin-bottom: 50px; /* More breathing room */
    display: flex;
    flex-direction: column;
    gap: 30px; /* Better gap between search and buttons */
    align-items: center; /* Centers both controls for better UX */
}

.search-bar-wrapper {
    position: relative;
    max-width: 650px; /* Slightly wider */
    width: 100%;
}

/* Make the search icon a vibrant blue instead of dull gray */
.search-bar-wrapper i {
    position: absolute;
    left: 24px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--primary-blue); 
}

#templateSearch {
    width: 100%;
    padding: 22px 25px 22px 65px; 
    border-radius: 100px; 
    border: 1px solid #e2e8f0;
    font-size: 1.05rem; 
    font-family: inherit;
    background: white; 
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.05); /* Soft ambient blue shadow */
}

/* Add a colorful pop when clicking the search bar */
#templateSearch:focus {
    outline: none;
    background: #ffffff; 
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15); /* Soft green glowing ring */
    transform: translateY(-2px); 
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Soft color tint on hover */
.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
}

/* THE UPGRADE: The active button now uses your vibrant gradient */
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3); /* Strong glowing drop shadow */
    transform: translateY(-2px);
}

/* THE UX UPGRADE: Dull no more! Focus clears the color and glows */
#templateSearch:focus {
    outline: none;
    background: #ffffff; /* Bright, active white on focus */
    border-color: var(--primary-blue);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12); /* Intense but soft glow */
    transform: translateY(-1px); /* Sublte "pop" interaction */
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.filter-btn.active {
    background: var(--text-main);
    color: white;
    border-color: var(--text-main);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

/* --- THE ULTIMATE MOBILE LOCKDOWN FIX --- */
@media (max-width: 768px) {
    
    /* 1. Prevent massive headlines from breaking the screen width */
    h1 { font-size: 2.2rem !important; }
    
    /* 2. Force ALL grids to stack perfectly into a single column */
    .industry-grid, .services-grid, .portfolio-grid, 
    .trust-grid, .contact-grid, .footer-grid, 
    .process-grid { /* <-- THE MAGIC FIX IS HERE */
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* 3. Hide the connecting timeline and shrink padding on mobile */
    .process-grid::before {
        display: none !important;
    }
    .process-card {
        padding: 25px !important;
    }

    /* 4. FIX THE CUT-OFF AVATAR */
    .testimonial-slider {
        min-height: 390px !important; 
    }
    .quote {
        font-size: 1rem !important; 
        margin-bottom: 20px !important;
    }

    /* 5. FIX THE CUT-OFF STAR BADGE */
    .badge-top-right {
        left: auto !important; right: 0 !important; margin-left: 0 !important; transform: scale(0.85); 
    }
    .badge-bottom-left {
        left: 0 !important; margin-left: 0 !important; transform: scale(0.85);
    }

    /* 6. MAKE FAQ & CONTACT MUCH SHORTER AND COMPACT */
    .faq-section, .contact-section { padding: 40px 0 !important; }
    .faq-question { padding: 15px !important; font-size: 1rem !important; }
    .faq-answer p { padding: 0 15px 15px 15px !important; font-size: 0.95rem !important; }
    .form-wrapper { padding: 20px !important; }
    .premium-form input, .premium-form textarea { padding: 12px 15px !important; }
    .input-group { margin-bottom: 12px !important; }

    /* 7. Keep the crystal navbar neat and out of the way */
    .navbar { top: 10px !important; width: 92% !important; padding: 12px 16px !important; }
}
/* =========================================
   1. STRICT 3-IN-A-ROW GRID
   ========================================= */
.portfolio-grid {
    display: grid; /* FIXED: Removed '!important' so the JS search engine can hide it */
    grid-template-columns: repeat(3, 1fr) !important; /* Keeps the 3-in-a-row locked */
    gap: 40px !important;
    align-items: start;
}
/* Keeps cards from getting massive if there are only 1 or 2 in a row */
.project-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

/* Mobile responsiveness */
@media (max-width: 1024px) { 
    .portfolio-grid { grid-template-columns: repeat(2, 1fr) !important; } 
}
@media (max-width: 768px) { 
    .portfolio-grid { grid-template-columns: 1fr !important; } 
}

/* =========================================
   2. PREMIUM AGENCY FOOTER
   ========================================= */
.site-footer { 
    background-color: #0f172a; /* Deep premium navy/black */
    color: #f8fafc; 
    padding: 80px 0 40px 0; 
    border-top: 4px solid #3b82f6; /* Bright blue accent line */
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    margin-bottom: 50px; 
}

.footer-logo { 
    font-size: 2.2rem; 
    font-weight: 900; 
    color: white; 
    margin-bottom: 15px; 
}
.footer-logo span { color: #3b82f6; } /* Highlights the .dev */

.footer-brand p { 
    color: #94a3b8; 
    line-height: 1.7; 
    font-size: 1.05rem; 
    max-width: 450px; 
}

.footer-cta h4 { 
    font-size: 1.3rem; 
    color: white; 
    margin-bottom: 10px; 
    font-weight: 800; 
}
.footer-cta p { 
    color: #94a3b8; 
    margin-bottom: 25px; 
}

/* Polishing the inquiry form inside the footer */
#templateInquiryForm { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}
#templateInquiryForm input, #templateInquiryForm textarea { 
    width: 100%; 
    padding: 16px; 
    border-radius: 8px; 
    border: 1px solid rgba(255,255,255,0.1); 
    background: rgba(255,255,255,0.03); 
    color: white; 
    font-family: 'Outfit', sans-serif; 
    font-size: 1rem;
    transition: all 0.3s ease;
}
#templateInquiryForm input::placeholder, #templateInquiryForm textarea::placeholder { 
    color: #64748b; 
}
#templateInquiryForm input:focus, #templateInquiryForm textarea:focus { 
    outline: none; 
    border-color: #3b82f6; 
    background: rgba(255,255,255,0.08); 
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.footer-btn { 
    background: #3b82f6; 
    color: white; 
    padding: 16px; 
    border-radius: 8px; 
    font-weight: 800; 
    font-size: 1.1rem; 
    border: none; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px;
}
.footer-btn:hover { 
    background: #2563eb; 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4); 
}

.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.08); 
    padding-top: 30px; 
    text-align: center; 
    color: #64748b; 
    font-size: 0.95rem; 
}

@media (max-width: 768px) { 
    .footer-grid { grid-template-columns: 1fr; } 
}
/* =========================================
   HOMEPAGE HERO GRID (Isolated Layout)
   ========================================= */
.home-hero {
    padding-top: 180px; /* Pushes it down below the navbar safely */
    padding-bottom: 80px;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Text gets slightly more room than the image */
    gap: 60px;
    align-items: center;
}

/* =========================================
   HOMEPAGE FINAL POLISH (Hero & Process)
   ========================================= */

/* 1. HERO FIX: Pull text up to sell immediately */
.home-hero {
    padding-top: 120px !important; /* Reduced from 180px */
    padding-bottom: 50px !important;
    min-height: 85vh; /* Forces it to fill the screen nicely */
    display: flex;
    align-items: center;
}

/* =========================================
   HOW IT WORKS (VIBRANT POP UPGRADE)
   ========================================= */

.process-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important; 
}

/* 1. Vibrant gradients for the massive background numbers */
.step-number {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15 !important; /* Vivid but pushed cleanly to the background */
    font-size: 7.5rem !important;
    top: -30px !important;
    right: 15px !important;
}

/* 2. Elevate the cards to look premium */
.process-card {
    background: white !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border: 1px solid #f1f5f9 !important;
}

/* 3. Make the connecting timeline a bright gradient */
.process-grid::before {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green)) !important;
    height: 4px !important;
    opacity: 1 !important;
}

/* 4. Solid, vibrant icon circles that cut through the line */
.process-card:nth-child(1) .icon-circle { color: white; background: var(--primary-blue); box-shadow: 0 0 0 10px white !important; border: none !important; }
.process-card:nth-child(2) .icon-circle { color: white; background: var(--primary-green); box-shadow: 0 0 0 10px white !important; border: none !important; }
.process-card:nth-child(3) .icon-circle { color: white; background: #0f172a; box-shadow: 0 0 0 10px white !important; border: none !important; }
/* =========================================
   1. TESTIMONIAL SLIDER OVERLAP FIX
   ========================================= */
/* Hides all slides completely so they never overlap */
.slide {
    display: none !important; 
}
/* Only shows the active slide and gives it a smooth fade-in */
.slide.active {
    display: block !important;
    animation: smoothFade 0.6s ease-in-out;
}
@keyframes smoothFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   2. HOW IT WORKS (SOFT AURORA GLOW)
   ========================================= */
.process-section {
    /* The light base with the soft blue and green corner glows */
    background-color: #fcfcfc !important; 
    background-image: 
        radial-gradient(circle at 0% 10%, rgba(2, 27, 80, 0.15) 0%, transparent 50%), 
        radial-gradient(circle at 100% 90%, rgba(1, 63, 24, 0.15) 0%, transparent 50%) !important;
    padding: 100px 0 !important;
    position: relative;
    overflow: hidden;
}

/* Reset headings and text back to crisp dark colors */
.process-section .section-header h2,
.process-section > .container > h2 {
    color: #0f172a !important;
}
.process-section .section-header p,
.process-section > .container > p {
    color: #42608a !important;
}

/* Make the giant background numbers hollow with a dark border line */
.step-number {
    background: none !important;
    /* This makes the inside of the text transparent */
    color: transparent !important; 
    -webkit-text-fill-color: transparent !important; 
    /* This adds the crisp, darker border line */
    -webkit-text-stroke: 3px #94a3b8 !important; 
    opacity: 0.4 !important; /* Keeps it perfectly balanced in the background */
    font-size: 7.5rem !important;
}
/* Make the connecting timeline a clean, faint line */
.process-grid::before {
    background: #e2e8f0 !important;
    height: 2px !important;
    opacity: 1 !important;
}
/* =========================================
   RESTORE HERO IMAGE TILTED CARD
   ========================================= */
.image-wrapper {
    position: relative;
    z-index: 1;
}

/* Creates the tilted colorful card behind the image */
.image-wrapper::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    right: -15px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: 30px;
    z-index: -1;
    transform: rotate(6deg); /* The cool tilt effect */
    opacity: 0.85;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

/* Adds a crisp white border to your photo */
.profile-img {
    position: relative;
    z-index: 2;
    border: 6px solid white;
    border-radius: 26px;
    background-color: white;
}
/* =========================================
   PREMIUM FORM STYLING (Global)
   ========================================= */
.form-group { 
    margin-bottom: 18px; 
    text-align: left;
}
.form-group label { 
    display: block; 
    font-weight: 700; 
    color: #0f172a; 
    margin-bottom: 8px; 
    font-size: 0.9rem; 
}
.premium-input { 
    width: 100%; 
    padding: 14px 16px; 
    border-radius: 10px; 
    border: 2px solid #e2e8f0; 
    background: #f8fafc; 
    font-family: 'Outfit', sans-serif; 
    font-size: 0.95rem; 
    color: #0f172a; 
    outline: none; 
    transition: all 0.3s;
    box-sizing: border-box; 
}
.premium-input:focus { 
    border-color: #2563EB; 
    background: white; 
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); 
}
.premium-submit { 
    width: 100%; 
    padding: 16px; 
    background: #2563EB; 
    color: white; 
    border: none; 
    border-radius: 10px; 
    font-weight: 800; 
    font-size: 1.05rem; 
    cursor: pointer; 
    transition: all 0.3s; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 8px; 
    margin-top: 10px;
}
.premium-submit:hover { 
    background: #1d4ed8; 
    transform: translateY(-2px); 
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25); 
}
.responsive-image {
    width: 100%;       /* Tells the image to fill the container it is inside */
    max-width: 500px;  /* Stops the image from growing larger than 500px on big laptop screens */
    height: auto;      /* Keeps the proportions perfect so it doesn't stretch and look distorted */
    border-radius: 12px; /* Optional: Gives it that modern 2026 rounded-corner aesthetic */
}
.star-icon {
    width: 30px;
    height: 30px;
    color: #5eff00; /* Base gold color */
    
    /* This creates a 3D floating illusion using layered shadows */
    filter: drop-shadow(2px 4px 4px rgba(0, 0, 0, 0.288)) 
            drop-shadow(0px 10px 15px rgba(30, 255, 0, 0.288));
            
    /* Lifts the star up slightly off the background */
    transform: translateY(-5px); 
}
/* Apply to your Premium Gallery Cards */
.premium-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px; 
    overflow: hidden;
    border: 1px solid white;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; 
    flex-direction: column; 
    cursor: pointer;
    
    /* QUALITY CONTROL: GPU Hardware Acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Apply to the Gallery Images (Zoom effect) */
.premium-card-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.7s ease; 
    
    /* QUALITY CONTROL: Prevent image blur during scale */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Apply to your Filter Buttons */
.premium-filter-btn {
    padding: 12px 28px; 
    border-radius: 50px; 
    background: white;
    color: #475569; 
    border: 1px solid #e2e8f0; 
    font-weight: 700;
    font-size: 0.95rem; 
    cursor: pointer; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02); 
    font-family: 'Outfit', sans-serif;
    
    /* QUALITY CONTROL: GPU Hardware Acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Apply to any animated Service Cards (Plumber Demo) */
.service-card, .action-box {
    /* (Keep your existing styles here...) */
    transition: all 0.4s ease;
    
    /* QUALITY CONTROL: GPU Hardware Acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
}
/* --- Horizontal Scrolling Carousel --- */
.services-carousel-wrapper {
    width: 100%;
    /* Use margin to pull it slightly outside standard container bounds if needed for wide scrolling */
    margin: 2rem 0 4rem 0; 
}

.services-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 25px;
    padding: 20px 5%; 
    
    /* FIX: Stops text highlighting when dragging */
    user-select: none;
    -webkit-user-select: none; 
    
    /* Removed scroll-snap so the auto-scroll is buttery smooth */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.services-carousel::-webkit-scrollbar {
    display: none;
}
/* The Individual Cards */
.services-carousel .service-card {
    flex: 0 0 320px; 
    /* Removed scroll-snap-align */
    
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
    .services-carousel .service-card {
        flex: 0 0 280px; 
    }
}
.services-carousel .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.service-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .services-carousel .service-card {
        flex: 0 0 280px; /* Slightly narrower on phones */
        scroll-snap-align: center; /* Snaps to center on phones for better UX */
    }
}

/* =======================================================
   THE PREMIUM MOBILE LAYOUT (Matches 1000100483.png)
   ======================================================= */
   @media (max-width: 768px) {
    /* 1. Lock screen width */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* 2. Premium Navbar (Button + Hamburger) */
    .navbar {
        width: 92% !important;
        padding: 12px 15px !important;
        top: 10px !important;
    }
    .nav-right {
        display: flex !important; /* Overrides the previous display:none */
        margin-left: auto !important;
        margin-right: 15px !important;
        align-items: center !important;
    }
    .btn-quote-gradient {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        box-shadow: none !important; /* Cleaner for mobile header */
    }
    .nav-links {
        display: none; /* Hide text links by default */
    }
    .menu-toggle {
        display: block !important;
        font-size: 1.5rem !important;
        margin-left: 0 !important;
    }

    /* 3. Hero Layout: Stacked & Left-Aligned */
    .home-hero-grid {
        display: flex !important;
        flex-direction: column !important; /* Text on top, Image on bottom */
        align-items: flex-start !important;
        text-align: left !important;
        padding-top: 40px !important;
        gap: 30px !important;
    }
    .home-hero {
        padding-top: 100px !important;
        min-height: auto !important;
        padding-bottom: 60px !important;
    }

    /* 4. Typography matches the screenshot */
    .hero-text-side {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .hero-badge {
        margin-bottom: 20px !important;
    }
    .hero-text-side h1 {
        font-size: 2.3rem !important; 
        line-height: 1.15 !important;
        margin-bottom: 15px !important;
        letter-spacing: -1px !important;
    }
    .hero-text-side p {
        font-size: 1.05rem !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
        padding: 0 !important;
        max-width: 95% !important;
    }

    /* 5. Full-Width Buttons */
    .hero-btns {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        margin-bottom: 25px !important;
    }
    .hero-btns a {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px !important;
        font-size: 1rem !important;
    }

    /* 6. Social Proof (3 in a row) */
    .social-proof {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    .proof-item {
        font-size: 0.75rem !important;
        display: flex !important;
        flex-direction: column !important; /* Icon on top, text below */
        align-items: flex-start !important;
        text-align: left !important;
        gap: 5px !important;
        line-height: 1.2 !important;
    }
    .proof-item i {
        font-size: 1.4rem !important;
    }

    /* 7. Image Wrapper & Badges (Restored & Scaled) */
    .hero-image-side {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 20px !important;
    }
    .image-wrapper {
        width: 85% !important;
        max-width: 280px !important;
        height: auto !important;
        aspect-ratio: 4/5 !important;
        margin: 0 auto !important;
        /* Restore the colorful background */
        background: linear-gradient(135deg, var(--light-blue), var(--light-green)) !important;
        padding: 8px !important;
    }
    .image-wrapper::before {
        display: block !important; /* Restore tilted card */
        top: 8px !important; left: 12px !important; right: -12px !important; bottom: -8px !important;
    }
    
    /* Scale badges down slightly so they don't break the screen edge */
    .badge-top-right {
        display: flex !important;
        top: 10px !important;
        right: -15px !important;
        left: auto !important;
        margin: 0 !important;
        transform: scale(0.8) !important;
        transform-origin: top right !important;
    }
    .badge-bottom-left {
        display: flex !important;
        bottom: 10px !important;
        left: -15px !important;
        margin: 0 !important;
        transform: scale(0.8) !important;
        transform-origin: bottom left !important;
    }

    /* 8. Mobile Dropdown Menu (Targets .nav-links only) */
    .nav-links.active {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 65px !important; 
        left: 0 !important;
        width: 100% !important;
        background-color: #ffffff !important;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
        padding: 20px !important;
        z-index: 999 !important;
        text-align: center !important;
        border-radius: 16px !important;
    }
    .nav-item {
        padding: 15px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        font-size: 1.1rem !important;
        width: 100% !important;
        color: var(--text-main) !important;
    }
}
/* =======================================================
   MOBILE CLEANUP: SERVICES TO FOOTER (Compact & Orderly)
   ======================================================= */
@media (max-width: 768px) {
    
    /* 1. Kills the "Too Long" feeling by cutting massive gaps in half */
    .services-section,
    .process-section,
    .faq-section,
    .contact-section,
    .site-footer,
    .guarantee-section {
        padding: 50px 0 !important; 
    }
    
    /* Targets the dark "Who I Work With" section */
    section[style*="padding: 120px 0"] {
        padding: 60px 0 !important;
    }

    /* 2. Services Section */
    .services-grid {
        gap: 15px !important; /* Tighter stack */
    }
    .service-card {
        padding: 25px 20px !important; /* Shorter cards */
    }
    .service-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    .icon-circle {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 15px !important;
        font-size: 1.4rem !important;
    }

    /* 3. The Big Target Audience Marquee ("Who I Work With") */
    .marquee-container {
        padding: 10px 0 30px 0 !important;
    }
    .marquee-card {
        flex: 0 0 260px !important; /* Keeps them narrow on phones */
        padding: 25px 20px !important;
    }
    .marquee-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }
    .icon-box {
        width: 45px !important; 
        height: 45px !important;
        margin-bottom: 15px !important;
    }

    /* 4. Process Section ("How It Works") */
    .process-grid {
        gap: 20px !important;
    }
    .process-card {
        padding: 25px 20px !important;
    }
    .step-number {
        font-size: 3.5rem !important; /* Prevents the number from dominating */
        top: -15px !important;
        right: 15px !important;
    }

    /* 5. FAQ Section */
    .faq-container {
        gap: 12px !important; /* Brings questions closer together */
    }
    .faq-question {
        padding: 16px 20px !important;
        font-size: 1rem !important;
    }
    .faq-question i {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.2rem !important;
    }
    .faq-answer p {
        padding: 0 20px 20px 20px !important;
        font-size: 0.95rem !important;
    }

    /* 6. Contact Section */
    .contact-grid {
        gap: 30px !important;
    }
    .form-wrapper {
        padding: 25px !important; /* Shrinks the massive glass box */
    }
    .contact-info h2 {
        font-size: 2.2rem !important;
    }
    /* Targets your form inputs to make them slimmer */
    .premium-input, #homeContactForm input, #homeContactForm textarea {
        padding: 12px 16px !important;
    }

    /* =======================================================
       ULTRA-COMPRESSED MOBILE FOOTER
       ======================================================= */
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Forces 2 columns for the links */
        gap: 25px 15px !important; /* Much tighter gap */
        text-align: center !important;
    }
    
    .footer-brand {
        grid-column: 1 / -1 !important; /* Makes brand section take full width */
        margin-bottom: 10px !important;
    }
    
    /* Hide the long paragraph to save massive vertical space */
    .footer-brand > p {
        display: none !important;
    }
    
    /* Center the location pin */
    .footer-brand > div {
        justify-content: center !important;
    }
    
    .footer-links {
        grid-column: span 1 !important; /* Keeps links side-by-side */
    }
    
    .footer-links h4 {
        margin-bottom: 15px !important;
        font-size: 1.05rem !important;
    }
    
    .footer-cta {
        grid-column: 1 / -1 !important; /* Forces CTA to full width at the bottom */
        text-align: center !important;
        margin-top: 10px !important;
    }
    
    .footer-cta p {
        margin: 0 auto 20px auto !important;
        text-align: center !important;
    }

    .footer-bottom {
        padding-top: 20px !important;
        font-size: 0.85rem !important;
    }
}
/* =======================================================
   DESKTOP CLEANUP (Hide Mobile-Only Elements)
   ======================================================= */
@media (min-width: 769px) {
    /* Hides the swipe hint on laptops and desktops */
    .swipe-hint {
        display: none !important;
    }
}