/* 
    PREMIUM MORTGAGE LANDING PAGE - STYLE SYSTEM
    Brand: Mortgage With Manpreet
    Color Palette: Blue (Trust) + Red (CTA/Urgency)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    /* Trust Blue */
    --primary-dark: #1e40af;
    --secondary: #e11d48;
    /* CTA Red */
    --secondary-dark: #be123c;
    --accent: #3b82f6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --success: #10b981;
    --error: #ef4444;

    --font-main: 'Outfit', sans-serif;
    --container: 1280px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: #f0f4f8;
    background-image: 
        radial-gradient(at 0% 0%, hsla(220,100%,95%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(220,100%,90%,0.5) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(220,100%,95%,1) 0, transparent 50%),
        url('mortgage_premium_abstract_bg_1778745512502.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-blend-mode: soft-light;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassy Overlay for Section depth */
section {
    position: relative;
    z-index: 1;
}

section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    z-index: -1;
}

/* Alternate sections have slightly different glass feel */
section:nth-child(even)::before {
    background: rgba(255, 255, 255, 0.6);
}

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

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

/* Layout */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 4%;
}

.section-padding {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    gap: 0.5rem;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

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

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

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

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

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

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }

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

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.6rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    font-size: 1rem;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 10s infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 100px) scale(1.2);
    }
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta .btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-sticky-bar {
        display: grid;
    }

    .navbar.scrolled {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.2rem;
    }
}

/* Progress Indicator */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 1001;
    width: 0%;
}

/* Loading Animation */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray-light);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 60px 0 20px;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    margin: 0.5rem 0;
    line-height: 1.05;
    max-width: 580px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 1rem;
    max-width: 500px;
}

.trust-badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.hero-stats-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--dark-light);
}

.stat-item i {
    color: var(--success);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.floating-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    min-width: 170px;
}

.stat-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.stat-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Lead Form Card */
.lead-form-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.lead-form-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.lead-form-card p {
    color: var(--gray);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.input-group {
    margin-bottom: 0.8rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--gray);
    transition: var(--transition);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.6rem;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: var(--transition);
}

.input-wrapper textarea {
    height: 100px;
    resize: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-wrapper input:focus+i {
    color: var(--primary);
}

.form-footer {
    margin-top: 1.2rem;
}

.fa-phone-alt {
    transform: rotate(100deg);
}

.form-trust-text {
    text-align: center;
    font-size: 0.75rem !important;
    margin-top: 1rem !important;
}



/* Problem Solution Section */
.problem-solution {
    background-color: var(--white);
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(225, 29, 72, 0.03) 0%, transparent 40%);
    overflow: hidden;
}

.ps-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ps-visual {
    position: relative;
}

.ps-image-container {
    position: relative;
    z-index: 1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-main-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.ps-image-container:hover .ps-main-img {
    transform: scale(1.02);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.floating-card {
    position: absolute;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.2rem;
    color: var(--success);
}

.card-1 { top: 5%; right: -2%; animation-delay: 0s; }
.card-2 { top: 40%; left: -8%; animation-delay: 1s; }
.card-3 { bottom: 10%; right: 5%; animation-delay: 2s; }

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

.pill-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.ps-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.ps-subtext {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.pain-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--light);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.pain-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-5px);
}

.pain-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--error);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.pain-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    background-color: var(--white);
    background: 
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(225, 29, 72, 0.05) 0%, transparent 30%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    padding: 3rem 2.2rem;
    border-radius: 40px; /* Large rounded corners like the image */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    color: var(--white);
    border: none;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Individual Card Colors */
