/* ===================================
   Custom Styles for School Landing Page
   =================================== */

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

body {
    overflow-x: hidden;
}

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

/* ===================================
   Carousel Styles
   =================================== */

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Carousel Indicators */
.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    width: 32px;
    border-radius: 6px;
}

/* ===================================
   Message Slides Animation
   =================================== */

.message-slide {
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: translateY(20px);
    padding: 1.5rem;
}

.message-slide.active {
    opacity: 1 !important;
    transform: translateY(0);
    z-index: 2;
}

.message-slide h2 {
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.8),
        0 4px 20px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.message-slide p {
    line-height: 1.4;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.7),
        0 4px 16px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.01em;
}

/* ===================================
   Hero Text Enhancements
   =================================== */

/* School Name Extra Styling */
[data-i18n="schoolName"] {
    background: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

/* Message slides better visibility */
.message-slide {
    backdrop-filter: blur(2px);
}

.message-slide h2 {
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 
            0 2px 10px rgba(0, 0, 0, 0.8),
            0 4px 20px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(0, 0, 0, 0.5);
    }
    100% {
        text-shadow: 
            0 2px 10px rgba(0, 0, 0, 0.9),
            0 4px 20px rgba(0, 0, 0, 0.7),
            0 0 40px rgba(0, 0, 0, 0.6),
            0 0 50px rgba(230, 76, 37, 0.3);
    }
}

/* ===================================
   Form Styles Enhancement
   =================================== */

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

/* Custom Select Arrow */
select {
    background-image: none;
}

/* Input Focus Effects */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(230, 76, 37, 0.15);
    border-color: #e64c25 !important;
}

/* Checkbox Custom Style */
input[type="checkbox"]:checked {
    background-color: #e64c25;
    border-color: #e64c25;
}

/* ===================================
   WhatsApp Widget - Advanced Interactive Design
   =================================== */

.whatsapp-widget {
    position: relative;
    animation: waWidgetEntrance 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 10px 30px rgba(37, 211, 102, 0.4));
    transition: all 0.3s ease;
}

.whatsapp-widget.expanded {
    filter: drop-shadow(0 15px 40px rgba(37, 211, 102, 0.5));
}

/* Notification Badge */
.wa-notification-badge {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    animation: waBadgeSlideIn 0.5s ease-out 1.5s forwards, waBadgeBounce 2s ease-in-out 2s infinite;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

.wa-notification-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
}

.wa-badge-dot {
    width: 8px;
    height: 8px;
    background: #25d366;
    border-radius: 50%;
    animation: waPulse 2s ease-in-out infinite;
}

