/* General Styles */
html {
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    top: 0 !important;
}

p {
    font-size: 90%;
}

.text-box h2 {
    font-weight: 700;
}

.text-danger {
    color: red;
}

/* Topbar Styles */
.topbar {
    background: #1e2a38;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 18px;
    transition: transform 0.3s ease-in-out;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    margin-right: 15px;
}

.topbar .contact-row i {
    margin-right: 5px;
}

.topbar .social-icons a {
    color: #fff;
    margin-left: 10px;
    font-size: 16px;
}

.topbar .mobile,
.topbar .email {
    color: #f1c40f;
    font-weight: bold;
}

.scrolled .topbar {
    display: none;
}

/* Navbar Styling */
.navbar {
    background: lightgoldenrodyellow !important;
    color: white;
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 1000;
    transition: top 0.3s ease-in-out, background 0.3s ease-in-out;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 90px;
}

.navbar-brand {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: #0b109f !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px;
    padding: 10px 15px;
}

.navbar-nav .nav-link:hover {
    color: black !important;
}

.navbar-brand img {
    height: 100px;
    transition: height 0.3s ease-in-out;
}

#logo {
    height: 90px !important;
    width: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.navbar.scrolled {
    top: 0;
    background: #1e2a38;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.scrolled #navbar {
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.scrolled .navbar-brand img {
    height: 60px;
    transition: all 0.3s ease-in-out;
}

.scrolled .topbar {
    transform: translateY(-100%);
}

.sticky-nav {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

/* Social Links */
.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 16px;
}

.social-icons a:hover {
    color: #ffcc00;
}

/* CSS for Smooth Fade Effect */
.video-fade {
    transition: opacity 1s ease-in-out;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

/* Video Background */
.video-container {
    position: relative;
    width: 100%;
    /* height: 80vh; */
    overflow: hidden;
    margin-top: 120px !important;
    height: calc(100vh - 120px) !important;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

/* Overlay for Text */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Dark overlay */
    display: flex;
    align-items: center;
    padding-left: 5%;
    /* Push text box to the left */
    color: white;
}

.text-box {
     /* background: rgba(255, 255, 255, 0.9);  */
    /* White semi-transparent box */
    padding: 30px;
    max-width: 800px;
    text-align: left;
    /* Align text to the left */
    border-radius: 8px;
    color: white;
    margin-top:150px
}

.btn-primary {
    background: #2c3e50;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
}

.btn-primary:hover {
    background: #1a252f;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.about-content h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.about-content h2 span {
    color: darkblue;
}

.about-content h4 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content ul li {
    padding: 5px 0;
    font-size: 16px;
}

.about-content .btn {
    margin-top: 20px;
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-transform: uppercase;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.rounded-title {
    background-color: #f0f8ff;
    color: #333;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.column-heading {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.2rem;
}

.about-content p {
    padding-left: 20px;
}

#about ul li {
    list-style: none;
    padding: 2px 0;
    font-weight: bold;
}

#about .card {
    border: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

#about .card:hover,
#pricing .card:hover {
    transform: translateY(0) !important;
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: #e3f2fd;
    text-align: center;
}

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.section-header h2 span {
    color: #007bff;
}

.section-header p {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.service-box {
    background: #fff;
    padding: 20px;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    height: 250px;
}

.service-box .icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

.service-box h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-box p {
    font-size: 14px;
    color: #666;
}

/* Call to Action Section */
.cta-section {
    position: relative;
    background: url('../images/why-us.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #f04e30;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #d43f28;
}

/* Testimonials Section */
.testimonials {
    background: white;
    padding: 60px 20px;
    text-align: center;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    position: relative;
}

.testimonial-card::before {
    content: "“";
    font-size: 3rem;
    color: #2AB7CA;
    position: absolute;
    top: 15px;
    left: 20px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-style: italic;
    color: #333;
    font-size: 1.1rem;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: bold;
    color: #2AB7CA;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: #2AB7CA;
    cursor: pointer;
    z-index: 2;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}

.carousel-thumbs {
    margin-top: 20px;
}

.thumb {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.5;
    cursor: pointer;
    margin: 0 10px;
    transition: opacity .3s;
}

.thumb.active,
.thumb:hover {
    opacity: 1;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 8px;
    position: relative;
}

.underline-bar {
    width: 60px;
    height: 4px;
    background-color: #2AB7CA;
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

.underline-bar-gradient {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2AB7CA, #88E1E6);
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

.underline-icon-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 30px;
    gap: 10px;
}

.underline-icon-bar .bar {
    flex: 1;
    max-width: 60px;
    height: 2px;
    background-color: #2AB7CA;
}

.underline-icon-bar i {
    color: #2AB7CA;
}

.invisible {
    visibility: hidden;
}

/* Responsive Thumbs */
@media (max-width: 768px) {
    .carousel-thumbs .thumb {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .carousel-thumbs .thumb {
        width: 40px;
        height: 40px;
    }
}

/* Review Section */
#review-section {
    background: lightcyan;
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid #ddd;
}

form#ratingForm {
    max-width: 500px;
    margin: 0 auto;
}

.stars {
    direction: rtl;
    display: flex;
    justify-content: center;
    gap: 6px;
    font-size: 32px;
}

.stars input {
    display: none;
}

.stars label {
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    color: #FFD700;
}

textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    margin-top: 20px;
    resize: vertical;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button[type="submit"] {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #2AB7CA;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

button[type="submit"]:hover {
    background-color: #229fb0;
}

#formMessage {
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
}

#formMessage.success {
    color: green;
}

#formMessage.error {
    color: red;
}

.hidden {
    display: none !important;
}

.average-rating {
    text-align: center;
    margin-bottom: 30px;
}

.stars-display {
    color: #FFD700;
    font-size: 24px;
}

.rating-stats {
    font-size: 14px;
    color: #444;
}

#ratingForm input[type="text"],
#ratingForm input[type="email"],
#ratingForm textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin: 8px auto;
    display: block;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.spinner {
    display: inline-block;
    margin-left: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#captcha-box {
    margin: 10px 0;
    font-size: 14px;
}

/* Footer Styles */
.footer-contact {
    color: white;
    padding: 20px 0;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer a:hover,
footer h5 {
    color: #f1c40f;
}

.copyright a {
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 11px;
}

/* Blurred Phone */
.blurred {
    filter: blur(2px);
    user-select: none;
    pointer-events: none;
    transition: 0.3s ease;
    font-size: 17px;
}

.phone-wrapper {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Captcha Inline */
.captcha-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.captcha-inline canvas {
    user-select: none;
    pointer-events: none;
    border: 1px solid #ccc;
    background-color: white;
}

.captcha-inline input[type="text"] {
    height: 36px;
    padding: 5px 10px;
    font-size: 16px;
    width: 60px;
}

.captcha-inline button {
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    cursor: pointer;
}

/* Go Top Button */
.go-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 1005;
}

.go-top-button:hover {
    background: #0056b3;
}

.go-top-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

/* Sticky Contact */
.sticky-contact {
    position: fixed;
    top: 0;
    width: 100%;
    background: #1e2a38;
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    display: none;
    transition: top 0.3s ease-in-out;
}

.sticky-contact a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease-in-out;
}

.sticky-contact a:hover {
    color: #f1c40f;
}

/* Floating Social Icons */
.floating-contact {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.contact-btn,
.social-btn {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.6);
    color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out, color 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover,
.social-btn:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    padding: 50px 20px;
    background-color: #f8f9fa;
}

/* Map */
#map {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
}

