@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General styles */
body {
    font-family: "Poppins", sans-serif;
}

/* header-section */
.header {
    display: flex;
    padding: 10px; 
    border-bottom: #d4d4d4 solid 1px;
    box-shadow: 0.5px 0 0.8px rgba(0,0,0,0.75);

}
.logo{
    display: flex;
}
.logo img{
    width: 100px;
    justify-content: center;
    align-self: center;
    top: 0;
    right: 0;
}
.logo-text h1 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 6px;
    margin-left: 3px;
    color: rgb(68, 68, 68);
}

.logo-text h1::after {
    content: "+91 90035 25975";
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 5px;
    color: #8f8f8f;
}

/* nav-bar section */
nav{
    height: 60px;
    background-color: var(--color1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.nav-bars{
    justify-content: center;
    align-items: center;
    margin-left: 150px;
}
.links-container{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav a{ 
    padding: 0 20px;
    display: flex;
    text-decoration: none;
    color: var(--text-color);
}
nav a:hover{
    color: #F3B649;
    transition: 0.5s;
}
nav .home-links{
    fill: var(--text-color);
}
nav svg {
    fill: var(--text-color);
}
#sidebar-active{
    display: none;
}
.open-sidebar-button,.close-sidebar-button{
    display: none;
}

/* Language Switch Container */
.language-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10%;
}

/* Switch Control Styling */
.switch-control {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch-control input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: rgba(243, 182, 73, 0.8); /* Active switch color */
}

input:checked + .switch-slider:before {
    transform: translateX(26px);
}

/* Language Label Styling */
#langLabel {
    font-size: 16px;
    color: rgb(23, 23, 23);
}



@media(max-width:1250px){
    .links-container{

        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 300px;
        background-color: #d3d3d3;
        box-shadow: -5px 0 5px rgba(0,0,0,0.25);
        transition: 0.75s ease-out;
    }
    nav a{
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }
    .open-sidebar-button,.close-sidebar-button{
        padding: 20px;
        display: block;
    }
    #sidebar-active:checked ~ .links-container{
        right: 0;
    }
    #sidebar-active:checked ~ #overlay{
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
    .header {
        flex-direction: row; /* Keep row layout */
        justify-content: space-between; /* Align logo to left, menu to right */
        align-items: center;
        padding: 10px;
    }

    .logo {
        flex-direction: row;
        align-items: center;
    }

    .logo-text h1 {
        font-size: 16px; /* Slight size reduction for smaller screens */
    }
    .logo-text h1::after{
        font-size: 14px;
    }

    .nav-bars {
        margin-left: 0; /* Remove unnecessary margin on mobile */
    }

    .open-sidebar-button {
        display: block; /* Ensure menu icon is visible on mobile */
        margin-left: auto; /* Align the menu icon to the right */
    }
}

@media(max-width:430px){
   
    .logo img {
        width: 60px; /* Further reduce logo size for smaller screens */
    }

    .logo-text h1 {
        font-size: 14px; /* Adjust title size */
    }
    .logo-text h1::after{
        font-size: 12px;
    }

    .header {
        padding: 8px; /* Compact padding */
    }
}


/* header Section */

/* Service Image Section */
.service-img {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('image/Service-banner.JPG'); 
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    color: #fff;
    text-align: left;
    padding: 0 10%; 
    position: relative;
    animation: fadeUp 1s ease forwards; /* Add fade-up animation */
}

/* Keyframes for fading up */
@keyframes fadeUp {
    0% {
        opacity: 0 ;
        transform: translateY(20px); /* Start slightly lower */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at original position */
    }
}

/* Styling for h1 and p */
.service-img h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: rgba(243, 182, 73, 1);
    opacity: 0; /* Start hidden */
    transform: translateX(20px); /* Start from the right */
    animation: slideIn 1s ease forwards 0.5s; /* Add slide-in animation */
}

