/* Custom CSS for Bennaim Law Group */

:root {
    --primary-color: #000050;
    --secondary-color: #f0a030;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --section-color: #5588bb;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.text-primary-color {
    color: var(--section-color);
}

.text-secondary-color {
    color: var(--secondary-color);
}

.custom-dark-blue-icon {
    color: #1a3a5f !important;
}

.small-title {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Logo Styles - Recreating Original Design */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Changed from flex-start to center */
    text-align: center;
    /* Added for text alignment */
    width: 100%;
    /* Ensure full width for centering */
}

.firm-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #f0a030 0%, #e6c9a0 25%, #d4b78a 50%, #b8945e 75%, #9c7a4b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    letter-spacing: 0.5px;
    width: 100%;
    /* Full width for proper centering */
}

.gold-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 4px 0;
    width: 100%;
    align-items: center;
}

.gold-line {
    height: 2px;
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.gold-line:first-child {
    width: 80%;
    background: linear-gradient(90deg,
            transparent 0%,
            #f0a030 15%,
            #e6c9a0 50%,
            #b8945e 85%,
            transparent 100%);
}

.gold-line:last-child {
    width: 80%;
    background: linear-gradient(90deg,
            transparent 0%,
            #f0a030 15%,
            #e6c9a0 50%,
            #b8945e 85%,
            transparent 100%);
}

.firm-subtitle {
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    font-weight: normal;
    background: linear-gradient(135deg, #f0a030 0%, #e6c9a0 25%, #d4b78a 50%, #b8945e 75%, #9c7a4b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
    /* Full width for proper centering */
}

/* Logo hover effects */
.navbar-brand:hover .firm-name,
.navbar-brand:hover .firm-subtitle {
    background: linear-gradient(135deg, #d4b78a 0%, #f0d9b5 25%, #e6c9a0 50%, #f0a030 75%, #b8945e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand:hover .gold-line {
    background: linear-gradient(90deg, #d4b78a 0%, #f0d9b5 50%, #f0a030 100%);
}

/* Header & Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Custom Navbar Styles - Matching Original Website */
.custom-navbar {
    background-color: #0c0c0c !important;
    background: linear-gradient(135deg, #0c0c20 0%, #1a1a50 50%, #0c0c20 100%);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #222;
}

/* Navbar links styling */
.custom-navbar .navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 12px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.custom-navbar .navbar-nav .nav-link:hover {
    color: #f0a030 !important;
    background-color: rgba(200, 169, 126, 0.1);
}

.custom-navbar .navbar-nav .nav-link.active {
    color: #f0a030 !important;
    background-color: rgba(200, 169, 126, 0.15);
}

/* Add gold underline for active link */
.custom-navbar .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, #f0a030, #e6c9a0, #f0a030);
    border-radius: 1px;
}

/* Navbar toggler icon */
.custom-navbar .navbar-toggler {
    border: 1px solid #444;
    padding: 4px 8px;
}

.custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.custom-navbar .navbar-toggler:hover {
    border-color: #f0a030;
    background-color: rgba(200, 169, 126, 0.1);
}

/* Update primary button to match gold theme */
.btn-primary {
    background: linear-gradient(135deg, #f0a030 0%, #d4b78a 50%, #b8945e 100%);
    border: none;
    color: #1a1a1a;
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d4b78a 0%, #e6c9a0 50%, #f0a030 100%);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 169, 126, 0.3);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: #1a1a1a !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 95, 0.4);
    /* Reduced opacity to show more of the video */
    z-index: -1;
}

/* Color correction overlay to remove blue tint */
.color-correction {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 240, 200, 0.1);
    /* Warm overlay to counteract blue */
    mix-blend-mode: overlay;
    z-index: -1;
}

/* Girl Image Overlay */
.girl-image-container {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    z-index: 1;
}

.girl-image {
    width: 60%;
    height: 90%;
    background-image: url('');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    filter: drop-shadow(-10px 0px 20px rgba(0, 0, 0, 0.3));
    transform: translateX(-20px);
    /* Fine-tune positioning */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    position: relative;
    z-index: 2;
}

.btn-outline-light:hover {
    color: var(--primary-color);
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--section-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.bg-light .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.bg-dark .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Why Us Section */

.parallax-bg {
    /* 1. Set your image URL */
    background-image: url('../images/blg3.jpg');

    /* 2. Key to the parallax effect: Fix the background relative to the viewport */
    background-attachment: fixed;

    /* 3. Ensure the image covers the entire container */
    background-size: cover;

    /* 4. Center the image */
    background-position: center;

    /* 5. Ensure the section is tall enough to allow for scrolling */
    min-height: 600px;
    /* Adjust height as needed */

    /* 6. Add position: relative to make child elements position correctly */
    position: relative;
}

/* Optional: Add a subtle overlay for better text readability */
.parallax-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    /* Dark transparent background */

    /* Make the overlay cover the entire parallax-bg section */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* About Section */
.about-image-placeholder {
    height: 400px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.about-image-placeholder i {
    font-size: 100px;
    color: var(--primary-color);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-img-wrapper {
    overflow: hidden;
}

.card-img-top {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Practice Areas */
.practice-area-icon {
    height: 200px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.practice-area-icon i {
    font-size: 60px;
    color: var(--primary-color);
}

.bi-custom-icon {
    color: var(--secondary-color);
}

/* Attorneys Section */
.attorney-card {
    transition: all 0.3s ease;
}

.attorney-image-placeholder {
    width: 200px;
    height: 200px;
    background: #e9ecef;
    border-radius: 50%;
    margin-top: 1.5rem;
}

.attorney-image-placeholder i {
    font-size: 80px;
    color: var(--primary-color);
}

/* Testimonials */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-image-placeholder {
    width: 80px;
    height: 80px;
    background: #e9ecef;
}

.testimonial-image-placeholder i {
    font-size: 30px;
    color: var(--primary-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Contact Form */
.contact-form-container {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.form-control,
.form-select {
    padding: 12px 15px;
    border: 1px solid #e1e5eb;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 95, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark-color) !important;
}

footer h5 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .logo-container {
        gap: 8px;
    }

    .firm-name {
        font-size: 18px;
    }

    .firm-subtitle {
        font-size: 11px;
        letter-spacing: 0.6px;
    }

    .main-logo {
        height: 38px;
    }

    .gold-line {
        height: 1.5px;
    }

    /* Reset all desktop positioning for mobile */
    .girl-image-container {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 2rem;
    }

    .girl-image {
        width: 70%;
        height: 100%;
        background-position: center center !important;
        transform: none !important;
        background-size: contain;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: 250px;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }

    /* Adjust hero layout for mobile */
    .hero-section .container .row {
        text-align: center;
    }

    .page-header-section {
        min-height: 350px;
        margin-top: 70px;
    }

    .page-header-title {
        font-size: 2.5rem;
    }

    .page-header-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .page-header-content {
        padding: 60px 0 40px;
    }

    /* Disable fixed background on mobile */
    .page-header-background {
        background-attachment: scroll;
    }

    .parallax-bg {
        /* This overrides the 'fixed' attachment for smaller screens */
        background-attachment: scroll !important; 
        /* or just background-attachment: scroll; if you don't need !important */
        
        /* You can optionally adjust the height for mobile if needed */
        /* min-height: 400px; */ 
    }

    .steps-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .step {
        min-width: 70px;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .steps-container::before {
        top: 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-navigation .btn {
        width: 100%;
    }
    
    .btn-group .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .cookie-consent-banner {
        padding: 15px 0;
    }
    
    .cookie-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        min-width: auto;
    }
}

/* Responsive Adjustments for Girl Image */
@media (max-width: 1200px) {
    .firm-name {
        font-size: 22px;
    }

    .firm-subtitle {
        font-size: 13px;
    }

    .main-logo {
        height: 45px;
    }

    .girl-image {
        width: 70%;
        transform: translateX(-15px);
    }
}

@media (max-width: 992px) {

    .logo-container {
        gap: 10px;
    }

    .firm-name {
        font-size: 20px;
    }

    .firm-subtitle {
        font-size: 12px;
        letter-spacing: 0.8px;
    }

    .main-logo {
        height: 42px;
    }

    .gold-lines {
        margin: 3px 0;
    }

    .girl-image-container {
        right: 25%;
        width: 75%;
    }

    .girl-image {
        width: 70%;
        transform: translateX(-15px);
    }

    .navbar-collapse {
        background-color: white;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;
    }

    .custom-navbar .navbar-collapse {
        background: linear-gradient(135deg, #061388 0%, #000000 100%) !important;
        padding: 20px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
        border: 1px solid #333;
    }

    .custom-navbar .navbar-nav .nav-link {
        color: #ffffff !important;
        margin: 8px 0;
        padding: 12px 20px;
        text-align: center;
        border-radius: 4px;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .custom-navbar .navbar-nav .nav-link:hover {
        color: var(--secondary-color) !important;
        background-color: rgba(200, 169, 126, 0.1);
    }

    .custom-navbar .navbar-nav .nav-link.active {
        color: var(--secondary-color) !important;
        background-color: rgba(200, 169, 126, 0.15);
    }

    /* Hide desktop active underline on mobile */
    .custom-navbar .navbar-nav .nav-link.active::after {
        display: none;
    }

    /* Mobile menu toggle button */
    .custom-navbar .navbar-toggler {
        border: 1px solid #444;
        background: rgba(255, 255, 255, 0.1);
        padding: 4px 8px;
    }

    .custom-navbar .navbar-toggler:hover {
        border-color: var(--secondary-color);
        background: rgba(200, 169, 126, 0.1);
    }

    .custom-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 2px rgba(200, 169, 126, 0.3);
    }

    /* Consultation button in mobile menu */
    .custom-navbar .btn-primary {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-top: 250px;
        margin-bottom: 1rem;
    }

    .attorney-image-placeholder {
        width: 150px;
        height: 150px;
    }

    .attorney-image-placeholder i {
        font-size: 60px;
    }
}

@media (max-width: 576px) {

    .logo-container {
        gap: 6px;
    }

    .firm-name {
        font-size: 16px;
    }

    .firm-subtitle {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .main-logo {
        height: 35px;
    }

    .gold-lines {
        gap: 2px;
        margin: 2px 0;
    }

    /* Further adjust girl image for small mobile */
    .girl-image-container {
        height: 250px;
        margin-top: 1.5rem;
    }

    .girl-image {
        width: 85%;
    }

    .custom-navbar .navbar-collapse {
        padding: 15px;
        margin-top: 8px;
    }

    .custom-navbar .navbar-nav .nav-link {
        padding: 10px 15px;
        margin: 5px 0;
        font-size: 0.95rem;
    }

    section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-top: 250px;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 30px 20px !important;
    }

    .contact-form-container {
        padding: 30px 20px !important;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .about-image-placeholder i {
        font-size: 80px;
    }

    .page-header-section {
        min-height: 300px;
        margin-top: 65px;
    }

    .page-header-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .page-header-subtitle {
        font-size: 1rem;
    }

    .page-header-content {
        padding: 50px 0 30px;
    }

    .page-header-divider {
        margin: 1.5rem auto;
    }

     .contact-form-container {
        padding: 1.5rem !important;
    }
    
    .step {
        min-width: 60px;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .steps-container::before {
        top: 17px;
    }
}

/* Page Header Section with Background Image */
.page-header-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    margin-top: 76px;
    /* Account for fixed navbar */
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.8;
    filter: brightness(0.8) contrast(1.2);
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 80px 0 60px;
}

.page-header-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f7b04d 50%, #b8945e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-header-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #e6c9a0, var(--secondary-color));
    margin: 2rem auto;
    border-radius: 2px;
    position: relative;
}

.page-header-divider::before,
.page-header-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--secondary-color);
    opacity: 0.6;
}

.page-header-divider::before {
    left: -30px;
}

.page-header-divider::after {
    right: -30px;
}

.page-header-subtitle {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #e0e0e0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* Overlay for better text readability */
.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(26, 58, 95, 0.6) 0%,
            rgba(12, 12, 12, 0.8) 50%,
            rgba(26, 58, 95, 0.6) 100%);
    z-index: 1;
}

/* Breadcrumb Styles */
.page-breadcrumb {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.page-breadcrumb .breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.page-breadcrumb .breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item.active {
    color: #e0e0e0;
}

.page-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary-color);
    content: ">";
}

/* Side by Side Equal Cards */
.team-card-equal {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    max-width: 500px; /* Reduced from typical 500px+ */
    margin: 0 auto;
}

.team-card-img-equal {
    overflow: hidden;
    height: 500px; /* Slightly more than half for better proportions */
    width: 100%;
}

.team-card-img-equal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.team-card-equal:hover .team-card-img-equal img {
    transform: scale(1.05);
}

.team-card-equal .card-body {
    padding: 1.25rem; /* Reduced padding */
    display: flex;
    flex-direction: column;
}

/* 9-Step Contact Form Styles */
.progress-steps {
    margin-bottom: 3rem;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow-x: auto;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 80px;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: #1a3a5f;
    color: white;
    border-color: #1a3a5f;
}

.step.active .step-label {
    color: #1a3a5f;
    font-weight: 600;
}

.step.completed .step-circle {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-title {
    color: #1a3a5f;
    font-weight: 600;
    border-bottom: 2px solid #c8a97e;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Button Groups */
.btn-group .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-check:checked + .btn-outline-primary {
    background-color: #1a3a5f;
    border-color: #1a3a5f;
    color: white;
}

/* Calendar Styles */
#datePickerCalendar {
    width: 100%;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
    text-align: center;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
}

.calendar-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.calendar-table td {
    cursor: pointer;
    transition: background-color 0.2s;
}

.calendar-table td:hover {
    background-color: #e9ecef;
}

.calendar-table .selected {
    background-color: #1a3a5f;
    color: white;
}

.calendar-table .other-month {
    color: #6c757d;
    background-color: #f8f9fa;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
}

/* Review Section */
.review-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.review-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.review-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: #1a3a5f;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.review-value {
    color: #495057;
    font-size: 0.95rem;
}

/* Cookies Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid #1a3a5f;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    padding: 20px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-title {
    color: #1a3a5f;
    font-weight: 600;
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.cookie-buttons .btn {
    min-width: 100px;
}

/* Cookie Settings Modal */
.cookie-category {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.cookie-category:hover {
    border-color: #1a3a5f;
}

/* Form Switch Customization */
.form-check-input:checked {
    background-color: #1a3a5f;
    border-color: #1a3a5f;
}

.form-check-input:focus {
    border-color: #1a3a5f;
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 95, 0.25);
}

/* Ensure the container is positioned correctly and covers the area */
.video-background {
  position: absolute; /* or relative, depending on surrounding elements */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Important to clip the video edges */
}

/* Style the video element to scale and cover */
.background-video {
  /* Set dimensions to be at least as large as the container */
  width: 100%;
  height: 100%;

  /* The key property: scales the video to cover the content box,
     preserving its aspect ratio and cropping as necessary. */
  object-fit: cover;

  /* Centers the video visually within the container */
  object-position: center;

  /* Ensure the video is positioned absolutely within its container */
  position: absolute;
  top: 0;
  left: 0;
}