/* General Reset */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Header and Video */
#header {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #85ABD9, );
}

.container {
    padding: 0px;
    position: relative;
    z-index: 1;
}


.navbar-brand {
    display: inline-block;
    text-decoration: none;
}

.brand-text {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Navbar */


.nav {
    display: flex;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link::after {
    content: '';
    width: 0;
    height: 3px;
    background: #000e79 !important;
    position: absolute;
    left: 0;
    margin-left: 10px;
    bottom: 0px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #000e79 !important;
    /* Change color on hover */
}

.nav-link:hover::after {
    width: 90%;
}

.header {
    margin-top: 15%;
    font-size: 30px;
}



/* Navbar Button */
.btn-primary {
    color: #ffffff;
    background-color: #ff5700;
    border: none;
    margin-left: 20px;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #000e79;
}

/* Sidebar styles for small screens */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        width: 250px;
        height: 100%;
        background: linear-gradient(to bottom, #85ABD9, #c1def3);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        z-index: 1050;
    }

    .sidebar.show {
        left: 0;
    }

    .sidebar ul {
        padding: 20px 0;
        list-style: none;
    }

    .sidebar ul li {
        padding: 15px;
        border-bottom: 1px solid #ddd;
    }

    .sidebar ul li a {
        text-decoration: none;
        color: #000e79;
        font-size: 18px;
        display: flex;
        align-items: center;
    }

    .sidebar ul li a i {
        margin-right: 10px;
    }

    .close-btn {
        font-size: 24px;
        position: absolute;
        right: 15px;
        top: 15px;
        cursor: pointer;
    }
}

/* Responsive Navbar */
@media (max-width: 768px) {

    .nav {
        display: none;

    }

    .brand-text {
        font-size: 20px;
        /* Reduce font size for smaller screens */
        letter-spacing: 1.5px;
        /* Tighter spacing */
        text-shadow: none;
        /* Remove heavy shadow on small screens for clarity */
        transform: none;
        /* Disable scaling on smaller screens */
    }

    .navbar-brand:hover .brand-text {
        transform: none;
        /* Disable zoom effect on mobile */
        text-shadow: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link {
        font-size: 16px;
        padding: 10px 0;
    }

    .brand-text {
        font-size: 20px;
        /* Reduce font size for smaller screens */
        letter-spacing: 1.5px;
        /* Tighter spacing */
        text-shadow: none;
        /* Remove heavy shadow on small screens for clarity */
        transform: none;
        /* Disable scaling on smaller screens */
    }

    .navbar-brand:hover .brand-text {
        transform: none;
        /* Disable zoom effect on mobile */
        text-shadow: none;
    }

    .quote-container h1 {
        font-size: 2rem;
    }

    #header {
        height: 290px;
    }
}

@media (max-width: 480px) {
    .nav {
        flex-direction: column;
    }

    .nav-link {
        font-size: 14px;
    }

    .btn-primary {
        padding: 8px 16px;
    }

    .quote-container h1 {
        font-size: 1.5rem;
    }
}



/*------------------------------------------------------------- headding--------------------------------------------------*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #85ABD9, #EAF2F8);
    color: #fff;
}

.service-hero {
    position: relative;
    width: 100%;
    height: 400px;
    background: url("../img/services.jpg") center center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    color: #fff;
    text-align: center;
    z-index: 2;
}

.service-hero-content h1 {
    font-size: 100px;
    margin-bottom: 0.5rem;
}

.service-hero-content p {
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-hero {
        height: 300px;
        margin-top: -150px;
    }

    .service-hero-content h1 {
        font-size: 60px;
    }

    .service-hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-hero {
        height: 250px;
    }

    .service-hero-content h1 {
        font-size: 40px;
    }

    .service-hero-content p {
        font-size: 0.9rem;
    }
}


/*------------------------------------------------------------- all services Name--------------------------------------------------*/

/* Card container styling */
.services-card {
    margin: 50px 150px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px 30px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
}

.services-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Card heading */
.services-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.services-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #000e79;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(6, auto);
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Each link style */
.services-list a {
    position: relative;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    align-items: end;
    font-weight: bolder;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.services-list a:hover {
    color: #000e79;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .services-card {
        margin: 40px 100px;
        padding: 15px 20px;
    }

    .services-card h2 {
        font-size: 1.6rem;
    }

    .services-list {
        grid-template-columns: repeat(3, auto);
    }

}

@media (max-width: 768px) {
    .services-card {
        margin: 30px 50px;
        padding: 10px 15px;
    }

    .services-card h2 {
        font-size: 1.4rem;
    }

    .services-list {
        grid-template-columns: 1fr;
        /* One column for all items */
    }
}

@media (max-width: 480px) {
    .services-card {
        margin: 20px;
        padding: 10px;
    }

    .services-card h2 {
        font-size: 1.2rem;
    }

    .services-list {
        grid-template-columns: repeat(1, auto);
    }
}

/*------------------------------------------------------------- all services detailed--------------------------------------------------*/

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.all-services-heading {
    text-align: center;
    font-size: 2.5rem;
    color: #000e79;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 40px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    /* so we can center the underline */
}

.all-services-heading::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background-color: #ff5700;
    margin: 10px auto 0;
}

