/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
    /*background-color: #f2ece0;*/
}

* a {
    text-decoration: none !important;
}

body {
    font-family: "Lato", sans-serif;
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition effect */ 
}

.nav-container {
    width: 98%;
    margin: 0 auto;
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.logo a:hover {
    transform: scale(1.1); /* Zoom effect */
}

.responsive-image {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below the image */
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.nav-links li {
    margin-left: 10px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 0.8rem;
    transition: color 0.3s;
    letter-spacing: 2px;
    border-right: solid #1ab14a 1px;
    padding: 0 20px;
    font-weight: 600;
    
}

.nav-links a:hover, .active {
    color: #1ab14a; /* Accent color on hover */
    text-decoration: underline;
    text-underline-offset: 10px;
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #1ab14a;
    transition: all 0.3s;
}

/* Show hamburger on smaller screens */
@media (max-width: 1200px) {
    .nav-links {
        display: none; /* Hide default nav links */
    }

    .hamburger {
        display: flex; /* Show hamburger icon */
    }
}

/* Modal Menu */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1001;
    overflow: auto;
}

/* Show modal when active */
.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff!important;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-transform: uppercase;
    text-align: center;
}

.modal-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    border-bottom: 2px solid #1ab14a !important;
}

/* Close button styling */
.modal-close {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #3767b1;
}

.modal-logo {
    max-width: 100px;
    transition: transform 0.3s ease;
    margin: auto;
}

.modal-logo:hover {
    transform: scale(1.2);
}

.modal-links {
    list-style: none;
    padding: 0;
}

.modal-links li {
    margin: 15px 0;
}

.modal-links a {
    text-decoration: none;
    color: #3767b1;
    font-size: 1rem;
    transition: color 0.3s;
    letter-spacing: 3px;
    text-align: center;
}

.modal-links a:hover {
    color: #1ab14a; /* Accent color on hover */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin-top: 50px;
    }

    .logo img {
        max-width: 200px; /* Reduce logo size for small screens */
    }
}

.main{
    margin: 0;
}


/* Hero container styling */
.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 20px 15px;
    box-sizing: border-box;
    display: flex; /* Use Flexbox to center the content */
    justify-content: center; /* Center horizontally */
    margin-top: 0;
}

/* Hero video styling */
.hero-video {
    width: calc(100% - 20px); /* Full width minus the left/right padding */
    height: calc(100% - 40px); /* Full height minus the top/bottom padding */
    object-fit: cover; /* Cover the entire container */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Adds shadow to the video */
}


/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero .slide.active {
    opacity: 1;
}

/* Centered Text on Slider */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-text h1 {
    font-size: 48px;
}

.hero-text p {
    font-size: 20px;
    margin: 10px 0;
}

.hero-text .btn {
    background-color: #3767b1;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
}


/* Keyframe for Fade Transition */
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.home-top-section h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 26px;
    font-weight: bold;
}

.full-height {
    height: 100vh; /* Adjust based on the desired height */
}

.home-top-section p {
    line-height: 1.8em;
    font-size: 18px;
}

.image-container {
    position: relative;
    height: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire column while maintaining aspect ratio */
    box-shadow: -20px 20px 0px 0px rgba(26, 177, 74, 1);
}

.service-box-1 {
    background-color: #3767b1;
    padding: 50px !important;
    color: #fff;
    width: 100%;
    text-align: center;
}

.service-box-2 {
    background-color: #074cb3;
    padding: 50px !important;
    color: #fff;
    width: 100%;
    text-align: center;
}

.service-box-3 {
    background-color: #07285a;
    padding: 50px !important;
    color: #fff;
    width: 100%;
    text-align: center;
}

.service-box-1 h5, .service-box-2 h5, .service-box-3 h5 {
    margin-top: 50px;
    font-weight: bold;
}

.service-box-3 a {
    text-decoration: none;
    color: #fff;
}

.service-box-3 a:hover{
    color: #1ab14a;
}

.auto-upgrade {
    background-color: #333;
}

.upgrade-text {
    color: #fff;
    padding: 50px !important;
    display: flex;              /* Enable Flexbox */
    justify-content: center;    /* Center horizontally */
    align-items: center;        /* Center vertically */
    height: auto; 
}

.services-text {
    text-align: center;
}

.services-text a{
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.services-text a h4:hover{
    color: #1ab14a;
}

.service-box {
    display: block; /* Makes the entire box a clickable link */
    text-decoration: none; /* Remove default link underline */
    color: inherit; /* Inherit text color */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.service-box .image-container {
    position: relative;
    overflow: hidden;
}

.service-box img {
    width: 100%; /* Full-width image */
    transition: transform 0.3s ease; /* Image zoom effect */
}

.service-box .image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 255, 0, 0.5); /* Green overlay */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
}

.service-box .text-box {
    background-color: #3767b1; /* Light blue background */
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.service-box .text-box::after {
    content: "";
    display: block;
    height: 4px;
    width: 0;
    background-color: #1ab14a; /* Green bottom border */
    transition: width 0.3s ease; /* Animate the line on hover */
    margin: 10px auto 0; /* Center the line */
}

.service-box:hover .image-container::before {
    opacity: 1; /* Show the green overlay on hover */
}

.service-box:hover img {
    transform: scale(1.1); /* Zoom out the image slightly */
}

.service-box:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Box shadow on hover */
}

