@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

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

:root {
    --lato: "Lato", sans-serif;
    --small: 0.9rem;
    --xs: 0.8rem;
    --xxs: 0.75rem;
    --primary: #B80018;
    --off-white: #f8fafb;
    --light-gray: #fafafa;
    --gray: #6e6e6e;
    --white: #ffffff;
    --blue: #3937e4;
    --blue2: #3d2de3;
    --blue3: #007bff;
    --green: #00d56e;
    --green2: #2DB976;
    --dgreen: #28a745;
    --purple: #a700fe;
    --yellow: #FFC336;
    --orange: #fd7e14;
    --light-blue: #d3e8ff;
    --baby-blue: #f5f7ff;
    --light-green: #d8ffec;
    --red: #D50318;
    --pastel-red: #ffd7d7;
    --pastel-orange: #ffe8d4;
    --pastel-purple: #f0d9ff;
}

body {
    background: white;
    font-family: "Lato", sans-serif !important;
    overflow-x: hidden !important;
    padding-top: 100px !important;
}

.w-fitcontent {
    width: fit-content !important;
}

.fs-7 {
    font-size: var(--small) !important;
}

.fs-8 {
    font-size: var(--xs) !important;
}

.fs-9 {
    font-size: var(--xxs) !important;
}

.fs-10 {
    font-size: 3.6rem !important;
}

.fs-11 {
    font-size: 1.4rem !important;
}

.h1-head {
    font-size: 3rem !important;
}

.px-md-10 {
    padding-inline: 5rem;
}

.px-12 {
    padding-inline: 8rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.bg-card {
    background-color: #5D5D5D !important;
}

.gridspan-2 {
    grid-column: span 2;
}

.poppins {
    font-family: var(--lato);
}


.logo {
    width: 80px;
}

.web-logo {
    max-width: 250px;
}

.header {
    padding: 0.8rem 2.4rem;
    background-color: #F4F4F4 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 100px;
}

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

.valign {
    vertical-align: middle;
}

.gap-10 {
    gap: 100px !important;
}

.bg-gray {
    background-color: #E5E5E5;
}

.bg-gray-50 {
    background-color: #F5F5F5;
}

.text-gray-400 {
    color: #5D5C5C;
}

.text-green {
    color: #6AD872;
}

.text-green-100 {
    color: #5A8D1B !important;
}

.bg-red {
    background-color: #EE0018 !important;
}

.custom-message {
    animation: fadeSlide 0.3s ease-in-out;
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
    color: rgb(15, 139, 42) !important;
    font-family: var(--poppins);
    padding: 10px 40px !important;
}

/* Scrollbar for Webkit (Chrome, Edge, Safari) */
.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
    /* for horizontal scroll */
    width: 6px;
    /* for vertical scroll */
}

.button-green {
    background-color: #1F9936 !important;
    max-width: fit-content;
}

.button-red {
    background-color: #EE0018 !important;
    max-width: fit-content;
    color: white !important;
    font-weight: 600 !important;
}

.text-orange {
    color: #EE5F00 !important;
}

.shadow-box {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
}

.border-theme {
    border: 1px solid white !important;
    border-radius: 4px;
    background-color: transparent;
}

.btn-outline-theme {
    border: var(--primary) 1px solid;
    border-radius: 4px;
    color: var(--primary);
    background-color: var(--white);
}


.bcolleges {
    background-color: var(--primary) !important;
    color: white !important;
    font-weight: 500;
    text-align: center;
}

.noshrink-25 {
    flex-shrink: 0;
    flex-basis: 25%;
}

.noshrink-70 {
    flex-shrink: 0;
    flex-basis: 70%;
}


.space-y-3>* {
    margin-top: 1rem;

}

.rounded-curve {
    border-radius: 20px;
    height: 230px;
    object-fit: cover;
}

.pagination-btn {
    color: var(--primary) !important;
}

.cinput {
    border: none;
    border-radius: 0.8rem;
    padding: 1rem 0.5rem;
    background-color: #BBBBBB94;
    width: 100%;
}

.inputC {
    border: none;
    border-radius: 2rem;
    padding: 1.4rem 1rem;
    background-color: #F8F8F8;
    width: 100%;
}

.cinput::placeholder {
    color: white;
    opacity: 1;
    /* Ensures full opacity in Firefox */
}

