﻿/********** Template CSS **********/
:root {
    --primary: #0463FA;
    --light: #EFF5FF;
    --dark: #1B2C51;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.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 {
    font-weight: 500;
    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;
}

/*Whats app */

.whatsapp-btn {
    position: fixed;
    right: 45px;
    bottom: 105px;
    z-index: 99;
}
/***Topbar**/
/* Default (desktop) → keep normal */
@media (max-width: 768px) {
    /* Make left column a scrolling marquee */
    .col-lg-7 {
        overflow: hidden;
        white-space: nowrap;
        position: relative;
    }

        .col-lg-7 > div {
            display: inline-block;
            min-width: max-content;
            animation: scroll-left 15s linear infinite;
        }

            /* Add spacing between the two items */
            .col-lg-7 > div:not(:last-child) {
                margin-right: 50px;
            }

    /* Keyframes for infinite scrolling */
    @keyframes scroll-left {
        0% {
            transform: translateX(100%);
        }

        100% {
            transform: translateX(-100%);
        }
    }
}

/* Mobile-only animations */
@media (max-width: 768px) {

    /* Phone numbers slide from left and stay */
    .col-lg-5 .fa-phone-alt,
    .col-lg-5 .fa-phone-alt + small {
        animation: slide-in-left 1s ease forwards;
    }

    @keyframes slide-in-left {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Social icons animate one by one from right to left */
    .col-lg-5 .btn-sm-square {
        opacity: 0;
        transform: translateX(100%);
        animation: slide-in-right 0.8s ease forwards;
    }

        /* Delay each icon so they come one after another */
        .col-lg-5 .btn-sm-square:nth-child(1) {
            animation-delay: 0.5s;
        }

        .col-lg-5 .btn-sm-square:nth-child(2) {
            animation-delay: 1s;
        }

        .col-lg-5 .btn-sm-square:nth-child(3) {
            animation-delay: 1.5s;
        }

        .col-lg-5 .btn-sm-square:nth-child(4) {
            animation-delay: 2s;
        }

    @keyframes slide-in-right {
        from {
            transform: translateX(100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
}



/***Topbar end***/

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}



/*** Header ***/
.carousel-caption {
    position: absolute;
    width: 100%;
    top: 72%; /* Adjust this value to place the caption just below the half of the image */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.header-carousel .owl-carousel-text {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 3rem;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}


.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: url(../img/header-page.jpg) top center no-repeat;
    background-size: cover;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);

}

/*Navbar title*/
.text-yellow {
    color: #FF4B33;
}

/*** Service ***/
.service-item {
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 40px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}

.service-item h4,
.service-item p
{
    color: #fff;
}


/*** Feature ***/
.feature-img {
    object-fit: cover;
    position: relative;
    height: auto;
}

@media (min-width: 992px) {
    .feature-img {
        position: absolute;
        height: 100%;
    }

    .col-lg-6 .position-relative {
        min-height: 500px;
    }
}

@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: 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 #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    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 {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


/* ====== Base Styles ====== */
:root {
    --primary: #1177c3; /* Brand Blue */
    --text: #2b2b2b;
    --muted: #555;
    --bg-light: #f9fbfd;
    --border: #e3e8ef;
    --shadow: 0 4px 14px rgba(17, 119, 195, .08);
}

body {
    font-family: "Roboto", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

/* ====== Section Wrapper ====== */
.section-about {
    padding: 50px 20px;
    background: var(--bg-light);
}

    .section-about .container {
        max-width: 1180px;
        margin: 0 auto;
    }

    /* ====== Headings ====== */
    .section-about h2,
    .subs-title,
    .subs-title3 {
        font-size: 26px;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 14px;
    }

    .section-about p,
    .main-p {
        font-size: 15px;
        color: var(--muted);
        margin-bottom: 14px;
    }

/* ====== Intro Grid (Text + Image) ====== */
.intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

    .intro-grid img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

/* ====== Vision / Mission / Quality ====== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.info-card {
    background: #ff6f00; /* Neon Orange */
    border: none;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    color: #fff;
}

    .info-card img {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }

    .info-card h3 {
        font-size: 18px;
        font-weight: 600;
        color: #fff;
        margin-bottom: 8px;
    }

    .info-card p {
        font-size: 14px;
        color: #fff;
        margin: 0;
    }

/* ====== Guiding Principles ====== */
.guiding {
    margin-top: 30px;
}

    .guiding h3 {
        font-size: 22px;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 12px;
    }

    .guiding ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 24px;
    }

    .guiding li {
        position: relative;
        padding-left: 28px;
        font-size: 15px;
        color: var(--muted);
    }

        .guiding li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 2px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 2px solid var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: var(--primary);
            background: #fff;
        }

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .guiding ul {
        grid-template-columns: 1fr;
    }

    .section-about h2 {
        font-size: 22px;
    }
}


