/********** ASA Brand Colors **********/
:root {
    --primary: #3d4d8d;
    --secondary: #f79c32;
    --light: #F2F2F2;
    --dark: #111111;
}

/********** Form Validation Styles **********/
.form-control.is-valid,
.form-select.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 .4.4.4-.4m0 4.8-.4-.4-.4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.validation-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.validation-feedback.valid-feedback {
    color: #28a745;
}

.validation-feedback.invalid-feedback {
    color: #dc3545;
}

/* Improved Invalid Feedback Display */
.invalid-feedback {
    display: block !important;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-feedback {
    display: block !important;
}

/* Valid Feedback Display */
.valid-feedback {
    display: block !important;
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/********** Form Progress Indicator **********/
.form-progress {
    margin-bottom: 2rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 1rem;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-bar-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.progress-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.progress-step.completed .progress-step-circle {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.progress-step.active .progress-step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.progress-step-label {
    font-size: 0.75rem;
    color: #666;
}

.progress-step.active .progress-step-label {
    color: var(--primary);
    font-weight: 600;
}

.progress-step.completed .progress-step-label {
    color: #28a745;
}

/********** Form Section Styles **********/
.form-section {
    transition: all 0.3s ease;
}

.form-section-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.form-section-header:hover {
    background: #e8e8e8;
}

.form-section.collapsed .form-section-content {
    display: none;
}

.form-section-icon {
    transition: transform 0.3s ease;
}

.form-section.collapsed .form-section-icon {
    transform: rotate(-90deg);
}

/********** Character Counter **********/
.char-counter {
    font-size: 0.75rem;
    text-align: right;
    margin-top: 0.25rem;
    color: #666;
}

.char-counter.warning {
    color: #ff9800;
}

.char-counter.danger {
    color: #dc3545;
}

/********** Tooltip Styles **********/
.help-tooltip {
    cursor: help;
    color: var(--primary);
    margin-left: 0.5rem;
    font-size: 0.875rem;
}

.help-tooltip:hover {
    color: var(--secondary);
}

/********** Drag & Drop Upload **********/
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fafafa;
}

.upload-area:hover {
    border-color: var(--primary);
    background: #f0f0f0;
}

.upload-area.dragover {
    border-color: var(--primary);
    background: rgba(61, 77, 141, 0.1);
}

.upload-area-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/********** Upload Progress **********/
.upload-progress {
    margin-top: 1rem;
    display: none;
}

.upload-progress.active {
    display: block;
}

.progress-bar-custom {
    height: 8px;
    border-radius: 4px;
    background: #e0e0e0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 4px;
}

/********** Form Preview Styles **********/
.form-preview {
    display: none;
}

.form-preview.active {
    display: block;
}

.preview-item {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.preview-item:last-child {
    border-bottom: none;
}

.preview-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.preview-value {
    color: #333;
}

.preview-image {
    max-width: 100%;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

/********** Loading State **********/
.form-submitting {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.submit-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.submit-spinner.active {
    display: block;
}

/********** Autocomplete Styles **********/
.autocomplete-container {
    position: relative;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.autocomplete-list.active {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: var(--light);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

/********** Mobile Camera Button **********/
.camera-button {
    display: none;
}

@media (max-width: 768px) {
    .camera-button {
        display: inline-block;
        margin-left: 0.5rem;
    }
}

/*** Prevent Horizontal Scroll ***/
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

* {
    box-sizing: border-box;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background: var(--primary);
    color: white;
    border: none;
}

.back-to-top:hover {
    background: var(--secondary);
    color: white;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-border {
    color: var(--primary);
}

/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #FFFFFF;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-light:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

/*** Navbar ***/
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
    width: 250px;
    height: auto;
    max-width: 100%;
    transition: transform 0.3s ease;
}

/* Login Menu Item Styles */
.navbar-nav .nav-link i {
    font-size: 0.9em;
}

.navbar-nav .nav-link.btn-link,
.navbar-nav form.nav-item button.nav-link {
    color: #6c757d;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.navbar-nav .nav-link.btn-link:hover,
.navbar-nav form.nav-item button.nav-link:hover {
    color: var(--primary);
    background-color: transparent;
}

@media (max-width: 991px) {
    .navbar-logo {
        width: 220px;
        max-width: calc(100vw - 100px);
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        width: 200px;
        max-width: calc(100vw - 80px);
    }
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-brand {
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 991px) {
    .navbar-brand {
        padding-left: 1rem !important;
        padding-right: 0.5rem !important;
        max-width: calc(100% - 60px);
    }
    
    .navbar-toggler {
        margin-right: 0.5rem;
    }
}

.navbar-brand {
    padding-left: 0 !important;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header/Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .carousel-caption {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .carousel-caption .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Compact Carousel Height */
@media (min-width: 992px) {
    #header-carousel .carousel-item {
        min-height: 550px;
    }
}

/*** Fix Carousel Overflow ***/
#header-carousel {
    overflow: hidden;
    max-width: 100%;
}

#header-carousel .carousel-item img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.carousel-caption {
    max-width: 100%;
    overflow: hidden;
}

.carousel-caption .container {
    max-width: 100%;
    overflow: hidden;
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(61, 77, 141, 0.9);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/*** Text Colors ***/
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

/*** Consistent Title Styling ***/
h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: inherit;
}

h6.text-primary.text-uppercase,
h6.text-white.text-uppercase {
    font-size: 0.875rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/*** Professional Divider Styling ***/
.divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin-bottom: 1rem;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.divider-light {
    width: 70px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Centered sections - default */
.section-title-wrapper .divider,
.section-title-wrapper .divider-light {
    margin-left: auto;
    margin-right: auto;
}

/* Left-aligned sections on large screens */
.section-title-wrapper.text-lg-start .divider,
.section-title-wrapper.text-lg-start .divider-light {
    margin-left: 0;
    margin-right: auto;
}

/* Always center on mobile */
@media (max-width: 991px) {
    .section-title-wrapper .divider,
    .section-title-wrapper .divider-light {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Hover effect for dividers */
.divider:hover,
.divider-light:hover {
    width: 90px;
}

/* Section title wrapper for consistency */
.section-title-wrapper {
    margin-bottom: 3rem;
}

.section-title-wrapper h2 {
    margin-bottom: 0.75rem;
}

.section-title-wrapper .divider,
.section-title-wrapper .divider-light {
    margin-bottom: 0.75rem;
}

.section-title-wrapper h6 {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.75rem;
        line-height: 1.4;
    }
    
    h6.text-primary.text-uppercase,
    h6.text-white.text-uppercase {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .divider,
    .divider-light {
        width: 60px;
        height: 3px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.5rem;
    }
    
    .divider,
    .divider-light {
        width: 50px;
        height: 2px;
    }
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../carserv-1.0.0/img/carousel-bg-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}

.service-item {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(61, 77, 141, 0.2);
}

/*** Additional Professional Styling ***/
.bg-light {
    background-color: #F8F9FA !important;
}

.text-white {
    color: #FFFFFF !important;
}

.border-bottom {
    border-bottom: 2px solid var(--secondary) !important;
    transition: border-color 0.3s ease;
}

.border-bottom:hover {
    border-bottom-color: var(--primary) !important;
}

/*** Card Enhancements ***/
.bg-light.p-4.rounded {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.bg-light.p-4.rounded:hover {
    box-shadow: 0 5px 20px rgba(61, 77, 141, 0.2);
    transform: translateY(-3px);
}

/*** Table Enhancements ***/
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
}

/*** Animation Improvements ***/
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.slideInDown {
    animation-name: slideInDown;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

.zoomIn {
    animation-name: zoomIn;
}

/*** Navbar Brand Logo ***/
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/*** Button Enhancements ***/
.btn {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/*** Booking ***/
.booking {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../carserv-1.0.0/img/carousel-bg-2.jpg) center center no-repeat;
    background-size: cover;
}

.booking .form-floating label {
    color: #666;
}

.booking .form-control {
    background: rgba(255, 255, 255, 0.95);
}

/*** Team ***/
.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: scale(0);
    transition: .5s;
}

.team-item:hover .team-overlay {
    transform: scale(1);
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary);
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9)), url(../carserv-1.0.0/img/carousel-bg-1.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--secondary);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Table Styling ***/
.table-primary {
    background-color: rgba(61, 77, 141, 0.1);
}

.table thead.bg-primary {
    background-color: var(--primary) !important;
}

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

.wow {
    visibility: hidden;
}

/*** Responsive Adjustments ***/
@media (max-width: 768px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .container-xxl {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/*** Fix Image Overflow ***/
img {
    max-width: 100%;
    height: auto;
}

/*** Fix Table Overflow ***/
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/*** Fix Navbar Overflow ***/
.navbar {
    max-width: 100%;
    overflow-x: hidden;
}

.navbar-nav {
    flex-wrap: wrap;
}

/*** Fix Footer Overflow ***/
.footer {
    overflow-x: hidden;
}

.footer .container {
    max-width: 100%;
}

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

/*** Link Styles ***/
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

