/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    background-color: #0d152d !important;
    background: #0d152d !important;
}

.main-content {
    margin-top: 76px; /* Account for fixed navbar */
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 20px rgba(0,0,0,0.8) !important;
    background: linear-gradient(135deg, #0b132d 0%, #1a2b4a 100%) !important;
    border-bottom: 2px solid #b8860b !important;
    background-color: #0b132d !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-brand img {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:not(.nav-contact-btn):hover {
    color: #9b6b34 !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link:not(.nav-contact-btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #9b6b34;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.nav-contact-btn):hover::after {
    width: 80%;
}

/* Active state for navbar links */
.navbar-nav .nav-link.active:not(.nav-contact-btn) {
    color: #9b6b34 !important;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active:not(.nav-contact-btn)::after {
    width: 80%;
}

/* Active state for contact button */
.navbar-nav .nav-link.nav-contact-btn.active {
    background: linear-gradient(135deg, #b8860b 0%, #9b6b34 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(184, 134, 11, 0.5) !important;
    border: 2px solid rgba(184, 134, 11, 0.8) !important;
}

/* Contact Button Styling */
.navbar-nav .nav-contact-btn {
    background: linear-gradient(135deg, #9b6b34 0%, #8b5a2b 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    margin-left: 12px !important;
    border-radius: 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.navbar-nav .nav-contact-btn:hover {
    background: linear-gradient(135deg, #8b5a2b 0%, #9b6b34 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4) !important;
    border-color: #9b6b34 !important;
}

.navbar-nav .nav-contact-btn:hover::before {
    left: 100%;
}

.navbar-nav .nav-contact-btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 12px rgba(255, 193, 7, 0.5) !important;
}

/* Additional overrides to ensure no blue colors */
.navbar {
    background-image: none !important;
    background-color: #0b132d !important;
}

.navbar .navbar-toggler {
    border-color: #b8860b !important;
    background-color: transparent !important;
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23b8860b' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d152d 0%, #1a2b4a 100%);
    color: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Dynamic Professional Backgrounds for Different Pages */

/* How It Works Page - Professional Process Flow */
.hero-section.how-it-works {
    background: linear-gradient(135deg, #2d1b69 0%, #4a3174 50%, #5c4086 100%);
    position: relative;
}

.hero-section.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(155,107,52,.08) 35px, rgba(155,107,52,.08) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    animation: slidePattern 20s linear infinite;
    z-index: 1;
}

/* Practice Areas Page - Professional Legal Grid */
.hero-section.practice-areas {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    position: relative;
}

.hero-section.practice-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(155,107,52,0.1) 1px, transparent 1px),
        linear-gradient(rgba(155,107,52,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 15s ease-in-out infinite;
    z-index: 1;
}

/* About BMA Law Page - Professional Trust Pattern */
.hero-section.about {
    background: linear-gradient(135deg, #232526 0%, #414345 50%, #414345 100%);
    position: relative;
}

.hero-section.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(155,107,52,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(155,107,52,0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(155,107,52,0.1) 0%, transparent 50%);
    animation: pulseEffect 8s ease-in-out infinite;
    z-index: 1;
}

/* Terms & Conditions Page - Professional Document Pattern */
.hero-section.terms {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
}

.hero-section.terms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(155,107,52,0.08) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(155,107,52,0.08) 50%, transparent 52%);
    background-size: 30px 30px;
    animation: diagonalMove 10s linear infinite;
    z-index: 1;
}

/* Privacy Policy Page - Professional Security Pattern */
.hero-section.privacy {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    position: relative;
}

.hero-section.privacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(0deg, rgba(155,107,52,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(155,107,52,0.1) 1px, transparent 1px);
    background-size: 25px 25px;
    animation: securityGrid 12s ease-in-out infinite;
    z-index: 1;
}

/* Contact BMA Law Page - Professional Connection Pattern */
.hero-section.contact {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e8ba3 100%);
    position: relative;
}

.hero-section.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(155,107,52,0.2) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(155,107,52,0.2) 0%, transparent 25%);
    animation: connectionPulse 6s ease-in-out infinite;
    z-index: 1;
}

/* Animation Keyframes for Dynamic Backgrounds */
@keyframes slidePattern {
    0% { transform: translateX(0); }
    100% { transform: translateX(70px); }
}

@keyframes gridMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(25px, 25px); }
}

