/* universalcss */
body {
    overflow-x: hidden;
}

.capitalize {
    text-transform: capitalize;
}

.uppercase {
    text-transform: uppercase;
}

.body-color {
    background-color: #e4e1e1;
}

.navbar {
    z-index: 9999;
}

.primary-color {
    background-color: #3ccd3c;
}

.secondary-color {
    background-color: #d1d5db;
}


.box-color {
    background-color: #d1d5db;
}

.text-color-primary {
    color: #3ccd3c;
}

.text-color-secondary {
    color: #eaebec;
}

.btn-class {
    background-color: #3ccd3c;
    border: none;
    color: white;
    border-radius: 5px;
}

/* .btn-class:hover {
    background-color: transparent;
    border: 2px solid blue;
    color: black;
} */

.btn-class2 {
    background-color: transparent;
    border: 2px solid #3ccd3c;
    color: black;
    border-radius: 5px;
}

.btn-class3 {
    background-color: #3ccd3c;
    border: none;
    color: white;
    border-radius: 5px;
}

/* .btn-class3:hover {
    background-color: transparent;
    border: 2px solid #3ccd3c;
    color: black;
} */

.btn-class4 {
    background-color: transparent;
    border: 2px solid #3ccd3c;
    color: black;
    border-radius: 5px;
}

a {
    text-decoration: none;
}

div a {
    text-decoration: none;
}

/* navbar */

#input {
    width: 35vw;
}

/* login and signup style */

.sign-up {
    background-image: linear-gradient(to right, blue, darkblue);
}

.hr-span {
    height: 2px;
    width: 50px;
    margin-top: 12px;
    background-color: #b6b5b5a4;
}

/* login style*/

#password,
#username {
    background-color: #c0c0c08a;
}

#button {
    width: 150px;
    background-image: linear-gradient(to right, blue, darkblue);
}

#sign-up-btn:hover {
    background-color: transparent;
    color: white;
}

#sign-up-btn {
    width: 150px;
}

/* signup */

#button1 {
    width: 150px;
    background-image: linear-gradient(to right, blue, darkblue);
}

#button1-sm {
    width: 150px;
    background-image: linear-gradient(to right, blue, darkblue);
}

#sign-up-btn1:hover {
    background-color: transparent;
    color: white;
}

#sign-up-btn1 {
    width: 150px;
}

#first-name,
#last-name,
#first-name1,
#last-name1,
#date,
#number,
#email,
#address,
#confirm_password,
#password1,
#password2,
#username1,
#gender {
    background-color: #c0c0c08a;
}

/* contact us */
textarea {
    height: 200px;
}

.background-image-contact {
    background-image: url("../Navbar/images/ferrari.webp");
    width: 100%;
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.background-image-contact .dark-bg {
    width: 100%;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.5);
}

.background-image-contact div {
    z-index: 99;
}

.background-image-contact .trans-bg {
    background-color: rgb(0, 0, 255, 0.25);
    width: 270px;
    height: 270px;
}


/* forgotten password */
.box {
    box-shadow: 1px 1px 5px 1px black;
}

/* home page */

#parent-slide-imgs .carousel-item img {
    height: 70vh;
}

.two-img {
    height: 210px;
}

.transparent {
    opacity: 0.5;
}

.h-w {
    width: 200px;
    height: 450px;
}

.position-relative .text-title {
    top: 30px;
}

.position-relative .text-list {
    top: 80px;
}

.text-list,
.text-title {
    width: 200px;
    opacity: 2;
}

.watch-white-bg .text {
    top: 45px;
    left: 35px;
}

.position-relative .percent-offer {
    top: 20px;
    right: 12px;
}

.time-number {
    font-size: 14px;
    font-weight: bold;
}

.time-period {
    font-size: 9px;
}

.quantity {
    font-size: 10px;
}

.product-info .hr1 {
    width: 200px;
    height: 2px;
    background-color: #e9e8e8;
}

