/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    line-height: 1.6;
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

/* Custom Grid System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col, .col-12, .col-md-12, .col-lg-12, .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 15px;
}

.col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 15px;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-sm-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    padding: 0 15px;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .col-md-5, .col-md-7, .col-md-8, .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-sm-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-sm-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Utility Classes */
.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center !important;
}

.text-end {
    text-align: right !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-lg-start {
    justify-content: flex-start !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-center {
    align-items: center !important;
}

.w-100 {
    width: 100% !important;
}

/* Spacing utilities */
.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.ps-5 {
    padding-left: 3rem;
}

.pt-5 {
    padding-top: 3rem;
}

@media (max-width: 768px) {
    .ps-5 {
        padding-left: 1rem;
    }
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

    .page-header h1 {
        font-size: 2rem;
        margin: 0;
    }

/* Logo container */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

    .logo-container img {
        max-width: 600px;
        max-height: 400px;
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

/* Proje detayları */
.row-table {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    min-height: 200px;
}

.detail-box {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    background: #7800ff;
    padding: 15px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .detail-box img {
        width: 40px;
        height: 40px;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .detail-box h6 {
        margin: 0 0 5px 0;
        color: white;
        font-weight: 600;
    }

    .detail-box p {
        margin: 0;
        color: white;
        font-size: 14px;
    }

/* Button Styles */
.btn {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #0033A1;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
}

    .btn-primary:hover {
        background-color: #3656b3;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(75, 112, 226, 0.3);
    }

/* ==========================================
   MODERN GALLERY STYLES - UPDATED
   ========================================== */

/* Bootstrap Carousel Base */
.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel .carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

    .carousel .carousel-item.active {
        display: block;
    }

/* Main Carousel Container - Modern fluid design */
.carousel-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Main Carousel Item Styling */
.carousel .carousel-item {
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

    .carousel .carousel-item img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        display: block;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        filter: brightness(0.98);
    }

    .carousel .carousel-item:hover img {
        transform: scale(1.02);
    }

/* Modern Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(0, 51, 161, 0.9);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 51, 161, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #0033A1;
    text-align: center;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: rgba(0, 51, 161, 1);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 25px rgba(0, 51, 161, 0.5);
        color: #0033A1;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='m11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Gallery Link Styling */
.col-12 a[data-fancybox] {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .col-12 a[data-fancybox]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 51, 161, 0.1) 0%, rgba(0, 51, 161, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .col-12 a[data-fancybox]:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0, 51, 161, 0.2);
    }

        .col-12 a[data-fancybox]:hover::before {
            opacity: 1;
        }

    .col-12 a[data-fancybox] img {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .col-12 a[data-fancybox]:hover img {
        transform: scale(1.03);
    }

/* Thumbnail Carousel - Sleek Modern Design */
#carousel-thumbs {
    margin: 20px auto;
    padding: 20px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    position: relative;
    min-height: 50px;
}

    #carousel-thumbs .carousel-inner {
        padding: 0 50px;
        min-height: 45px;
    }

    #carousel-thumbs .row {
        justify-content: center;
        align-items: center;
        gap: 3px;
        min-height: 45px;
        margin: 0;
    }

/* Thumbnail Items */
.thumb {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4px;
    border-radius: 12px;
}

    .thumb img {
        height: 70px;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border: 2px solid transparent;
    }

    .thumb:hover img {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 51, 161, 0.3);
        border-color: rgba(0, 51, 161, 0.3);
    }

    .thumb.selected img {
        border: 3px solid #0033A1;
        box-shadow: 0 6px 20px rgba(0, 51, 161, 0.4);
        transform: scale(1.05);
    }

/* Thumbnail Carousel Controls - Minimalist */
#carousel-thumbs .carousel-control-prev,
#carousel-thumbs .carousel-control-next {
    width: 35px;
    height: 35px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #0033A1 0%, #0044cc 100%);
    border-radius: 50%;
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 51, 161, 0.3);
    bottom: auto;
}

#carousel-thumbs .carousel-control-prev {
    left: 10px;
}

#carousel-thumbs .carousel-control-next {
    right: 10px;
}

    #carousel-thumbs .carousel-control-prev:hover,
    #carousel-thumbs .carousel-control-next:hover {
        opacity: 1;
        transform: translateY(-50%) scale(1.15);
        box-shadow: 0 6px 16px rgba(0, 51, 161, 0.5);
        background: linear-gradient(135deg, #0033A1 0%, #0044cc 100%);
    }

