
.masonry-gallery {
    column-count: 4;
    column-gap: 15px;
}

.masonry-gallery a {
    display: block;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 12px;
}

.masonry-gallery img {
    width: 100%;
    border-radius: 12px;
    transition: 0.4s;
}

.masonry-gallery img:hover {
    transform: scale(1.08);
}

/* Tablet */
@media(max-width:991px){
    .masonry-gallery{
        column-count:3;
    }
}

/* Mobile */
@media(max-width:600px){
    .masonry-gallery{
        column-count:2;
    }
}

.cta-section {
    background: linear-gradient(135deg, #1a685b, #134e45);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.cta-section::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-section h1 {
    font-weight: 700;
}

.cta-btn {
    background: #ffffff;
    color: #1a685b;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #134e45;
    color: #fff;
    transform: translateY(-3px);
}

    
   
    /* ===== Course Card Responsive Equal Height ===== */

.course-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}

/* Desktop Image Height */
.course-item .position-relative {
    height: 220px;
}

.course-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Stretch */
.course-item .text-center {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 15px;
}

/* Bottom Info Same Line */
.course-item .border-top {
    margin-top: auto;
}

/* Theme Color Button */
.course-item .btn-primary {
    background-color: #1a685b;
    border-color: #1a685b;
}

.course-item .btn-primary:hover {
    background-color: #1a685b;
    border-color: #1a685b;
}

/* ===== Tablet View ===== */
@media (max-width: 991px) {
    .course-item .position-relative {
        height: 200px;
    }
}

/* ===== Mobile View ===== */
@media (max-width: 576px) {

    .course-item {
        height: auto;
    }

    .course-item .position-relative {
        height: auto;
    }

    .course-item img {
        height: 180px;
    }

    .course-item .text-center {
        min-height: auto;
        padding: 10px;
    }

    .course-item h5 {
        font-size: 16px;
        line-height: 24px;
    }

    .course-item small {
        font-size: 13px;
    }

    .course-item .btn {
        font-size: 12px;
        padding: 5px 10px;
    }
}
    .navbar .nav-link.active,
.navbar .nav-link:hover{
    color:#f28c28 !important;
}
 

.btn-primary{
  background:var(--secondary);
  border:none;
}

.section-title{
  color:var(--primary);
}

.team-item {
    border-radius: 10px;
    overflow: hidden;
}

.team-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.3s;
}

.team-item:hover img {
    transform: scale(1.05);
}


.service-item {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.service-item .p-4 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item h5 {
    min-height: 48px;
}

.service-item p {
    flex-grow: 1;
}

.service-item:hover {
    transform: translateY(-6px);
}


/* ===== Carousel Responsive Fix ===== */

.header-carousel .owl-carousel-item {
    position: relative;
}

/* Desktop Image Height */
.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Overlay Proper Fit */
.header-carousel .owl-carousel-item .position-absolute {
    padding: 0 50px;
}

/* Theme Button */
.header-carousel .btn-primary {
    background-color: #1a685b;
    border-color: #1a685b;
}

.header-carousel .btn-primary:hover {
    background-color: #1a685b;
    border-color: #1a685b;
}


/* ===== Tablet View ===== */
@media (max-width: 991px) {

    .header-carousel .owl-carousel-item img {
        height: 70vh;
    }

    .header-carousel h1 {
        font-size: 40px;
    }

    .header-carousel p {
        font-size: 16px;
    }
}


/* ===== Mobile View ===== */
@media (max-width: 576px) {

    .header-carousel .owl-carousel-item img {
        height: 60vh;
    }

    .header-carousel .position-absolute {
        padding: 0 15px;
        text-align: center;
    }

    .header-carousel h5 {
        font-size: 14px;
    }

    .header-carousel h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .header-carousel p {
        font-size: 14px;
        line-height: 22px;
    }

    .header-carousel .btn {
        font-size: 12px;
        padding: 6px 12px;
        margin-top: 5px;
    }

    .header-carousel .btn-light,
    .header-carousel .btn-primary {
        display: inline-block;
        width: auto;
    }
}
   
    /* ============================= */
/* HERO CAROUSEL MOBILE FIX */
/* ============================= */

.header-carousel .owl-carousel-item{
    height: 100vh;
    min-height: 500px;
}

.header-carousel .owl-carousel-item img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Overlay Content Vertical Center */

.header-carousel .owl-carousel-item .container{
    height: 100%;
}

.header-carousel .owl-carousel-item .row{
    height: 100%;
    align-items: center;
}

/* ============================= */
/* MOBILE RESPONSIVE */
/* ============================= */

@media(max-width:768px){

.header-carousel .owl-carousel-item{
    height: 75vh;
}

.header-carousel h1{
    font-size:28px !important;
    line-height:38px;
}

.header-carousel h5{
    font-size:14px;
}

.header-carousel p{
    font-size:14px;
}

.header-carousel .btn{
    padding:8px 18px;
    font-size:13px;
}

}

/* EXTRA SMALL MOBILE */

@media(max-width:480px){

.header-carousel .owl-carousel-item{
    height: 70vh;
}

.header-carousel h1{
    font-size:22px !important;
    line-height:30px;
}

.header-carousel p{
    font-size:13px;
}

}

    .team-card {
    background: #ffffff;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid #eee;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 20px rgba(0,0,0,0.08);
}

.team-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #1a685b1a; /* Light logo color */
    border-radius: 50%;
    margin: auto;
}

