:root {
    --white: #fff;
    --section-padding: 4rem 2rem;

    --color-primary: #e74c3c;
    --color-primary-sec: #b51a04;
    --color-primary-light: #fbe9e7;
    --color-primary-dark: #c0392b;

    --color-bg: rgb(250, 250, 250);
    --color-bg-secondary: #fefefe;
    --color-bg-soft: #fafafa;
    --color-surface: #ffffff;
    --color-hover: #e6e4e4;
    --color-border: #e8e8e1;

    --color-text: #2c3e50;
    --color-text-muted: #7f8c8d;

    --color-accent: #b51a04;
    --color-highlight: #f1c40f;

    --color-footer-bg: #1e1e1e; /* neutral dark gray */
    --color-footer-bg-alt: #141414; /* deeper dark for contrast sections */
    --color-footer-text: #f5f5f5; /* soft off-white text */
    --color-footer-text-muted: #aaaaaa; /* muted gray for less important text */

    /* Footer border and accents */
    --color-footer-border: #2a2a2a; /* subtle border contrast */
    --color-footer-link: #ffb347; /* warm orange highlight */
    --color-footer-link-hover: #ffffff; /* bright white on hover */

}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    transition: all 0.3s ease;
}

.page-transition {
    min-height: 100vh;
}

/* Skeleton styles */
.skeleton {
    background-color: #ddd;
    border-radius: 4px;
    margin: 0.5rem auto;
}

.skeleton-small {
    width: 30%;
    height: 20px;
}

.skeleton-large {
    width: 60%;
    height: 40px;
}

.skeleton-medium {
    width: 40%;
    height: 25px;
}

.skeleton-button {
    width: 120px;
    height: 40px;
    margin-top: 1rem;
    border-radius: 999px;
}


/* MAIN SCROLLBAR — affects only html/body */
html, body {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(180, 180, 180, 0.3) transparent;
}

/* Webkit-based browsers (Chrome, Edge, Safari) */
html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: transparent;
    margin-block: 4px;
}

html::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: 3px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

html::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}


.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    /*padding: 0.75rem;*/
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--color-bg-secondary);
    color: var(--color-text);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-light);
}

.submit-button {
    background-color: var(--color-primary);
    color: var(--color-surface);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--color-primary-dark);
}

.submit-button:disabled {
    background-color: var(--color-text-muted);

}

/* Swiper Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    /* Base styling for circular buttons */
    width: 44px;
    height: 44px;
    background-color: #e5e7eb; /* Grayish background (Tailwind gray-200 equivalent) */
    border-radius: 999px; /* True circular shape */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    color: #374151; /* Dark gray icon color (Tailwind gray-700) */
    transition: all 0.3s ease; /* Smooth transitions for hover */
    cursor: pointer;
    outline: none;
    user-select: none; /* Prevent text selection */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Ensure buttons are above slides */
}

/* Remove default Swiper arrows */
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none; /* Hide default Swiper icons */
}

/* Custom arrow icons using pseudo-elements */
.swiper-button-prev::before,
.swiper-button-next::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border: solid #374151; /* Dark gray arrow */
    border-width: 0 2px 2px 0; /* Thinner, sharper arrow */
    transition: border-color 0.3s ease;
}

/* Previous button arrow (left) */
.swiper-button-prev::before {
    transform: rotate(135deg); /* Left arrow */
}

/* Next button arrow (right) */
.swiper-button-next::before {
    transform: rotate(-45deg); /* Right arrow */
}

/* Hover effects */
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #d1d5db; /* Darker gray on hover (Tailwind gray-300) */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Stronger shadow */
    transform: translateY(-50%) scale(1.05); /* Subtle scale-up */
}

/* Change arrow color on hover */
.swiper-button-prev:hover::before,
.swiper-button-next:hover::before {
    border-color: #1f2937; /* Darker gray arrow on hover (Tailwind gray-800) */
}

/* Disabled state */
.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%); /* No scale on disabled */
    box-shadow: none; /* Remove shadow for disabled */
}

/* Positioning */
.swiper-button-prev {
    left: 12px; /* Slightly more spacing from edge */
}

.swiper-button-next {
    right: 12px; /* Slightly more spacing from edge */
}

/* Accessibility: Focus state for keyboard navigation */
.swiper-button-prev:focus,
.swiper-button-next:focus {
    outline: 2px solid var(--color-accent); /* Blue outline (Tailwind blue-500) */
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .swiper-button-prev::before,
    .swiper-button-next::before {
        width: 8px;
        height: 8px;
        border-width: 0 1.5px 1.5px 0; /* Smaller, thinner arrows */
    }
}

/* High-resolution displays */
@media (min-resolution: 2dppx) {
    .swiper-button-prev::before,
    .swiper-button-next::before {
        border-width: 0 2px 2px 0; /* Ensure crisp arrows */
    }
}