/* Tooltip for Floating Social Icons */
.contact-text {
    position: absolute;
    right: 50px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 13px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateX(10px);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-item:hover .contact-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Language Dropdown */
#google_translate_element {
    display: none;
}

.goog-te-banner-frame,
.skiptranslate {
    display: none !important;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .topbar {
        background: #000;
        padding: 8px 12px;
    }

    .topbar .container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 5px;
    }

    .social-icons a {
        color: #fff;
        font-size: 18px;
    }

    .contact-row {
        font-size: 14px;
        font-weight: bold;
        color: #f8c72a;
        display: table;
    }

    .contact-row a {
        color: #fff;
        text-decoration: none;
        margin-left: 5px;
    }

    .navbar {
        background: #fff;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 30px;
    }

    .navbar-brand img {
        max-height: 60px;
    }

    .navbar-toggler {
        font-size: 24px;
        border: none;
        background: transparent;
    }

    .navbar-collapse {
        background: lightgoldenrodyellow;
        text-align: center;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        transition: all 0.3s ease-in-out;
    }

    .navbar-collapse.collapse {
        display: none;
    }

    .navbar-collapse.show {
        display: block;
        background: lightgoldenrodyellow;
        padding-top: 20px;
    }

    .navbar-nav {
        width: 100%;
    }

    .nav-item {
        padding: 8px 0;
    }

    .navbar.scrolled {
        top: -50px;
        background: #1e2a38;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .overlay {
        display: none;
    }

    .overlay .text-box {
        display: none;
    }

    .hero-text-box {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        text-align: center;
        padding: 10px 15px;
        border-radius: 8px;
        font-size: 18px;
        font-weight: bold;
    }

    .floating-icons {
        position: fixed;
        right: 15px;
        bottom: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .floating-icons a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #007bff;
        color: #fff;
        border-radius: 50%;
        font-size: 18px;
    }

    .mobileH2 {
        font-size: 20px;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 50px 20px;
    background-color: #f7f9fc;
}