.bg-switch {
    background-color: var(--white);
}

.cursor-pointer {
    cursor: pointer;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
    top: 10px;
    right: 5px;
}

.custom-message {
    animation: fadeSlide 0.3s ease-in-out;
    border-color: white !important;
    background-color: white !important;
    color: var(--primary) !important;
    padding: 10px 40px !important;
}

.text-gray {
    color: #6E6E6E !important;
}

.circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.chat-p {
    max-width: 250px;
}

.positionAbsolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

/* Image Animation - Slide down from top */
.image-container {
    position: relative;
    animation: slideDownFromTop 1s ease-out forwards;
    transform: translateY(-100vh);
}

@keyframes slideDownFromTop {
    0% {
        transform: translateY(-100vh);
    }

    100% {
        transform: translateY(0);
    }
}




/* Styling for the text */
.hero-title {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 auto;
}

.elements {
    gap: 200px;
}

.elements p {
    max-width: 680px;
    text-align: center;
    padding: 0 100px;
    /* margin: auto; */
    font-size: 1.4rem;
}

/* .wellness {
    padding: 100px 140px;   
} */

.wellness h3 {
    font-size: 3rem;
    line-height: 1.3em;
}

.hrc-logo {
    width: 300px;
    margin-top: 120px;
}

.animate-hrc {
    animation: slideFromLeft 1s ease-out 0.3s forwards;
    transform: translateX(-100px);
    opacity: 0;
}

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

.scribble {
    position: absolute;
    top: 80px;
    left: 150px;
}

.text-italic {
    font-style: italic;
    font-weight: 300;
    max-width: 950px;
}

.text-red {
    color: #EE0018;
}

.success h1 {
    font-size: 3rem;
}

.success p {
    max-width: 800px;
    font-size: 1.6rem;
}

.stories-section {
    opacity: 1;
}

.help-page {
    background-image: url('../img/help.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
}

.help-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay with 50% opacity */
    z-index: 1;
}

.help-page > * {
    position: relative;
    z-index: 2; /* Ensures content appears above the overlay */
}

.help-page h1 {
    font-size: 3.4rem;
    line-height: 1.2em;
}

.circle-line {
    width: 700px;
    height: 700px;
    border: 1px solid #F6D8DB;
    border-radius: 50%;
    /* Use 50% for perfect circles */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center the inner circle */
}

.circle-line-inner {
    width: 500px;
    height: 500px;
    border: 1px solid #F6D8DB;
    border-radius: 50%;
}

.consultation {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

.consultation-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.consultation h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.btn-consultation {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.3s;
}

.btn-consultation.animate {
    opacity: 1;
    transform: translateY(0);
}

.btn-consultation:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
}

/* Image positioning and animations */
.consultation-img {
    position: absolute;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: floatRotate 6s ease-in-out infinite;
}

.consultation-img:hover {
    animation-play-state: paused;
    transform: scale(1.15) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Floating and rotating animation */
@keyframes floatRotate {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(3deg);
    }

    50% {
        transform: translateY(-8px) rotate(-3deg);
    }

    75% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Individual animation delays and variations for each image */
.consultation-img.img-1 {
    animation: floatRotate1 7s ease-in-out infinite;
}

.consultation-img.img-2 {
    animation: floatRotate2 6.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.consultation-img.img-3 {
    animation: floatRotate3 8s ease-in-out infinite;
    animation-delay: 1s;
}

.consultation-img.img-4 {
    animation: floatRotate4 7.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.consultation-img.img-5 {
    animation: floatRotate5 6.8s ease-in-out infinite;
    animation-delay: 2s;
}

.consultation-img.img-6 {
    animation: floatRotate6 7.2s ease-in-out infinite;
    animation-delay: 2.5s;
}

/* Unique animation variations for each image */
@keyframes floatRotate1 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    33% {
        transform: translateY(-20px) rotate(5deg) scale(1.05);
    }

    66% {
        transform: translateY(-10px) rotate(-5deg) scale(0.98);
    }
}

@keyframes floatRotate2 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    30% {
        transform: translateY(-15px) rotate(-4deg) scale(1.03);
    }

    70% {
        transform: translateY(-25px) rotate(4deg) scale(1.02);
    }
}

@keyframes floatRotate3 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    40% {
        transform: translateY(-18px) rotate(6deg) scale(1.04);
    }

    80% {
        transform: translateY(-12px) rotate(-3deg) scale(0.99);
    }
}

