/* 🔹 Define Global Colors & Variables */
:root {
    --primary-color: #007bff;
    --text-light: white;
    --text-dark: #333;
    --main-color: #0866ff;
    --bg-light: #fff;
    --bg-dark: rgba(0, 0, 0, 0.85);
    --shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    --transition: all 0.4s ease-in-out;
    --bs-light-rgb: 248, 249, 250;
    --theme-color: #0866ff;
    --gradient1: linear-gradient(90deg, rgb(65 39 143), rgb(16 227 249));
    --gradient2: linear-gradient(90deg, rgb(16 227 249), rgb(65 39 143));
}

body {
    font-family: "Roboto", sans-serif !important;
}


/* 🔹 NAVBAR - Transparent Initially */
.navbar {
    transition: var(--transition);
    background: transparent;
    padding: 15px 0;
}

/* 🔹 Navbar Scrolled Effect - Background, Shadow & Text Color Change */
.navbar.scrolled {
    background: var(--bg-light);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

/* 🔹 Navbar Links - Initially Light */
.navbar .nav-link {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

/* 🔹 When Scrolled - Change Text Color */
.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

/* 🔹 Navbar Brand Logo */
.navbar-brand img {
    height: 40px;
    transition: var(--transition);
}

/* 🔹 When Scrolled - Invert Logo for Better Visibility */
/* .navbar.scrolled .navbar-brand img {
    filter: brightness(0) invert(1);
} */

.navbar-nav .nav-link.active {
    color: #fff !important;
}

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

.scrolled .nav-link.active {
    color: #333 !important;
}

.scrolled .nav-link:hover {
    color: #333 !important;
}

.navbar-toggler {
    background-color: white !important;
}

/* .scrolled .nav-link.active, .scrolled.nav-link.show{
    color: #fff !important;
} */
/* 🔹 Hover Effect - Underline Animation */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
    width: 100%;
}

/* 🔹 Active Link - Keep Underline Visible */
.navbar .nav-link.active::after {
    width: 100%;
}

/* 🔹 Smooth Transition for All Changes */
.navbar,
.navbar .nav-link {
    transition: var(--transition);
}

/* Services */
.services-section,
.about-section-page,
.page-not-found,
.contact-map {
    background: var(--gradient2) !important;
    color: var(--bg-light);
}

.contact-page {
    background: var(--gradient2);
}

.card {
    border: none !important;
    border-radius: 0.5rem;
    transition: transform 0.3s;
    color: var(--bg-light);
}

.card:hover {
    transform: scale(1.05) !important;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16), 0 4px 10px rgba(0, 0, 0, 0.23) !important; */
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15) !important;
    /* background: var(--gradient1); */
    /* color: #fff !important; */

}


.card-footer {
    background: transparent !important;
    border-top: none;
    transition: all 0.3s ease-in-out;
}