@keyframes pulseEffect {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes diagonalMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

@keyframes securityGrid {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes connectionPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Video Background for Hero Section */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.8;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(13,21,45,0.8) 0%,
        rgba(13,21,45,0.6) 30%,
        rgba(26,43,74,0.5) 70%,
        rgba(13,21,45,0.7) 100%
    );
    z-index: 2;
}

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

/* Fallback for when video is not supported */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/section-bg-1.png') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.2rem;
    color: #b0b0b0;
}

/* Card Styles */
.service-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #333;
    color: #e0e0e0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(184, 134, 11, 0.4);
    border-color: #b8860b;
}

.service-icon {
    font-size: 3rem;
    color: #9b6b34;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 30px;
    position: relative;
}

.process-step::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #9b6b34;
    font-size: 2rem;
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9b6b34 0%, #8b5a2b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0d152d 0%, #1a2b4a 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, #9b6b34 0%, #8b5a2b 100%);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
    background: linear-gradient(135deg, #8b5a2b 0%, #9b6b34 100%);
    color: #ffffff;
}

.btn-outline-custom {
    border: 2px solid #9b6b34;
    color: #9b6b34;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-custom:hover {
    background: #9b6b34;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
}

/* Chatbot Styles */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9b6b34 0%, #8b5a2b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.chatbot-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.chatbot-toggle.active {
    transform: scale(0.9);
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.8);
    color: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.chatbot-toggle i {
    transition: all 0.3s ease;
}

.chatbot-toggle.active i {
    transform: rotate(45deg);
}

.chatbot-toggle.active::before,
.chatbot-toggle.active::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.chatbot-toggle.active::before {
    transform: rotate(-45deg);
}

.chatbot-toggle.active::after {
    transform: rotate(45deg);
}

.chatbot-toggle:not(.active) i {
    display: block;
}

.chatbot-toggle.active i {
    display: none;
}

.chatbot-toggle:active {
    transform: scale(0.95);
}