@keyframes floatRotate4 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    35% {
        transform: translateY(-22px) rotate(-5deg) scale(1.06);
    }

    65% {
        transform: translateY(-8px) rotate(5deg) scale(1.01);
    }
}

@keyframes floatRotate5 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-16px) rotate(4deg) scale(1.03);
    }

    75% {
        transform: translateY(-20px) rotate(-6deg) scale(0.97);
    }
}

@keyframes floatRotate6 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-24px) rotate(-4deg) scale(1.05);
    }
}

/* Different sizes for each image using nth-child */
.consultation-img:nth-child(3) {
    /* img-1 */
    width: 200px;
    height: 200px;
}

.consultation-img:nth-child(4) {
    /* img-2 */
    width: 180px;
    height: 180px;
}

.consultation-img:nth-child(5) {
    /* img-3 */
    width: 200px;
    height: 200px;
}

.consultation-img:nth-child(6) {
    /* img-4 */
    width: 200px;
    height: 200px;
}

.consultation-img:nth-child(7) {
    /* img-5 */
    width: 160px;
    height: 160px;
}

.consultation-img:nth-child(8) {
    /* img-6 */
    width: 130px;
    height: 130px;
}

/* Initial positions (off-screen) */
.img-1 {
    top: -200px;
    left: 10%;
    transform: rotate(-45deg) scale(0.3);
}

.img-2 {
    top: -35px;
    right: 15%;
    transform: rotate(45deg) scale(0.3);
}

.img-3 {
    top: 50%;
    left: -200px;
    transform: translateY(-50%) rotate(-90deg) scale(0.3);
}

.img-4 {
    top: 50%;
    right: -200px;
    transform: translateY(-50%) rotate(90deg) scale(0.3);
}

.img-5 {
    bottom: -200px;
    left: 15%;
    transform: rotate(-135deg) scale(0.3);
}

.img-6 {
    bottom: -200px;
    right: 10%;
    transform: rotate(135deg) scale(0.3);
}

/* Yellow accent dots */
.yellow-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #f1c40f;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s ease-out;
}

.events-div h6 {
    position: absolute;
    bottom: 15%;
    left: 10%;
}

.events-div p {
    position: absolute;
    bottom: 3%;
    left: 10%;
    font-size: 1.4rem;
    max-width: 500px;
}

/* YouTube Shorts Wrapper - Vertical Video Format */
.youtube-shorts-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding-bottom: 177.78%;
    /* 9:16 aspect ratio for vertical videos (Shorts) */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-shorts-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.youtube-shorts-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.footer {
    background-color: #4E4E4E;
}

.footer-text {
    max-width: 450px;
}

.curved-overlay {
    position: relative;
    background-color: #F8F8F8;
    border-radius: 50px 50px 0 0;
    height: 105px;
    margin-top: -100px;
    z-index: 10;
}

.contact-content {
    padding-top: 30px;
    padding-bottom: 40px;
    position: relative;
    z-index: 20;
    margin-bottom: 40px;
}

/* .hero-section {
    height: auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }
} */
.contact-tag {
    display: inline-block;
    border: 2px solid #DD989F;
    border-radius: 25px;
    padding: 8px 24px;
    font-size: 14px;
    color: #666;
    background: white;
    margin-bottom: 20px;
}

.contact-content h1 {
    font-size: 3.4rem;
}

.contact-content p {
    max-width: 550px;
    margin: auto;
}

.contact-cards {
    min-width: 300px;
}

.about-content p {
    max-width: 700px;
}

.left-border {
    border-left: 5px solid #82A754 !important;
    border-radius: 10px 0;
}

.border {
    border-left: 15px solid red;
    max-height: 200px;
}

.life-text {
    max-width: 400px;
}

.mental-health {
    max-width: 500px;
}

.service-p {
    max-width: 700px;
}

.team {
    border-top-left-radius: 90px !important;
    border-bottom-left-radius: 90px !important;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 100px !important;
}

/* ----------------circle----------------- */
.elements-img img {
    width: 100px;
    position: absolute;
    transition: all 0.5s ease;
    /* Smooth transition for position, scale, width */
}