.bg-image {
    background-image: url("../Navbar/images/laptop.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.product-name {
    font-size: 13px;
}

.product-price {
    font-size: 13px;
}

.top-hr {
    margin-top: 9px;
    margin-bottom: 0;
    height: 2px;
    opacity: 0.25;
}

.h-w-sm {
    width: 100%;
    height: 100px;
}

.slider-container {
    position: relative;
    /* For absolute positioning of arrows */
}

.slider-wrapper {
    transition: transform 0.5s ease;
    /* Smooth sliding animation */
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* Center vertically */
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    /* Ensure arrows are above content */
}

.left-arrow {
    left: 0px;
}

.right-arrow {
    right: 0px;
}

/* Navigation Styling */
.navigation {
    display: flex;
    justify-content: space-around;
}

.nav-item {
    color: #6c757d;
    cursor: pointer;
    text-align: center;
}

.nav-item.active,
.nav-item:hover {
    color: #ffc107;
}

/* HR Segments Styling */
.hr-container {
    display: flex;
    width: 100%;
}

.segment {
    flex: 1;
    /* Equal width for each segment */
    position: relative;
}

.segment hr {
    border: 0;
    margin: 0;
    height: 2px;
    margin-top: 7px;
    opacity: 0.25;
}

.segment.active hr,
.segment.hover-active hr {
    background-color: #ffc107;
    opacity: 1;
}

.segment.active::after,
.segment.hover-active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    /* Places triangle below hr */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #ffc107;
    /* Upside-down triangle pointing up */
}

/* Content Styling */
.content {
    position: relative;
    /* Ensures space for content */
}

.content-item {
    width: 100%;
    display: none;
}

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

/* Featured/Trending/Hot Sales Navigation Styling */
.fth-nav-item {
    color: gray;
    cursor: pointer;
}

.fth-nav-item.fth-active,
.fth-nav-item:hover {
    color: #ffc107;
}

/* Featured/Trending/Hot Sales Content Styling */
.fth-content-item {
    display: none;
}

.fth-content-item.fth-active {
    display: flex;
}

/* animation area */

.slide-left {
    left: -30vw;
}

.slide-left1 {
    top: 25%;
    animation: slideleft1 2s linear forwards;
}

@keyframes slideleft1 {
    to {
        left: 11%;
    }
}

.slide-left6 {
    top: 30%;
    animation: slideleft6 2s linear forwards;
}

@keyframes slideleft6 {
    to {
        left: 7%;
    }
}

.slide-left2 {
    top: 35%;
    animation: slideleft2 3s linear forwards;
}

@keyframes slideleft2 {
    to {
        left: 11%;
    }
}

.slide-left5 {
    top: 40%;
    animation: slideleft5 3s linear forwards;
}

@keyframes slideleft5 {
    to {
        left: 7%;
    }
}

.slide-left3 {
    top: 54%;
    animation: slideleft3 4s linear forwards;
}

@keyframes slideleft3 {
    to {
        left: 11%;
    }
}

.slide-left4 {
    top: 55%;
    animation: slideleft4 4s linear forwards;
}

@keyframes slideleft4 {
    to {
        left: 7%;
    }
}

.slide-right {
    top: 54%;
    right: -60vw;
    animation: slideright 5s linear forwards;
}

@keyframes slideright {
    to {
        right: 17%;
    }
}

.slide-right1 {
    top: 54%;
    right: -70vw;
    animation: slideright1 5s linear forwards;
}

@keyframes slideright1 {
    to {
        right: 15%;
    }
}

.slide-right2 {
    top: 55%;
    right: -70vw;
    animation: slideright2 5s linear forwards;
}

@keyframes slideright2 {
    to {
        right: 3%;
    }
}

.slide-height {
    height: 450px;
}

/* line animation area */

.diagonal-line-top {
    background-color: #FFFFFF80;
    height: 300px;
    width: 1000px;
    transform: rotate(45deg);
    transition: transform 1.2s ease;
    top: -500px;
    right: -500px;
}

.img-line-container:hover .diagonal-line-top {
    transform: translate(-800px, 800px) rotate(45deg);
}

/* opacity animation */

.img-hover:hover {
    opacity: 0.5;
}

/* color animation */

.fa-heart:hover {
    color: green;
}

.any-product-name a {
    color: black;
}

.any-product-name a:hover {
    color: blue;
}

.fa-angle-left:hover {
    color: blue;
    cursor: pointer;
}

.fa-angle-right:hover {
    color: blue;
    cursor: pointer;
}

/* box-shadow-animation */

.box-shadow-animation:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* car.html */

.car-card:hover .hover-card-top-car {
    opacity: 1;
    z-index: 9;
}