/* Initial bounce animation for chatbot widget */
.chatbot-widget {
    animation: bounceIn 1s ease 0.5s both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.chatbot-container {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform-origin: center center;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 999;
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: all;
    width: 350px;
    height: 500px;
    bottom: 80px;
    right: 0;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.chatbot-header {
    background: linear-gradient(135deg, #0d152d 0%, #1a2b4a 100%);
    color: #ffffff;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease 0.2s;
    overflow: hidden;
}

.chatbot-container.active .chatbot-header {
    opacity: 1;
    transform: scale(1);
    padding: 20px;
    border-bottom: 1px solid #333;
}

.chatbot-header h5 {
    margin: 0;
    font-weight: bold;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbot-messages {
    flex: 0;
    padding: 0;
    overflow-y: hidden;
    background: #0d152d;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease 0.3s;
    max-height: 0;
}

.chatbot-container.active .chatbot-messages {
    flex: 1;
    padding: 20px;
    opacity: 1;
    transform: scale(1);
    max-height: 500px;
    overflow-y: auto;
}

.bot-message, .user-message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
    word-wrap: break-word;
    opacity: 0;
    transform: translateY(10px);
}

.chatbot-container.active .bot-message,
.chatbot-container.active .user-message {
    animation: messageSlideIn 0.3s ease forwards;
}

.bot-message { animation-delay: 0.5s; }
.user-message { animation-delay: 0.6s; }

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

.bot-message {
    background: #2a2a2a;
    color: #9b6b34;
    margin-right: auto;
}

.user-message {
    background: #333333;
    color: white;
    margin-left: auto;
}

.chatbot-input {
    padding: 0;
    border-top: none;
    display: flex;
    gap: 0;
    background: #0d152d;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease 0.4s;
    max-height: 0;
    overflow: hidden;
}

.chatbot-container.active .chatbot-input {
    opacity: 1;
    transform: scale(1);
    padding: 20px;
    gap: 10px;
    border-top: 1px solid #333;
    max-height: 100px;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #444;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
    background: #2a2a2a;
    color: #e0e0e0;
}

.chatbot-input input::placeholder {
    color: #888;
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    background: #9b6b34;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-input button:hover {
    background: #ffb300;
    transform: scale(1.1) rotate(10deg);
}

.chatbot-input button:active {
    transform: scale(0.9);
}

.chatbot-input button.sending {
    animation: sendPulse 0.6s ease;
}

@keyframes sendPulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* Typing indicator for bot responses */
.typing-indicator {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 10px;
    margin-bottom: 15px;
    max-width: 80%;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background: #9b6b34;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 20px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    border: 1px solid #333;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto;
}

.form-control, .form-select {
    border: 2px solid #444;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #2a2a2a;
    color: #e0e0e0;
}

.form-control:focus, .form-select:focus {
    border-color: #9b6b34;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    background: #333;
    color: #ffffff;
}

.form-control::placeholder {
    color: #888;
}

/* Ultra-compact form spacing */
.contact-form .mb-3 {
    margin-bottom: 0.6rem !important;
}

.contact-form .mb-4 {
    margin-bottom: 0.8rem !important;
}

.contact-form .row {
    margin-bottom: 0.3rem;
}

.contact-form .row > div {
    padding-bottom: 0.3rem;
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem !important;
    font-weight: 700;
    color: #9b6b34;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
}

.contact-form h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #9b6b34, #b8860b);
    margin: 0.5rem auto 0;
    border-radius: 1px;
}

.contact-form .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    font-weight: 500;
    color: #ffffff;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.contact-form textarea.form-control {
    min-height: 80px;
    resize: vertical;
    padding: 6px 10px !important;
}

.contact-form .form-check {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.contact-form .form-check-input {
    width: 0.9rem;
    height: 0.9rem;
    margin-top: 0.2rem;
}

.contact-form .form-check-label {
    font-size: 0.85rem;
    line-height: 1.3;
    padding-left: 0.3rem;
}

/* Ultra-compact button styling */
.contact-form .btn-lg {
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
}

/* Ultra-compact Turnstile styling - Remove all extra areas */
.contact-form .cf-turnstile {
    margin: 5px auto 8px auto;
    max-width: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.contact-form .cf-turnstile iframe {
    height: 55px;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove all extra styling around Turnstile */
.contact-form .cf-turnstile > div {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Remove any container styling */
.contact-form .cf-turnstile [data-theme="dark"] {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Small text under Turnstile */
.contact-form .form-text {
    font-size: 0.75rem !important;
    margin-top: 0.5rem !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .process-step::after {
        display: none;
    }

    .chatbot-container {
        width: 300px;
        right: -20px;
    }

    .contact-form {
        padding: 18px 15px;
        max-width: 100%;
    }

    /* Mobile Hero Section with Video */
    .hero-section {
        padding: 80px 0;
        min-height: 60vh;
    }

    #hero-bg-video {
        opacity: 0.6; /* Reduce video opacity on mobile for better performance */
    }

    /* Tablet Footer Styles */
    .footer-main {
        padding: 70px 0 35px;
    }

    .footer-brand {
        margin-bottom: 20px;
    }

    .footer-logo {
        height: 70px;
    }

    .footer-brand-text {
        font-size: 1.6rem;
    }

    .footer-description {
        max-width: 350px;
    }

    .footer-bottom-links {
        justify-content: flex-end;
    }

    /* Mobile Navbar Styles */
    .navbar-nav .nav-link {
        margin: 8px 12px;
        padding: 12px 16px !important;
        font-size: 1rem;
        text-align: center;
    }

    .navbar-nav .nav-contact-btn {
        margin: 12px 12px 12px 20px !important;
        padding: 14px 28px !important;
        font-size: 1rem;
        display: inline-block;
        text-align: center;
        width: auto;
        min-width: 150px;
    }

    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }

    .navbar-nav .nav-item {
        display: inline-block;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }

    .section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

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

    .btn-primary-custom, .btn-outline-custom {
        padding: 12px 30px;
        font-size: 1rem;
        border-radius: 6px;
        margin: 5px 8px; /* Add space between buttons on mobile */
        display: inline-block; /* Ensure proper spacing */
    }

    /* Fix hero buttons spacing on mobile */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px; /* Vertical gap between stacked buttons */
        margin-top: 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 !important; /* Override any margin */
    }

    /* Fix CTA section buttons on mobile */
    .cta-section .btn,
    .hero-buttons .btn {
        margin: 5px 10px !important; /* Ensure horizontal spacing when inline */
    }

    /* Stack buttons on smaller mobile screens */
    @media (max-width: 480px) {
        .hero-buttons {
            flex-direction: column;
            gap: 12px;
        }

        .hero-buttons .btn,
        .cta-section .btn {
            width: 100%;
            max-width: 250px;
            margin: 0 !important;
        }

        /* For CTA sections with multiple buttons */
        .text-center .btn + .btn {
            margin-top: 12px !important;
        }

        /* Center align CTA sections on mobile */
        section[class*="py-5"] .container {
            text-align: center !important;
        }

        section[class*="py-5"] .row {
            justify-content: center !important;
            text-align: center !important;
        }

        section[class*="py-5"] .col-lg-8 {
            text-align: center !important;
            margin-bottom: 20px;
        }

        section[class*="py-5"] .col-lg-4 {
            text-align: center !important;
        }

        section[class*="py-5"] .text-lg-end {
            text-align: center !important;
        }

        section[class*="py-5"] h3,
        section[class*="py-5"] p {
            text-align: center !important;
        }

        section[class*="py-5"] .btn {
            display: block;
            margin: 0 auto !important;
            width: auto;
            max-width: 280px;
        }
    }

    .service-card {
        padding: 30px 20px;
    }

    .chatbot-container {
        width: 280px;
        right: -30px;
    }

    /* Small Mobile Hero Section with Video */
    .hero-section {
        padding: 60px 0;
        min-height: 50vh;
    }

    #hero-bg-video {
        opacity: 0.5; /* Further reduce video opacity on small mobile */
        display: none; /* Hide video on very small screens for performance */
    }

    /* Small Mobile Navbar Styles */
    .navbar-nav .nav-link {
        margin: 6px 8px;
        padding: 10px 12px !important;
        font-size: 0.9rem;
    }

    .navbar-nav .nav-contact-btn {
        margin: 10px 8px 10px 12px !important;
        padding: 12px 20px !important;
        font-size: 0.95rem;
        min-width: 130px;
    }

    .navbar-nav {
        padding: 15px 0;
    }

    .navbar {
        padding: 10px 0;
    }

    /* Mobile Footer Styles */
    .footer-main {
        padding: 60px 0 30px;
    }

    .footer-brand {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-logo {
        margin-right: 0;
        margin-bottom: 15px;
        height: 60px;
    }

    .footer-brand-text {
        font-size: 1.5rem;
    }

    .footer-description {
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-social {
        text-align: center;
        margin-bottom: 40px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-links-title,
    .footer-contact-title {
        font-size: 1.1rem;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
        max-width: 250px;
        margin: 0 auto 15px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    /* Footer bottom links moved to main content, no longer needed in mobile styles */

    .footer-copyright {
        text-align: center;
        margin: 0;
    }
}

/* Section Background Colors */
.section.bg-light {
    background: linear-gradient(135deg, #1a2b4a 0%, #0d152d 100%) !important;
    color: #ffffff !important;
}

.section.bg-light .section-title {
    color: #ffffff !important;
}

.section.bg-light .section-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
}

.section.bg-light .service-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border: 1px solid #2a2a4a !important;
}

.section.bg-light .service-title {
    color: #ffffff !important;
}

.section.bg-light .service-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #0b132d 0%, #1a2b4a 100%);
    color: #ffffff;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/section-bg-1.png') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.footer-main {
    position: relative;
    z-index: 2;
    padding: 80px 0 40px;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    background: rgba(11, 19, 45, 0.8);
}

/* Footer Brand */
.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-right: 15px;
    background: transparent;
    border-radius: 0;
}

.footer-brand-text {
    color: #9b6b34 !important;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
}

/* Footer Social */
.footer-social-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

/* Legal links moved to Quick Links column - using existing footer-links styling */

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #9b6b34;
    color: #ffffff;
    border-color: #9b6b34;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.social-link.facebook:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: #ffffff;
    border-color: #1da1f2;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: #ffffff;
    border-color: #0077b5;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    border-color: #dc2743;
}

.social-link.youtube:hover {
    background: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
}

/* Footer Links */
.footer-links-title,
.footer-contact-title {
    color: #9b6b34;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: #9b6b34;
    transform: translateX(5px);
}

/* Footer Contact */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item i {
    color: #9b6b34;
    font-size: 1.1rem;
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Footer Bottom */
.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer bottom links are no longer needed - moved to Company Info column */

/* Content Cards for Terms & Privacy */
.content-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #2a2a4a;
    color: #e0e0e0;
}

.content-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.content-card h3 {
    color: #9b6b34;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.content-card ul {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding-left: 20px;
}

.content-card .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
    font-style: italic;
}

/* Testimonial Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(155, 107, 52, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(155, 107, 52, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Professional dark fade effects on left and right sides */
.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to right,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.85) 5%,
        rgba(10, 10, 10, 0.6) 10%,
        rgba(10, 10, 10, 0.3) 15%,
        rgba(10, 10, 10, 0.1) 20%,
        transparent 25%,
        transparent 75%,
        rgba(10, 10, 10, 0.1) 80%,
        rgba(10, 10, 10, 0.3) 85%,
        rgba(10, 10, 10, 0.6) 90%,
        rgba(10, 10, 10, 0.85) 95%,
        rgba(10, 10, 10, 0.95) 100%
    );
    pointer-events: none;
    z-index: 3;
}