.element-head {
    font-size: 1.3rem;
}

.element-text {
    font-size: 0.9rem;
}

.element-1 {
    right: -9%;
    top: 30%;
}

.element-2 {
    right: -10%;
    bottom: -9%;
}

.element-3 {
    right: 48%;
    bottom: -8%;
}

.element-4 {
    left: -20%;
    bottom: 6%;
}

.element-5 {
    left: 40%;
    top: -11%;
    transform: scale(1.2);
    /* Initial scale for top element */
    width: 110px;
    /* Specific width for top element */
    z-index: 10;
}

.content-container {
    transition: opacity 0.3s ease;
    /* Smooth content fade */
}

.circle-line-inner {
    position: relative;
    width: 500px;
    /* Adjust based on your design */
    height: 500px;
    /* Adjust based on your design */
}

/* -----responsive--- */
@media (max-width:1400px) {
    .logo {
        width: 50px;
    }

    .events-div p {
        position: absolute;
        bottom: 3%;
        left: 10%;
        font-size: 1rem;
        max-width: 350px;
    }

    .events-div h6 {
        position: absolute;
        bottom: 15%;
        left: 7%;
        text-align: start !important;
    }

    .events-div-video {
        padding: 1rem;
    }

    .events-div-video h6 {
        font-size: 1.3rem !important;
    }

    .events-div-video p {
        font-size: 0.9rem !important;
    }

    .carousel-3d-item {
        position: absolute;
        width: 500px !important;
        height: 300px !important;
        left: 50%;
        top: 50%;
        margin-left: -250px !important;
        margin-top: -280px !important;
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        transform-style: preserve-3d;
    }

}

@media (max-width:990px) {
    .bg-switch {
        background-color: transparent;
    }
}

@media(max-width:600px) {

    body {
        padding-top: 30px !important;
    }

    .header {
        padding: 1.4rem 2rem;
        background-color: white !important;
        height: 80px !important;
    }

    .login-logo {
        max-width: 170px !important;
        height: auto;
    }

    .fs-10 {
        font-size: 1.6rem !important;
    }

    .fs-11 {
        font-size: 0.5rem !important;
    }

    .px-md-10 {
        padding-inline: 3rem;
    }

    .h1-head {
        font-size: 1.5rem !important;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        max-width: 300px !important;
    }

    /* Reduce gap in elements section */
    .elements {
        gap: 20px !important;
    }

    .services .contact {
        padding-top: 30px !important;
    }

    .contact {
        padding-top: 30px !important;
    }

    .hrc-logo {
        width: 150px;
        margin-top: 0px;
    }

    .success h1 {
        font-size: 1.8rem;
    }

    .success p {
        max-width: 800px;
        font-size: 1rem;
    }

    .help-page {
        background-image: url('../img/help-res.png');
        background-size: cover;
        background-position: center;
        position: relative;
        min-height: 300px !important;
    }

    .help-page h1 {
        font-size: 1.8rem;
        line-height: 1.2em;
    }

    .events-div h6 {
        position: absolute;
        bottom: 15%;
        left: 6%;
    }

    .events-div p {
        left: 6%;
    }

    /* Mobile responsive for YouTube Shorts */
    .youtube-shorts-wrapper {
        max-width: 280px;
        padding-bottom: 177.78%;
        /* Maintain 9:16 aspect ratio */
        border-radius: 15px;
    }

    .youtube-shorts-wrapper iframe {
        border-radius: 15px;
    }

    .consultation {
        min-height: 60vh;
        padding: 20px;
    }

    .consultation h1 {
        font-size: 1.8rem !important;
    }

    /* Different sizes for each image using nth-child */
    .consultation-img:nth-child(3) {
        /* img-1 */
        width: 250px;
        height: 250px;
        display: none;
    }

    .consultation-img:nth-child(4) {
        /* img-2 */
        width: 60px;
        height: 60px;
    }

    .consultation-img:nth-child(5) {
        /* img-3 */
        width: 70px;
        height: 70px;
    }

    .consultation-img:nth-child(6) {
        /* img-4 */
        width: 80px;
        height: 80px;
    }

    .consultation-img:nth-child(7) {
        /* img-5 */
        width: 90px;
        height: 90px;
    }

    .consultation-img:nth-child(8) {
        /* img-6 */
        width: 100px;
        height: 100px;
    }

    /* Initial positions (off-screen) */
    .img-1 {
        top: -200px;
        left: 10%;
        transform: rotate(-45deg) scale(0.3);
    }

    .img-2 {
        top: -5px;
        right: 20%;
    }

    .img-3 {
        top: 11%;
        left: -3px;
    }

    .img-4 {
        bottom: 5%;
        right: -2px;
        transform: translateY(-50%) rotate(90deg) scale(0.3);
    }

    .img-5 {
        bottom: -1px;
        left: 4%;
        transform: rotate(-135deg) scale(0.3);
    }

    .img-6 {
        bottom: -200px;
        right: 10%;
        transform: rotate(135deg) scale(0.3);
    }

    .elements-img img {
        width: 60px;
        /* Reduced from 100px */
        position: absolute;
        transition: all 0.5s ease;
        /* Smooth transition for position, scale, width */
    }

    .element-head {
        font-size: 1.4rem !important;
    }

    .element-text {
        font-size: 0.4rem;
    }

    .element-1 {
        right: -5%;
        /* Adjusted for smaller scale */
        top: 25%;
    }

    .element-2 {
        right: 2%;
        /* Adjusted for smaller scale */
        bottom: -7%;
    }

    .element-3 {
        right: 46%;
        bottom: -7%;
    }

    .element-4 {
        left: -11%;
        bottom: 17%;
    }

    .element-5 {
        left: 38%;
        /* Slightly adjusted for centering */
        top: -7%;
        transform: scale(1.2);
        /* Kept scale for prominence */
        width: 70px;
        /* Reduced from 110px */
        z-index: 10;
    }

    .content-container {
        transition: opacity 0.3s ease;
        /* Smooth content fade */
    }

    .circle-line {
        width: 400px;
        height: 400px;
    }

    .circle-line-inner {
        position: relative;
        width: 350px;
        /* Reduced from 500px */
        height: 350px;
        /* Reduced from 500px */
        max-width: 80vw;
        /* Ensure responsiveness on smaller screens */
        max-height: 80vw;
        /* Ensure responsiveness on smaller screens */
    }

}