/* Founder Section */
.founder-section {
    padding: 50px 20px;
    background: #fdfdfd;
}

.founder-grid {
    display: grid;
    grid-template-columns: 300px 1fr; /* left fixed 300px image, right auto text */
    gap: 20px;
    align-items: flex-start;
}

/* Text Section */
.founder-content {
    padding-left: 0; /* Reset padding to 0 to prevent a break in the sentence */
}

    .founder-content h2 {
        font-size: 26px;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 16px;
    }

    .founder-content p {
        font-size: 15px;
        color: var(--muted);
        margin-bottom: 14px;
        line-height: 1.7;
        word-break: normal; /* Ensures words are not broken mid-sentence */
        overflow-wrap: break-word; /* Allows long words to break if necessary to prevent overflow */
    }
.founder-img img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .founder-img img {
        margin: 0 auto 20px;
        width: 250px;
        height: 250px;
    }
}

/* News section */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

/* Grid layout */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.post-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

    .post-card:hover {
        transform: translateY(-5px);
    }

    .post-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
        cursor: pointer; /* Image click-ability */
    }

.post-content {
    padding: 15px;
}

    .post-content h3 {
        font-size: 1.2rem;
        margin: 0 0 10px;
    }

    .post-content p {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 10px;
    }

.post-meta {
    font-size: 0.85rem;
    color: #999;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 20px;
}

.load-more-btn {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    background: #FF4B33;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

    .load-more-btn:hover {
        background: #FF4B33;
    }

/* Initially hide all news items beyond the first 6 */
.post-card.hidden {
    display: none;
}

/* Modal for Image Zoom */
.zoom-modal {
    display: none; /* Initially hidden */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
    text-align: center;
}

    .zoom-modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

#zoomed-img {
    margin: auto;
    display: block;
    max-width: 60%;
    max-height: 60vh;
    border-radius: 10px;
    animation: zoomIn 0.3s;
}

.close-btn {
    position: absolute;
    top: 80px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1000;
}

    .close-btn:hover,
    .close-btn:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
    }

    to {
        transform: scale(1);
    }
}

/* Mobile View adjustments */
@media (max-width: 767px) {
    .posts-grid {
        grid-template-columns: 1fr; /* One image per row on smaller screens */
    }
}

/* Mobile */
@media (max-width: 600px) {
    .post-card img {
        height: 160px;
    }

    .post-content h3 {
        font-size: 1rem;
    }

    .post-content p {
        font-size: 0.85rem;
    }
}



/* Ensure dropdown is hidden by default */
.dropdown-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

/* Show dropdown when parent has .show (Bootstrap adds this on click) */
.dropdown.show .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Optional: hover background effect */
.dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
}



/* Gallery slider*/
.carousel-container1 {
    perspective: 1000px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.carousel-track1 {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-1 {
    width: 285px;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease-in-out;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    opacity: 0;
}

    .card-1 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Active, Previous, Next States */
    .card-1.active-1 {
        transform: scale(1) translateY(0) translateZ(0);
        z-index: 10;
        opacity: 1;
    }

    .card-1.previous-1 {
        transform: scale(0.8) translateX(-100px) rotateY(15deg) translateZ(-50px);
        opacity: 0.7;
        z-index: 5;
    }

    .card-1.next-1 {
        transform: scale(0.8) translateX(100px) rotateY(-15deg) translateZ(-50px);
        opacity: 0.7;
        z-index: 5;
    }

/* Mobile */
@media (max-width: 768px) {
    .card-1 {
        width: 240px;
        height: 260px;
    }

        .card-1.previous-1 {
            transform: scale(0.8) translateX(-70px) rotateY(15deg) translateZ(-50px);
        }

        .card-1.next-1 {
            transform: scale(0.8) translateX(70px) rotateY(-15deg) translateZ(-50px);
        }
}


.language-switcher {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-left: 20px;
}

.language-options {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    display: none;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 5px;
    min-width: 120px;
}

    .language-options a {
        padding: 8px 12px;
        text-decoration: none;
        color: #333;
        transition: background-color 0.2s;
    }

        .language-options a:hover {
            background-color: #f0f0f0;
        }

.language-switcher:hover .language-options {
    display: flex;
}


