/* =========================================
   1. GLOBAL VARIABLES & RESET
========================================= */
:root {
    --brand-color: #DC2626;      /* Racing Red */
    --brand-dark: #991B1B;       /* Dark Red */
    --brand-light: #FEE2E2;      /* Very Light Red */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
body {
    font-family: var(--font-sans);
    color: #1f2937;
    background-color: #fff;
    overflow-x: hidden;
}

/* Font Families */
.font-heading { font-family: var(--font-heading); }

/* Spacing Utilities for "Professional" look */
.py-lg-6 { padding-top: 6rem; padding-bottom: 6rem; }
.letter-spacing-2 { letter-spacing: 2px; }
 
/* =========================================
   2. CUSTOM UTILITIES
========================================= */
.text-brand { color: var(--brand-color) !important; }
.bg-brand-light { background-color: var(--brand-light) !important; }
.hover-text-brand:hover { color: var(--brand-color) !important; transition: 0.3s; }

.text-gradient {
    background: linear-gradient(135deg, var(--brand-color) 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-brand {
    background-color: var(--brand-color);
    border: 1px solid var(--brand-color);
    transition: all 0.3s ease;
}
.btn-brand:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
}
.btn-white { background: #fff; border: 1px solid #eee; }
.btn-white:hover { background: var(--brand-color); color: #fff !important; border-color: var(--brand-color); }

/* Shadows */
.shadow-glow { box-shadow: 0 10px 40px -10px rgba(220, 38, 38, 0.4); }
.shadow-hover { transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.shadow-hover:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* =========================================
   3. COMPONENT STYLING
========================================= */
/* Navbar */
.blur-bg {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.brand-icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--brand-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero & Blobs */
.hero-section .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}
.blob-1 { top: -10%; left: 20%; width: 600px; height: 600px; background-color: rgba(220, 38, 38, 0.04); }
.blob-2 { bottom: -10%; right: 0; width: 500px; height: 500px; background-color: rgba(255, 166, 0, 0.05); }

/* Animations */
@keyframes float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -15px); } }
@keyframes float-delay { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delay { animation: float-delay 6s ease-in-out 3s infinite; }

.icon-sq { width: 50px; height: 50px; }
.icon-sm { width: 32px; height: 32px; font-size: 0.8rem; }
.backdrop-blur { backdrop-filter: blur(8px); }

/* Services */
.service-card .number-bg {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 6rem;
    font-weight: 900;
    color: #f3f4f6;
    z-index: 1;
    line-height: 1;
    transition: color 0.3s;
}
.service-card:hover .number-bg { color: rgba(220, 38, 38, 0.05); }
.service-card .icon-box { width: 70px; height: 70px; transition: 0.3s; }
.service-card:hover .icon-box { background-color: var(--brand-color) !important; color: white !important; }

/* =========================================
   NEW PREMIUM STYLES (Testimonial & Book)
========================================= */

/* Testimonial Cards */
.review-card {
    transition: all 0.4s ease;
    border-left: 4px solid transparent !important; /* Invisible border initially */
    background: #fff;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-left: 4px solid var(--brand-color) !important; /* Red accent on hover */
}

/* =========================================
   6. BOOKING SECTION STYLES
========================================= */

/* Background Effects */
.bg-gradient-dark-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
}
.opacity-20 { opacity: 0.2; }
.blur-max { filter: blur(100px); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Icons on the left */
.icon-circle-glass {
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* The Main Form Card */
.booking-glass-card {
    background: rgba(255, 255, 255, 0.95); /* Nearly solid white for contrast */
    backdrop-filter: blur(20px);
}

/* Service Selection Radio Buttons */
.service-radio input {
    display: none; /* Hide default radio */
}

.service-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.5rem;
    background-color: #f8f9fa; /* Light Gray */
    border: 2px solid transparent;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-option-card i {
    transition: transform 0.2s;
}

/* Hover State */
.service-radio:hover .service-option-card {
    background-color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.service-radio:hover .service-option-card i {
    transform: scale(1.1);
    color: var(--brand-color);
}

/* Checked/Selected State */
.service-radio input:checked + .service-option-card {
    background-color: #FEF2F2; /* Light Brand Red */
    border-color: var(--brand-color);
    color: var(--brand-color);
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.1);
}

/* Form Inputs Focus */
.form-floating > .form-control:focus {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}
.form-floating > .form-control:focus ~ label {
    color: var(--brand-color);
}
  
/* =========================================
   SPACING & SECTIONS
========================================= */
/* Fix for "gap is very less" - Forces ~100px top and bottom */
.section-gap {
    padding-top: 6rem;    /* 96px */
    padding-bottom: 6rem; /* 96px */
}

/* =========================================
   PREMIUM SERVICE CARDS (6 Grid Layout)
========================================= */
.service-card {
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 1;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border-color: rgba(220, 38, 38, 0.1);
}

/* Large Number Background */
.service-card .number-bg {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 5rem;
    font-weight: 800;
    color: #f3f4f6;
    z-index: -1;
    line-height: 1;
    transition: color 0.3s;
    opacity: 0.5;
}
.service-card:hover .number-bg { 
    color: rgba(220, 38, 38, 0.05); 
}

/* Icon Box Animation */
.service-card .icon-box { 
    width: 65px; 
    height: 65px; 
    transition: all 0.3s ease;
    background-color: #F9FAFB; /* Gray-50 */
}

.service-card:hover .icon-box { 
    background-color: var(--brand-color) !important; 
    color: white !important; 
    transform: rotateY(180deg); /* 3D flip effect */
}
/* Fix icon rotation so inner icon stays visible */
.service-card:hover .icon-box i {
    transform: rotateY(-180deg); 
    display: inline-block;
}

/* Link Arrow Animation */
.service-link i { transition: transform 0.3s; }
.service-card:hover .service-link i { transform: translateX(5px); color: var(--brand-color); }
/* =========================================
   7. TESTIMONIAL CAROUSEL STYLES
========================================= */

/* Vertical Border on Desktop only */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(0,0,0,0.1);
    }
}

/* Custom Navigation Buttons */
.btn-custom-nav {
    width: 55px;
    height: 55px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-custom-nav:hover {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(220, 38, 38, 0.3);
}

.btn-custom-nav:active {
    transform: translateY(0);
}

/* Ensure images don't stretch */
.object-fit-cover {
    object-fit: cover;
}

/* =========================================
   7. PREMIUM TESTIMONIAL STYLES
========================================= */

/* Modern Navigation Buttons */
.btn-nav-modern {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.btn-nav-modern:hover {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.2);
}
.new-card{
    background-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4); 
    transition: all 0.4s ease;
}
.btn-nav-modern:active {
    transform: translateY(0);
}

/* Ensure Shadows are soft and premium */
.shadow-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01) !important;
}

/* Typography Tweaks */
.opacity-10 { opacity: 0.1; }
.lh-1 { line-height: 1; }
/* Form Validation Styles */
.was-validated .form-control:invalid {
    border: 1px solid #dc3545 !important; /* Red border */
    background-image: none !important; /* Remove default browser icon */
}
.was-validated .form-control:valid {
    border: 1px solid #198754 !important; /* Green border */
}