/* Form Messages Styling */
#form-messages {
    margin-bottom: 1rem;
}

#form-messages .alert {
    border-radius: 0.5rem;
    border: none;
    padding: 0.75rem 1rem;
    margin-bottom: 0;
}

#form-messages .alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

#form-messages .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

#form-messages .btn-close {
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem -0.25rem auto;
}

/* Form validation styling */
.cinput:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

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

.consultation-img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.audio-player-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.testimonial-audio {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    outline: none;
    margin-top: 20px;
}

.testimonial-audio::-webkit-media-controls-panel {
    background-color: white !important;
    border-radius: 25px;
}

.consultation-img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 3D Carousel Machine Gallery Styles */
#machines {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.carousel-3d-container {
    position: relative;
    width: 100%;
    height: 700px;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .carousel-3d-container {
        height: 580px;
    }
}

.carousel-3d-scene {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-3d-item {
    position: absolute;
    width: 600px;
    height: 450px;
    left: 50%;
    top: 50%;
    margin-left: -300px;
    margin-top: -225px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

@media (max-width: 768px) {
    .carousel-3d-item {
        width: 280px !important;
        height: 320px !important;
        margin-left: -140px !important;
        margin-top: -160px !important;
    }
}

.machine-card-3d {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.5s ease;
    background: #fff;
}

.machine-card-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.machine-card-3d:hover img {
    transform: scale(1.1);
}
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.card-info h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .card-info h4 {
        font-size: 1.2rem;
    }

    .card-info p {
        font-size: 0.9rem;
    }

    .elements p {
        max-width: 680px;
        text-align: center;
        padding: 0 10px;
        /* margin: auto; */
        font-size: 1rem;
    }
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
    left: 10%;
}

.carousel-next {
    right: 10%;
}

@media (max-width: 768px) {
    .carousel-prev {
        left: 5%;
    }

    .carousel-next {
        right: 5%;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }
}

.carousel-nav svg {
    color: #333;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: #fff;
    border-color: #dc3545;
    transform: scale(1.3);
}

/* Animation keyframes */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}