.container {
    width: 90%;
    max-width: 1218px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.service-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 40px 0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.service-text {
    flex: 1 1 50%;
    padding: 30px;
}

.service-image {
    flex: 1 1 50%;
    min-height: 250px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 90%;
    margin: 20px;
    border-radius: 5px;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-icon-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon-title .icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(to bottom, #ff7a00, #ff5700);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.service-icon-title h2 {
    font-size: 1.5rem;
    color: #000e79;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-text p {
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

@media (max-width: 991px) {
    .service-block {
        flex-direction: column;
    }

    .service-block.reverse {
        flex-direction: column;
    }

    .service-text,
    .service-image {
        flex: 1 1 100%;
    }

    .service-image {
        order: 2;
    }

    .service-block.reverse .service-image {
        order: 2;
    }
}


/*------------------------------------------------------------- Footer--------------------------------------------------*/

.footer {
    background-color: #111;
    color: #fff;
    padding: 50px 20px;
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-contact h4 {
    color: #a4c2ff;
    margin-top: -7px;
    font-size: 30px;
}

.footer-contact p {
    margin-left: 5px;
    color: #fff;
}

.footer-logo {
    flex: 1;
    margin-right: 100px;
    align-items: center;
    gap: 0;
}

.footer-logo img {
    max-width: 250px;
    margin: 0;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px !important;
    margin: 0;
}

.footer-logo span {
    font-size: 13px;
    color: #999;
}

.footer-links {
    flex: 1;
    margin: 0 20px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

/* Updated Social Icons Styles with outline border and border-radius */
.social-icons a {
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
    border: 1px solid #ffffff;
    border-radius: 50%;
    padding: 8px;
}

.social-icons a:hover {
    color: #f60;
    border-color: #f60;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo,
    .footer-links,
    .footer-newsletter,
    .footer-contact {
        flex: 1 1 100%;
        margin: 20px 0;
    }

    .footer-logo img {
        display: block;
        margin: 0 auto;
        max-width: 180px;
    }

    .footer-logo p,
    .footer-logo span,
    .footer-links ul li a {
        font-size: 12px;
    }

    .footer-contact h4 {
        font-size: 24px;
    }

    .footer-contact p {
        font-size: 14px;
        margin-left: 0;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icons a {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 10px;
    }

    .footer-logo img {
        display: block;
        margin: 0 auto;
        max-width: 180px;
    }

    .footer-logo p,
    .footer-logo span,
    .footer-links ul li a {
        font-size: 11px;
    }

    .footer-contact h4 {
        font-size: 20px;
    }

    .footer-contact p {
        font-size: 13px;
    }

    .social-icons a {
        font-size: 16px;
    }
}

/* --- Additional Enhancements --- */

/* Add a subtle gradient overlay and shadow to the footer */
.footer {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.3);
}

/* Smooth transition for all links in footer-links */
.footer-links ul li a {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links ul li a:hover {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* Add a hover scale effect to the footer logo image */
.footer-logo img {
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

/* Enhance footer headings with a text shadow */
.footer-contact h4,
.footer-links h4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#scrollToTop {
    display: none;
    /* Initially hidden */
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
    font-size: 24px;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 10px !important;
    background-image: linear-gradient(45deg, rgb(41, 106, 210), rgb(55, 46, 235));
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    width: 45px;
    height: 45px;
    padding: 0;
    line-height: 45px;
    text-align: center;
}

#scrollToTop:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
    #scrollToTop {
        bottom: 80px;
        right: 16px;
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 20px;
    }
}
