/********** Template CSS **********/
:root {
    --primary: #0a98d6;
    --light: #00bcc5;
    --dark: #252525;
    --yellow : #fa8c18;
    --lightyellow : #fb9e13;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 500 !important;
}
body {
    overflow-x: hidden!important;
}

p{
    font-weight: 400;
    color:black;
}

body {
    font-family: 'Poppins', sans-serif;
   
}

/* Headings with Cormorant */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant', serif;
}

/* Paragraphs with Poppins */
p {
    font-family: 'Poppins', sans-serif;
}

/* Anchors with Poppins */
a {
    font-family: 'Poppins', sans-serif;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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;
}

.btn-outline-body {
    color: #000;
    border-color: #000;
}

.instagram:hover {
    color: #E4405F;              
    border-color: #E4405F;
}

.linkedin:hover {
    color: #0077B5;              
    border-color: #0077B5;
}

.youtube:hover {
    color: #FF0000;              
    border-color: #FF0000;
}

.twitter:hover {
    color: #000;             
    border-color: #000;
}



/*** 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: 30px 0;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    transition: .5s;
    top: 0px;
}

.navbar-logo{
    width: 100px;
}

.spinner-logo{
    width: 80px;
}

.nav-link.active {
    /*color: #fff !important;*/
    font-weight: 600;
    border-bottom: 2px solid #007bff;
}

@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-logo{
        width: 90px;
}
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar-light .navbar-nav .nav-link:focus{
    color: var(--yellow)!important;
}

@media (min-width: 992px) {
    .navbar.bg-transparent {
        background-color: rgba(255, 255, 255, 0.15) !important; /* slightly more visible background */
        backdrop-filter: blur(25px); /* stronger blur */
        -webkit-backdrop-filter: blur(25px); /* Safari support */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* optional soft shadow */
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* optional frosted border */
        transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    }

    
}



/* Always white on mobile */
@media (max-width: 991.98px) {
    .navbar {
        background-color: #000 !important;
    }
    
    .navbar .navbar-nav .nav-link{
        color: white!important;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")!important;
}

}