.service-box:hover .text-box::after {
    width: 100%; /* Full-width bold green line on hover */
}

.all-services {
    text-align: center;
}

.all-services a {
    text-decoration: none;
    color: #fff;
    background-color: #1ab14a;
    padding: 10px 30px;
}

.all-services a:hover{
    background-color: #3767b1;
}

/* General styles for testimonial section */
.testimonial-section {
    position: relative;
    max-width: 100%;
    margin: 50px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden; /* Ensure no overflow */
}

.testimonial-section h4{
    text-align: center;
    font-weight: 600;
}

.testimonial-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    height: auto;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-item {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 20px;
    background-color: #fff;
}

.testimonial-text {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.testimonial-author {
    font-weight: bold;
    color: #2e8b57;
}

/* Navigation buttons styling */
.testimonial-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    background-color: white;
    border: 2px solid #2e8b57;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 36px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.testimonial-prev {
    left: 10px;
}

.testimonial-next {
    right: 10px;
}

.testimonial-control:hover {
    opacity: 1;
}

footer {
    background-color: #021531;
    color: #fff;
}

.footer-logos img {
    width: 60%;
}

.footer-logos h4 {
    font-weight: 600;
    text-align: center;
    padding-top: 5px;
}

footer .contact-info {
    margin-top: 50px;
    padding: 50px;
    border-left: solid 1px #fff;
}

footer .contact-info h5 {
    font-weight: 600;
    margin-bottom: 30px;
}

footer .contact-info i {
    font-size: 24px;
    color: #1ab14a;
    padding-right: 20px;
}

footer .contact-info a {
    text-decoration: none;
    color: #fff;
}

footer .contact-info a:hover {
    color: #1ab14a;
}

.footer-links {
    background-color: #3767b1;
    text-align: center;
}

.quick-links ul {
    margin:0;
    padding: 0;
    list-style-type: none;
    padding: 20px 0;
}

.quick-links ul li {
    display: inline;
    text-transform: uppercase;
    padding: 20px;
}

.quick-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: all ease .3s;
}

.quick-links ul li a:hover {
    color: #1ab14a;
    border-bottom: solid 1px #1ab14a;
}

.copyright {
    text-align: center;
}


/*About Page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero Section */
.about-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url('../images/slider/1.jpg');
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.services-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url('../images/services/services.jpg');
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-hero,.services-hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

/* About Section */
.about-content {
    padding: 2rem;
    text-align: center;
}

/* People Section */
.people {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}
.person {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.person:hover {
    transform: scale(1.1);
}
.person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-top-content p{
    font-size: 16px;
}

.about-top-content h2 {
    color: #3767b1;
}

.about-title {
    text-align: center;
}

.person-title {
    text-align: center;
}

.person-title h4{
    text-transform: uppercase;
    font-size: 20px;
    color:#3767b1;
    font-weight: bold;
}

.person-title p{
    color: #1ab14a;
}

/* Tabs Navigation */
.ea-tabs-nav {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #ddd;
}

.ea-tab-link {
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
    flex: 1;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-bottom: none;
    transition: background-color 0.3s ease;
}

.ea-tab-link:hover {
    background-color: #e9ecef;
}

/* Active tab styles */
.ea-active {
    background-color: #3767b1;
    border-color: #3767b1;
}

/* Tab Content */
.ea-tab-content {
    display: none;
    padding: 1.5rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    margin-top: 1rem;
    font-size: 18px;
}

/* Show active tab content */
.ea-tab-content.ea-active {
    display: block;
}

/* Responsive Styling */
@media (max-width: 600px) {
    .ea-tabs-nav {
        flex-direction: column;
    }

    .ea-tab-link {
        width: 100%;
        text-align: center;
    }
}

/*/ABout Page */

.service-top-content {
    text-align: center;
}

.spacer-125 {
    height: 125px !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items horizontally */
    }

    .nav-links {
        display: none; /* Hide main menu items */
    }

    .hamburger {
        display: flex;
        justify-content: center;
        margin-top: 10px; /* Add spacing between logo and hamburger menu */
    }
    
    .hero-container{
        padding: 15px 10px;
    }

    .home-top-section h2 {
        font-size: 20px;

    }

    .home-top-section p {
        font-size: 16px;
    }

    .service-box {
        margin-top: 20px;
    }

    .text-box {
        font-size: 14px;
    }

    .footer-logos h4 {
        padding: 0;
    }

    footer .contact-info {
        padding: 0 50px;
        margin: 0;
        border: 0;
    }

    footer .contact-info p {
        font-size: 14px;
    }

    .quick-links ul li {
        font-size: 14px;;
        display: inline-block;
        padding: 5px;
    }

    .about-top-content p:first-of-type{
        margin-top: 30px;
    }

    .about-top-content h2{
        margin-top: 30px;
    }

    .person {
        width: 200px;
        height: 200px;
    }

    .person-title p{
        margin-top: 10px !important;
    }

    .person-title h4{
        font-size: 16px;
    }
}