/* ========================================
   GoRealo CMS Template Styles
   Version: 2.0
   Description: Main stylesheet for GoRealo CMS templates
   ======================================== */

/* CSS Custom Properties (Variables) */
:root {
    /* Primary Brand Colors */
    --primary-color: #0046E5;        /* GoRealo Primary Blue */
    --secondary-color: #00FF41;      /* GoRealo Secondary Green */
    --dark-blue: #002E80;            /* Darker Blue Variant */
    --light-blue: #E6EFFF;           /* Light Blue Background */
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
    --text-gray: #666666;
    
    /* Typography */
    --font-family-primary: 'Arial', sans-serif;
    
    /* Spacing */
    --section-padding: 70px;
    --container-padding: 15px;
    
    /* Border Radius */
    --border-radius-sm: 5px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Base Styles
   ======================================== */

/* Global Body Styles */
body {
    font-family: var(--font-family-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

/* ========================================
   Image Styles
   ======================================== */

/* Ensure all images are responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Image Loading States */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
    animation: fadeInImage 0.5s ease forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

/* Image Containers */
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.img-container img {
    transition: transform 0.3s ease;
}

.img-container:hover img {
    transform: scale(1.05);
}

/* Image Aspect Ratios */
.img-aspect-16-9 {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.img-aspect-4-3 {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.img-aspect-1-1 {
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* Profile Images */
.profile-img {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-light);
}

/* Card Images */
.card-img-top {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    object-fit: cover;
    height: 200px;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.02);
}

/* Hero Images */
.hero-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    object-fit: cover;
}

/* Thumbnail Images */
.img-thumbnail {
    border: 2px solid #dee2e6;
    border-radius: var(--border-radius-sm);
    padding: 4px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.img-thumbnail:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 70, 229, 0.15);
}

/* Image Overlays */
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.img-container:hover .img-overlay {
    opacity: 1;
}

/* Image Placeholder */
.img-placeholder {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.875rem;
    min-height: 200px;
    border-radius: var(--border-radius);
}

/* Fix for external images */
img[src*="placehold.co"],
img[src*="randomuser.me"],
img[src*="google.com"] {
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-light);
}

/* Responsive image improvements */
@media (max-width: 768px) {
    .card-img-top {
        height: 180px;
    }
    
    .hero-img {
        margin-bottom: 1rem;
    }
    
    .profile-img {
        max-width: 80px;
        height: 80px;
    }
}

/* Remove default margins from headings */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

/* Improve link accessibility */
a {
    transition: all 0.3s ease;
}

a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========================================
   Utility Classes
   ======================================== */

/* Background Color Utilities */
.bg-primary-blue {
    background-color: var(--primary-color) !important;
}

.bg-secondary-green {
    background-color: var(--secondary-color) !important;
}

.bg-light-blue {
    background-color: var(--light-blue) !important;
}

.bg-light-gray {
    background-color: var(--light-gray) !important;
}

/* Text Color Utilities */
.text-primary-blue {
    color: var(--primary-color) !important;
}

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

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

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

/* ========================================
   Header & Navigation Styles
   ======================================== */

/* Top Navigation Bar */
.top-nav {
    background-color: var(--primary-color);
    padding: 10px 0;
    color: var(--white);
    font-size: 0.9rem;
}

.top-nav a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.top-nav a:hover {
    opacity: 0.85;
    color: var(--white);
}

.top-nav a:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* Main Navigation */
.main-nav {
    padding: 15px 0;
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    position: relative;
    z-index: 1000;
}

/* Logo Styling */
.nav-logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

/* Navigation Items */
.nav-item {
    margin: 0 10px;
}

/* Navigation Links */
.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(0, 70, 229, 0.05);
}

/* Active Link Indicator */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

.navbar-toggler {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.75rem;
    padding: 0;
    margin: 0;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 10px;
    animation: fadeIn 0.3s ease;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 8px 20px;
    color: var(--text-dark);
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 0.3em solid;
}

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

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

/* Make sure dropdowns are visible on hover for desktop */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 991px) {
    /* Hide top bar on mobile */
    .top-nav {
        display: none;
    }

    /* Mobile hamburger menu styling - Clean and modern */
    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        position: absolute;
        top: 100%;
        right: 15px;
        left: 15px;
        z-index: 999;
        max-height: 80vh;
        min-height: 350px;
        overflow-y: auto;
        border: 1px solid rgba(0, 0, 0, 0.08);
        margin-top: 8px;
        display: flex;
        flex-direction: column;
    }

    /* Navigation items container */
    .navbar-nav {
        flex-grow: 1;
        margin-bottom: 20px;
        text-align: center;
    }

    .navbar-nav.ms-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 5px;
        background-color: rgba(0, 70, 229, 0.05);
        border-radius: 8px;
    }

    .dropdown-item {
        padding: 10px 0;
        font-weight: 500;
    }

    .nav-item {
        margin: 8px 0;
        padding: 0;
        border-bottom: none;
    }

    .nav-item:last-child {
        margin-bottom: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        font-weight: 500;
        padding: 12px 16px;
        display: block;
        transition: all 0.3s ease;
        border-radius: 8px;
        color: var(--text-dark);
    }

    .nav-link:hover {
        color: var(--primary-color);
        background-color: rgba(0, 70, 229, 0.05);
        transform: translateX(4px);
    }

    .nav-link.active {
        color: var(--primary-color);
        background-color: rgba(0, 70, 229, 0.1);
        font-weight: 600;
    }

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

    /* Hamburger icon styling - Clean and modern */
    .navbar-toggler {
        border: none;
        border-radius: 8px;
        padding: 8px;
        background-color: rgba(0, 70, 229, 0.05);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 2px rgba(0, 70, 229, 0.2);
        outline: none;
        background-color: rgba(0, 70, 229, 0.1);
    }

    .navbar-toggler:hover {
        background-color: rgba(0, 70, 229, 0.1);
    }

    /* Hamburger icon transformation to X */
    .navbar-toggler .navbar-toggler-icon {
        position: relative;
        width: 18px;
        height: 2px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        border-radius: 1px;
        display: block;
    }

    .navbar-toggler .navbar-toggler-icon::before,
    .navbar-toggler .navbar-toggler-icon::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 2px;
        background-color: var(--primary-color);
        border-radius: 1px;
        transition: all 0.3s ease;
        left: 0;
    }

    .navbar-toggler .navbar-toggler-icon::before {
        top: -5px;
    }

    .navbar-toggler .navbar-toggler-icon::after {
        top: 5px;
    }

    /* Transform to X when expanded */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-color: transparent;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Hide comparison icons on mobile */
    .comparison-icon {
        display: none !important;
    }

    /* Savings header column direction on mobile */
    .savings-header {
        flex-direction: column;
    }
}

/* Additional mobile styles for smaller screens */
@media (max-width: 576px) {
    .navbar-collapse {
        padding: 15px;
        max-height: 100vh;
    }
}

/* Button Styles */
.btn-green {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 600;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 255, 65, 0.3);
}

.btn-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 65, 0.4);
    text-decoration: none;
    color: var(--text-dark);
}

.btn-blue {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-blue:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 70, 229, 0.3);
    text-decoration: none;
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    font-weight: bold;
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

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

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    font-weight: bold;
    border: 2px solid var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

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