.body-transparent {
    background: linear-gradient(to bottom right, #f1f1f1, #e3e8ee, #e8ecf1); /* Light gradient */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 10px 80px 10px;
}


.text-gradient {
    background-image: linear-gradient(108deg, #137DC5, #2199ea 34%, #fb8c13 68%, #f9a610);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-gradient-xl {
    background-image: linear-gradient(45deg, #224D88 32%, #935893 60%, #E896B8 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Award Wrapper with Gradient Double Border */
.award-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    margin: auto;
    z-index: 1;
    border: 6px double transparent; /* double border style */
    border-radius: 12px;
    background-image: linear-gradient(#fff, #fff), 
                      linear-gradient(108deg, #137DC5, #2199ea 34%, #fb8c13 68%, #f9a610);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}


/* Image with Zoom on Hover */
.award-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.award-image-wrapper img:hover {
    transform: scale(1.05);
}




.img-hover-zoom {
    transition: transform 0.5s ease;
    cursor: pointer;
}

.img-hover-zoom:hover {
    transform: scale(1.05);
}

.modal-content {
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.modal-content:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-close:focus {
    box-shadow: none;
}

.form-control:focus, .input-group .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}


.counter-plus::after {
    content: '+';
    font-size: 0.7em; /* adjust as needed */
    margin-left: 4px; /* spacing between number and + */
    vertical-align: top; /* aligns better with the number */
}

/* Gallery */
.brand-image-wrapper {
    width: 100%; /* Adjust as needed for consistency */
    height: 250px; /* Equal height */
    overflow: hidden;
    border-radius: 10px; /* Optional for rounded look */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* Optional for consistent background */
    box-shadow: 0 0 10px rgba(0,0,0,0.05); /* Optional subtle depth */
    margin: auto; /* Center within slide */
}

.brand-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.brand-image-wrapper img:hover {
    transform: scale(1.05);
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: rgba(0, 0, 0, .7);
    transition: .5s;
}


.service-item * {
    transition: .5;
    color: #FFFFFF;

}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--lightyellow);
    transition: .5s;

}



.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}


/* Coureses Item */
.courses-item img {
  position: relative;
  margin-top: 40px;
  transition: .5s;
}

.courses-list-item img {
  position: relative;
  transition: .5s;
}

.courses-item .courses-text,
.courses-list-item .courses-text {
  position: absolute;
  width: 100%;
  height: calc(100% + 86px);
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: linear-gradient(to bottom, rgba(18, 15, 45, 0), #120f2d);
  transition: .5s;
  z-index: 1;
}

.courses-list-item .courses-text {
  height: 100%;
}

.courses-item:hover img {
  margin-top: 0px;
}

.courses-list-item:hover img {
  transform: scale(1.2);
}

.courses-item:hover .courses-text {
  height: calc(100% + 40px);
}

.courses-text span{
    font-size: 14px;
}

/* Skills */

.skill-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.skill-card i {
    transition: transform 0.3s ease, color 0.3s ease;
}
.skill-card:hover i {
    transform: scale(1.2);
    color: #0d6efd;
}


.image-hover-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px!important;
    cursor: pointer;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.image-hover-container img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.image-hover-container:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.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 {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

@media(max-width:576px){
    .fact-col{
        margin-bottom: 70px;
    }
}

/*** Footer ***/

.footer{
    background: linear-gradient(to bottom right, #f1f1f1, #e3e8ee, #e8ecf1); /* Light gradient */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #000;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

/*.footer p{*/
/*    color: #fff;*/
/*}*/



.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--yellow);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--lightyellow);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.copyright {
    background-color:#000000;
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.copyright p{
    color:white;
}

.copyright a {
    color: var(--lightyellow);
}

.copyright a:hover {
    color: var(--yellow);
}

.table-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}
.table th, .table td {
    border-top: none;
    vertical-align: middle;
    padding: 15px;
}
.table th {
    background-color: #343a40;
    color: white;
    font-weight: 600;
}
.table td{
    color:#000;
}
.table tbody tr {
    transition: background-color 0.3s ease;
}
.table tbody tr:hover {
    background-color: #f1f1f1;
}

.stepper {
    margin: 0 auto; /* Center the stepper */
}

.stepper-container {
    position: relative;
}

.step {
    background-color: #ffffff;
    border: 2px solid #0a98d6; /* Blue border */
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0; /* Space between steps */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step h2 {
    margin-top: 0;
}

.step:before {
    content: "";
    position: absolute;
    left: -12px; /* Position of the dot */
    top: 20px;
    width: 20px; /* Dot size */
    height: 20px; /* Dot size */
    background-color: #0a98d6; /* Dot color */
    border-radius: 50%; /* Circle shape */
    z-index: 1; /* Ensure it is above the step */
}

.hero-section {
    background-image: url('../img/carousel-3.jpg'); /* Use your image path here */
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
}

@media(max-width:576px){
    .hero-section {
        height: auto;
    }
}

.content-column {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    border-radius: 10px;
    padding: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.counter-section {
    padding: 50px 0;
}

.section-description {
    margin-top: 10px;
    margin-bottom: 50px;
    font-size: 1.2rem;
    color: #777;
}

.counter-bg {
    background-image: url('../img/carousel-2.jpg'); /* Update with your background image path */
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    color: #fff;
}

.counter-box {
    background-color: rgba(255, 255, 255, 0.808); /* Transparent background for counters */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.counter-box h3 {
    font-size: 3rem;
    font-weight: bold;
}

.counter-box h3::after{
    content: '+';
    margin-left: 8px;
    color: black;
}

.counter-box p {
    font-size: 1.2rem;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .counter-box h3 {
        font-size: 2.5rem;
    }

    .counter-box p {
        font-size: 1rem;
    }
}

ul li{
    color:black;
}


/* CTA Section Styles */
.cta-section {
    position: relative;
    background-image: url('../img/carousel-1.jpg'); /* Adjust this path */
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 0 20px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.cta-content h3{
    color:white;
}

.cta-content p{
    color:white;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: bold;
    color:white;
}

.cta-button {
    display: inline-block;
    background-color: #0a98d6;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0a98d6;
    color: white;
}

/* Responsive Styles for Mobile */
@media screen and (max-width: 768px) {
    .cta-section {
        background-position: center center;
        height: 350px;
        padding: 0 10px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}