.wa-badge-text {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

/* Animated Pulse Rings */
.wa-ring {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #25d366;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.wa-ring-1 {
    animation: waRingPulse 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.wa-ring-2 {
    animation: waRingPulse 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    animation-delay: 1s;
}

.wa-ring-3 {
    animation: waRingPulse 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    animation-delay: 2s;
}

/* Main Button */
.wa-main-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    padding: 8px 20px 8px 8px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    text-decoration: none;
}

.wa-main-button:hover {
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.7);
    background: linear-gradient(135deg, #2de46f 0%, #15a088 100%);
}

.whatsapp-widget.expanded .wa-main-button {
    border-radius: 50%;
    padding: 16px;
    gap: 0;
}

.whatsapp-widget.expanded .wa-text-label {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* Icon Circle */
.wa-icon-circle {
    position: relative;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-size: 32px;
}

.wa-main-button:hover .wa-icon-circle {
    transform: rotate(-10deg) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.wa-icon-circle i {
    animation: waIconBounce 2s ease-in-out infinite;
}

/* Online Indicator */
.wa-online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #25d366;
    border: 3px solid white;
    border-radius: 50%;
    animation: waPulse 2s ease-in-out infinite;
}

/* Close Icon */
.wa-close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s ease;
}

.whatsapp-widget.expanded .wa-icon-circle i {
    transform: scale(0);
    opacity: 0;
}

.whatsapp-widget.expanded .wa-close-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Text Label */
.wa-text-label {
    color: white;
    line-height: 1.2;
    padding-right: 4px;
}

.wa-text-small {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wa-text-large {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Chat Options Panel */
.wa-chat-options {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 340px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.whatsapp-widget.expanded .wa-chat-options {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.wa-options-container {
    display: flex;
    flex-direction: column;
}

/* Options Header */
.wa-options-header {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    padding: 16px;
    color: white;
}

.wa-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-logo {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    padding: 6px;
    object-fit: contain;
}

.wa-header-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.wa-status {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    opacity: 0.95;
}

.wa-status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    animation: waPulse 2s ease-in-out infinite;
}

/* Chat Bot Preview Section */
.wa-chatbot-preview {
    padding: 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.wa-chat-messages {
    margin-bottom: 16px;
    min-height: 120px;
}

.wa-chat-message {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 12px;
    animation: waMessageSlideIn 0.4s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

.wa-message-bot {
    justify-content: flex-start;
}

.wa-message-user {
    justify-content: flex-end;
}

.wa-user-bubble {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 4px;
}

.wa-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: white;
    padding: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.wa-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wa-message-bubble {
    max-width: 70%;
    background: white;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.wa-message-text {
    font-size: 14px;
    color: #1f2937;
    line-height: 1.4;
}

/* Quick Replies */
.wa-quick-replies {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.wa-quick-reply {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: white;
    border: 2px solid #25d366;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #25d366;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.1);
}

.wa-quick-reply:hover {
    background: #25d366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-quick-reply i {
    font-size: 14px;
}

/* Team Section */
.wa-team-section {
    padding: 16px;
}

.wa-back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    width: fit-content;
}

.wa-back-button:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.wa-back-button i {
    font-size: 12px;
}

.wa-team-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    text-align: center;
}

/* Agents List */
.wa-agents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 420px;
    overflow-y: auto;
}

/* Agent Card */
.wa-agent-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: white;
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.wa-agent-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #25d366, #128c7e);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.wa-agent-card:hover {
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

.wa-agent-card:hover::before {
    transform: scaleY(1);
}

.wa-agent-card:active {
    transform: translateY(0);
}

/* Agent Avatar Container */
.wa-agent-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.wa-agent-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    position: relative;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wa-avatar-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.wa-avatar-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.wa-avatar-purple {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.wa-avatar-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Agent Status Badge */
.wa-agent-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.wa-status-online {
    background: #22c55e;
    animation: waPulse 2s ease-in-out infinite;
}

.wa-status-away {
    background: #f59e0b;
}

.wa-status-offline {
    background: #ef4444;
}

/* Agent Info */
.wa-agent-info {
    flex: 1;
    min-width: 0;
}

.wa-agent-name {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wa-agent-role {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 500;
}

.wa-agent-status-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-bottom: 6px;
}

.wa-status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.wa-status-indicator.online {
    background: #22c55e;
    animation: waPulse 2s ease-in-out infinite;
}

.wa-status-indicator.away {
    background: #f59e0b;
}

.wa-status-indicator.offline {
    background: #ef4444;
}

/* Language Badges */
.wa-agent-languages {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.wa-lang-badge {
    font-size: 10px;
    padding: 2px 6px;
    background: #f3f4f6;
    border-radius: 4px;
    color: #4b5563;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

/* Agent Action Icon */
.wa-agent-action {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.wa-agent-card:hover .wa-agent-action {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* ===================================
   Success Modal Styles
   =================================== */

/* Modal visibility */
.modal.hidden {
    display: none;
}

.modal.show {
    display: block;
}

/* Modal animation */
.modal .bg-white {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Ensure modal content is visible */
#successModal .bg-white {
    transform: scale(1);
    opacity: 1;
}

/* Options Footer */
.wa-options-footer {
    padding: 12px 16px;
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
    border-top: 1px solid #e5e7eb;
}

.wa-footer-stats {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    margin-bottom: 8px;
}

.wa-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
}

.wa-stat-item i {
    color: #25d366;
    font-size: 12px;
}

.wa-footer-note {
    font-size: 10px;
    color: #9ca3af;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Animations */
@keyframes waRingPulse {
    0% {
        transform: translateY(-50%) scale(0.8);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-50%) scale(1.6);
        opacity: 0;
    }
}

@keyframes waWidgetEntrance {
    0% {
        transform: translateX(200px) rotate(45deg);
        opacity: 0;
    }
    60% {
        transform: translateX(-15px) rotate(-5deg);
        opacity: 1;
    }
    80% {
        transform: translateX(5px) rotate(2deg);
    }
    100% {
        transform: translateX(0) rotate(0);
        opacity: 1;
    }
}

@keyframes waIconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes waPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes waBadgeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes waBadgeBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes waMessageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .wa-main-button {
        padding: 6px 16px 6px 6px;
    }
    
    .wa-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }
    
    .wa-text-small {
        font-size: 10px;
    }
    
    .wa-text-large {
        font-size: 14px;
    }
    
    .wa-ring {
        width: 60px;
        height: 60px;
    }
    
    .wa-chat-options {
        width: calc(100vw - 40px);
        max-width: 340px;
    }
    
    .wa-notification-badge {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Compact mode for very small screens */
    .wa-text-label {
        display: none;
    }
    
    .wa-main-button {
        padding: 12px;
        border-radius: 50%;
    }
    
    .wa-chat-options {
        right: -10px;
        width: calc(100vw - 20px);
    }
}

/* Scrollbar styling for options list */
.wa-options-list::-webkit-scrollbar {
    width: 6px;
}

.wa-options-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.wa-options-list::-webkit-scrollbar-thumb {
    background: #25d366;
    border-radius: 10px;
}

.wa-options-list::-webkit-scrollbar-thumb:hover {
    background: #128c7e;
}

/* ===================================
   Modal Styles
   =================================== */

.modal {
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal #modalContent {
    min-height: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .modal #modalContent {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

.modal.show #modalContent {
    transform: scale(1);
    opacity: 1;
}

#modalContent {
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

/* ===================================
   Button Hover Effects
   =================================== */

button[type="submit"] {
    position: relative;
    overflow: hidden;
}

button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

/* ===================================
   Loading Animation for Form
   =================================== */

.form-loading {
    pointer-events: none;
    opacity: 0.6;
}

.form-loading button[type="submit"] {
    position: relative;
}

.form-loading button[type="submit"]::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* ===================================
   Responsive Styles
   =================================== */

@media (max-width: 1024px) {
    .message-slide h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .message-slide p {
        font-size: 1.125rem;
        line-height: 1.45;
    }
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button i {
        font-size: 1.75rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicator.active {
        width: 24px;
    }
}

/* ===================================
   Accessibility
   =================================== */

/* Focus Visible for Keyboard Navigation */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Reduce Motion for Users who Prefer It */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    .whatsapp-button,
    .carousel-indicator,
    button {
        display: none;
    }
    
    .modal {
        display: none;
    }
    
    body {
        background: white;
    }
}

/* ===================================
   Custom Scrollbar
   =================================== */

::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

/* ===================================
   Additional Enhancements
   =================================== */

/* Smooth Image Loading */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Selection Color */
::selection {
    background-color: #2563eb;
    color: white;
}

::-moz-selection {
    background-color: #2563eb;
    color: white;
}

/* Form Error States */
input.error,
select.error,
textarea.error {
    border-color: #ef4444;
}

input.error:focus,
select.error:focus,
textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

input.error ~ .error-message,
select.error ~ .error-message,
textarea.error ~ .error-message {
    display: block;
}

/* Success State */
input.success,
select.success,
textarea.success {
    border-color: #10b981;
}

/* ===================================
   Utility Classes
   =================================== */

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hidden but accessible for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}