/* Keyframes for sliding in */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(20px); /* Start slightly to the right */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* End at original position */
    }
}

.service-img p {
    font-size: 18px;
    margin-top: 0;
    opacity: 0; /* Start hidden */
    transform: translateX(20px); /* Start from the right */
    animation: slideIn 1s ease forwards 0.6s; /* Add slide-in animation */
}

/* media queries */
@media (max-width: 991px){
    html,body{
        width: 100%;
        overflow-x: hidden;
    }
}
@media (max-width: 768px) {
    .service-img {
        padding: 0 5%; /* Reduce side padding */
        align-items: center; /* Center-align content */
        text-align: center;
    }

    .service-img h1 {
        font-size: 28px;
        margin-left: 0;
    }

    .service-img p {
        font-size: 16px;
        margin-left: 0;
    }
    html,body{
        width: 100%;
        overflow-x: hidden;
    }
}

/* Mobile view adjustments */
@media (max-width: 480px) {
    .service-img {
        height: 200px; /* Adjust height for smaller screens */
        padding: 0 5%; /* Smaller side padding */
        align-items: center;
        text-align: center; /* Center-align text */
    }

    .service-img h1 {
        font-size: 24px;
    }

    .service-img p {
        font-size: 14px;
    }
}


/* Thila Section */
/* General Styling */
/* Thila Section */
.Thila {
    padding: 20px;
}

/* Heading Animation */
.Thila h3 {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 24px;
    opacity: 0; /* Start hidden */
    animation: fadeUp 1s ease forwards; /* Fade-up animation */
    animation-delay: 0.5s; /* Delay for heading */
}

/* Keyframes for fade-up effect */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start lower */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at original position */
    }
}

/* Thila Background Section */
.thila-bg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(243, 182, 73, 1);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px; /* Adds spacing between elements */
}

/* Thila Text on the Left */
.thila-txt {
    flex: 1;
    padding-right: 20px;
    opacity: 0; /* Start hidden */
    animation: slideInLeft 1s ease forwards; /* Slide-in animation */
    animation-delay: 1s; /* Delay for text */
}

.thila-txt h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}

.thila-txt ul {
    list-style-type: disc;
    padding-left: 20px;
}

.thila-txt ul li {
    margin-bottom: 10px;
    font-size: 18px;
    color: #131313;
    text-align: justify;
}

/* Keyframes for slide-in effect from left */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px); /* Start from the left */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* End at original position */
    }
}

/* Thila Image on the Right */
.thila-img {
    position: relative;
    flex: 1;
    text-align: center;
    opacity: 0; /* Start hidden */
    animation: slideInRight 1s ease forwards; /* Slide-in animation */
    animation-delay: 1s; /* Delay for image */
}

.thila-img img {
    width: 70%;
    height: auto;
    border-radius: 6px;
    margin-left: 10%;
}

/* Keyframes for slide-in effect from right */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(20px); /* Start from the right */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* End at original position */
    }
}

.thila-img h5 {
    position: absolute;
    bottom: 10%;
    left: 55%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #F3B649;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 500;
}


/* Tablet View (768px and below) */
@media (max-width: 820px) {
    .thila-bg {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .thila-txt {
        padding-right: 0;
        text-align: center;
    }

    .thila-img img {
        width: 100%;
        margin: 0;
    }
}

/* Mobile View (480px and below) */
@media (max-width: 480px) {
    .Thila h3 {
        font-size: 20px;
    }

    .thila-bg {
        padding: 10px;
    }

    .thila-txt h4 {
        font-size: 20px;
    }

    .thila-txt ul li {
        font-size: 16px;
    }

    .thila-img img {
        width: 90%;
    }

    .thila-img h5 {
        font-size: 0.9rem;
        left: 50%;
        
    }
}



/* Why Thila Homam Section */
/* General Styling */
.y-thila {
    padding: 20px;
    color: #131313;
    margin: 20px 0;
    margin-left: 10%; /* Default left alignment for desktop */
    max-width: 80%; /* Prevents content from stretching too much */
}

/* Header Styling */
.y-thila h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000000;
}