/* Additional professional shadow effects */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background:
        radial-gradient(ellipse at left center, rgba(155, 107, 52, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at right center, rgba(155, 107, 52, 0.15) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 2;
}

.testimonial-track {
    display: flex;
    animation: slideLeft 30s linear infinite;
    will-change: transform;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(155, 107, 52, 0.3);
    border-radius: 16px;
    padding: 25px;
    margin: 0 15px;
    width: 300px;
    height: 300px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 3rem;
    color: rgba(155, 107, 52, 0.4);
    font-family: Georgia, serif;
    opacity: 0.7;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(155, 107, 52, 0.3);
    border-color: rgba(155, 107, 52, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.testimonial-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    padding-left: 15px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(155, 107, 52, 0.6);
    font-family: Georgia, serif;
    position: absolute;
    top: -8px;
    left: -8px;
    opacity: 0.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-name {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.testimonial-company {
    color: #9b6b34;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 0.85rem;
    margin-top: 3px;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

.testimonial-date,
.testimonial-type {
    display: inline-block;
    background: rgba(155, 107, 52, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(155, 107, 52, 0.3);
}

/* Continuous scrolling animation - pause on hover */
.testimonials-carousel:hover .testimonial-track {
    animation-play-state: paused;
}

/* Duplicate testimonials for seamless loop */
.testimonial-track::before,
.testimonial-track::after {
    content: '';
    display: flex;
    position: absolute;
    top: 0;
}

.testimonial-track::before {
    left: -100%;
}

.testimonial-track::after {
    right: -100%;
}

/* Testimonial Section Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-section {
    animation: fadeInUp 0.8s ease-out;
}

.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }

.author-avatar {
    animation: slideInLeft 0.6s ease-out;
}

/* Testimonial Section Responsive */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 20px;
        width: 260px;
        height: 260px;
        margin: 0 12px;
    }

    .testimonial-content {
        font-size: 0.9rem;
        padding-left: 12px;
        -webkit-line-clamp: 3;
    }

    .quote-icon {
        font-size: 1.8rem;
    }

    .testimonial-name {
        font-size: 0.95rem;
    }

    .testimonial-company {
        font-size: 0.8rem;
    }

    .testimonial-rating {
        font-size: 0.75rem;
    }

    .testimonial-date,
    .testimonial-type {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 18px;
        width: 240px;
        height: 240px;
        margin: 0 10px;
    }

    .testimonial-content {
        font-size: 0.85rem;
        padding-left: 10px;
        -webkit-line-clamp: 3;
    }

    .quote-icon {
        font-size: 1.6rem;
    }

    .testimonial-name {
        font-size: 0.9rem;
    }

    .testimonial-company {
        font-size: 0.75rem;
    }

    .testimonial-rating {
        font-size: 0.7rem;
    }

    .testimonial-date,
    .testimonial-type {
        font-size: 0.65rem;
        padding: 1px 5px;
    }
}

/* Process Slider Styles */
.process-slider-container {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    /* Simple, clean approach without complex transforms */
}

.process-slider-track {
    display: flex;
    width: 500%; /* 5 slides × 100% width */
    height: 100%;
    /* Use simple transform without CSS animations */
    transform: translateX(0);
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.process-slide {
    position: relative;
    width: 20%; /* 100% / 5 slides */
    height: 100%;
    flex-shrink: 0;
    padding: 40px;
    display: flex;
    align-items: center;
    opacity: 0.3;
    /* Simple transition without complex rendering optimizations */
    transition: opacity 0.3s ease;
}

/* Simple active state without animations */
.process-slide.active {
    opacity: 1;
}

.process-content {
    padding: 30px;
}

.process-number {
    font-size: 4rem;
    font-weight: 700;
    color: #b8860b;
    margin-bottom: 20px;
    line-height: 1;
    letter-spacing: -2px;
}

.process-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.process-description {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.process-features li {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 15px;
    padding-left: 10px;
    line-height: 1.5;
}

.process-features i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.process-image {
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.process-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.slider-control {
    width: 60px;
    height: 60px;
    background: rgba(184, 134, 11, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3);
}

.slider-control:hover {
    background: rgba(184, 134, 11, 1);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(184, 134, 11, 0.4);
}

.slider-control:active {
    transform: scale(0.95);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 50px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #b8860b, #f4e4c1);
    transition: left 0.3s ease;
}

.indicator.active::before {
    left: 0;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.5);
}

/* Process Summary Cards Enhancement */
.process-summary-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.process-summary-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(184, 134, 11, 0.2);
    border-color: #b8860b;
}

/* Responsive Design for Process Slider */
@media (max-width: 992px) {
    .process-slider {
        height: 700px;
    }

    .process-slide {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .process-content,
    .process-image {
        width: 100%;
    }

    .process-number {
        font-size: 3rem;
    }

    .process-title {
        font-size: 2rem;
    }

    .process-description {
        font-size: 1.1rem;
    }

    .process-features li {
        font-size: 1rem;
    }

    .process-image img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .process-slider {
        height: 750px;
    }

    .process-slide {
        padding: 20px 15px;
    }

    .process-number {
        font-size: 2.5rem;
    }

    .process-title {
        font-size: 1.8rem;
    }

    .process-description {
        font-size: 1rem;
    }

    .process-features li {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .process-image img {
        height: 300px;
    }

    .slider-control {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .slider-controls {
        padding: 0 15px;
    }

    .indicator {
        width: 40px;
        height: 5px;
    }
}

@media (max-width: 576px) {
    .process-slider {
        height: 850px;
    }

    .process-slide {
        padding: 15px 10px;
    }

    .process-number {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .process-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .process-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .process-features li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .process-features i {
        font-size: 1rem;
    }

    .process-image img {
        height: 250px;
    }

    .slider-control {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .indicator {
        width: 35px;
        height: 4px;
    }

    .slider-indicators {
        bottom: 20px;
        gap: 10px;
    }
}

/* Custom column class for 5 equal columns */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2-4 {
        width: 100%;
    }
}

/* Business Section Styles */
.business-section {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/static/images/section-bg-1.png') center/cover no-repeat !important;
    min-height: 400px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.business-content {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.business-lead {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #b8860b !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.business-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #f0f0f0;
}

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

.business-features li {
    padding: 10px 0;
    font-size: 1.05rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: padding-left 0.3s ease;
}

.business-features li:last-child {
    border-bottom: none;
}

.business-features li:hover {
    padding-left: 10px;
}

.business-features li i {
    color: #b8860b;
    margin-right: 10px;
    font-size: 0.9rem;
}

.business-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.business-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
    max-width: 300px;
}

.highlight-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.highlight-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #b8860b;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-label {
    font-size: 0.9rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Responsive Design for Business Section */
@media (max-width: 768px) {
    .business-section {
        min-height: auto;
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .business-title {
        font-size: 1.8rem;
    }

    .business-lead {
        font-size: 1.2rem;
    }

    .business-content {
        padding: 15px;
        margin-bottom: 30px;
    }

    .business-highlights {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 15px;
    }

    .highlight-item {
        padding: 20px;
    }

    .highlight-number {
        font-size: 2.2rem;
    }
}

/* Language Switcher Styles */
.language-form {
    margin: 0;
    padding: 0;
}

.language-form button {
    width: 100%;
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #333;
    text-align: left;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.language-form button:hover {
    background: #f8f9fa;
    color: #9b6b34;
}

.language-form button.active {
    background: #9b6b34;
    color: white;
    font-weight: 600;
}

/* Language flags visual indicators */
.language-form button::before {
    content: '🌐';
    margin-right: 8px;
    font-size: 0.8rem;
}

.language-form button.active::before {
    content: '✓';
    margin-right: 8px;
}

/* RTL language support */
html[dir="rtl"] .navbar-nav {
    direction: ltr;
}

html[dir="rtl"] .dropdown-menu {
    right: auto !important;
    left: 0;
}

/* Cloudflare Turnstile Styling - Widget Area Only */
.cf-turnstile {
    margin: 5px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    padding: 0;
    background: transparent;
    border: none;
}

/* Style only the iframe/widget area - Remove all extra spacing */
.cf-turnstile iframe {
    border: none !important;
    display: block !important;
    width: 100% !important;
    height: 55px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}



/* Turnstile error state */
.cf-turnstile-error {
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    background-color: #f8d7da;
    color: #721c24;
    text-align: center;
    font-size: 14px;
}

/* Form submission loading state */
.form-submitting .btn {
    opacity: 0.7;
    pointer-events: none;
}

.form-submitting .btn i.fa-spinner {
    animation: spin 1s linear infinite;
}

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

