/* Exam Custom Styles - Blue Theme */

/* CSS Variables - Blue Theme */
:root {
    --primary: #1e40af; /* primary blue */
    --secondary: #3b82f6; /* secondary blue */
    --accent: #3b82f6; /* accent blue */
    --primary-light: #60a5fa; /* light blue */
    --primary-dark: #1e3a8a; /* dark blue */
    --primary-hover-bg: rgba(30, 64, 175, 0.08);
    --transition: all 0.3s ease;
    --text-dark: #1f2937;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Pattern Grid Background */
.pattern-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Blob Animation for Hero Section */
@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 20px) scale(1.05);
    }
}

.animate-blob {
    animation: blob 20s ease-in-out infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Slot Animation for Schedule Items */
@keyframes slot {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slot {
    animation: slot 0.5s ease-out forwards;
}

/* Float Animation for Floating Cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Hero Float Animation for Floating UI Elements */
@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-float {
    animation: heroFloat 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

/* Progress Bar Animation */
@keyframes progressBar {
    from {
        width: 0;
    }
    to {
        width: var(--progress);
    }
}

/* Stat Card Pulse Effect */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Button Hover Effects */
button, a {
    transition: all 0.2s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #1e40af;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Card Shadow on Hover */
.hover-card {
    transition: box-shadow 0.3s ease;
}

.hover-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Mobile Responsive Adjustments */
@media (max-width: 968px) {
    /* Hero Section Adjustments */
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem !important;
    }

    /* Show Important Floating Elements, Reposition for Mobile */
    .hero-float {
        display: block !important;
        position: relative !important;
        margin: 0.5rem auto;
        max-width: 90%;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }

    /* Adjust Hero Grid Illustration */
    .relative.w-80.h-80 {
        width: 16rem;
        height: 16rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    /* Smaller Logo on Mobile */
    .logo-image {
        height: 38px !important;
    }

    /* Tighter Container Padding */
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Hero Illustration Responsiveness */
    section {
        overflow-x: hidden;
    }

    /* Reduce Grid Size on Mobile */
    .relative.w-80.h-80 {
        width: 14rem;
        height: 14rem;
    }

    /* Stack floating cards vertically */
    .hero-float {
        position: static !important;
        margin: 1rem auto !important;
        max-width: 280px !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .nav-container {
        padding: 0.6rem 1rem !important;
    }

    .logo-image {
        height: 35px;
    }

    /* Stack Buttons Vertically on Very Small Screens */
    .flex-col.sm\:flex-row {
        flex-direction: column !important;
    }

    /* Prevent any horizontal overflow */
    * {
        max-width: 100%;
    }

    section {
        overflow-x: hidden;
    }

    /* Further reduce grid on small phones */
    .relative.w-80.h-80 {
        width: 12rem;
        height: 12rem;
    }
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(to right, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Custom Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.box-shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ==================== SIDE PROGRESS NAVIGATION ==================== */

.side-nav {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Progress Line Background - positioned at right to align with dots */
.side-nav-progress {
    position: absolute;
    right: 5px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(30, 64, 175, 0.2);
    border-radius: 2px;
    pointer-events: none;
}

/* Each Navigation Item - min-width ensures label positioning works correctly */
.side-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

/* Navigation Dot */
.side-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(30, 64, 175, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}

/* Label (appears on hover) - positioned to left of dot */
.side-nav-label {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: white;
    color: #1f2937;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    pointer-events: none;
}

/* Show label on hover */
.side-nav-item:hover .side-nav-label {
    opacity: 1;
    visibility: visible;
}

/* Active State */
.side-nav-item.active .side-nav-dot {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-color: #1e40af;
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

/* Active Label (always visible) */
.side-nav-item.active .side-nav-label {
    opacity: 1;
    visibility: visible;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border-color: #1e40af;
}

/* Hover Effects */
.side-nav-item:hover .side-nav-dot {
    transform: scale(1.2);
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Animation for active indicator movement */
@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(30, 64, 175, 0.6);
    }
}

.side-nav-item.active .side-nav-dot {
    animation: activePulse 2s ease-in-out infinite;
}

/* Hide on mobile and tablet */
@media (max-width: 1024px) {
    .side-nav {
        display: none;
    }
}

/* For very small desktops, adjust position */
@media (max-width: 1280px) {
    .side-nav {
        right: 20px;
    }
}

/* Accessibility: Focus States */
.side-nav-item:focus {
    outline: none;
}

.side-nav-item:focus .side-nav-label {
    opacity: 1;
    visibility: visible;
}

/* ==================== MOBILE HERO FEATURED CARD ==================== */

/* Desktop/Mobile Toggle Classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Mobile Hero Container */
.mobile-hero-container {
    padding: 2rem 1rem;
    text-center;
}

/* Mobile Illustration - Simplified Exam Grid */
.mobile-illustration {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
}

/* Icon Bar - Circular Icon Buttons */
.mobile-icon-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    flex-wrap: wrap;
}

.icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.icon-btn:hover {
    transform: scale(1.1);
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.icon-btn.active {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-color: #1e40af;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Featured Card Container */
.featured-card-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    min-height: 200px;
    perspective: 1000px;
}

/* Individual Featured Cards */
.featured-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

.featured-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    position: relative;
    z-index: 1;
}

/* Fade-in animation for card transitions */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Fade-out animation */
@keyframes cardFadeOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

.featured-card.fade-in {
    animation: cardFadeIn 0.5s ease-out forwards;
}

.featured-card.fade-out {
    animation: cardFadeOut 0.5s ease-out forwards;
}

/* Mobile Responsive: Show Mobile Hero, Hide Desktop */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

/* Extra Small Screens: Adjust Sizes */
@media (max-width: 480px) {
    .icon-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .mobile-illustration {
        width: 160px;
        height: 160px;
    }

    .featured-card-container {
        max-width: 320px;
    }

    .featured-card {
        padding: 1.25rem;
    }
}

/* ==================== FAQ SECTION ==================== */

/* FAQ Tabs */
.faq-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(30, 64, 175, 0.05);
}

.faq-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* FAQ Content Containers */
.faq-content {
    display: none;
}

.faq-content.active {
    display: block;
}

/* FAQ Item */
.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.faq-item.active {
    border-color: var(--primary);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

/* FAQ Icon */
.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 16px;
}

/* ==================== IMAGE MODAL ==================== */

/* Step image hover effect */
.step-image-container {
    transition: all 0.3s ease;
    position: relative;
    min-height: 320px;
    cursor: pointer !important;
    z-index: 1;
}

/* pointer-events controlled by JavaScript */

.step-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.step-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.2) !important;
}

.step-image-container::after {
    content: '🔍 Click to enlarge';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 64, 175, 0.95);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none !important;
    white-space: nowrap;
    font-size: 14px;
    z-index: 10;
}

.step-image-container:hover::after {
    opacity: 1;
}

/* Modal backdrop */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Modal content */
.image-modal-content {
    max-width: 90%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
    background: white;
    transition: opacity 0.15s ease;
}

/* Close button */
.image-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    background: rgba(30, 64, 175, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.image-modal-close:hover {
    background: rgba(30, 64, 175, 1);
    transform: rotate(90deg);
}

/* Caption */
.image-modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(30, 64, 175, 0.9);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    max-width: 90%;
}

/* Modal Navigation Arrows */
.modal-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-nav-arrow:hover {
    background: rgba(30, 64, 175, 0.9);
    border-color: rgba(30, 64, 175, 1);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-arrow svg {
    width: 28px;
    height: 28px;
    color: white;
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Modal Dots Navigation */
.modal-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10001;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffd4c4;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.modal-dot:hover {
    background: #ffb399;
    transform: scale(1.1);
}

.modal-dot.active {
    background: #FF6B35;
}

.modal-dots.hidden {
    display: none;
}

/* Modal Counter */
.modal-counter {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(30, 64, 175, 0.8);
    display: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10001;
}

/* Hide arrows when only 1 image */
.modal-nav-arrow.hidden {
    display: none;
}

/* ==================== TESTIMONIAL CAROUSEL ==================== */
.testimonial-carousel-container {
    position: relative;
    overflow: hidden;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    width: 32px;
    border-radius: 6px;
}

.testimonial-prev,
.testimonial-next {
    cursor: pointer;
}

/* ==================== STEP IMAGE CAROUSEL ==================== */
.step-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.step-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.step-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.step-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.step-carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.step-carousel-slide:hover img {
    transform: scale(1.02);
}

/* Lazy loading placeholder */
.step-carousel-slide img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-carousel-slide img.loaded {
    opacity: 1;
}

/* Loading spinner */
.step-carousel-slide .loading-spinner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #1e40af;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Carousel Navigation Arrows */
.step-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.step-carousel:hover .step-carousel-arrow {
    opacity: 1;
    pointer-events: auto;
}

.step-carousel-arrow:hover {
    background: #1e40af;
    transform: translateY(-50%) scale(1.1);
}

.step-carousel-arrow:hover svg {
    color: white;
}

.step-carousel-arrow svg {
    width: 20px;
    height: 20px;
    color: #1e40af;
    transition: color 0.3s ease;
}

.step-carousel-prev {
    left: 12px;
}

.step-carousel-next {
    right: 12px;
}

.step-carousel-arrow:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Carousel Dots/Indicators */
.step-carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffd4c4;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.step-carousel-dot:hover {
    background: #ffb399;
}

.step-carousel-dot.active {
    background: #FF6B35;
    width: 12px;
    border-radius: 50%;
}

/* Image counter badge */
.step-carousel-counter {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(30, 64, 175, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

/* Enlarge hint on hover */
.step-carousel-slide .enlarge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.step-carousel-slide:hover .enlarge-overlay {
    background: rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.enlarge-overlay .enlarge-icon {
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.step-carousel-slide:hover .enlarge-overlay .enlarge-icon {
    transform: scale(1);
}

.enlarge-icon .icon-circle {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enlarge-icon .icon-circle svg {
    width: 22px;
    height: 22px;
    color: white;
}

.enlarge-icon span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
}

/* Hide dots if only one image */
.step-carousel[data-count="1"] .step-carousel-dots,
.step-carousel[data-count="1"] .step-carousel-arrow,
.step-carousel[data-count="1"] .step-carousel-counter {
    display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .step-carousel {
        height: 300px;
        padding: 0.75rem;
    }

    .step-carousel-arrow {
        width: 36px;
        height: 36px;
        opacity: 1;
        pointer-events: auto;
    }

    .step-carousel-prev {
        left: 8px;
    }

    .step-carousel-next {
        right: 8px;
    }

    .step-carousel-arrow svg {
        width: 16px;
        height: 16px;
    }

    .step-carousel-dots {
        bottom: 12px;
        padding: 6px 10px;
    }

    .step-carousel-dot {
        width: 8px;
        height: 8px;
    }

    .step-carousel-dot.active {
        width: 24px;
    }

    .step-carousel-counter {
        top: 12px;
        right: 12px;
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .step-carousel {
        height: 250px;
    }

    .step-carousel-arrow {
        width: 32px;
        height: 32px;
    }

    .enlarge-overlay .enlarge-icon {
        padding: 12px 16px;
    }

    .enlarge-icon .icon-circle {
        width: 36px;
        height: 36px;
    }

    .enlarge-icon span {
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==================== QUOTE FORM ==================== */

/* Form Success Message */
#successMessage {
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Form Input Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
}

/* Radio Button Custom Styling */
input[type="radio"]:checked {
    accent-color: var(--primary);
}

/* Form Validation Styles */
input:invalid:not(:focus):not(:placeholder-shown),
select:invalid:not(:focus),
textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
}

input:valid:not(:focus):not(:placeholder-shown),
select:valid:not(:focus),
textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: #10b981;
}

/* ==================== BANNER ADVERTISEMENTS ==================== */

/* Banner advertisement sections use Tailwind classes, no custom CSS needed */

/* ==================== UTILITY CLASSES ==================== */

/* Counter Animation (for stats) */
.counter {
    display: inline-block;
    transition: all 0.3s ease;
}

.counter.counting {
    color: var(--primary);
}

/* FIX: Force AOS elements to be visible */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}