/* List Styling */
.y-thila ul {
    list-style-type: disc;
    padding-left: 20px;
}

.y-thila ul li {
    margin-bottom: 10px;
    font-size: 18px;
    color: rgba(55, 56, 56, 1);
    text-align: justify; /* Ensures text alignment on desktop */
}

/* Custom List Marker */
.y-thila ul li::marker {
    color: #F3B649;
}

/* Tablet View (768px and below) */
@media (max-width: 820px) {
    .y-thila {
        margin-left: 5%; /* Reduce left margin */
        max-width: 90%; /* Expand to use available space */
        text-align: left;
    }

    .y-thila h4 {
        font-size: 22px;
        text-align: center; /* Center the heading */
    }

    .y-thila ul {
        padding-left: 15px;
    }
}

/* Mobile View (480px and below) */
@media (max-width: 480px) {
    .y-thila {
        margin: 0 auto;
        padding: 15px;
        text-align: center; /* Center-align the content */
    }

    .y-thila h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .y-thila ul {
        padding-left: 0; /* Remove padding for cleaner look */
    }

    .y-thila ul li {
        font-size: 16px;
        text-align: left; /* Keep text aligned left for readability */
    }
}


/* General Styling */
.thila-video video {
    width: 75vw;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
}

/* BOT Section Styling */
.BOT {
    background-color: rgba(243, 182, 73, 1);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    width: 30%;
    margin: 20px auto;
    margin-top: 5%;
}

.BOT h4 {
    font-size: 20px;
    color: #1d1c1c;
    margin-bottom: 10px;
}

.BOT p {
    font-size: 16px;
    color: #0b0b0b;
}

/* Ancestral Dhosha & To-do Wrapper for Desktop View */
.ancestral-and-todo {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 80%;
    margin: 0 auto;
    padding-top: 20px;
    margin-top: 5%;
}

/* Ancestral Dhosha Section */
.Ancestral-dhosha {
    width: 48%;
    text-align: left;
}

.Ancestral-dhosha h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #F3B649;
}

.Ancestral-dhosha ul {
    padding-left: 1em;
    list-style-position: inside; /* Bullets aligned with text */
    text-align: left;
}

.Ancestral-dhosha ul li {
    margin-bottom: 10px;
    font-size: 18px;
}

/* To-do Section */
.To-do {
    width: 48%;
    text-align: left;
}

.To-do h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #F3B649;
}

.To-do ul {
    padding-left: 1em;
    list-style-position: inside; /* Bullets aligned with text */
    text-align: left;
}

.To-do ul li {
    margin-bottom: 10px;
    font-size: 18px;
}

/* Tablet View (768px and below) */
@media (max-width: 768px) {
    .ancestral-and-todo {
        flex-direction: column;
        align-items: center;
    }

    .Ancestral-dhosha,
    .To-do {
        width: 80%;
        margin-bottom: 20px;
    }

    .BOT {
        width: 90%;
    }
}

/* Mobile View (480px and below) */
@media (max-width: 480px) {
    .BOT h4, .Ancestral-dhosha h4, .To-do h4 {
        font-size: 20px;
    }

    .BOT p, .Ancestral-dhosha ul li, .To-do ul li {
        font-size: 16px;
    }

    .ancestral-and-todo {
        width: 100%;
    }
    .BOT{
        width: 80%;
    }

    .Ancestral-dhosha,
    .To-do {
        width: 90%;
        text-align: center; /* Center-align for mobile */
    }

    .BOT {
        padding: 15px;
    }
}


