/********** Template CSS **********/
:root {
    --primary: #004709;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #004709;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
    color: #004709;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #004709;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header {
        margin-top: -120px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    bottom: 20px;
    left: 40%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 15px;
    z-index: 10;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 0px;
    height: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0px;
    font-size: 0px;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        bottom: 20px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #DDDDDD;
}

.about-description {
    font-style: oblique;
}


/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.why-choose-us {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.why-choose-us h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.2;
}

.about-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-column {

    max-width: 500px;
    width: 100%;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin: 15px 0;
    text-align: left;
}

.about-icon {
    width: 60px;
    height: 60px;
    background-color: #004709;
    color: white;
    border-radius: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
}

h5 {
    font-size: 16px;
    margin: 0;
    position: relative;
    cursor: pointer;
}


.feature h3 {
    font-size: 1.2em;
    color: #333;
    margin: 0 0 10px 0;
}

.feature p {
    font-size: 0.9em;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.message-box {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 200px;
    font-size: 14px;
    z-index: 10;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

h5:hover .message-box {
    visibility: visible;
    opacity: 1;
}

/* Fix for typo in original code */
h5s {
    display: none;
    /* Hide erroneous h5s tag */
}

.services-section {
    font-family: Arial, sans-serif;
    padding: 20px;
    text-align: center;
}

.services-buttons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* Allow buttons to wrap on smaller screens */
    gap: 15px;
    /* Add spacing between buttons */
}

.services-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s ease;
}

.services-btn-red {
    background-color: #e63946;
}

.services-btn-blue {
    background-color: #1e90ff;
}

.services-content {
    margin: 20px 0;
}

.services-image-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.services-image-item {
    position: relative;
    width: 300px;
    text-align: center;
}

.services-image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.services-image-item h4 {
    font-size: 20px;
    margin: 15px 0;
    cursor: pointer;
}

.services-message-box {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.services-image-item:hover .services-message-box {
    visibility: visible;
    opacity: 1;
}

/* Styles for AI & Data Analytics Section */
.services-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.services-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.services-description {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 0 10px;
    /* Add padding for mobile */
}

.services-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
    /* Allow boxes to wrap on smaller screens */
}

.services-feature-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    /* Ensure padding doesn't increase width */
}

.services-feature-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.services-feature-box p {
    font-size: 14px;
    color: #666;
}

.services-action-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    color: white;
}

.services-action-btn-blue {
    background-color: #1e90ff;
}

.services-action-btn-green {
    background-color: #2ecc71;
}

.services-action-btn-yellow {
    background-color: #f1c40f;
    color: #333;
}

.services-footer-text {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
    padding: 0 10px;
    /* Add padding for mobile */
}

.services-footer-text-bold {
    font-weight: bold;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .services-content h2 {
        font-size: 28px;
    }

    .services-subtitle {
        font-size: 20px;
    }

    .services-description {
        font-size: 14px;
        max-width: 100%;
    }

    .services-feature-box {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .services-footer-text {
        font-size: 12px;
    }

    .services-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

.terms-conditions {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

.terms-conditions h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.terms-conditions h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.terms-conditions h3 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.terms-conditions ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.terms-conditions ul ul {
    list-style-type: circle;
    margin-left: 20px;
}

.terms-conditions li {
    margin-bottom: 10px;
}

.terms-conditions table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.terms-conditions th,
.terms-conditions td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.terms-conditions th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.terms-conditions td {
    background-color: #fff;
}

.cancellation-refund {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

.cancellation-refund h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.cancellation-refund h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.cancellation-refund p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.cancellation-refund ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.cancellation-refund li {
    margin-bottom: 10px;
}

.cancellation-refund a {
    color: #1e90ff;
    text-decoration: none;
}

.cancellation-refund a:hover {
    text-decoration: underline;
}

/* Remove default margin and padding from body */
body {
    margin: 0;
    padding: 0;
}

/* Navbar styling */
.nav-bar {
    background-color: #004709 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar {
    background-color: #004709 !important;
}

/* Navbar text and links */
.navbar-brand,
.navbar-nav .nav-link,
.navbar-toggler-icon {
    color: white !important;
}

/* Hover effect for links */
.navbar-nav .nav-link:hover {
    color: #e0e0e0 !important;
    /* Slightly lighter white on hover */
}

/* Logo alignment */
.navbar-brand .icon2 {
    height: auto !important;
    align-items: flex-start !important;
}

/* Ensure logo image is responsive */
.navbar-brand img {
    max-width: 250px;
    height: auto;
}

/* Button styling */
.btn-primary {
    background-color: white !important;
    border-color: white !important;
    color: #004709 !important;
}

.btn-primary:hover {
    background-color: #02420a !important;
    color: #e0e0e0 !important;
}

.navbar-toggler-icon {
    color: white !important;
    background-color: #02420a;
}

/* Pricing Section Styling */
.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    font-family: Arial, sans-serif;
}

.pricing-title {
    color: #1e90ff;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    text-align: center;
    font-size: 0.8rem;
    color: #333;
}

.pricing-service-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    /* Set a minimum width for each column */
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    width: 100%;
}

.pricing-table-header {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    min-width: 120px;
    /* Ensure headers don't shrink too much */
}

.pricing-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    transition: transform 0.3s ease;
    min-width: 120px;
    /* Ensure blocks don't shrink too much */
}

.pricing-block:hover {
    transform: translateY(-5px);
}

.pricing-block-orange {
    background: #ff8c00;
    color: #fff;
    border: none;
}

.pricing-price {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.pricing-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-container {
        padding: 0.5rem;
    }

    .pricing-title {
        font-size: 1rem;
    }

    .pricing-services {
        gap: 0.75rem;
    }

    .pricing-service-item {
        width: 70px;
        font-size: 0.65rem;
    }

    .pricing-service-item img {
        width: 30px;
        height: 30px;
    }

    .pricing-table {
        grid-template-columns: repeat(6, minmax(120px, 1fr));
        /* Maintain grid structure */
        gap: 0.25rem;
        overflow-x: auto;
        /* Ensure horizontal scrolling */
        white-space: nowrap;
        /* Prevent text wrapping */
    }

    .pricing-table-header {
        font-size: 0.7rem;
        padding: 0.4rem;
        border-bottom: 1px solid #e0e0e0;
        min-width: 120px;
    }

    .pricing-block {
        padding: 0.4rem;
        min-width: 120px;
    }

    .pricing-price {
        font-size: 0.9rem;
    }

    .pricing-note {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .pricing-service-item {
        width: 60px;
        font-size: 0.6rem;
    }

    .pricing-service-item img {
        width: 25px;
        height: 25px;
    }

    .pricing-table-header {
        font-size: 0.65rem;
        padding: 0.3rem;
        min-width: 120px;
    }

    .pricing-block {
        padding: 0.3rem;
        min-width: 120px;
    }

    .pricing-price {
        font-size: 0.8rem;
    }
}

/* Default styles for smaller screens */
.custom-img-size {
    width: 100%;
    height: auto;
    max-height: 500px;
    /* Default max height for smaller screens */
}

/* Media query for laptop screens (min-width: 1024px) */
@media (min-width: 1024px) {
    .custom-img-size {
        max-width: 60%;
        /* Reduce the width for laptop screens */
        max-height: 700px;
        /* Reduce the height to show content below */
        margin: 0 auto;
        /* Center the image */
    }
}