.btn-outline-blue {
    background-color: transparent;
    color: var(--white);
    font-weight: bold;
    border: 2px solid var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline-blue:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, #0046E5 0%, #0A24A9 100%);
    min-height: 650px;
    margin-bottom: -1px;
    /* Eliminate any gap */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

/* Thunder Waves Effect */
.thunder-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.rate-arrow {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 10%;
    opacity: 0;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.rate-arrow.old-rate {
    right: 30%;
}

.rate-arrow.old-rate span {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
}

.rate-arrow.new-rate {
    right: 25%;
}

.rate-arrow.new-rate span {
    color: var(--secondary-color);
}

.rate-arrow span {
    display: block;
    margin-bottom: 10px;
}

.rate-arrow i {
    font-size: 52px;
    color: rgba(255, 255, 255, 0.6);
}

.rate-arrow.old-rate i {
    color: rgba(255, 255, 255, 0.6);
}

.rate-arrow.new-rate i {
    color: var(--secondary-color);
}

.hero-section:hover .thunder-waves {
    opacity: 1;
}

.hero-section:hover .rate-arrow.old-rate {
    animation: rate-fall 3s ease-in forwards;
}

.hero-section:hover .rate-arrow.new-rate {
    animation: rate-fall 3s ease-in 0.5s forwards;
}

/* Add multiple instances of falling rate numbers */
.hero-section:hover .thunder-waves::before {
    content: "6.75%";
    position: absolute;
    top: 20%;
    right: 40%;
    color: rgba(255, 255, 255, 0.4);
    font-size: 22px;
    font-weight: bold;
    text-decoration: line-through;
    opacity: 0;
    animation: mini-rate-fall 2.5s ease-in 0.8s forwards;
}

.hero-section:hover .thunder-waves::after {
    content: "5.25%";
    position: absolute;
    top: 15%;
    right: 20%;
    color: rgba(0, 255, 65, 0.5);
    font-size: 22px;
    font-weight: bold;
    opacity: 0;
    animation: mini-rate-fall 2.5s ease-in 1.2s forwards;
}

@keyframes rate-fall {
    0% {
        opacity: 0;
        transform: translateY(-200px);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(500px);
    }
}

@keyframes mini-rate-fall {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.4;
    }

    100% {
        opacity: 0;
        transform: translateY(300px);
    }
}

/* Old poly arrows - hidden */
.poly-arrows {
    display: none !important;
    visibility: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-image-column {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.hero-image-container {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: -50px;
    /* Increased negative margin to remove gap */
}

.hero-image {
    position: relative;
    z-index: 2;
    max-height: 700px;
    /* Increased image size */
    width: auto;
}

.bottom-aligned {
    animation: slide-up-bottom 1.2s ease-out;
}

@keyframes slide-up-bottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.feature-icon,
.tech-icon-inner,
.comparison-icon {
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
}

/* Mobile icon sizing */
@media (max-width: 767px) {
    .feature-icon,
    .tech-icon-inner,
    .comparison-icon {
        width: 30px !important;
        height: 30px !important;
    }
}

.feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Icon sizing */
.feature-icon i,
.tech-icon-inner i,
.comparison-icon i {
    font-size: 1.5rem !important;
    line-height: 1 !important;
}

/* Hero section text color fix */
.hero-content-wrapper .lead {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Dynamic comparison bar styling */
.lender-bar-container {
    margin-top: 10px;
    width: 100%;
    height: 36px;
    padding: 0;
    position: relative;
}

.lender-bar {
    height: 36px;
    transition: width 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Traditional bar styling */
.traditional .lender-bar {
    background: linear-gradient(to right, #d32f2f, #e53935);
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.3);
}

/* GoRealo bar styling */
.gorealo .lender-bar {
    background: linear-gradient(to right, #0046E5, #1a73e8);
    box-shadow: 0 3px 10px rgba(0, 70, 229, 0.3);
}

.hero-features .feature-item {
    transition: transform 0.3s ease;
}

.hero-features .feature-item:hover {
    transform: translateY(-5px);
}

/* Thunder and Rate Animation */
.rate-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 280px;
    position: relative;
    transition: all 0.3s ease;
}

.rate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.rate-animation {
    position: relative;
    z-index: 2;
    width: 100%;
    cursor: pointer;
}

.thunder-animation {
    font-size: 36px;
    color: #FFD700;
    animation: thunder-pulse 2s infinite;
    position: relative;
}

.thunder-animation i {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Add electric effect to thunder */
.thunder-animation::before,
.thunder-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
    top: 0;
    left: 0;
    z-index: -1;
    animation: electric-pulse 1.5s infinite alternate;
}

@keyframes electric-pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.5);
    }
}

@keyframes thunder-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.old-rate {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: line-through;
    opacity: 0.8;
}

.new-rate {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.rate-badge {
    background-color: #00c853;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.arrow-down {
    color: var(--secondary-color);
    font-size: 24px;
    animation: arrow-pulse 1.5s infinite;
}

@keyframes arrow-pulse {
    0% {
        transform: translateY(-5px);
        opacity: 0.5;
    }

    50% {
        transform: translateY(5px);
        opacity: 1;
    }

    100% {
        transform: translateY(-5px);
        opacity: 0.5;
    }
}

/* Floating Stat Cards */
.floating-stat-card {
    position: absolute;
    background-color: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    z-index: 5;
    animation: float 6s ease-in-out infinite;
    max-width: 190px;
    min-height: 80px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.floating-card-behind {
    top: 20%;
    right: 5%;
    animation-delay: 0.5s;
}

.floating-card-bottom {
    bottom: 15%;
    left: 5%;
    animation-delay: 1.5s;
}

.floating-stat-card .stat-icon {
    background-color: rgba(0, 70, 229, 0.1);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-stat-card p {
    color: #666;
    font-weight: 500;
}

.floating-stat-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
}

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

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

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Info Banner */
.info-banner {
    background-color: #1E56E5;
    color: var(--white);
    padding: 12px 0;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    /* Ensure no gap with hero section */
}

.info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
    opacity: 0.1;
    z-index: 1;
}

.info-banner .container {
    position: relative;
    z-index: 2;
}

.info-banner a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-banner a:hover {
    opacity: 0.9;
    text-decoration: underline;
}

.info-banner .btn-sm:hover {
    transform: translateX(3px);
    text-decoration: none;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
}

.info-badge i {
    color: var(--secondary-color);
}

/* Customer Card Image Fixes */
.customer-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

/* Metric Card Icon Fixes */
.metric-card .icon-container {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    flex-shrink: 0;
}

.metric-card .icon-container i {
    font-size: 14px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
}

.metric-card .d-flex {
    align-items: center !important;
    gap: 8px;
}

/* Mobile metric card adjustments */
@media (max-width: 767px) {
    .customer-image {
        height: 180px;
    }
    
    .metric-card .icon-container {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px;
        min-height: 28px;
    }
    
    .metric-card .icon-container i {
        font-size: 12px !important;
    }
}

/* Modern Calculator Styles */
.comparison-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 20px;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.slider-container {
    position: relative;
}

.competitor-logos {
    margin-bottom: 30px;
}

/* Bank logo SVGs */
.bank-logo {
    transition: all 0.3s ease;
}

.bank-logo:hover {
    filter: drop-shadow(0 0 5px rgba(0, 70, 229, 0.3));
    transform: translateY(-3px);
}

.competitor-logo {
    transition: all 0.3s ease;
}

.gorealo-logo img {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gorealo-logo:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(0, 70, 229, 0.3));
}

/* Modern slider styling */
.slider-track-container {
    position: relative;
    padding: 30px 0;
}

.slider-markers {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 10px;
}

.slider-value {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modern-slider {
    height: 12px;
    border-radius: 10px;
    background: linear-gradient(to right, #e0e0e0, var(--primary-color));
    margin: 25px 0;
    position: relative;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-color);
    width: 30px;
    height: 30px;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 15px rgba(0, 70, 229, 0.3);
}

.form-range::-moz-range-thumb {
    background: var(--primary-color);
    width: 30px;
    height: 30px;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.form-range::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 15px rgba(0, 70, 229, 0.3);
}

.benefit-label .badge {
    transition: all 0.3s ease;
}

.benefit-label .badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-results {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.8s ease;
}

.comparison-results.show {
    opacity: 1;
    max-height: 2000px;
}

.lender-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.6s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.transform-card {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
    background-color: #222222 !important;
}

.transform-card.show {
    transform: translateY(0);
    opacity: 1;
}

.transform-card.other-card {
    background: #222222 !important;
    transition: all 1s ease;
}

.transform-card.gorealo-card {
    background: #222222 !important;
    transition: all 1s ease;
}

.transform-card.other-card.show {
    background: linear-gradient(135deg, #222222, #ff5f6d) !important;
    animation: cardColorChange 1.5s forwards;
}

.transform-card.gorealo-card.show {
    background: linear-gradient(135deg, #222222, #00c853) !important;
    animation: cardColorChange 1.5s forwards;
}

@keyframes cardColorChange {
    0% {
        background-position: 0% 50%;
        background: #222222;
    }

    100% {
        background-position: 100% 50%;
    }
}

.thumbs-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -40px;
    font-size: 2.5rem;
    opacity: 0;
    transition: all 0.8s ease 0.3s;
    z-index: 10;
}

.thumbs-emoji {
    font-size: 2rem;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

.thumbs-up {
    color: #00c853;
}

.transform-card.show .thumbs-icon {
    right: -35px;
    opacity: 1;
    animation: bounceIn 0.5s forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translate(0, -50%);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.1) translate(0, -50%);
    }

    70% {
        transform: scale(0.9) translate(0, -50%);
    }

    100% {
        opacity: 1;
        transform: scale(1) translate(0, -50%);
    }
}

.lender-card-header {
    transition: all 0.3s ease;
}

.savings-badge {
    border-radius: 0 0 0 10px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Additional card animations */
.transform-card.show:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Emoji pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Animations and Highlights */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.highlight-change {
    animation: pulse 0.7s ease;
    color: var(--secondary-color);
    transition: color 0.7s ease;
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--white);
    opacity: 0.5;
}

/* ========================================
   Section & Layout Styles
   ======================================== */

/* Standard Section Padding */
.section-padding {
    padding: 80px 0;
}

/* CTA Section with proper spacing above footer */
.bg-primary-blue.text-white.section-padding {
    margin-bottom: 0;
}

/* Section Title Styling */
.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title.text-start {
    text-align: left;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

/* Section Title Underline Decoration */
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title.text-start h2::after {
    left: 0;
    transform: none;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 400;
}

.section-title.text-start p {
    margin: 0;
    max-width: 100%;
}

/* Responsive Section Padding */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
}

/* Footer - Professional Blue Themed */
.footer-area {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}



.footer-area .container {
    position: relative;
    z-index: 2;
}

/* Footer Widget Styling */
.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    color: var(--white);
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 1px;
}

.footer-widget h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    color: var(--white);
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 1px;
}

/* Footer Description */
.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.8rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    color: var(--white);
    transform: translateX(3px);
}