.hover-card-top-car {
    opacity: 0;
    height: 230px;
    width: calc(100% - 20px);
    top: 10px;
    left: 10px;
    transition: opacity 1s ease;
}

.car-card .price-tag {
    top: 205px;
    right: 10px;
}

.car-card .badge {
    top: 10px;
    left: 10px;
    z-index: 9;
}

.car-name a {
    color: black;
    text-decoration: none;
}

.car-name a:hover {
    color: #ffc107;
}

.icons-car {
    height: 230px;
}

.icons-car div:hover {
    color: white;
    background-color: transparent;
}

.icons-car div {
    background-color: white;
    color: #ffc107;
}

/* car-details.html */

.vehicle-video {
    left: 25px;
    bottom: 20px;
}

.box-color .line {
    height: 2px;
    width: 20px;
}

.name-car a {
    color: #ffc107;
    text-decoration: none;
}

.name-car a:hover {
    color: black;
}

.hr-line1,
.hr-line2 {
    height: 1.5px;
}

.hr-line1 {
    width: 35px;
    transition: width 1s ease;
    background-color: black;
}

.hr-line2 {
    width: 55px;
    transition: width 1s ease;
    background-color: black;
}

.hr-line1-ms,
.hr-line2-ms {
    height: 1.1px;
}

.hr-line1-ms {
    width: 35px;
    transition: width 1s ease;
    background-color: black;
}

.hr-line2-ms {
    width: 55px;
    transition: width 1s ease;
    background-color: black;
}

.car-card:hover .hr-line1 {
    width: 55px;
    background-color: #ffc107;
}

.car-card:hover .hr-line2 {
    width: 35px;
    background-color: #ffc107;
}

.car-card:hover .hr-line1-ms {
    width: 55px;
    background-color: #ffc107;
}

.car-card:hover .hr-line2-ms {
    width: 35px;
    background-color: #ffc107;
}

/* car.html */
.car-card:hover .hover-card-top {
    top: 0;
}

.car-card:hover .hover-card-bottom {
    bottom: 0;
}

.car-description .fa-circle {
    font-size: 4.5px;
}

.hover-card-top {
    top: -100%;
    height: 165px;
    width: 100%;
    transition: 1s top ease;
}

.hover-card-bottom {
    bottom: -100px;
    height: 35px;
    width: 100%;
    transition: 1s bottom ease;
}

.icons {
    height: 175px;
}

.icons div {
    color: white;
}

.icons div:hover {
    background-color: white;
    color: #ffc107;
}

.request-more-info a,
.make-schedule-email-financial a {
    color: #6c757d;
    border: 1px solid #6c757d;
}

.request-more-info a:hover,
.make-schedule-email-financial a:hover {
    background-color: #ffc107;
    border: 1px solid #ffc107;
    color: white;
}

.active-hr {
    height: 2px;
}

/* CSS Variables for customizable angle buttons and animations */
:root {
    --angle-btn-size: 33px;
    --angle-btn-font-size: 13px;
    --angle-btn-opacity-transition: 0.3s ease-in-out;
    --main-image-slide-duration: 0.5s;
    /* Slightly longer for smoother effect */
    --indicator-slide-duration: 0.5s;
    --easing: cubic-bezier(0.4, 0, 0.2, 1);
    /* Smooth easing */
}

/* Keyframe animations for main image */
@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animation classes for images */
.main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure images fill the container */
    will-change: transform, opacity;
    /* Optimize animation performance */
}

.main-image.sliding-out-left {
    animation: slideOutLeft var(--main-image-slide-duration) var(--easing) forwards;
}

.main-image.sliding-out-right {
    animation: slideOutRight var(--main-image-slide-duration) var(--easing) forwards;
}

.main-image.sliding-in-left {
    animation: slideInLeft var(--main-image-slide-duration) var(--easing) forwards;
}

.main-image.sliding-in-right {
    animation: slideInRight var(--main-image-slide-duration) var(--easing) forwards;
}

/* Slider container for overflow control */
.image-slider-container {
    overflow: hidden;
    width: 100%;
}

/* Flexbox for straight line, no wrapping */
.image-slider {
    display: flex;
    flex-wrap: nowrap;
    transition: transform var(--indicator-slide-duration) var(--easing);
}