#carousel-thumbs .carousel-control-prev-icon,
#carousel-thumbs .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.g-2 {
    --gap: 0.3rem;
    gap: var(--gap);
}

.mx-0 {
    margin-left: 0;
    margin-right: 0;
}

/* Thumbnail column sizes */
#carousel-thumbs .col-sm-2 {
    flex: 0 0 auto;
    max-width: 65px;
    padding: 0 1px;
}

#carousel-thumbs .col-4 {
    flex: 0 0 auto;
    max-width: 65px;
    padding: 0 1px;
}

/* === ICON CAROUSEL === */
.section.top-icon {
    padding: 30px 0;
    background: transparent;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
}

    .carousel-wrapper::-webkit-scrollbar {
        display: none;
    }

    .carousel-wrapper.dragging {
        cursor: grabbing;
    }

.carousel-track {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
    min-height: 180px;
    flex-wrap: nowrap;
}

.icon-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-image-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #0033A1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 auto 10px auto;
    box-shadow: 0 4px 15px rgba(0, 51, 161, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

    .icon-image-button img {
        width: 55%;
        height: 55%;
        object-fit: contain;
        pointer-events: none;
        transition: filter 0.3s ease;
    }

    .icon-image-button:hover {
        border-color: #888;
        background-color: #0033A1;
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 51, 161, 0.3);
    }

        .icon-image-button:hover img {
            filter: brightness(0) saturate(100%) invert(75%) sepia(29%) saturate(621%) hue-rotate(125deg) brightness(95%) contrast(92%);
        }

.icon-label {
    font-family: 'Roboto', sans-serif;
    color: #0033A1;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    max-width: 100px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: block;
    margin: 0 auto;
}

/* Contact Blocks */
.contact-block {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .contact-block:hover {
        background: #eef2ff;
        transform: translateY(-3px);
    }

.contact-img {
    width: 60px;
    height: 60px;
    background: #002147;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .contact-img img {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);
    }

.contact-text h6 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #002147;
}

.contact-text p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* Call to Action */
.calltoaction {
    background: #004085;
    color: #fff;
    padding: 40px 0;
}

    .calltoaction h4 {
        margin: 0;
    }

/* Contact Form */
#contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #0033A1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    max-width: 900px;
    margin: auto;
}

    #contact-form h6 {
        font-size: 24px;
        font-weight: bold;
        color: #0033A1;
        margin-bottom: 25px;
    }

.inputBox {
    margin-bottom: 1rem;
}

    .inputBox label {
        font-weight: 500;
        margin-bottom: 6px;
        display: block;
        color: #333;
    }

/* INPUT & SELECT STYLING */
.input,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 15px;
    background: #fff;
    transition: all .3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Dropdown için ok ikonu */
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

.input:focus,
.form-select:focus {
    border-color: #0033A1;
    box-shadow: 0 0 8px rgba(75, 112, 226, 0.4);
    outline: none;
}

/* Form styling */
.form-check-label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

.form-check-input {
    margin-right: 8px;
}

.text-danger {
    color: #dc3545;
}

/* Video responsive */
.ratio {
    position: relative;
}

.ratio-16x9 {
    aspect-ratio: 16/9;
}

.ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Map responsive */
.map-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 1px solid #ccc;
}

    .map-responsive iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* Fancybox Custom Styling */
.fancybox__container {
    --fancybox-bg: rgba(0, 0, 0, 0.92);
}

.fancybox__slide {
    padding: 20px;
}