.card-footer .btn-learn-more {
    background: var(--gradient1);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card:hover .btn-learn-more {
    transform: translateY(-5px);
    background: var(--gradient2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-top: var(--bg-light) solid var(--bg-light);
}

.service-card img {
    height: 100px;
    width: 100px;
}

.service-card-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 50%;
}

.service-image {
    transition: 0.3s;
}

.service-image:hover {
    transform: scale(1.5);
}

/* 🔹 Show Dropdown on Hover (Desktop Only) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* 🔹 Mobile View (Add `+` Icon) */
@media (max-width: 991px) {
    .navbar {
        background: var(--bg-light) !important;
    }

    .navbar .nav-link {
        color: var(--text-dark);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-nav .nav-link.active {
        color: #333 !important;
    }

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

/* Testimonials */
.testimonial-item {
    text-align: center;
    padding: 20px;
}

.hero-section {
    height: 100vh;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.service-card {
    padding: 20px;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: scale(1.05);
}

/* 🔹 Footer Section */
.footer-main {
    padding: 50px 0;
    background-color: #222;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 8px;
    /* color: #ffcc00; */
    font-size: 18px;
}

.footer-contact a {
    color: var(--bg-light);
    text-decoration: none;
}

/* 🔹 Footer Styling */
.footer-main {
    padding: 50px 0;
    background-color: #111;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

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

.footer-links a:hover {
    color: #ff00ff;
    text-decoration: underline;
}

/* 🔹 Footer Social Media Icons */
.footer-social {
    margin-top: 15px;
}

.footer-social a {
    text-decoration: none;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

.facebook:hover {
    background: #0866ff;
    /* Facebook Blue */
}

.linkedin:hover {
    background: #0a66c2;
    /* LinkedIn Blue */
}

.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    /* Instagram Gradient */
    color: #fff;
    /* Change text color for better contrast */
}

.twitter:hover {
    background: #1da1f2;
    /* Twitter Blue */
}

.github:hover {
    background: #333;
    /* GitHub Dark */
}

.skype:hover {
    background: #00aff0;
    /* Skype Blue */
}

.whatsapp:hover {
    background: #25d366;
    /* WhatsApp Green */
}

/* 🔹 Newsletter */
.form-control {
    background: #222;
    color: white;
    border: 1px solid #444;
}

.form-control::placeholder {
    color: #aaa;
}


/* 🔹 Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--main-color);
    color: var(--bg-light);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.scroll-top-btn:hover {
    background: #4297f5;
}

/* Preloader */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* Transparent dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spinner Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide Preloader */
.hidden {
    opacity: 0;
    visibility: hidden;
}

/* 🌗 Dark Mode Toggle Switch */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    margin-left: 15px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 25px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3.5px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* Dynamic border for headings */
.custom-heading:before,
.custom-heading:after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--bg-light);
    margin: 0 15px;
}

/* 🔹 When Dark Mode is Active */
body.theme .custom-heading:before,
body.theme .custom-heading:after {
    border-bottom: 1px solid var(--bg-light);
}

.about-section {
    background: var(--gradient1);
    color: var(--text-light);
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
}

.about-image img {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-image img:hover {
    transform: scale(1.3);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* About Section Styling */
.about-section,
#why-choose {
    background: var(--gradient1);
    /* Light gray background */
    padding: 60px 0;
    color: white;
}

.about-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-image {
        margin-bottom: 30px;
    }
}

.custom-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.testimonials-slider .testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: 0.3s;
    margin: 10px;
    position: relative;
    max-height: 350px !important;
    min-height: 350px !important;
}

/* Hover Effects */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Profile Image */
.testimonial-img img {
    width: 100px !important;
    height: 100px;
    border-radius: 50%;
    /* border: 3px solid #ff6b6b; */
    margin-bottom: 10px;
    margin: 0 auto;
}

/* Name & Stars */
.testimonial-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--bg-dark);
}

.stars {
    font-size: 18px;
    color: #ffcc00;
    margin-bottom: 10px;
}

/* Quote Text */
.testimonial-card p {
    font-size: 1rem;
    color: var(--bg-dark);
    overflow-y: auto;
    max-height: 126px;
    margin: 0px auto;
}

.testimonials-section {
    background: var(--gradient2);
    color: var(--bg-light);

}

/* Owl Carousel Navigation */
.testimonials-section .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

/* Navigation Arrows */
.testimonials-section .owl-nav button {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    transition: 0.3s;
}

.testimonials-section .owl-nav button:hover {
    background: #ff6b6b;
}

/* Adjust Arrow Icon Size */
.testimonials-section .owl-nav button i {
    font-size: 22px;
}

/* Ensure Dots are Styled */
.testimonials-section .owl-dots {
    text-align: center;
    margin-top: 15px;
}

.testimonials-section .owl-dot {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: var(--bg-dark) !important;
    display: inline-block;
    border-radius: 50%;
    transition: 0.3s;
}

.testimonials-section .owl-dot.active {
    background: var(--theme-color) !important;
    width: 12px;
    height: 12px;
}

.testimonials-section {
    /* background: #f8f9fa; */
    text-align: center;
    padding: 50px 0;
}


