/*
* This CSS file has been updated to be mobile-responsive.
* It uses media queries to adjust the layout, font sizes, and spacing
* for different screen sizes, specifically for tablets and mobile phones.
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arimo', sans-serif;
    font-family: 'Montserrat', sans-serif;
}


nav {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .logo {
    width: 250px;
}

.header {
    flex: 1;
    text-align: right;
}

nav ul li {
    list-style: none;
    display: inline-block;
    margin-left: 40px;
}

nav ul li a {
    text-decoration: none;
    font-size: 22px;
}

nav ul li::after {
    content: '';
    width: 100%;
    height: 2px;
    background: #fff;
    display: block;
    margin: auto;
}


.content h1:hover {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}

.content a {
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-size: 25px;
    border: 2px solid #fff;
    margin-top: 20px;
    padding: 10px 35px;
}


@media (min-aspect-ratio: 16/89) {
    .back-video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/89) {
    .back-video {
        width: auto;
        height: 100%;
    }
}

/* --- About Section Styles --- */
.about {
    padding-top: 70px;
    padding-bottom: 70px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-image: linear-gradient(-225deg, rgb(216, 115, 33) 0%, #e5ddb6 100%);
}

.about-image {
    flex: 1;
    margin-right: 40px;
    overflow: hidden;
}

.about-image img {
    max-width: 100%;
    height: 600px;
    display: block;
    transition: 0.5s ease;
}

.about-content {
    flex: 1;
}

/* To justify the paragraphs in the about section */
.about-content p {
    text-align: justify;
}

/* --- Sticky Header & Service Section Styles --- */
header.sticky {
    background-color: #fff;
    padding: 22px 12%;
    box-shadow: 0px 4px 15px rgb(0 0 0 / 8%);
    transition: .43s;
}

.center-text {
    text-align: center;
}

.center-text h1 {
    font-size: 25px;
    color: rgb(216, 115, 33);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 80px;
}

.ser-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto));
    gap: 2rem;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #fff;
}

/* --- Table & Progress Bar Styles --- */
table {
    width: 100%;
    border-collapse: collapse;
}

tr {
    position: relative;
}

td {
    padding: 7px 50px;
    border-bottom: 1px solid #ddd;
}

.overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    opacity: 0;
}

.loading-bar {
    display: flex;
    height: 2px;
    width: 180px;
    max-width: 320px;
    background-color: #8a8a8c;
    box-shadow: inset 0px 0px 0px 1px #8a8a8c;
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar {
    display: flex;
    height: 100%;
    width: 0%;
    background: #ffffff;
    animation: determinateAnimation 5s linear infinite;
}

@keyframes determinateAnimation {
    0% {
        transform: translateX(0) scaleX(0);
    }

    40% {
        transform: translateX(0) scaleX(0.4);
    }

    100% {
        transform: translateX(100%) scaleX(0.5);
    }
}

@keyframes determinateAnimation {
    100% {
        width: 100%;
    }
}

/* --- Contact Section Styles --- */
.contact-box {
    background: whitesmoke;
    display: flex;
}

.contact-left {
    flex-basis: 50%;
    padding: 60px;
    background: linear-gradient(-225deg, rgb(216, 115, 33) 0%, #e5ddb6 100%);
    color: #fff;
    font-size: 21px;
}

.next-line {
    position: relative;
    right: 10px;
}

.contact-left p {
    color: black;
    position: relative;
    left: 50px;
}

.contact-left p {
    position: relative;
    top: 10px;
    left: 30px;
}

.contact-left p a {
    position: relative;
    left: 90px;
}

.contact-left h3 {
    font-size: 40px;
}

.contact-right {
    flex-basis: 50%;
    padding: 35px 60px;
}

.input-row {
    justify-content: space-between;
    margin-bottom: 20px;
}

.input-row .input-group {
    flex-basis: 45%;
}

input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    padding-bottom: 5px;
}

textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    padding: 10px;
    box-sizing: border-box;
}

label {
    margin-bottom: 6px;
    display: block;
    font-size: 20px;
}

button {
    background: rgb(224, 139, 70);
    width: 100%;
    border: none;
    color: black;
    height: 35px;
    margin-top: 20px;
    box-shadow: 0px 5px 15px 0px rgba(22, 21, 22, 0.3);
    border-radius: 50px;
    border: 2px solid rgb(224, 139, 70);
    position: relative;
}

.button {
    position: relative;
    left: 50px;
    padding: 17px;
    color: black;
    background-color: white;
    text-decoration: none;
    border: 2px solid white;
    box-shadow: 0px 5px 15px 0px rgba(22, 21, 22, 0.3);
    border-radius: 50px;
}

.button:hover {
    background-color: rgb(224, 139, 70);
    color: white;
}

.field {
    width: 100%;
    padding: 0.5rem 1rem;
    outline: none;
    border: 2px solid rgba(0, 0, 0, 0);
    background-color: rgba(230, 230, 230, 0.6);
    font-size: 0.9rem;
    margin-bottom: 22px;
    transition: .3s;
}