.fancybox__content {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

    .fancybox__content h4 {
        color: #0033A1;
        margin-bottom: 20px;
    }

    .fancybox__content p {
        margin-bottom: 15px;
        line-height: 1.6;
    }

    .fancybox__content ul {
        padding-left: 20px;
        margin-left: 20px;
        margin-bottom: 15px;
    }

    .fancybox__content li {
        margin-bottom: 8px;
    }

/* Hidden elements for modals */
.hidden {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: #0033A1;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* reCAPTCHA container */
.g-recaptcha {
    display: inline-block;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 992px) {
    .carousel .carousel-item {
        min-height: 400px;
    }

        .carousel .carousel-item img {
            height: 400px;
        }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .thumb img {
        height: 60px;
    }
}

@media (max-width: 768px) {
    #contact-form {
        padding: 20px;
    }

    .carousel-container {
        padding: 0 15px;
    }

    .carousel .carousel-item {
        min-height: 300px;
        border-radius: 16px;
    }

        .carousel .carousel-item img {
            height: 300px;
        }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        opacity: 1;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    #carousel-thumbs {
        padding: 15px 10px;
        border-radius: 12px;
    }

        #carousel-thumbs .carousel-inner {
            padding: 0 40px;
        }

    .thumb img {
        height: 50px;
        border-radius: 8px;
    }

    #carousel-thumbs .carousel-control-prev,
    #carousel-thumbs .carousel-control-next {
        width: 30px;
        height: 30px;
    }

    .carousel-wrapper {
        padding: 0 10px;
    }

    .carousel-track {
        gap: 20px;
        min-height: 160px;
        padding: 15px 0;
    }

    .icon-image-button {
        width: 75px;
        height: 75px;
        border-width: 3px;
    }

    .icon-label {
        font-size: 11px;
        max-width: 85px;
    }

    .contact-block {
        flex-direction: row;
        text-align: left;
    }

    .text-end {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .carousel .carousel-item {
        min-height: 240px;
        border-radius: 12px;
    }

        .carousel .carousel-item img {
            height: 240px;
        }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }

    #carousel-thumbs {
        padding: 12px 8px;
        border-radius: 10px;
    }

    .thumb img {
        height: 45px;
        border-radius: 6px;
    }

    .thumb.selected img {
        border-width: 2px;
    }

    #carousel-thumbs .carousel-control-prev,
    #carousel-thumbs .carousel-control-next {
        width: 28px;
        height: 28px;
    }

    #carousel-thumbs .carousel-control-prev-icon,
    #carousel-thumbs .carousel-control-next-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .carousel .carousel-item {
        min-height: 160px;
    }

        .carousel .carousel-item img {
            height: 160px;
        }

    .container {
        padding: 0 10px;
    }

    .carousel-wrapper {
        padding: 0 8px;
        width: 100%;
    }

    .carousel-track {
        gap: 15px;
        min-height: 140px;
        padding: 10px 0;
    }

    .icon-image-button {
        width: 65px;
        height: 65px;
        border-width: 3px;
        margin-bottom: 8px;
    }

        .icon-image-button img {
            width: 50%;
            height: 50%;
        }

    .icon-label {
        font-size: 10px;
        font-weight: 500;
        max-width: 75px;
        line-height: 1.2;
    }

    .contact-text h6 {
        font-size: 14px;
    }

    .contact-text p {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .carousel .carousel-item {
        min-height: 200px;
    }

        .carousel .carousel-item img {
            height: 200px;
        }

    .thumb img {
        height: 40px;
    }
}

@media (max-width: 320px) {
    .carousel-wrapper {
        padding: 0 5px;
    }

    .carousel-track {
        gap: 12px;
        padding: 8px 0;
    }

    .icon-image-button {
        width: 55px;
        height: 55px;
        border-width: 2px;
    }

    .icon-label {
        font-size: 9px;
        max-width: 65px;
    }
}

@media screen and (min-width: 769px) {
    .carousel-track {
        min-width: max-content;
        margin: 0 auto;
    }
}

/* ==========================================
   ANIMATIONS & TRANSITIONS
   ========================================== */

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.carousel-item.loading {
    background: linear-gradient( 90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75% );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Smooth Transitions */
.carousel-item {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item-next,
.carousel-item-prev {
    display: flex;
}

/* Fade effect for gallery */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item {
    animation: fadeIn 0.5s ease-out;
}

/* ==========================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================== */

.carousel-control-prev:focus,
.carousel-control-next:focus,
.thumb:focus {
    outline: 3px solid rgba(0, 51, 161, 0.5);
    outline-offset: 3px;
}

/* Focus visible for keyboard navigation */
.thumb:focus-visible {
    outline: 3px solid #0033A1;
    outline-offset: 2px;
}

.icon-image-button:focus-visible {
    outline: 3px solid #0033A1;
    outline-offset: 3px;
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .carousel-control-prev,
    .carousel-control-next,
    #carousel-thumbs {
        display: none;
    }

    .carousel .carousel-item {
        min-height: auto;
    }

    .icon-carousel {
        display: none;
    }

    #contact-form {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}