/* Footer Contact Info */
.footer-contact-info {
    margin-top: 20px;
}

.footer-info-contact {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.footer-info-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
    margin-top: 2px;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-info-contact a {
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.footer-info-contact a:hover {
    color: var(--white);
    text-decoration: none;
}

/* Footer Social Media */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.3);
}

/* Footer CTA Content */
.footer-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-phone-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-phone-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-phone-number:hover {
    color: var(--white);
    text-decoration: none;
}

/* Copyright Area */
.copy-right-area {
    background: rgba(0, 0, 0, 0.3);
    padding-bottom: 25px;
}

.copy-right-content {
    color: rgba(255, 255, 255, 0.95);
}

.copyright-text {
    font-size: 0.9rem;
    margin: 0;
}

/* Legal Footer Information */
.legal-footer-info {
    margin-top: 1rem;
    padding-top: 1rem;
}

.legal-footer-info p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.legal-footer-info .small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.legal-footer-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legal-footer-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Text Light Footer Class */
.text-light-footer {
    color: #c2d1e0bf !important;
}

/* Footer Legal Links */
.footer-legal ul {
    margin: 0;
    padding: 0;
    text-align: right;
}

.footer-legal .list-inline-item:not(:last-child) {
    margin-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 20px;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Legal Disclaimers */
.legal-disclaimers {
    padding-top: 15px;
}

.legal-disclaimers p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer Rates Section */
.footer-rates-container,
.mortgage-rates-compact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Responsive Styles */
@media (max-width: 992px) {
    .footer-area .row .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .footer-area .row .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer-area {
        padding: 40px 0 20px;
    }
    
    .footer-area .row .col-lg-4,
    .footer-area .row .col-lg-6,
    .footer-area .row .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-area .border-top {
        margin-top: 20px;
        padding-top: 30px !important;
    }
    
    .footer-widget {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .footer-widget h3,
    .footer-widget h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-widget h3::after,
    .footer-widget h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 15px;
        gap: 12px;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-info-contact {
        justify-content: center;
        text-align: center;
        font-size: 0.85rem;
    }
    
    .footer-phone-cta {
        padding: 12px;
    }
    
    .footer-phone-number {
        font-size: 1rem;
    }
    
    .copy-right-area {
        padding-bottom: 20px;
        text-align: center;
    }
    
    .legal-footer-info {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .legal-footer-info p {
        margin-bottom: 8px;
    }
    
    .footer-legal ul {
        text-align: center;
        margin-top: 15px;
    }
    
    .footer-legal .list-inline-item {
        display: block;
        margin: 5px 0;
        border: none !important;
        padding: 0;
    }
    
    .legal-disclaimers {
        text-align: center;
        margin-top: 15px;
    }
    
    .legal-disclaimers p {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .footer-area {
        padding: 30px 0 15px;
    }
    
    .footer-widget {
        margin-bottom: 20px;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-rates-container,
    .mortgage-rates-compact {
        padding: 12px;
    }
    
    .copy-right-area {
        padding-bottom: 15px;
    }
    
    .copyright-text {
        font-size: 0.8rem;
    }
}

/* Preloader */
.preloader-area {
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Responsive Improvements */
@media (max-width: 767px) {
    /* Hero Section Mobile */
    .hero-section {
        padding: 40px 0 0;
        min-height: 500px;
    }

    .hero-section h1,
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-content-wrapper {
        padding-bottom: 30px;
        text-align: center;
    }

    .hero-content-wrapper .lead {
        font-size: 1rem;
        padding-right: 0 !important;
    }

    /* Hero Image Mobile */
    .hero-image-column {
        margin-top: 20px;
    }

    .hero-image-container {
        margin-bottom: -30px;
    }

    .hero-image {
        max-height: 400px;
        width: 100%;
        object-fit: contain;
    }

    /* Floating Cards Mobile - Auto height adjustment */
    .floating-stat-card {
        position: absolute;
        max-width: 160px;
        min-height: 70px;
        height: auto;
        padding: 12px 15px;
        transform: scale(0.85);
        animation: float 6s ease-in-out infinite;
        z-index: 6;
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .floating-stat-card .d-flex {
        width: 100%;
        align-items: center;
        justify-content: flex-start;
    }

    .floating-card-behind {
        top: 12%;
        right: 6%;
        animation-delay: 0.5s;
    }

    .floating-card-bottom {
        left: 6%;
        animation-delay: 1.5s;
    }

    .floating-stat-card .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        flex-shrink: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
    }

    .floating-stat-card h5 {
        font-size: 1.1rem;
        margin-bottom: 4px;
        font-weight: 700;
        line-height: 1.2;
    }

    .floating-stat-card p {
        font-size: 0.8rem;
        margin-bottom: 0;
        line-height: 1.3;
        color: #666;
    }

    /* Fix icon aspect ratio and prevent stretching */
    .floating-stat-card .stat-icon i {
        font-size: 1.1rem;
        line-height: 1;
        width: auto;
        height: auto;
    }

    /* Thunder waves mobile */
    .thunder-waves {
        display: none;
    }

    /* Hide hero section overlay on mobile */
    .hero-section::before {
        display: none;
    }
    
    /* Ensure proper mobile dropdown behavior */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        border-radius: 8px;
        margin-top: 8px;
    }
    
    /* Mobile navbar improvements */
    .navbar-collapse {
        border-top: 2px solid var(--primary-color);
    }

    /* Section titles mobile */
    .section-title h2 {
        font-size: 1.8rem;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    /* Buttons mobile */
    .btn-blue,
    .btn-green {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        margin: 5px 0;
    }

    .play-btn {
        width: 50px;
        height: 50px;
    }

    .lender-rate.display-5 {
        font-size: 1.8rem !important;
    }

    /* Content spacing mobile */
    .section-padding {
        padding: 40px 0;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Hero badge mobile */
    .hero-badge {
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
    }

    /* Feature items mobile */
    .feature-item {
        margin-bottom: 20px;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto 10px;
    }

    /* Hero content wrapper mobile - padding 0 */
    .hero-content-wrapper {
        padding-bottom: 0px;
        text-align: center;
    }

    /* Hero features mobile styling - compact and centered */
    .hero-features {
        justify-content: center !important;
        text-align: center;
        gap: 0.5rem;
    }

    .hero-features .feature-item {
        margin: 0 0.25rem 0.5rem 0.25rem !important;
        flex: 0 1 auto;
        min-width: fit-content;
    }

    .hero-features .feature-item .d-flex {
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: row;
        gap: 0.25rem;
    }

    /* Remove margin from hero CTA button on mobile */
    .hero-cta.mb-4 {
        margin-bottom: 0 !important;
    }

    .hero-features .feature-item .feature-icon {
        margin: 0 !important;
        width: 35px;
        height: 35px;
        padding: 0.5rem !important;
    }

    .hero-features .feature-item .fw-bold {
        font-size: 0.85rem;
        text-align: center;
        white-space: nowrap;
    }
}

/* Tablet Responsive Styles */
@media (max-width: 991px) and (min-width: 768px) {
    .hero-section {
        padding: 60px 0 0;
        min-height: 600px;
    }

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

    .hero-content-wrapper {
        text-align: center;
        padding-bottom: 40px;
    }

    .hero-image {
        max-height: 500px;
    }

    .floating-stat-card {
        transform: scale(0.85);
        max-width: fit-content;
        min-width: 160px;
        padding: 10px 14px;
    }
    
    .floating-stat-card h5 {
        font-size: 1.1rem;
        white-space: nowrap;
    }
    
    .floating-stat-card p {
        font-size: 0.8rem;
        white-space: nowrap;
        margin-bottom: 0;
    }

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

/* Small Mobile Devices */
@media (max-width: 576px) {
    .hero-section {
        padding: 30px 0 0;
        min-height: 450px;
    }

    .hero-title {
        font-size: 1.5rem !important;
    }

    .hero-content-wrapper .lead {
        font-size: 0.9rem;
    }

    .hero-image {
        max-height: 300px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .btn-blue,
    .btn-green {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Auto-sized floating cards for mobile */
    .floating-stat-card {
        max-width: fit-content;
        min-width: 140px;
        min-height: 60px;
        padding: 8px 12px;
        transform: scale(0.8);
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .floating-stat-card .d-flex {
        width: 100%;
        height: 100%;
        align-items: center;
    }

    .floating-card-behind {
        top: 12%;
        right: 2%;
    }

    .floating-card-bottom {
        bottom: 20%;
        left: 2%;
    }

    .floating-stat-card .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .floating-stat-card h5 {
        font-size: 1rem;
        margin-bottom: 2px;
        white-space: nowrap;
    }

    .floating-stat-card p {
        font-size: 0.75rem;
        margin-bottom: 0;
        white-space: nowrap;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    /* Mobile menu adjustments for small screens */
    .navbar-collapse {
        padding: 15px;
        max-height: 100vh;
    }
}

/* Mobile Menu Enhancement - Add mobile content dynamically */
@media (max-width: 991px) {
    /* Mobile bottom actions container */
    .mobile-bottom-actions {
        margin-top: auto;
        padding: 20px 0 0;
        border-top: 1px solid rgba(0, 70, 229, 0.1);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .mobile-phone a {
        color: var(--primary-color) !important;
        text-decoration: none;
        font-weight: 600;
        display: flex;
        align-items: center;
        padding: 14px 20px;
        border: 2px solid var(--primary-color);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.95);
        transition: all 0.3s ease;
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        box-shadow: 0 2px 8px rgba(0, 70, 229, 0.15);
    }
    
    .mobile-phone a:hover {
        background: var(--primary-color);
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 70, 229, 0.3);
    }

    .mobile-phone i {
        font-size: 1.1rem;
        margin-right: 8px;
    }

    .mobile-signin .btn {
        width: 100%;
        padding: 14px 20px;
        font-weight: 600;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
        border: none;
        color: white;
        transition: all 0.3s ease;
        font-size: 1rem;
        box-shadow: 0 2px 8px rgba(0, 70, 229, 0.2);
    }
    
    .mobile-signin .btn:hover {
        background: linear-gradient(135deg, var(--dark-blue), #001a5c);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 70, 229, 0.4);
    }

    /* Improve mobile navigation spacing */
    .main-nav {
        padding: 10px 0;
    }

    .nav-logo img {
        height: 40px;
    }

    /* Better mobile button styling */
    .navbar-toggler {
        font-size: 1.5rem;
    }

    /* Mobile dropdown improvements - Fix closing behavior */
     .dropdown-menu {
         transition: none;
     }

     .dropdown-menu.show {
         animation: none;
     }

     .dropdown-menu.hiding {
         animation: none;
     }

     @keyframes slideDown {
         from {
             opacity: 0;
             transform: translateY(-10px);
         }
         to {
             opacity: 1;
             transform: translateY(0);
         }
     }

     @keyframes slideUp {
         from {
             opacity: 1;
             transform: translateY(0);
         }
         to {
             opacity: 0;
             transform: translateY(-10px);
         }
     }

     /* Mobile navbar collapse animation - Fix flickering */
     .navbar-collapse {
         transition: none;
         transform: translateY(0);
         opacity: 1;
     }

     .navbar-collapse.collapsing {
         transition: height 0.35s ease;
     }

     .navbar-collapse.show {
         animation: none;
     }



     /* Remove problematic overlay */
 }

/* Additional mobile improvements for content sections */
@media (max-width: 767px) {
    /* Better spacing for mobile sections */
    .how-possible-section,
    .testimonials-section,
    .features-section {
        padding: 30px 0;
    }

    /* Mobile card improvements */
    .tech-card,
    .testimonial-card,
    .feature-card {
        margin-bottom: 20px;
    }

    /* Mobile text improvements */
    .section-title p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Mobile info banner */
    .info-banner {
        padding: 8px 0;
        font-size: 0.9rem;
    }

    /* Mobile footer improvements */
    footer {
        padding: 40px 0 20px;
    }

    footer .col-lg-3,
     footer .col-lg-4 {
         margin-bottom: 30px;
     }

     /* Mobile row and column improvements */
     .row {
         margin-left: -10px;
         margin-right: -10px;
     }

     .row > * {
         padding-left: 10px;
         padding-right: 10px;
     }

     /* Mobile hero features - Show only 2 points, hide 'save' */
     .hero-features {
         margin-top: 20px;
     }

     .hero-features .row {
         justify-content: center;
         margin-bottom: 15px;
         gap: 10px;
     }

     .hero-features .col-md-4 {
         margin-bottom: 8px;
         display: flex;
         justify-content: center;
         padding: 0 4px;
     }

     /* Mobile approval features layout: Show only 2 points side by side */
     .hero-features .col-md-4:nth-child(1),
     .hero-features .col-md-4:nth-child(2) {
         flex: 0 0 48%;
         max-width: 48%;
     }

     /* Hide the third feature (save) on mobile */
     .hero-features .col-md-4:nth-child(3) {
         display: none;
     }

     /* Hide mobile-hide class elements on mobile */
     .mobile-hide {
         display: none !important;
     }

     .hero-features .feature-item {
         background: rgba(255, 255, 255, 0.1);
         backdrop-filter: blur(10px);
         border-radius: 6px;
         padding: 6px 4px;
         text-align: center;
         border: 1px solid rgba(255, 255, 255, 0.15);
         transition: all 0.3s ease;
         font-size: 0.75rem;
         line-height: 1.1;
     }

     .hero-features .feature-item h6 {
         font-size: 0.8rem;
         margin-bottom: 1px;
         font-weight: 600;
     }

     .hero-features .feature-item p {
         font-size: 0.65rem;
         margin-bottom: 0;
         opacity: 0.9;
     }

     .hero-features .feature-item .fw-bold {
         font-size: 0.75rem;
         font-weight: 600;
     }

     .hero-features .feature-item .feature-icon {
         width: 28px;
         height: 28px;
         padding: 4px;
     }

     .hero-features .feature-item .feature-icon i {
         font-size: 0.9rem;
     }

     .hero-features .feature-item:hover {
         transform: translateY(-2px);
         background: rgba(255, 255, 255, 0.15);
     }

     /* Mobile comparison cards */
     .comparison-card {
         margin-bottom: 20px;
         padding: 20px 15px;
     }

     /* Mobile testimonial improvements */
     .testimonial-item {
         margin-bottom: 20px;
         padding: 15px;
     }

     /* Mobile form improvements */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 15px;
    }
    
    .form-label {
        font-size: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }

     /* Mobile slider improvements */
     .modern-slider {
         margin: 20px 0;
     }

     /* Hide desktop-only elements on mobile */
     .d-none-mobile {
         display: none !important;
     }
 }

/* ========================================
   Services Page Styles
   ======================================== */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, #0046E5 0%, #0A24A9 50%, #1B365D 100%);
    min-height: 700px;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    display: flex;
    align-items: center;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

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

.services-hero .hero-content {
    position: relative;
    z-index: 2;
    padding-right: 2rem;
}

.services-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-hero .hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.services-hero .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.services-hero .hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.services-hero .hero-image img {
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.services-hero .hero-image img:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Responsive adjustments for services hero */
@media (max-width: 768px) {
    .services-hero {
        min-height: 600px;
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .services-hero .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .services-hero .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .services-hero .hero-buttons {
        justify-content: center;
    }
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 70, 229, 0.08);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 70, 229, 0.02) 0%, rgba(0, 232, 65, 0.02) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 70, 229, 0.15);
    border-color: rgba(0, 70, 229, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card .card-body {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-card .list-unstyled {
    margin-bottom: 2rem;
}

.service-card .list-unstyled li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card .list-unstyled li:last-child {
    border-bottom: none;
}

.service-card .list-unstyled li:hover {
    padding-left: 0.5rem;
    background-color: rgba(0, 70, 229, 0.02);
}

.service-card .list-unstyled li span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.service-card .list-unstyled li i {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Feature Icons */
.bg-light-blue {
    background-color: rgba(0, 70, 229, 0.1) !important;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .feature-icon {
    transform: scale(1.1);
    background-color: var(--primary-color) !important;
    color: var(--white);
}

/* Benefit Items */
.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 70, 229, 0.08);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 70, 229, 0.02) 0%, rgba(0, 232, 65, 0.02) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.benefit-item:hover {
    background: var(--white);
    box-shadow: 0 12px 35px rgba(0, 70, 229, 0.12);
    transform: translateY(-5px);
    border-color: rgba(0, 70, 229, 0.15);
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(0, 70, 229, 0.3);
    position: relative;
    z-index: 2;
}

.benefit-content {
    position: relative;
    z-index: 2;
}

.benefit-content h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    line-height: 1.3;
}

.benefit-content p {
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1rem;
}

/* Process Steps */
.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
}

.process-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 70, 229, 0.3);
}

.process-step h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.process-step p {
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    position: relative;
    border: 1px solid rgba(0, 70, 229, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(0, 70, 229, 0.08);
    font-family: Georgia, serif;
    z-index: 1;
}

.testimonial-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 70, 229, 0.02) 0%, rgba(0, 232, 65, 0.02) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 70, 229, 0.15);
    border-color: rgba(0, 70, 229, 0.15);
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
    border: 3px solid rgba(0, 70, 229, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    border-color: rgba(0, 70, 229, 0.2);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar img {
    transform: scale(1.05);
}

.testimonial-info h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-info p {
    color: var(--text-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 500;
}

/* CTA Section Buttons */
.btn-white {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments for services page */
@media (max-width: 768px) {
    /* Section spacing adjustments */
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .section-title.text-start {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    /* Service cards mobile */
    .service-card {
        margin-bottom: 2rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    /* Benefit items mobile */
    .benefit-item {
        padding: 1.5rem;
        margin-bottom: 2rem;
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .benefit-content h4 {
        font-size: 1.1rem;
    }
    
    .process-step {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .process-step-number {
        width: 40px;
        height: 40px;
        margin-right: 1rem;
        font-size: 1rem;
    }
    
    /* Testimonial cards mobile */
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
        top: 15px;
        left: 15px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-info h4 {
        font-size: 1rem;
    }
    
    .testimonial-info p {
        font-size: 0.9rem;
    }
}

/* ========================================
   Form Styles
   ======================================== */

/* Base Form Control Styling */
.form-control {
    border-radius: var(--border-radius-sm);
    border: 2px solid #e1e5e9;
    padding: 12px 16px;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--text-dark);
    min-height: 44px; /* Accessibility: minimum touch target */
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 70, 229, 0.15);
    outline: none;
    background-color: var(--white);
}

.form-control:hover:not(:focus) {
    border-color: #c6cbd1;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

/* Form Labels */
.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: block;
}

.form-label.required::after {
    content: ' *';
    color: #dc3545;
    font-weight: bold;
}

/* Form Help Text */
.form-text {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 6px;
    line-height: 1.4;
}

/* Form Check (Checkboxes & Radio Buttons) */
.form-check {
    margin-bottom: 12px;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.125em;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.1rem rgba(0, 70, 229, 0.25);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 70, 229, 0.15);
}

.form-check-label {
    margin-left: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
}

/* Form Select Dropdown */
.form-select {
    border-radius: var(--border-radius-sm);
    border: 2px solid #e1e5e9;
    padding: 12px 16px;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--text-dark);
    min-height: 44px; /* Accessibility: minimum touch target */
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 70, 229, 0.15);
    outline: none;
}

.form-select:hover:not(:focus) {
    border-color: #c6cbd1;
}

/* Textarea Specific Styling */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Form Validation States */
.form-control.is-valid {
    border-color: #198754;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.valid-feedback {
    color: #198754;
    font-size: 0.875rem;
    margin-top: 6px;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 6px;
}

/* Form Group Spacing */
.form-group {
    margin-bottom: 1.5rem;
}

/* Poly Arrows Effect - Hidden */
.poly-arrows {
    display: none !important;
    visibility: hidden;
}

/* Add a second poly arrows layer for parallax effect - Hidden */
.poly-arrows::after {
    display: none !important;
    visibility: hidden;
}

@keyframes arrowsDown {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 1000px;
    }
}

@keyframes arrowsDownSlow {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 1000px;
    }
}

/* Additional styling for dynamically generated falling rates */
.falling-rate {
    position: absolute;
    font-weight: bold;
    opacity: 0;
    transform: translateY(-50px);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Modern "How Is This Possible?" Section */
.how-possible-section {
    background-color: #f7fbff;
    position: relative;
    overflow: hidden;
}

.how-possible-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 70, 229, 0.05);
    z-index: 1;
}

.how-possible-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 255, 65, 0.05);
    z-index: 1;
}

.modern-explanation {
    position: relative;
    z-index: 2;
}

/* Technology Card */
.tech-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tech-card-header {
    background: linear-gradient(135deg, #0046E5, #0A24A9);
    color: #fff;
    padding: 20px 30px;
    position: relative;
}

h3.mb-2.fw-bold {
    color: #ffffff;
}

.tech-card-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.5rem;
    color: #ffffff;
}

.tech-card-body {
    padding: 30px;
}

.tech-points {
    padding: 0;
}

.tech-point {
    position: relative;
}

.tech-icon {
    margin-right: 20px;
    position: relative;
}

.tech-icon-inner {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tech-point:hover .tech-icon-inner {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 70, 229, 0.2);
}

.tech-content {
    flex: 1;
}

.tech-content h4 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.tech-content p {
    margin-bottom: 15px;
    color: #666;
}

/* Progress bar styling */
.tech-progress {
    margin-top: 10px;
}

.tech-progress-label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
}

.progress {
    height: 8px;
    border-radius: 10px;
    background-color: #f1f1f1;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-bar {
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Comparison items */
.tech-comparison {
    display: flex;
    align-items: center;
    background-color: #f7f9fc;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
}

.tech-comparison-item {
    flex: 1;
    text-align: center;
    padding: 5px 10px;
}

.comparison-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.comparison-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-value.text-danger {
    color: #ff5f6d !important;
}

.comparison-value.text-success {
    color: #00c853 !important;
}

/* Fees indicator */
.fees-indicator {
    margin-top: 15px;
}

.fees-comparison {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fees-item {
    display: flex;
    align-items: center;
}

.fees-bar {
    height: 10px;
    border-radius: 5px;
    margin-right: 10px;
}

.fees-old {
    width: 100%;
    background-color: #ff5f6d;
}

.fees-new {
    width: 30%;
    background-color: #00c853;
}

.fees-item span {
    font-size: 0.9rem;
    color: #555;
}

/* Savings Showcase */
.savings-showcase {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
}

.savings-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.savings-header {
    text-align: center;
    margin-bottom: 30px;
}

.savings-header h3 {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.savings-header p {
    color: #666;
}

.savings-comparison {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.comparison-item {
    background-color: #f7f9fc;
    border-radius: 15px;
    padding: 20px;
    width: 40%;
    text-align: center;
    transition: all 0.3s ease;
}

.traditional-lender {
    border-left: 4px solid #ff5f6d;
}

.traditional-lender:hover {
    box-shadow: 0 10px 20px rgba(255, 95, 109, 0.1);
    transform: translateY(-5px);
}

.gorealo-lender {
    border-left: 4px solid #00c853;
}

.gorealo-lender:hover {
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.1);
    transform: translateY(-5px);
}

.comparison-icon {
    margin-bottom: 15px;
    font-size: 2rem;
    color: #666;
}

.comparison-details h4 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.rate-display-static {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.traditional-lender .rate-display-static {
    color: #ff5f6d;
}

.gorealo-lender .rate-display-static {
    color: #00c853;
}

.cost-display {
    font-size: 1.2rem;
    font-weight: 600;
}

.label-small {
    font-size: 0.8rem;
    color: #888;
}

.vs-indicator {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 70, 229, 0.2);
}

.total-savings-callout {
    background: linear-gradient(135deg, #0046E5, #0A24A9);
    border-radius: 15px;
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 70, 229, 0.15);
}

.savings-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.savings-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.savings-icons {
    font-size: 1.5rem;
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.savings-cta .btn-green {
    box-shadow: 0 5px 20px rgba(0, 255, 65, 0.2);
}

/* Modern Testimonial Section */
.testimonials-section {
    position: relative;
    background-color: #f8faff;
    overflow: hidden;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 70, 229, 0.03);
    z-index: 1;
}

.testimonials-section::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 255, 65, 0.03);
    z-index: 1;
}

.testimonial-container {
    position: relative;
    z-index: 2;
}

/* Featured Testimonial Styles */
.featured-testimonial {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-testimonial {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.video-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
    transition: all 0.3s ease;
}

.video-testimonial:hover .video-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.2) 100%);
}

.testimonial-badge {
    background-color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.savings-highlight {
    font-size: 1.2rem;
    color: white;
    font-weight: 500;
}

.savings-number {
    color: var(--secondary-color);
    font-size: 1.6rem;
    font-weight: 700;
}

.play-btn-wrapper {
    position: relative;
    margin: 10px auto;
}

.play-btn {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: var(--white);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.5;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

.featured-quote {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: -20px;
    z-index: 3;
    border-left: 4px solid var(--primary-color);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.featured-quote p {
    font-style: italic;
    color: #444;
    margin-bottom: 0;
    padding-top: 10px;
}

/* Testimonial Tabs */
.testimonial-tabs {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-tabs:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-nav {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.testimonial-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-pills .nav-link {
    background-color: transparent;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.nav-pills .nav-link.active {
    background-color: transparent;
    border-color: var(--primary-color);
}

.selector-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.selector-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover .selector-img img {
    transform: scale(1.1);
}

/* Modern Testimonial Card */
.modern-testimonial-card {
    padding: 20px 0;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.customer-info h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.2rem;
}

.customer-info .location {
    color: #666;
    font-size: 0.9rem;
    margin: 5px 0 0;
}

.testimonial-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stars {
    color: #FFD700;
    font-size: 1rem;
    letter-spacing: 1px;
}

.testimonial-rating span {
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 3px;
}

.testimonial-body {
    position: relative;
    padding: 20px 0;
}

.quote-mark {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2rem;
    color: rgba(0, 70, 229, 0.1);
    line-height: 1;
}

.testimonial-body p {
    padding-left: 25px;
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-footer {
    margin-top: 20px;
}

.testimonial-metrics {
    display: flex;
    justify-content: space-between;
    background-color: #f7f9ff;
    border-radius: 10px;
    padding: 15px;
}

.metric {
    text-align: center;
    flex: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.metric-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Custom button for testimonials */
.btn-primary-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-outline i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 70, 229, 0.2);
}

.btn-primary-outline:hover i {
    transform: translateX(5px);
}

/* Success Stories Summary */
.success-stories-summary {
    position: relative;
    z-index: 2;
}

.summary-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.summary-header {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #0046E5, #0A24A9);
    color: white;
}

.summary-header h3 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: #ffffff;
}

.summary-header p {
    opacity: 0.9;
    margin-bottom: 0;
}

.customer-stories {
    padding: 0;
}

.story-col {
    border-right: 1px solid #eee;
}

.story-col:last-child {
    border-right: none;
}

.customer-story {
    padding: 20px;
}

.customer-photo {
    position: relative;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.customer-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.customer-photo:hover img {
    transform: scale(1.05);
}

.customer-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 70, 229, 0.8);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 30px;
}

.story-content h4 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.story-content .location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.story-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.story-metric {
    display: flex;
    align-items: center;
    background: #f7f9ff;
    padding: 10px 15px;
    border-radius: 8px;
}

.buying-power .metric-value {
    color: var(--primary-color);
}

.payment .metric-value {
    color: var(--secondary-color);
}

.metric-icon {
    background: rgba(0, 70, 229, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1rem;
    color: var(--primary-color);
}

.payment .metric-icon {
    background: rgba(0, 255, 65, 0.1);
    color: var(--secondary-color);
}

.story-metric .metric-value {
    font-weight: 700;
    font-size: 1rem;
    margin-right: 5px;
}

.story-metric .metric-label {
    font-size: 0.8rem;
    color: #666;
}

.summary-cta {
    text-align: center;
    padding: 30px;
    background: #f7f9ff;
}

.summary-cta .btn-blue {
    padding: 12px 30px;
    font-weight: 600;
}

/* ========================================
   Page Header & Breadcrumb Removal
   ======================================== */

/* Hide page headers and breadcrumbs as requested */
.breadcrumb-area,
.page-header,
.breadcrumb {
    display: none !important;
    visibility: hidden !important;
}

/* Updated gradient styling for breadcrumb - Hidden */
.breadcrumb-area {
    background: linear-gradient(135deg, rgba(0, 70, 229, 0.9) 0%, rgba(0, 232, 65, 0.3) 100%);
    padding: 30px 0;
    color: white;
    position: relative;
    overflow: hidden;
    display: none !important;
    visibility: hidden !important;
}

.breadcrumb-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 70, 229, 0.9) 0%, rgba(0, 232, 65, 0.2) 100%);
    z-index: 0;
}

.breadcrumb-area h1,
.breadcrumb-area .breadcrumb {
    position: relative;
    z-index: 1;
}

.breadcrumb-area h1 {
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* App-specific styling with blue-green gradients */
/* ========================================
   Realtor App Page Styles
   ======================================== */

/* App Hero Section */
.app-hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 70, 229, 0.95) 0%, rgba(0, 232, 65, 0.1) 100%);
    overflow: hidden;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.app-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

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

.app-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #00E841;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 4px;
}

.download-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.download-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: flex-start;
    margin-right: 16px;
    flex-shrink: 0;
    align-items: center;
    line-height: 1.2;
}

.download-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.download-badge i {
    font-size: 24px;
}

.download-badge .badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-badge .small-text {
    font-size: 0.75rem;
    opacity: 0.8;
}

.download-badge .big-text {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Realtor App Specific Styles */
.realtor-app-download-badge {
    position: relative;
}

.realtor-app-download-badge.realtor-app-downloading {
    transform: scale(0.95);
    opacity: 0.8;
}

.realtor-app-feature-card.realtor-app-hovering {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 70, 229, 0.15);
}

.realtor-app-floating-card {
    transition: all 0.3s ease;
}

.realtor-app-screen-nav-btn.realtor-app-clicking {
    transform: scale(0.95);
}

.realtor-app-cta-btn {
    transition: all 0.3s ease;
}

.realtor-app-animated {
    opacity: 1;
    transform: translateY(0);
}

.realtor-app-section {
    position: relative;
}

/* Realtor App Animation States */
.realtor-app-feature-card {
    transition: all 0.3s ease;
}

.realtor-app-testimonial-card {
    transition: all 0.3s ease;
}

.realtor-app-step-card {
    transition: all 0.3s ease;
}

/* App Device */
.app-device {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

/* Device Mockup */
.device-mockup {
    position: relative;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.app-device img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card i {
    color: #0046E5;
    font-size: 1.1rem;
}

.floating-card.card-1 {
    top: 15%;
    right: -20%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 45%;
    left: -25%;
    animation-delay: 1.5s;
}

.floating-card.card-3 {
    bottom: 20%;
    right: -15%;
    animation-delay: 3s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(0.5deg); }
}

/* App Screens Showcase */
.app-screens-showcase {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.screens-container {
    position: relative;
    min-height: 600px;
    margin-bottom: 60px;
}

.screen-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.screen-item.active {
    opacity: 1;
    visibility: visible;
}

.screen-mockup {
    flex: 0 0 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    max-width: 300px;
}

.screen-mockup img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.screen-mockup:hover img {
    transform: scale(1.05);
}

.screen-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 12px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.screen-overlay i {
    margin-right: 6px;
    color: #00E841;
}

.screen-info {
    flex: 1;
}

.screen-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.screen-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #555;
}

.feature-list i {
    color: #00E841;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.screen-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.screen-nav-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 120px;
}

.screen-nav-btn:hover {
    border-color: #0046E5;
    transform: translateY(-2px);
}

.screen-nav-btn.active {
    background: #0046E5;
    border-color: #0046E5;
    color: white;
}

.nav-number {
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.7;
}

.nav-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.screen-nav-btn.active .nav-number,
.screen-nav-btn.active .nav-label {
    opacity: 1;
}

/* Screens Container */
.screens-container {
    margin-bottom: 40px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0046E5, #00E841);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Step Cards */
.step-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0046E5, #00E841);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0046E5, #00E841);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(0, 70, 229, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0; }
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.step-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.accordion-item {
    border: none;
    margin-bottom: 16px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: white;
    border: none;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    border-radius: 12px !important;
    box-shadow: none !important;
    position: relative;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #0046E5, #00E841);
    color: white;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-body {
    padding: 20px 24px;
    background: white;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0046E5, #00E841);
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: #0046E5;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-white:hover {
    background: #f8f9fa;
    color: #0046E5;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-white:hover {
    background: white;
    color: #0046E5;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .app-hero {
        padding: 80px 0;
        min-height: auto;
    }
    
    .app-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .screen-item {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .screen-mockup {
        flex: none;
    }
    
    .floating-card {
        display: none;
    }
    
    .screen-navigation {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 30px;
    }
    
    .screen-nav-btn {
        min-width: 100px;
        padding: 12px 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(0);
    }
    
    .screen-nav-btn:hover {
        box-shadow: 0 4px 12px rgba(0, 70, 229, 0.2);
        transform: translateY(-2px);
    }
    
    .screen-nav-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .screens-container {
        min-height: auto;
    }
    
    .screen-info h3 {
        font-size: 1.5rem;
    }
    
    .feature-list {
        font-size: 0.9rem;
    }
    
    .screen-mockup {
        min-height: auto;
        max-width: 250px;
    }
    
    .screen-navigation {
        gap: 8px;
        margin-top: 20px;
    }
    
    .screen-nav-btn {
        min-width: 80px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .download-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .download-badge {
        margin-right: 0;
        margin-top: 8px;
        min-width: 180px;
    }
    
    .app-hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Blog Styles */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 30px;
    height: 100%;
    border: none !important;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.blog-card .card-img-top {
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.post-meta {
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.post-meta i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 4px;
}

.post-category {
    color: var(--primary-color);
    font-weight: 600;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-text {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ========================================
   Button Styles
   ======================================== */

/* Primary Blue Button */
.btn-primary-blue {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    min-height: 44px; /* Accessibility: minimum touch target */
}

.btn-primary-blue i {
    margin-left: 8px;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary-blue:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 70, 229, 0.25);
    text-decoration: none;
}

.btn-primary-blue:hover i {
    transform: translateX(3px);
}

.btn-primary-blue:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 70, 229, 0.2);
}

/* Outline Primary Blue Button */
.btn-outline-primary-blue {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    text-decoration: none;
    cursor: pointer;
    min-height: 44px; /* Accessibility: minimum touch target */
}

.btn-outline-primary-blue:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 70, 229, 0.2);
    text-decoration: none;
}

.btn-outline-primary-blue:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 70, 229, 0.2);
}

/* Button Size Variations */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    min-height: 36px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-height: 52px;
}

/* Responsive Button Adjustments */
@media (max-width: 768px) {
    .btn-primary-blue,
    .btn-outline-primary-blue {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

.post-author {
    display: flex;
    align-items: center;
}

.post-author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.post-author:hover img {
    transform: scale(1.1);
}

.post-author span {
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Blog Details Page */
.blog-details .featured-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-details .post-meta {
    margin: 1.5rem 0;
}

.blog-details h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.blog-details h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: var(--text-dark);
}

.blog-details p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.2rem;
}

.blog-details ul, .blog-details ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-details li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
    color: #444;
}

.blog-details blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    background-color: rgba(0, 70, 229, 0.05);
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.blog-details blockquote p {
    font-style: italic;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.author-bio {
    background-color: white !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    margin: 3rem 0 2rem;
}

.author-bio img {
    border: 3px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.share-buttons h5 {
    margin-right: 15px;
    margin-bottom: 0;
    font-weight: 600;
}

/* Blog Sidebar */
.sidebar .widget {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.widget-title h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.search-box .form-control {
    border: 2px solid #eee;
    border-radius: 50px 0 0 50px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.search-box .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-box .btn {
    border-radius: 0 50px 50px 0;
    padding: 0 20px;
}

.widget-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 10px;
}

.widget-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 5px 0;
}

.widget-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.testimonial-widget .testimonial-item {
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.testimonial-widget .testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.rating {
    display: flex;
    margin-bottom: 5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags a {
    background-color: #f5f5f5;
    color: #555;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Blog Categories Page */
.category-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

/* Blog Search Results */
.search-result-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.search-result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.search-form .input-group {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    overflow: hidden;
}

.search-form .form-control {
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
}

.search-form .btn {
    padding: 0 30px;
    font-size: 1.1rem;
}

/* Author Pages */
.author-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.author-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.author-card:hover img {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.social-links .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== TESTIMONIALS PAGE STYLES ===== */

/* Google Rating Summary */
.google-rating-summary {
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-rating-summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.rating-stars {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.rating-score {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

/* Google Review Cards */
.google-review-style {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.google-review-style:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: #e0e0e0;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

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

.reviewer-info {
    flex-grow: 1;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.verified-badge {
    color: #1a73e8;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.review-source {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #666;
}

.source-icon {
    height: 16px;
    margin-right: 0.5rem;
}

.review-body {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
}

.rating i {
    font-size: 1rem;
}

.review-text {
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.review-date {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.review-footer {
    display: flex;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.helpful-btn,
.share-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #666;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
}

.helpful-btn:hover,
.share-btn:hover {
    color: #1a73e8;
}

/* Realtor Testimonial Cards */
.realtor-testimonial-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
}

.realtor-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: #e0e0e0;
}

.realtor-image {
    position: relative;
    overflow: hidden;
}

.realtor-image img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realtor-testimonial-card:hover .realtor-image img {
    transform: scale(1.05);
}

.quote-mark {
    font-size: 3.5rem !important;
    opacity: 0.1 !important;
    z-index: 1;
    top: 20px !important;
    right: 20px !important;
}

.realtor-info h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.realtor-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Video Testimonial */
.video-testimonial {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-testimonial:hover {
    transform: scale(1.02);
}

.play-button a {
    display: inline-block;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.play-button a:hover {
    transform: scale(1.1);
}

.play-button i {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Testimonial Form */
.testimonial-form {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.testimonial-form .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 70, 229, 0.1);
}

.testimonial-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.rating-input .form-check-label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s ease;
}

.rating-input .form-check-input:checked ~ .form-check-label,
.rating-input .form-check-label:hover {
    color: #ffc107;
}

/* Rating Breakdown */
.rating-breakdown {
    font-size: 0.9rem;
}

.rating-breakdown .progress {
    background-color: #f8f9fa;
    height: 8px;
}

/* Stats Cards */
.stat-card {
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Responsive Design for Testimonials */
@media (max-width: 991px) {
    .realtor-testimonial-card .row {
        flex-direction: column;
    }
    
    .realtor-image {
        height: 250px;
        width: 100%;
    }
    
    .quote-mark {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 767px) {
    .google-rating-summary {
        min-width: auto;
        margin-bottom: 2rem;
    }
    
    .rating-breakdown {
        margin-bottom: 1rem;
    }
    
    .review-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .realtor-image {
        height: 200px;
    }
    
    .stat-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .google-review-style {
        padding: 1rem;
    }
    
    .reviewer-image {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-form {
        padding: 1.5rem !important;
    }
    
    .rating-input {
        justify-content: center;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.helpful-btn:focus,
.share-btn:focus,
.play-button a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

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