/* Responsive logo in hero section */
.responsive-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-logo-img {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(177, 30, 35, 0.4));
    transition: max-width 0.3s;
}

/* ========================================
   COLORS General Contracting - Premium Design
   Brand Colors: Teal/Cyan Gradient with Dark Theme
   Brand Colors: Burgundy/Black Gradient with Dark Theme
   ======================================== */

:root {
    /* Brand Colors - PSO Premium Service (Burgundy & Black) */
    --primary-color: #B11E23;
    --primary-dark: #8b181c;
    --primary-light: #d42027;
    --secondary-color: #1a1a1a;
    --secondary-dark: #0a0a0a;
    --accent-color: #e62e35;
    --accent-glow: rgba(177, 30, 35, 0.3);

    /* Dark Theme Colors */
    --dark-bg: #0a0a0a;
    --dark-surface: #121212;
    --dark-card: #181818;
    --dark-border: rgba(177, 30, 35, 0.2);

    /* Text Colors */
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: #1a1a1a;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #B11E23 0%, #7a1418 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-glow: linear-gradient(135deg, rgba(177, 30, 35, 0.1), rgba(26, 26, 26, 0.1));

    --light-color: #f8fafc;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body, button, input, optgroup, select, textarea {
    font-family: 'Cairo', sans-serif;
}

.fa, .fas, .far, .fal, .fad, .fab, [class^="fa-"], [class*=" fa-"],
.fa::before, .fas::before, .far::before, .fal::before, .fad::before, .fab::before {
    font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
}
.fab, .fab::before {
    font-family: "Font Awesome 6 Brands" !important;
}

html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    background-color: var(--light-color);
}

