/********** Template CSS **********/



:root {
    --primary: #E2363B;
    --light: #000000;
    --dark: #ffffff;

}

.ff-secondary {
    font-family: 'Pacifico', cursive;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !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-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    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: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    /* Fixed typo */
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: #000 !important;
    /* Changed from var(--light) for visibility */
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

/* Hover and Active State */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

/* Logo Size */
.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

/* Sticky Navbar (Shrinks Logo) */
.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

/*** Mobile Responsive Fixes ***/
@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        /* Changed to dark for better contrast */
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
}

/*** Desktop Navbar ***/
@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        background: #fff !important;
        /* Changed from var(--dark) for light mode */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* Adds subtle shadow */
    }
}


/*** Hero Header ***/
/* .hero-header {

    background: linear-gradient(to top left, rgba(200, 0, 0, 0.7), rgba(255, 255, 255, 0.3)), url(../img/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
} */

.about-us-section {
    position: relative;
    border-radius: 20px;
    margin-top: 8%;
    height: 80vh;
    /* Adjust height based on preference */
    color: rgb(255, 255, 255);
    /* Text color */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-image: url('../img/bg-hero.jpg'); */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: background-position 1s ease;
    /* Smooth background transition */
}

/* Ensure video takes full width and is placed right below navbar */
.about-us-section {
    position: relative;
    width: 100%;
    height: 90vh;
    /* Adjust height as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Make the video cover the full section */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay for better text visibility */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
}

/* Centered text content */
.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}

.about-us-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.5);
    /* Adds a shadow to the background */
    border-radius: 20px;
    /* Match the section's border radius */
}

.about-us-text {
    position: relative;
    z-index: 1;
    /* Ensures the text is above the background */
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.6);
    /* Adds shadow for better contrast */
}

.about-us-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-us-text h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 20px;


}



/* Add hover effect for the card */
.specializations-section .card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    opacity: 0.9;
}

.specializations-section .card:hover {
    transform: translateY(-10px);
    /* Move the card up */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    /* Add a shadow effect */
    opacity: 1;
    /* Make it fully opaque */
}

/* Fade-in animation for cards */
.specializations-section .card-body {
    opacity: 0;
    transform: translateY(20px);
    /* Initially position cards a little lower */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.specializations-section .card-body.visible {
    opacity: 1;
    transform: translateY(0);
    /* Bring cards to their normal position */
}

@keyframes imgRotate {
    100% {
        transform: rotate(360deg);
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

/* Parallax effect */
.about-us-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    transform: translateZ(0) scale(1.1);
    background-attachment: fixed;
    will-change: transform;
    transition: transform 0.2s ease-in-out;
}

.about-us-section:hover::before {
    transform: translateZ(0) scale(1.15);
    /* Slight zoom on hover */
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/* < !-- Our Mission And Vision Start --> */



/* Container styles */
.container-xxl {
    margin-top: 5%;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Vision & Mission Cards */
.vision-mission-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.vision-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
}

/* Icon styling */
.icon-container {
    text-align: center;
    margin-bottom: 20px;
}

/* Mission List */
.mission-list {
    padding-left: 20px;
    color: #555;
}

.mission-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Title and text color */
h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Add hover effect on the icon */
.icon-container i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.vision-mission-card:hover .icon-container i {
    transform: scale(1.2);
    color: #f63708;
    /* Change color on hover */
}






















/* < !-- Our Mission And Vision End --> */

/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Team ***/

/* Style for the text box container */

/* Our Team Section
-------------------------------------------------------*/

.container-team {

    margin-left: 22%;
}


.our-team {
    text-align: center;
    padding: 50px 0;
}

.our-team .team-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
}

.our-team .team-wrap {
    padding: 0 20px;
    max-width: 300px;
    margin-bottom: 30px;
}

.our-team .container-fluid {
    padding: 0 50px;
}

.team-img {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 100%;
    margin-bottom: 20px;
}

.team-img img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease-in-out;
}

.team-member {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.team-title {
    margin: 20px 0 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.team-member .position {
    font-size: 14px;
    color: #777;
}

/* Center the content and add a top margin */
.col-md-6.col-md-offset-3 {
    margin-top: 50px;
    /* Adjust the value as per your design */
    text-align: center;
    /* Center-align text */
}

/* Optional: If you want to add specific style to the heading and subheading */
.bottom-line {
    border-bottom: 2px solid #333;
    /* Adds a bottom border to the title */
    padding-bottom: 10px;
    /* Adds some space between the title and the border */
}

.subheading {
    font-style: italic;
    /* Optional: Adding italics to the subheading */
    color: #777;
    /* Optional: Change the color */
}

.overlay {
    background-color: rgba(20, 20, 20, 0.7);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.team-details {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 2;
    transition: all 0.3s ease-in-out;
}

.team-details p {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.team-img:hover .team-details {
    opacity: 1;
    margin-top: -80px;
}

.team-img:hover .overlay {
    opacity: 1;
}

.socials a {
    display: inline-block;
    width: 37px;
    height: 37px;
    background-color: transparent;
    margin: 0 5px;
}

.socials i {
    line-height: 37px;
    color: #616161;
    font-size: 14px;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    text-align: center;
    transition: all 0.2s linear;
}

.socials a:hover i {
    color: #fff;
    background-color: #355c7d;
}

.team-member .socials {
    margin-top: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .our-team .team-row {
        flex-direction: column;
    }

    .our-team .team-wrap {
        max-width: 90%;
        margin-bottom: 20px;
    }
}


/* Glow animation */
@keyframes glow-animation {
    0% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

/* Styling for the paragraph inside the box */
.text-box p {
    margin: 0;
    /* Remove default margin */
    line-height: 1.6;
    /* Increase line-height for readability */
    font-size: 16px;
    /* Adjust font size */
    letter-spacing: 0.5px;
    /* Slight letter spacing for better readability */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    /* Soft text shadow for better contrast */
    opacity: 0;
    /* Initially hide the text */
    transition: opacity 0.5s ease-in-out;
    /* Smooth fade-in transition */
}

/* Fade-in text effect when box expands */
.text-box:hover p {
    opacity: 1;
    /* Make text visible when the box is hovered */
}

/* Add an animated bounce effect on hover */
.text-box:hover {
    animation: bounce 0.5s ease-in-out;
}

/* Bounce animation */
@keyframes bounce {
    0% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.05);
    }
}


.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}

/*** Blog Start ***/
.blog .blog-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .project-img .blog-plus-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
    opacity: 0;
}

.blog .blog-item:hover .project-img .blog-plus-icon {
    opacity: 1;
}

.blog .blog-item .project-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .project-img img {
    transform: scale(1.3);
}

/*** Blog End ***/

/* Icon Container */
.icon-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    /* Adjust spacing between icons */
    flex-wrap: nowrap;
    /* Prevents icons from wrapping to the next line */
    overflow-x: auto;
    /* Adds horizontal scrolling if needed */
    padding: 20px 0;
    animation: fadeIn 1.5s ease-in-out;
}

/* Individual Icon */
.icon {
    text-align: center;
    width: 160px;
    /* Fixed width for all icons */
    height: 200px;
    /* Fixed height for uniformity */
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    animation: bounceIn 1.2s ease-in-out forwards;
    position: relative;
}

/* Icon Images */
.icon img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #e74c3c;
    padding: 10px;
    background-color: white;
    transition: transform 0.5s ease, border-color 0.5s ease;
    animation: pulse 3s infinite ease-in-out, floatUpDown 4s infinite ease-in-out;
}