/* Image items within col-3 */
.image-item {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.image-item:hover {
    transform: scale(1.05);
}

/* Main image wrapper for slide effect */
.main-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    /* Ensure wrapper has height to contain images */
}

/* Angle buttons styling */
.angle-buttons {
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    right: 25px;
    left: 25px;
}

.angle-btn {
    width: var(--angle-btn-size);
    height: var(--angle-btn-size);
    background: white;
    color: #6c757d;
    border: none;
    border-radius: 50%;
    font-size: var(--angle-btn-font-size);
    cursor: pointer;
    pointer-events: auto;
    transition: opacity var(--angle-btn-opacity-transition), background, transform 0.2s ease-in-out;
}

.angle-btn:hover {
    background: #ffc107;
    color: white;
    transform: scale(1.1);
}

.angle-buttons.d-none {
    display: none;
}

/* Show angle buttons on hover */
.main-image-container:hover .angle-buttons,
.indicator-container:hover .angle-buttons {
    display: flex;
}

/* Ensure vehicle-video is above buttons */
.vehicle-video {
    z-index: 2;
}

/* Ensure indicator container is positioned */
.indicator-container {
    position: relative;
}

/* Reset and base styles */
.tooltip-parent {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Tooltip styling */
.tooltip-parent::after {
    content: attr(data-tooltip);
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 3px 5px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1000;
}

/* Show tooltip on hover */
.tooltip-parent:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Direction-specific positioning */
.tooltip-parent[data-direction="top"]::after {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
}

.tooltip-parent[data-direction="bottom"]::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
}

.tooltip-parent[data-direction="left"]::after {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 8px;
}

.tooltip-parent[data-direction="right"]::after {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 8px;
}

/* Optional arrow for visual enhancement */
.tooltip-parent::before {
    content: "";
    position: absolute;
    border: 6px solid transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1000;
}

.tooltip-parent:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Arrow positioning for each direction */
.tooltip-parent[data-direction="top"]::before {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #333;
    margin-bottom: 2px;
}

.tooltip-parent[data-direction="bottom"]::before {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: #333;
    margin-top: 2px;
}

.tooltip-parent[data-direction="left"]::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-left-color: #333;
    margin-right: 2px;
}

.tooltip-parent[data-direction="right"]::before {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-right-color: #333;
    margin-left: 2px;
}

.transparent1 {
    background-color: rgb(255, 193, 7, 0.8);
}

/* Hide all content sections by default */
.content-section-custom {
    display: none;
}

.nav-item-custom {
    cursor: pointer;
    color: #6c757d;
}

/* Active state styles */
.nav-item-custom.active i,
.nav-item-custom.active .fw-bold {
    color: #ffc107;
}

.nav-item-custom.active .active-hr {
    background-color: #ffc107;
}

/* Hover effect for inactive items */
.nav-item-custom:not(.active):hover i,
.nav-item-custom:not(.active):hover .fw-bold {
    color: #ffc107;
}

.nav-item-custom:not(.active):hover .active-hr {
    background-color: #ffc107;
}

/* Smooth transitions */
i,
.fw-bold {
    transition: color 0.3s ease;
}

.active-hr {
    transition: background-color 0.3s ease;
}

/* product page */

.background-image {
    background-image: url("../Navbar/images/ferrari.webp");
    width: 100%;
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.background-image .dark-bg {
    width: 100%;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.5);
}

.background-image div {
    z-index: 99;
}

.background-image .trans-bg {
    background-color: rgb(0, 0, 255, 0.25);
    width: 270px;
    height: 270px;
}

.trans-bg,
.no-trans-bg {
    z-index: 999;
}

.bg-light-secondary {
    background-color: gainsboro;
}

.dot {
    font-size: 5.5px;
}

/* Ensure the icon has a smooth transition */
.fa-angle-down {
    transition: transform 0.3s ease;
    /* Smooth rotation over 0.3 seconds */
}

/* Rotate the icon when the dropdown is open */
.dropdown.show .fa-angle-down {
    transform: rotate(180deg);
    /* Flips the icon up */
}

/* about-us */

.background-image-about {
    background-image: url("../Navbar/images/car11.webp");
    width: 100%;
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.background-image-about .dark-bg {
    width: 100%;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.5);
}

.background-image-about div {
    z-index: 99;
}