.team-icon i {
    font-size: 24px;
    color: #1a685b; /* Your logo color */
}

    /* ===== Footer Theme Fix ===== */

.footer {
    background-color: #0f2e2a !important;
}

/* Quick Links */
.footer .btn.btn-link {
    color: #ffffff;
    transition: 0.3s;
}

.footer .btn.btn-link:hover {
    color: #1a685b;
    letter-spacing: 1px;
}

/* Social Icons Theme */
.footer .btn-social {
    border-color: #1a685b;
    color: #1a685b;
}

.footer .btn-social:hover {
    background-color: #1a685b;
    border-color: #1a685b;
    color: #fff;
}

/* Gallery Images Equal Size */
.footer .row.g-2 .col-4 {
    height: 80px;
}

.footer .row.g-2 .col-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Newsletter Button */
.footer .btn-primary {
    background-color: #1a685b;
    border-color: #1a685b;
}

.footer .btn-primary:hover {
    background-color: #1a685b;
    border-color: #1a685b;
}

/* Footer Menu */
.footer-menu a {
    color: #ffffff;
    margin-left: 15px;
}

.footer-menu a:hover {
    color: #1a685b;
}


/* ===== Mobile View ===== */
@media (max-width: 768px) {

    .footer .row > div {
        text-align: center;
    }

    .footer .btn-social {
        margin: 5px;
    }

    .footer-menu {
        margin-top: 10px;
    }

    .footer-menu a {
        display: inline-block;
        margin: 5px;
    }

    .footer .position-relative {
        max-width: 100% !important;
    }

    .footer input.form-control {
        padding-right: 100px;
    }

    .footer .btn-primary {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* ===========================
Footer Mobile Responsive Fix
=========================== */

@media (max-width: 767px) {

.footer .position-relative.mx-auto {
    max-width: 100% !important;
}

.footer input.form-control {
    height: 50px;
    padding-right: 120px !important;
    font-size: 14px;
}

.footer .position-absolute.btn {
    position: relative !important;
    width: 100%;
    margin-top: 10px !important;
    margin-right: 0 !important;
}

.footer .footer-menu {
    margin-top: 10px;
}

.footer .copyright .row {
    text-align: center;
}

.footer .btn-social {
    width: 35px;
    height: 35px;
    font-size: 14px;
}
}

/* ===== Footer Social Icons Mobile Fix ===== */

@media (max-width: 767px) {

.footer .d-flex.pt-2 {
    justify-content: center !important;
    flex-wrap: wrap;
}

.footer .btn-social {
    margin: 5px;
}

}



/* Floating Left Contact Icons */

.floating-contact-left{
    position: fixed;
    left: 20px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.floating-contact-left a{
    width: 50px;
    height: 50px;
    margin: 6px 0;
    border-radius: 50%;
    background:#1a685b;   /* Logo Theme Color */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color:#fff;
    text-decoration: none;
}

/* Hover same rahe */

.floating-contact-left a:hover{
    background:#1a685b !important;
    color:#fff !important;
}

/* Mobile View Fix */

@media(max-width:767px){
.floating-contact-left{
    left:15px;
    bottom:60px;
}
}