.main-content {
    padding-top: 76px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

section, footer, .hero-section, .stats-section, .page-header {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

img, svg, video, iframe {
    max-width: 100%;
    height: auto;
}

/* ========================================
   NAVBAR - Glassmorphism Style
   ======================================== */
.navbar {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-surface)) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.navbar-brand img {
    height: 45px;
    margin-right: 10px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.navbar .nav-link {
    color: var(--text-muted) !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link:hover {
    color: var(--primary-light) !important;
    text-shadow: 0 0 15px var(--accent-glow);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
    width: 80%;
}

/* ========================================
   HERO SECTION - Premium Dark Design
   ======================================== */
.hero-section {
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Animated Background Lines */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 50px,
            rgba(177, 30, 35, 0.03) 50px,
            rgba(177, 30, 35, 0.03) 100px);
    animation: moveLines 20s linear infinite;
}

/* Glowing Orbs */
.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 26, 26, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes moveLines {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
}

.hero-section .lead {
    font-size: 1.4rem;
    color: var(--text-muted);
}

/* ========================================
   SECTION STYLING
   ======================================== */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ========================================
   SERVICE CARDS - Glassmorphism
   ======================================== */
.service-card {
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 100%;
    background: white;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(177, 30, 35, 0.2);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .icon-box {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 10px 30px rgba(177, 30, 35, 0.3);
    transition: all 0.4s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(177, 30, 35, 0.4);
}

/* ========================================
   CAR CARDS - Modern Hover Effects
   ======================================== */
.car-card,
.project-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    border: 1px solid rgba(177, 30, 35, 0.1);
    display: flex;
    flex-direction: column;
}

.car-card::before,
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 70px; /* Leave button area clean */
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.car-card:hover,
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(177, 30, 35, 0.15);
    border-color: var(--primary-color);
}

.car-card img,
.project-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-card:hover img,
.project-card:hover img {
    transform: scale(1.08);
}

.car-card .overlay,
.project-card .overlay {
    position: absolute;
    bottom: 70px; /* Position strictly above the button */
    left: 0;
    right: 0;
    background: transparent;
    color: white;
    padding: 1rem 1.2rem;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.car-card .overlay h5,
.project-card .overlay h5 {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.car-card .overlay small,
.project-card .overlay small {
    color: rgba(255,255,255,0.9) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    font-weight: 600;
    background: rgba(177, 30, 35, 0.85);
    padding: 3px 10px;
    border-radius: 20px;
}

.car-card .border-top {
    border-top: none !important;
    background: #ffffff;
    padding: 15px !important;
    margin-top: auto;
    z-index: 3; /* Keep button clickable and on top */
    position: relative;
}

.car-card .btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(177, 30, 35, 0.25);
    transition: all 0.3s ease;
    color: #ffffff !important;
}

.car-card .btn-primary:hover {
    background: linear-gradient(135deg, #d42027 0%, #B11E23 100%);
    box-shadow: 0 6px 20px rgba(177, 30, 35, 0.4);
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* ========================================
   STATS SECTION - Glowing Design
   ======================================== */
.stats-section {
    background: var(--dark-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(177, 30, 35, 0.2) 0%, transparent 70%);
    left: -100px;
    top: -100px;
}

.stats-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 26, 26, 0.2) 0%, transparent 70%);
    right: -100px;
    bottom: -100px;
}

.stat-item {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background: var(--gradient-glow);
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(177, 30, 35, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(177, 30, 35, 0.2);
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   ABOUT SECTION - Feature Cards
   ======================================== */
.about-feature {
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    background: white;
    border: 1px solid rgba(177, 30, 35, 0.1);
}

.about-feature:hover {
    background: var(--gradient-glow);
    box-shadow: 0 15px 40px rgba(177, 30, 35, 0.15);
    transform: translateY(-5px);
}

.about-feature i {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(177, 30, 35, 0.3);
    transition: all 0.4s ease;
}

.about-feature:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* ========================================
   CONTACT FORM - Premium Design
   ======================================== */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(177, 30, 35, 0.1);
}

.contact-form .form-control {
    border-radius: 12px;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(177, 30, 35, 0.1);
}

.contact-info-card {
    background: var(--dark-bg);
    color: white;
    padding: 2.5rem;
    border-radius: 25px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(177, 30, 35, 0.2) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(26, 26, 26, 0.15) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    left: 40px;
    background: linear-gradient(135deg, #B11E23, #8b181c);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(177, 30, 35, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: whatsapp-pulse 2s infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus,
.whatsapp-float:active {
    color: white;
    text-decoration: none !important;
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(177, 30, 35, 0.5);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(177, 30, 35, 0.5);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(177, 30, 35, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(177, 30, 35, 0);
    }
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(177, 30, 35, 0.3), rgba(177, 30, 35, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ========================================
   BUTTONS - Gradient Style
   ======================================== */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(177, 30, 35, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(177, 30, 35, 0.4);
    background: var(--gradient-primary);
}

.btn-accent {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(177, 30, 35, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(177, 30, 35, 0.4);
    color: white;
}

.btn-outline-light {
    border-radius: 12px;
    border-width: 2px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    background: var(--dark-bg);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(177, 30, 35, 0.15) 0%, transparent 70%);
    right: -200px;
    top: -200px;
}

.page-header::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 26, 26, 0.1) 0%, transparent 70%);
    left: -150px;
    bottom: -150px;
}

.page-header h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991.98px) {
    .hero-logo-img {
        max-width: 220px;
        margin: 24px auto 0 auto;
        display: block;
    }
    .responsive-logo {
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    /* Prevent AOS horizontal animations from overflowing screen on mobile */
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: translate3d(0, 20px, 0) !important;
        opacity: 0;
        transition-property: transform, opacity !important;
    }
    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate {
        transform: translate3d(0, 0, 0) !important;
        opacity: 1;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .stat-item h2 {
        font-size: 2rem;
    }
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    .service-card .icon-box {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    .about-feature {
        padding: 15px 12px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }
    .navbar .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .brand-logo {
        height: 38px !important;
    }
    .navbar-brand {
        font-size: 1rem !important;
        max-width: calc(100% - 55px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .navbar-toggler {
        padding: 4px 8px !important;
        font-size: 0.9rem !important;
    }
    .main-content {
        padding-top: 60px;
    }
    .hero-section {
        padding: 80px 0 40px;
    }
    .hero-section h1 {
        font-size: 1.6rem;
    }
    .hero-section .lead {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .about-feature h6 {
        font-size: 0.9rem;
    }
    .about-feature small {
        font-size: 0.75rem;
    }
    .stat-item h2 {
        font-size: 1.6rem;
    }
    .page-header h1 {
        font-size: 1.4rem;
    }
    .car-card .btn-sm {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    .car-card .overlay h5 {
        font-size: 1rem;
    }
    .card-body {
        padding: 16px;
    }
}

/* ========================================
   FILTER BUTTONS
   ======================================== */
.filter-btn {
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
    border: 2px solid var(--dark-border);
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(177, 30, 35, 0.3);
}

.filter-btn:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* ========================================
   TESTIMONIALS - Premium Cards
   ======================================== */
.testimonial-card {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(177, 30, 35, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    font-family: Georgia, serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(177, 30, 35, 0.15);
}

.testimonial-card .stars {
    color: #B11E23;
}

/* ========================================
   FOOTER - Dark Premium
   ======================================== */
footer.bg-dark {
    background: var(--dark-bg) !important;
    position: relative;
    overflow: hidden;
}

footer.bg-dark::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(177, 30, 35, 0.08) 0%, transparent 70%);
    right: -200px;
    top: -200px;
}

footer h5,
footer h6 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer .social-links a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gradient-glow);
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
    margin: 0 5px;
}

footer .social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(177, 30, 35, 0.3);
}

/* ========================================
   CARDS DARK MODE VARIANT
   ======================================== */
.card-dark {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    color: white;
}

/* ========================================
   SCROLLBAR CUSTOM STYLE
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ========================================
   SELECTION STYLE
   ======================================== */
::selection {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   LINK STYLING
   ======================================== */
a {
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* ========================================
   FORM ELEMENTS
   ======================================== */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(177, 30, 35, 0.15);
}

/* ========================================
   BADGE STYLING
   ======================================== */
.badge-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
}

/* ========================================
   LOADING ANIMATION
   ======================================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(177, 30, 35, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   HOVER GLOW EFFECT
   ======================================== */
.glow-effect {
    transition: all 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(177, 30, 35, 0.4);
}

/* ========================================
   LOGO STYLING
   ======================================== */
.brand-logo {
    height: 50px;
    filter: drop-shadow(0 0 8px rgba(177, 30, 35, 0.3));
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: drop-shadow(0 0 15px rgba(177, 30, 35, 0.5));
    transform: scale(1.05);
}

/* ========================================
   TEXT GRADIENT UTILITY
   ======================================== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   BG UTILITIES
   ======================================== */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-dark-theme {
    background: var(--dark-bg);
}

.bg-dark-surface {
    background: var(--dark-surface);
}

/* Button Outline Primary Override */
.btn-outline-primary {
    color: var(--primary-dark);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(177, 30, 35, 0.3);
}

/* ========================================
   PARTNERS SECTION - INFINITE MARQUEE
   ======================================== */
.partners-section {
    background: #fafafa;
    position: relative;
    border-top: 1px solid rgba(177, 30, 35, 0.08);
    border-bottom: 1px solid rgba(177, 30, 35, 0.08);
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

.partners-marquee-container {
    width: 100%;
    overflow: hidden !important;
    position: relative;
    padding: 10px 0 20px 0;
}

.partners-marquee {
    display: flex;
    width: 100%;
    overflow: hidden !important;
    user-select: none;
    direction: ltr !important;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
    will-change: transform;
    animation: partnersMarqueeScroll 35s linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partnersMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.partner-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    height: 85px;
    width: 170px;
    min-width: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(177, 30, 35, 0.35);
    box-shadow: 0 10px 25px rgba(177, 30, 35, 0.12);
}

.partner-logo-img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(15%);
    transition: all 0.35s ease;
}

.partner-card:hover .partner-logo-img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

@media (max-width: 576px) {
    .partner-card {
        height: 68px;
        width: 130px;
        min-width: 130px;
        padding: 8px 12px;
        border-radius: 12px;
    }
    .partner-logo-img {
        max-height: 36px;
    }
    .partners-track {
        gap: 14px;
        animation-duration: 25s;
    }
}