.card-green { background: #22c55e; }
.card-blue { background: #3b82f6; }
.card-purple { background: #8b5cf6; }
.card-orange { background: #f59e0b; }
.card-navy { background: #1e3a8a; }
.card-teal { background: #0d9488; }

.service-icon-container {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    border-radius: 50%; /* Circular */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.service-card:hover .service-icon-container {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--white);
    font-weight: 800;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.3;
    max-width: 250px;
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    width: 100%;
    padding: 0.8rem;
    border-radius: 15px;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-white i {
    font-size: 0.9rem;
    transform: rotate(-45deg);
}

.service-card:hover .btn-white {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Featured Card Adjustments */
.featured-card {
    transform: scale(1.05);
    z-index: 2;
}

.featured-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.3);
    z-index: 10;
}

/* Services Footer */
.services-footer {
    text-align: center;
    margin-top: 2rem;
}

.lender-logos-strip {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
    background: rgba(37, 99, 235, 0.02);
}

.strip-track {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.strip-track span {
    font-weight: 600;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strip-track i {
    color: var(--success);
}

/* Why Choose Us Section */
.usp-section {
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(225, 29, 72, 0.05) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.usp-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header-left {
    margin-bottom: 1.5rem;
}

.section-subtitle-left {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin-top: 1.5rem;
    line-height: 1.6;
}

.usp-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.usp-card {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.usp-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.usp-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.usp-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 700;
}

.usp-info p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
}

.usp-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Visual Panel */
.usp-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-panel {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.panel-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    margin: 0 auto;
}

.main-trust-img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-stat {
    position: absolute;
    padding: 1rem;
    border-radius: 20px;
    min-width: 140px;
    text-align: center;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-1 { top: -10%; right: 0; animation: statFloat1 5s ease-in-out infinite; }
.stat-2 { bottom: 10%; left: -5%; animation: statFloat2 6s ease-in-out infinite; }
.stat-3 { top: 30%; right: -15%; animation: statFloat1 7s ease-in-out infinite; }
.stat-4 { bottom: -15%; right: 5%; animation: statFloat2 5s ease-in-out infinite; }

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

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

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.stat-text {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
}

/* Trust Strip */
.trust-strip {
    display: flex;
    justify-content: space-around;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
}

.strip-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.strip-item:hover {
    color: var(--primary);
    transform: translateY(-3px);
    font-size: 1rem;
}

/* Responsive USP */
@media (max-width: 1024px) {
    .usp-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .usp-visual {
        height: 350px;
        order: -1;
    }
    
    .stat-1 { right: 0; }
    .stat-2 { left: 0; }
    .stat-3 { right: -5%; }
}

@media (max-width: 768px) {
    .usp-cards {
        grid-template-columns: 1fr;
    }
    
    .trust-strip {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }
    
    .usp-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .usp-cta .btn {
        width: 100%;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    margin-bottom: 1.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.testimonial-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.active-card {
    transform: scale(1.08);
    background: var(--white);
    box-shadow: 0 40px 80px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    z-index: 2;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.client-meta h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
    font-weight: 800;
}

.client-meta span {
    font-size: 0.85rem;
    color: var(--gray);
}

.rating {
    color: #f59e0b; /* Amber */
    font-size: 0.8rem;
    display: flex;
    gap: 0.2rem;
}

.story {
    font-size: 1.05rem;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.approval-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: rgba(34, 197, 94, 0.1); /* Green */
    color: #16a34a;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.badge-orange {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.badge-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}



/* Testimonial Trust Booster */
.testimonial-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rating-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.stars-mini {
    color: #f59e0b;
    margin: 0.5rem 0;
}

.trust-divider {
    width: 1px;
    height: 80px;
    background: rgba(0, 0, 0, 0.05);
}

.trust-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-features span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--dark);
}

.trust-features i {
    color: var(--primary);
}

/* Mini CTA Banner */
.mini-cta-banner {
    text-align: center;
}

.cta-banner-content {
    padding: 4rem 3rem;
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    border-radius: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.2);
}

.cta-banner-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 60%);
}

.cta-banner-content h3 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-banner-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Responsive Testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .active-card {
        transform: scale(1);
    }
    
    .testimonial-trust {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .trust-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 768px) {
    .cta-banner-btns {
        flex-direction: column;
    }
    
    .cta-banner-btns .btn {
        width: 100%;
    }
    
    .cta-banner-content h3 {
        font-size: 1.8rem;
    }
}

/* Locations Section */
.locations-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.location-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.location-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
}

.loc-icon {
    width: 50px;
    height: 50px;
    background: var(--gray-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1.2rem;
    transition: var(--transition);
}

.location-card:hover .loc-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(10deg);
}

.loc-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.loc-info span {
    font-size: 0.8rem;
    color: var(--gray);
}



@media (max-width: 1024px) {
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .location-card {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

.services-cta-box {
    margin-top: 2rem;
    padding: 3rem;
    text-align: center;
    border-radius: 30px;
}

.services-cta-box h4 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* FAQ Section */
.faq-section {
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.02) 0%, transparent 60%);
}

.faq-accordion {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    border-radius: 20px;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.faq-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.08);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
    opacity: 1;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 1rem;
}

.faq-footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
}

.faq-footer p {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Main Footer */
.main-footer {
    background: #0f172a;
    color: var(--white);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 1rem;
}

.footer-links a, .footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

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

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

.design-credit i {
    font-size: 0.7rem;
}

/* STRONG RESPONSIVE OVERRIDES */

/* Hero Mini Badge */
.expert-mini-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: var(--white);
    border-radius: var(--radius-full);
    width: fit-content;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.expert-mini-badge img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

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

.badge-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.2;
}

.badge-tag {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* Footer Brand Branding */
.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-expert-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.footer-logo {
    margin-bottom: 0 !important;
}

/* Tablet Optimization (1024px and below) */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats-mini {
        justify-content: center;
        grid-template-columns: repeat(2, auto);
        gap: 1.5rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .usp-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Optimization (768px and below) */
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .floating-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-card {
        min-width: 140px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-accordion {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand, .footer-links, .footer-contact {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links a, .footer-contact a, .footer-contact li {
        justify-content: center;
    }
    
    .nav-cta .btn {
        display: none;
    }
    
    .hamburger {
        display: block;
        color: var(--primary);
    }

    /* Adjust Section Headers for Mobile */
    .section-header h2, .section-header-left h2 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .pill-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}

/* Small Mobile Optimization (480px and below) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats-mini {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .stat-item {
        font-size: 0.9rem;
    }
    
    .floating-stats {
        display: none; /* Hide clutter on very small screens */
    }
    
    .lead-form-card {
        padding: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .faq-item {
        padding: 0.8rem 1.2rem;
    }
}

/* Mobile Overlap & UI Fixes */
@media (max-width: 768px) {
    .floating-card {
        display: none !important;
    }
    
    .pain-points-grid {
        grid-template-columns: 1fr;
    }
    
    .ps-visual {
        margin-bottom: 3rem;
    }
}

/* Mobile Sticky Bar Refinement */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 1rem;
    display: none;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.mobile-sticky-bar .btn {
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
    width: 100%;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: grid;
    }
    
    /* Add padding to bottom of main to prevent sticky bar overlap */
    main {
        padding-bottom: 80px;
    }
}

/* Animations Refinement for Mobile */
@media (max-width: 768px) {
    .reveal {
        transform: translateY(20px);
    }
}

/* Image Fit for Mobile */
.ps-main-img, .main-trust-img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero-content h1 {
        font-size: 1.9rem;
    }
}