/* Text under icons */
.icon p {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #192a56;
    transition: color 0.4s ease;
}

/* Hover Effects */
.icon:hover {
    transform: scale(1.1) rotate(5deg);
    background: #e6f7ff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.icon:hover img {
    transform: scale(1.2);
    border-color: #192a56;
}

.section-title {
    text-align: center;
    /* Centers the text horizontally */
    margin-bottom: 30px;
    /* Adds some space below the title */
}

.section-title h2 {
    font-size: 36px;
    /* Adjust the font size as needed */
    font-weight: bold;
    color: #192a56;
    /* Dark blue color */
}

/* Center the entire section */
.why-choose-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Ensures everything (title + icons) is centered */
    text-align: center;
    width: 100%;
}

/* Title Styling */
.section-title h2 {
    font-size: 36px;
    font-weight: bold;
    color: #192a56;
    /* Dark blue */
    margin-bottom: 20px;
}

/* Centered Icons */
.icon-container {
    display: flex;
    justify-content: center;
    /* Keeps icons centered */
    gap: 40px;
    flex-wrap: wrap;
}

.icon:hover p {
    color: #e74c3c;
}

/* Bounce In Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Up and Down Animation */
@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Fade-in Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/* Footer Styling */
/* Footer Background */
.footer {
    background-color: white !important;
    color: black;
    padding: 50px 0;
}

.col-lg-3.col-md-6 h4 {
    margin-left: 40px;
    padding: 50px 0;
    /* Adjust the value as needed */
}

/* Ensure Equal Column Spacing */
.footer .row {
    display: flex;
    justify-content: space-between;
    text-align: left;
    padding: 50px;
}

/* Make Section Titles Orange */
.footer h4 {
    color: orange;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    /* Adds space between the title and links */
}

/* Align Links in a Column */
.footer .btn-link {
    display: block;
    /* Makes links appear in column format */
    color: black !important;
    /* Ensures black color */
    text-decoration: none;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover Effect: Move Text from Left to Right & Change Color to Red */
.footer .btn-link:hover {
    color: red !important;
    transform: translateX(10px);
    text-decoration: underline;
}

/* Reduce spacing between social icons */
.btn-social {
    margin-right: 1px;
    /* Adjust spacing */
    padding: 4px 7px;
    /* Adjust button padding */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black !important;
    /* Default background color */
    color: white !important;
    /* Default icon color */
    font-size: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn-social:last-child {
    margin-right: 0;
    /* Remove margin from last icon */
}


/* Hover Effect: Icon Turns Red */
.btn-social:hover {
    background-color: black !important;
    /* Keep background black */
    color: red !important;
    /* Change only icon color */
    transform: rotate(360deg) scale(1.2);
}

/* Newsletter Input Field */
.footer .form-control {
    border-radius: 25px;
    border: 2px solid #007bff;
}

/* SignUp Button */
.footer button {
    border-radius: 25px;
    font-weight: bold;
}

/* Responsive Styling */
@media (max-width: 1000px) {
    .footer .row {
        flex-direction: column;
        text-align: center;
    }

    .btn-social {
        margin: 5px auto;
    }

    .footer .btn-link {
        text-align: center;
    }
}

/* Center the copyright text */
.copyright {
    background-color: white !important;
    text-align: center;
    padding: 10px 0;
}

/* Ensure the text inside is centered */
.copyright .row {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Adjust text alignment */
.copyright p {
    font-size: 14px;
    color: black;
    text-align: center;
    margin: 0 auto;
    /* Ensures full centering */
}