.background-image-about .trans-bg {
    background-color: rgb(0, 0, 0, 0.25);
    width: 270px;
    height: 270px;
}

:root {
    --primary-color: #a31620;
    --primary-text: #a31620;
    --tertiary-color: gainsboro;
    --hover-color: #a31620;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.faq-parent {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.faq-parent:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.faq-header {
    background-color: var(--tertiary-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.faq-header:hover::before {
    left: 100%;
}

.faq-header:hover {
    background-color: #fff;
    border-color: var(--primary-color);
}

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

.faq-header.active .primary-text {
    color: white !important;
}

.primary-text.faq {
    color: var(--primary-text);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

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

.faq-header.active .faq:hover {
    color: #f0f8ff;
}

.faq-icon-container {
    position: relative;
    width: 1.2em;
    height: 1.2em;
    display: inline-block;
}

.faq-icon-plus,
.faq-icon-minus {
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.4s ease;
    transform-origin: center;
}

.faq-header.collapsed .faq-icon-plus {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.faq-header.collapsed .faq-icon-minus {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

.faq-header:not(.collapsed) .faq-icon-plus {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

.faq-header:not(.collapsed) .faq-icon-minus {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.faq-answer {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-top: none;
    overflow: hidden;
}

.faq-content {
    padding: 20px 24px;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    animation: fadeInUp 0.5s ease;
}

/* Enhanced Animation Classes */
.team-faq-animation {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-faq-answer.collapsing {
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-faq-answer.show {
    animation: slideDown 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Loading animation for FAQ items */
.faq-parent {
    animation: fadeInSequence 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.faq-parent:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-parent:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-parent:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-parent:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-parent:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeInSequence {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design
@media (max-width: 768px) {
    .faq-container {
        padding: 20px 15px;
    }

    .faq-title {
        font-size: 2rem;
    }

    .primary-text.faq {
        font-size: 1rem;
    }

    .faq-content {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
} */

/* Accessibility improvements */
.faq-header:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Custom scrollbar for content if needed */
.faq-content::-webkit-scrollbar {
    width: 6px;
}

.faq-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.faq-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.team-image-container {
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 300px;
}

.team-image {
    transition: transform 0.3s ease;
}

.team-image-container:hover .team-image {
    transform: scale(1.2);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image-container:hover .team-overlay {
    opacity: 1;
}

.team-overlay-content {
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 16px;
}

.text-hw {
    width: 300px;
}

.dark-trans {
    background-color: rgba(0, 0, 0, 0.25);
    /* Semi-transparent black */
    width: 100%;
    /* Cover the container */
    height: 100%;
    /* Cover the container */
    position: absolute;
    /* Overlay on top of image */
    top: 0;
    left: 0;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease;
    /* Smooth fade */
}

.abt-img-container:hover .dark-trans {
    opacity: 1;
    /* Show overlay on container hover */
}

.dark-trans-button {
    transition: transform 0.3s ease;
    /* Center vertically */
    left: 35%;
}

.dark-trans-button:hover {
    transform: translateY(-5px);
}

.thick-hr {
    height: 5px;
    background-color: gainsboro;
}

.co-cta-primary {
    transition: transform 0.3s ease;
    width: fit-content;
    color: white;
}

.co-cta-primary:hover {
    transform: translateY(-5px);
    color: black;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-trigger {
    cursor: pointer;
}

.tooltip {
    position: absolute;
    background-color: #333;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.tooltip::after {
    content: '';
    position: absolute;
    border: 6px solid transparent;
}

.tooltip.top {
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
}

.tooltip.top::after {
    border-top-color: #333;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.tooltip.bottom {
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
}

.tooltip.bottom::after {
    border-bottom-color: #333;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.tooltip.left {
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
}

.tooltip.left::after {
    border-left-color: #333;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
}

.tooltip.right {
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
}

.tooltip.right::after {
    border-right-color: #333;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
}

.tooltip-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.input-w {
    width: 500px !important;
}

/* small screen */
@media only screen and (max-width:767.98px) {
    .logo {
        width: 150px;
    }

    .reg-log_box {
        min-width: 90vw;
    }

    .input-w {
        width: 250px !important;
    }
}

/* medium screen */
@media only screen and (min-width:768px) and (max-width:991.98px) {
    .reg-log_box {
        min-width: 80vw;
    }
}