/* --- Container & Swiper Section Styles --- */
.containernew {
    width: 100%;
    min-height: 100vh;
    padding: 60px 6%;
    display: flex;
    /* Use flexbox for desktop layout */
    align-items: center;
    justify-content: center;
    gap: 40px;
    /* Use gap for spacing between the side info and swiper */
}

.containernew .side-info {
    max-width: 400px;
}

.containernew .side-info span {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 16px;
    color: #717171;
}

.containernew .side-info h1 {
    text-transform: capitalize;
    letter-spacing: 0.8px;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 56px;
    background-color: rgb(216, 115, 33);
    background-image: linear-gradient(45deg, rgb(216, 115, 33), #e5ddb6);
    background-size: 100%;
    background-repeat: repeat;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

.containernew .side-info hr {
    display: block;
    background: rgb(216, 115, 33);
    height: 4px;
    width: 20%;
    margin: 18px 0;
}

.containernew a {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    color: #717171;
    font-weight: 500;
    background: #fff;
    border-radius: 50px;
    border: 2px solid #c2c2c2;
    padding: 8px 16px;
    margin-top: 20px;
    transition: 0.3s ease-in-out;
}

.containernew a:hover {
    border: 2px solid rgb(216, 115, 33);
    color: rgb(216, 115, 33);
}

.containernew .swiper {
    width: 100%;
    /* Adjust swiper to take available space */
    max-width: 700px;
    /* Limit max-width for larger screens */
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
    background: #fff;
}

.swiper-pagination {
    bottom: 20px !important;
}

.swiper-slide {
    width: 300px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align content to the bottom */
    align-items: flex-start;
    padding-bottom: 50px;
    /* Add padding to the bottom for better spacing */
}

.swiper-slide h2 {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 10px;
    padding: 0 0 0 24px;
    text-transform: uppercase;
}

.swiper-slide a {
    margin: 20px 25px 0px !important;
    padding: 8px 16px !important;
    font-size: 14px;
    border: none;
    align-self: flex-start;
    /* Align the button with the text */
}

.swiper-slide a:hover {
    border: none;
}

.swiper-slide div {
    display: block;
    opacity: 1;
    /* Make the div always visible */
    padding-bottom: 10px;
    transition: opacity 0.3s ease-in-out;
}

.swiper h2 {
    margin-top: 0;
}


.swiper-slide.slide-one {
    background: url(VaikunthaWEBPAGE/service1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.swiper-slide.slide-two {
    background: url(VaikunthaWEBPAGE/service2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.swiper-slide.slide-three {
    background: url(VaikunthaWEBPAGE/service3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.swiper-slide.slide-four {
    background: url(VaikunthaWEBPAGE/service4.webp) no-repeat;
    background-size: cover;
    background-position: center;
}

/* --- Media Queries for Responsive Design --- */

/* Styles for screens up to 800px (e.g., Tablets) */
@media (max-width: 800px) {
    .header {
        height: auto;
        /* Remove fixed height for mobile */
    }

    nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        position: static;
        /* Use static positioning to prevent conflicts */
        padding: 10px;
        /* Reduce padding for a more compact layout */
    }

    nav .logo {
        width: 150px;
        /* Make the logo smaller */
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        /* Align the menu to the right */
        list-style: none;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 5px;
    }

    nav ul li a {
        font-size: 14px;
        /* Make the button text smaller */
        padding: 5px 10px;
    }

    .content {
        position: static;
        /* Change to static positioning */
        transform: none;
        /* Remove the transform */
        text-align: center;
        /* Center the text for mobile */
        width: 100%;
        padding: 20px;
        top: auto;
        left: auto;
    }

    .content h1,
    .content h2 {
        text-align: center;
    }


    .about {
        padding: 20px;
        flex-wrap: wrap;
    }

    .about-image,
    .about-content {
        flex: 100%;
        margin-right: 0;
        text-align: center;
    }

    .about-image img {
        height: auto;
        margin-bottom: 20px;
    }

    .contact-box {
        display: block;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
        padding: 20px;
    }

    .contact-left h3 {
        font-size: 30px;
    }

    .contact-left p {
        position: static;
        left: 0;
        top: 0;
        margin-bottom: 10px;
    }

    .contact-left p a {
        position: static;
        left: 0;
    }

    .button {
        position: static;
        left: 0;
    }

    .containernew {
        flex-direction: column;
        /* Stack elements vertically */
        text-align: center;
        padding: 40px 20px;
    }

    .containernew .side-info {
        text-align: center;
        /* Center text in side info */
        max-width: 100%;
    }

    .containernew .side-info hr {
        margin: 18px auto;
        /* Center the horizontal rule */
    }

    .containernew .swiper {
        width: 100%;
        max-width: 100%;
    }

    .swiper-slide {
        width: 90%;
        height: 350px;
        /* Adjust height for mobile */
        padding-bottom: 30px;
        margin: 0 auto;
    }

    .swiper-slide h2 {
        font-size: 18px;
        padding: 0 0 0 15px;
    }

    .swiper-slide a {
        font-size: 12px;
        margin: 10px 15px 0px !important;
        padding: 6px 12px !important;
        align-self: flex-start;
        /* Align the button to the left */
    }

    .swiper h2 {
        margin-top: 0;
    }
}

/* Styles for screens up to 500px (e.g., Phones) */
@media (max-width: 500px) {

    .about {
        padding: 20px;
    }

    .about-image img {
        max-height: 300px;
    }

    .contact-left {
        font-size: 18px;
        padding: 20px;
    }

    .contact-left h3 {
        font-size: 25px;
    }

    .contact-right {
        padding: 20px;
    }

    .button {
        padding: 12px;
    }
}

/* Styles for screens between 801px and 1024px (e.g., larger tablets) */
@media (min-width: 801px) and (max-width: 1024px) {
    .about {
        padding: 50px;
    }
}

/* HERO SECTION STYLES */
.header {
    width: 100%;
    min-height: 72vh;
    height: auto;
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    /* Fallback if video fails */
    overflow: hidden;
}

.back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    color: #fff;
    text-align: left;
    padding: 5vw 2vw 2vw 2vw;
    margin: 0 auto;
}

.content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    letter-spacing: 1px;
    margin-top: 0.5em;
}

.content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.3em;
}

.hero-btn {
    display: inline-block;
    padding: 13px 36px;
    font-size: 1.15rem;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 40px;
    text-decoration: none;
    margin-bottom: 2em;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hero-btn:hover,
.hero-btn:focus {
    background: #e08b46;
    color: #fff;
    border-color: #e08b46;
}

.hero-stats {
    display: flex;
    gap: 2vw;
    justify-content: space-between;
    margin-top: 2em;
    flex-wrap: wrap;
}

.stat {
    flex: 1 1 160px;
    min-width: 120px;
    text-align: center;
    margin-bottom: 1em;
    background: rgba(15, 15, 15, 0.28);
    border-radius: 12px;
    padding: 16px 10px 12px 10px;
    box-shadow: 0 2px 16px rgba(55, 55, 55, .08);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.2em;
}

.stat-label {
    font-size: 1.06rem;
    color: #dedede;
}


@media (max-width: 500px) {
    .content h1 {
        font-size: 1.15rem;
    }

    .content h2 {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 8px 18px;
        font-size: 0.95rem;
    }

    .stat-value {
        font-size: 1.05rem;
    }

    .stat-label {
        font-size: 0.92rem;
    }

    .content {
        margin-top: 62px;
    }
}

/* --- HERO STATS & CTA MOBILE IMPROVED --- */
@media (max-width: 800px) {
    .content {
        text-align: center;
        /* Make headline & button center */
    }

    .hero-btn {
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }

    .hero-stats {
        align-items: center;
        gap: 1.2em;
    }

    .stat {
        max-width: 320px;
        width: 80vw;
        margin: 0.5em auto;
        padding: 13px 6px 12px 6px;
    }
}

@media (max-width: 500px) {
    .stat {
        max-width: 94vw;
        width: 94vw;
        padding: 10px 2px 10px 2px;
    }
}

/* Desktop: left-aligned (default, no changes needed) */
.content {
    text-align: left;
}

/* Center button for mobile/tablet only */
@media (max-width: 800px) {
    .content {
        text-align: center;
    }

    .hero-btn {
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
        /* optional: for perfect vertical alignment with text-center */
        float: none;
    }
}
/* Make the mobile menu button small and in top-right corner */
@media (max-width: 992px) {
    .navbar {
        background: transparent !important; /* remove bar background */
        box-shadow: none !important;
    }

    .navbar-toggler {
        border: none; /* remove border */
        background: rgba(255, 255, 255, 0.2); /* transparent white circle */
        width: 40px;
        height: 40px;
        border-radius: 50%; /* makes it circular */
        position: absolute;
        top: 10px;
        right: 10px; /* push to right corner */
        display: flex;
        align-items: center;
        justify-content: center;
    }

}
/* Custom hamburger icon style */
.custom-toggler {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Custom hamburger button for mobile */
.custom-toggler {
    border: none;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom 3 lines for hamburger */
.custom-toggler .navbar-toggler-icon {
    background-image: linear-gradient(#000, #000),
                      linear-gradient(#000, #000),
                      linear-gradient(#000, #000);
    background-size: 20px 2px;
    background-repeat: no-repeat;
    background-position: center top, center center, center bottom;
    width: 25px;
    height: 20px;
}
/* Force 3 dash lines on the mobile menu button */
.navbar-toggler-icon {
    background-image: linear-gradient(#000, #000),
                      linear-gradient(#000, #000),
                      linear-gradient(#000, #000);
    background-size: 20px 2px;
    background-repeat: no-repeat;
    background-position: center top, center center, center bottom;
    width: 25px;
    height: 20px;
}
