/* Homepage-specific styles */

/* Generic heading overrides used on home sections */
h2 {
    color: #fff;
}

ul li p {
    color: #fff;
}

/* Hero carousel */
.home-banner-area .carousel-item {
    height: 700px;
}

.home-banner-area .banner-content {
    border-radius: 8px;
}

@media (max-width: 768px) {
    .home-banner-area .banner-content {
        max-width: 100% !important;
        margin: 0 15px;
    }

    .home-banner-area .carousel-item {
        height: auto;
    }
}

/* Certificates carousel section */
.blog-section-three {
    background-color: #f8f9fa;
    padding-bottom: 70px;
}

.blog-section-three .image-wrapper {
    overflow: hidden;
    border-radius: 8px;
}

.blog-section-three .card-img-top {
    transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}

.blog-section-three .card-img-top:hover {
    transform: scale(1.03);
}

.blog-section-three .modal-content {
    background: transparent;
    box-shadow: none;
}

.blog-section-three #zoomedCertificate {
    max-height: 80vh;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.blog-section-three .owl-nav button {
    position: absolute;
    top: 40%;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 22px !important;
    line-height: 38px !important;
    transition: background 0.3s ease;
}

.blog-section-three .owl-nav button:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

.blog-section-three .owl-nav .owl-prev {
    left: -50px;
}

.blog-section-three .owl-nav .owl-next {
    right: -50px;
}

.blog-section-three .owl-dots {
    margin-top: 20px;
    text-align: center;
}

.blog-section-three .owl-dot span {
    width: 10px;
    height: 10px;
    background: #aaa !important;
    border-radius: 50%;
    display: inline-block;
    margin: 5px;
    transition: background 0.3s ease;
}

.blog-section-three .owl-dot.active span {
    background: #333 !important;
}

@media (max-width: 768px) {
    .blog-section-three .owl-nav .owl-prev {
        left: -30px;
    }

    .blog-section-three .owl-nav .owl-next {
        right: -30px;
    }

    .blog-section-three .card-img-top {
        border-radius: 6px;
    }
}

/* Get in Touch services dropdown */
.getintouch-services-wrap {
    position: relative;
}

.getintouch-services-wrap .select-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    min-height: 44px;
    padding: 8px 12px;
    transition: border-color 0.2s, background 0.2s;
}

.getintouch-services-wrap .select-box:hover {
    border-color: rgba(215, 140, 44, 0.8);
    background: rgba(255, 255, 255, 0.12);
}

.getintouch-services-wrap .placeholder {
    color: rgba(255, 255, 255, 0.75);
    left: 12px;
    background-color: transparent;
    font-size: 0.9rem;
}

.getintouch-services-wrap .selected-option {
    background: rgba(215, 140, 44, 0.35);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9em;
}

.getintouch-services-wrap .selected-option .remove-option {
    color: rgba(255, 255, 255, 0.9);
    margin-left: 4px;
    font-weight: bold;
}

.getintouch-services-wrap .selected-option .remove-option:hover {
    color: #fff;
}

.getintouch-services-wrap .options-container {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    overflow: hidden;
    max-height: 280px;
}

.getintouch-services-wrap .options-container .search-box {
    flex-shrink: 0;
    padding: 10px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.getintouch-services-wrap .options-container .search-box input {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
}

.getintouch-services-wrap .options-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 6px 0;
}

.getintouch-services-wrap .option-item {
    padding: 10px 14px;
    margin: 0 8px;
    border-radius: 6px;
    gap: 10px;
    transition: background 0.15s;
}

.getintouch-services-wrap .option-item:hover {
    background: rgba(215, 140, 44, 0.12);
}

.getintouch-services-wrap .option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d78c2c;
    cursor: pointer;
}

.getintouch-services-wrap .option-item label {
    cursor: pointer;
    flex: 1;
    color: #333;
    margin: 0;
}

.getintouch-services-wrap .options-list::-webkit-scrollbar {
    width: 8px;
}

.getintouch-services-wrap .options-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.getintouch-services-wrap .options-list::-webkit-scrollbar-thumb {
    background: #d78c2c;
    border-radius: 4px;
}