/* Steps Section */
/* General Section Styling */
.steps {
    background-color: rgba(243, 182, 73, 1);
    padding: 20px;
    margin: 20px auto;
    margin-top: 4%;
    width: 60%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Heading */
.steps h4 {
    font-size: 24px;
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 3%
}

/* List Styling */
.steps ul {
    width: 100%; /* Full width to adapt on smaller screens */
    padding: 0;
    list-style-position: inside; /* Bullets aligned with text */
    text-align: left;
    margin-left: 4%;
}

.steps ul li {
    margin-bottom: 10px;
    font-size: 20px;
    color: #1c1c1c;
    margin-left: 4%;
}

/* Image Styling */
.steps-img {
    width: 60%;
    margin: 0 auto;
}

.steps-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .steps {
        width: 90%; /* Reduce width on tablets */
    }

    .steps-img {
        width: 80%;
    }

    .steps h4 {
        font-size: 22px;
    }

    .steps ul li {
        font-size: 18px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .steps {
        width: 95%; /* Full width on mobile */
    }

    .steps h4 {
        font-size: 20px;
    }

    .steps ul li {
        font-size: 14px;
    }

    .steps ul {
        text-align: center; /* Center-align for mobile */
    }

    .steps-img {
        width: 100%; /* Full width image */
    }
}




/* General Button Styling */
button {
    padding: 10px 20px;
    background-color: #F3B649;
    border: none;
    color: #fff;
    font-size: 19.2px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    position: relative;
    margin-left: 85%;
    margin-bottom: 3%;
}



/* Mobile & Tablet View - Align to Left */
@media (max-width: 768px) {
    button {
        margin-left: 5%; /* Align to the left side */
        margin-top: 10px; /* Maintain spacing from top */
    }
}





/* Footer Section */
.footer {
    background-color: #fff;
    color: rgba(73, 72, 72, 1);
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: solid 1px;
    border-color: #ebebeb;
    text-align: center;
    gap: 20px; /* Space between sections */
}

/* Working Hours Section */
.footer .work {
    flex: 1;
    margin-bottom: 20px;
}

.footer .work h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: rgb(21, 21, 21);
}

.footer .work p {
    font-size: 1rem;
    color: rgba(73, 72, 72, 1);
}

/* Logo Section */
.footer .logo-f {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.footer .logo-f img {
    max-height: 80px;
    width: auto;
    margin-bottom: 10px;
}

.footer .logo-f p {
    font-size: 1.2rem;
    color: rgba(73, 72, 72, 1);
}

/* Contact Section */
.footer .contact-footer {
    flex: 1;
    margin-bottom: 20px;
}

.footer .contact-footer h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: rgb(21, 21, 21);
}

.footer .contact-footer p {
    font-size: 1rem;
    color: rgba(73, 72, 72, 1);
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 1.5rem;
    color: rgba(243, 182, 73, 1);
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #FFD700;
}

/* Copyright Section */
.copyr {
    color: #222;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    margin-top: 20px;
    width: 100%;
}

.copyr p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Tablet View */
    .footer {
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Mobile View */
    .footer {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .footer div {
        width: 100%; /* Full width for sections */
    }

    .social-icons {
        flex-wrap: wrap;
        gap: 20px;
    }

    .social-icons a {
        font-size: 1.3rem; /* Slightly smaller on mobile */
    }
}



/* Optional Custom Styling for Fade Animation */
/* Fade Left */
[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(-50px); /* Start from the left */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0); /* Move to original position */
}

/* Fade Right */
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(50px); /* Start from the right */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0); /* Move to original position */
}

/* Fade Up */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(50px); /* Start from below */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
}

/* Fade Down */
[data-aos="fade-down"] {
    opacity: 0;
    transform: translateY(-50px); /* Start from above */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos="fade-down"].aos-animate {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
}


#scrollTopButton {
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%;
    background-color: #F3B649; 
    color: white;
    font-size: 24px; 
    border: none; 
    outline: none; 
    cursor: pointer; 
    display: none; 
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease; 
}

#scrollTopButton:hover {
    background-color: #e8a93d; /* Darker shade on hover */
}