.pricing-box,
.pricing-plan {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pricing-plan h3 {
    margin-top: 0;
    color: #333;
}

.pricing-plan.bronze {
    border-left: 6px solid #cd7f32;
}

.pricing-plan.silver {
    border-left: 6px solid #c0c0c0;
}

.pricing-plan.gold {
    border-left: 6px solid #ffd700;
}

.section-title,
.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-discounts ul {
    list-style: none;
    padding: 0;
}

.pricing-discounts li::before {
    content: "✔️ ";
}

.card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.card-title {
    font-weight: bold;
}

.ribbon-wrapper {
    width: 130px;
    height: 130px;
    overflow: hidden;
    position: absolute;
    top: -4px;
    right: 10px;
}

.ribbon {
    font: bold 12px sans-serif;
    color: #000;
    text-align: center;
    transform: rotate(45deg);
    position: relative;
    padding: 7px 0;
    left: -25px;
    top: 30px;
    width: 200px;
    background: silver;
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* FAQ Section */
.faq-section {
    padding: 20px;
    padding-bottom: 40px;
    background-color: white;
}

@media (max-width: 991px) {
    #navbarNav .dropdown-menu {
        position: static;
        float: none;
    }

    .navbar-collapse.show {
        display: block;
        background: lightgoldenrodyellow;
        padding-top: 20px;
    }
}

@media (max-width: 765px) and (min-width: 400px) {
    .topbar .contact-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 765px) {
    .topbar .container {
        flex-direction: column;
        align-items: center;
    }

    .topbar .social-icons {
        margin-bottom: 8px;
    }

    .topbar .contact-row {
        text-align: center;
    }
}

/* other styles */
 /* Default (desktop/tablet) */
        .top-bar {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: nowrap;
            gap: 1rem;
        }

        /* Contact row default inline (for tablets/laptops) */
        .contact-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Mobile view: stack vertically */
        @media (max-width: 576px) {
            .top-bar {
                flex-direction: column;
                align-items: flex-start;
            }

            .contact-row {
                width: 100%;
                justify-content: flex-start;
                padding: 4px 0;
            }

            .top-bar i {
                min-width: 20px;
            }

            .navbar {
                margin-top: 60px;
            }

            .navbar.scrolled {
                margin-top: 50px;
            }

            .social-icons{
                display: none;
            }
        }
        /* Toggle Styles */
        .toggle-switch input {
            display: none;
            }

            .toggle-switch label {
            background: #eee;
            padding: 5px 12px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
            }

            .toggle-switch input:checked + label {
            background: #0d6efd; /* Bootstrap primary */
            color: #fff;
            }
            /* Checked state */
            .toggle-switch input:checked + label {
            background: #0d6efd;
            color: #fff;
            }

            /* On very small devices (like 360px wide), stack vertically */
            @media (max-width: 400px) {
            .toggle-switch {
                flex-direction: column;
                align-items: stretch;                
            }
            .floating-contact{
                right: 5px;
                top: auto;
                bottom: 10px;
                flex-direction:column;
            }
            }