/* Hero Section Styles */
.hero-section {
    background: url('/assets/images/about/about-banner.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}

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

/* Hero Content */
.hero-section div {
    position: relative;
    z-index: 2;
}

/* Highlight text */
.highlight {
    color: #fbc02d;
}

/* Mobile Responsive Styles */

/* Make sure the container is always 100% width on smaller screens */
@media (max-width: 768px) {
    .hero-section {
        height: 90vh;
        /* Slightly reduce height for mobile */
    }

    .hero-section h1 {
        font-size: 1.5rem;
        /* Smaller font for mobile */
    }

    .hero-section h2 {
        font-size: 1.2rem;
        /* Adjust typewriter text size */
    }

    .hero-section p {
        font-size: 1rem;
        /* Smaller paragraph text */
    }

    .btn-primary {
        padding: 10px 20px;
        /* Reduce button size */
        font-size: 1rem;
        /* Smaller button text */
    }
}

/* For very small screens, like phones in portrait mode */
@media (max-width: 480px) {
    .hero-section {
        height: 85vh;
        /* Further reduce height for tiny screens */
    }

    .hero-section h1 {
        font-size: 1.3rem;
        /* Even smaller text for mobile */
    }

    .hero-section h2 {
        font-size: 1rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        /* Smaller button text */
        padding: 8px 18px;
        /* Smaller padding */
    }
}


.coming-soon-section {
    background: var(--gradient1);
    color: wheat;
}

.why-choose-icon {
    color: #333;
    transition: color 0.3sease !important;
    font-size: 80px !important;
}

.our-team-section {
    background: var(--gradient2);
    color: var(--bg-light);
}


/* Owl Carousel Navigation */
.our-team-section .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

/* Navigation Arrows */
.our-team-section .owl-nav button {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    transition: 0.3s;
}

.our-team-section .owl-nav button:hover {
    background: #ff6b6b;
}

/* Adjust Arrow Icon Size */
.our-team-section .owl-nav button i {
    font-size: 22px;
}

/* Ensure Dots are Styled */
.our-team-section .owl-dots {
    text-align: center;
    margin-top: 15px;
}

.our-team-section .owl-dot {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: var(--bg-dark) !important;
    display: inline-block;
    border-radius: 50%;
    transition: 0.3s;
}

.our-team-section .owl-dot.active {
    background: var(--theme-color) !important;
    width: 12px;
    height: 12px;
}

.our-team-section {
    /* background: #f8f9fa; */
    text-align: center;
    padding: 50px 0;
}

.our-team-slider .our-team-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: 0.3s;
    margin: 10px;
    position: relative;
}

/* Profile Image */
.our-team-img img {
    width: 100px !important;
    height: 100px;
    border-radius: 50%;
    /* border: 3px solid #ff6b6b; */
    margin-bottom: 10px;
    margin: 0 auto;
}

/* Name & Stars */
.our-team-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: black;
}

.faq-section {
    background: var(--gradient1);
    color: var(--bg-light);
}


.custom-btn {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #007bff, #6610f2);
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    z-index: 1;
}

.custom-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #6610f2, #007bff);
    transition: all 0.3s ease-in-out;
    z-index: -1;
}

.custom-btn:hover::before {
    left: 0;
}

.custom-btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 123, 255, 0.3);
}

/* Hero Section Styles */
.hero-page-section {

    background-image: url('/assets/images/about/about-banner.png');
    background-size: cover;
    background-position: center center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
}




.custom-card {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    /* text-transform: uppercase; */
    color: #fff;
    /* background: linear-gradient(90deg, #007bff, #6610f2); */
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    z-index: 1;
}

.custom-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #6610f2, #007bff);
    transition: all 0.3s ease-in-out;
    z-index: -1;
}

.custom-card:hover::before {
    left: 0;
    /* color: var(--bg-light) !important; */
}

.custom-card:hover,
.testimonial-card {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 123, 255, 0.3);
    color: var(--bg-light);
}


.our-plan {
    background: var(--gradient1);
    color: var(--bg-light);
}

.single-service-about {
    background: var(--gradient2);
}

.contact-nformation {
    background: var(--gradient2);
}

.follow-us-section {
    background: var(--gradient1);
}

.contact-form1 {
    background: var(--gradient2);
}

.contact-form1 .custom-heading {
    color: var(--bg-light);
}

.our-location {
    background: var(--gradient1);
    color: var(--bg-light);
}


footer {
    padding: 50px 0 10px;
    background: #272727;
    background-image: url('/assets/images/about/footer.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact-us-email a {
    text-decoration: none;
    color: var(--bg-light);
}

.terms-condition {
    background: var(--gradient1);
    color: var(--bg-light);
}

.privacy-policy {
    background: var(--gradient1);
    color: var(--bg-light);
}

.our-plan {
    background: linear-gradient(to right, #1e3c72, #2a5298);
}

.plan-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.plan-card:hover {
    transform: translateY(-5px);
}

/* Icons */
.plan-icon {
    color: #00d4ff;
    margin-right: 8px;
}

/* Buttons */
.btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .plan-card {
        max-width: 95%;
        margin: 0 auto;
        padding: 15px;
    }

    .plan-card h4,
    .plan-card h5 {
        font-size: 18px;
    }

    .plan-card p {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
        padding: 8px;
    }

    ul {
        padding-left: 15px;
    }
}