@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;
    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 p {
    max-width: 680px;
    text-align: center;
    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 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);
}

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

/* 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;
}

.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;
}

.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-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;
    }

}

@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: 60px !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.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }
    .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%;
    }

    .consultation {
        min-height: 40vh;
        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: 130px;
        height: 130px;
    }
    
    /* 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-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);
}