/* Section Headings */
.default-heading.common-heading {
    padding: 2rem 0;
}

/* Override underline styles */
.common-heading.default-heading h2:before,
.common-heading.default-heading h2:after {
    display: none !important;
}

/* Unified testimonial styles */
.trusted-partner .item {
    padding: 40px 60px;
    position: relative;
}

.trusted-partner .item .testimonial-media {
    margin: 0 auto 20px;
    width: 100%;
    max-width: 360px;
}

/* Fix navigation arrows */
.trusted-partner.owl-carousel {
    overflow: hidden;
}

.trusted-partner.owl-carousel .owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.trusted-partner.owl-carousel .owl-nav button.owl-prev,
.trusted-partner.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted-partner.owl-carousel .owl-nav button.owl-prev {
    left: 15px;
}

.trusted-partner.owl-carousel .owl-nav button.owl-next {
    right: 15px;
}

/* Ensure owl-nav buttons stay behind testimonial content */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    z-index: 2;
}

.trusted-partner.owl-carousel .owl-nav button:hover {
    background: #fff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.trusted-partner .item .testimonial-media iframe {
    width: 100%;
    aspect-ratio: 1;
    border: none;
    background: transparent;
}

.trusted-partner .item figure.photo {
    margin: 0 auto;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted-partner .item figure.photo img {
    width: 100%;
    height: auto;
    max-width: 160px;
}

.trusted-partner .item .default-heading {
    text-align: center;
    padding: 15px 0;
}

.trusted-partner .item .default-heading h3 {
    margin: 0 0 5px;
    font-size: 20px;
    color: #000;
}

.trusted-partner .item .default-heading span {
    color: #666;
    font-size: 16px;
}

.trusted-partner .item p {
    margin: 0 auto;
    max-width: 800px;
    padding: 0 20px;
    font-size: 20px;
    line-height: 1.5;
    color: #333;
}

/* Team Reports Section */
.team-reports.owl-carousel {
    padding: 0 30px;
    margin: 20px 0;
}

.team-reports.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: #e0e0e0 solid 1px;
    background: #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-reports.owl-carousel .owl-nav button:hover {
    border-color: #102f8a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.team-reports.owl-carousel .owl-nav button.owl-prev {
    left: 0;
}

.team-reports.owl-carousel .owl-nav button.owl-next {
    right: 0;
}

.report-box {
    margin: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.report-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: rgba(16,47,138,0.2);
}

.report-box .info {
    padding: 20px;
}

.report-box .info h3 {
    color: #102f8a;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.report-box .info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Thumbnail navigation styles */
.hash-slider .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.hash-slider .button {
    margin: 0 8px;
    transition: all 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 2px;
    border: 2px solid transparent;
    border-radius: 50%;
}

.hash-slider .button img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hash-slider .button:hover {
    border-color: #102f8a;
}

.hash-slider .button:hover img {
    transform: scale(1.1);
}

.hash-slider .button.active {
    border-color: #102f8a;
}

.default-heading.common-heading h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: #2d3748;
    margin-bottom: 1rem;
}

.default-heading.common-heading .lead {
    font-size: 1.25rem;
    color: #718096;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Icons */
.service-icon {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

/* Transitions */
.transition-300 {
    transition: all 0.3s ease-in-out;
}

/* Content Box Enhancements */
.content-box {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.content-box.active {
    border-left: 4px solid var(--primary-color, #007bff);
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Form Button States */
.btn {
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-Schedule {
    min-width: 150px;
}

.btn-primary {
    background-color: #102f8a;
    border-color: #102f8a;
    color: #fff;
}

.btn-primary:hover:not(.disabled) {
    background-color: #0d2670;
    border-color: #0d2670;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.btn.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.btn.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
    margin-right: 0.5rem;
}

/* Arrow Link Enhancements */
.arrow-aright {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    color: var(--primary-color, #007bff);
    text-decoration: none;
}

.arrow-aright:hover .web-arrow {
    transform: translateX(5px);
}

.arrow-aright:hover {
    color: var(--primary-color-dark, #0056b3);
    text-decoration: none;
}

/* Mobile Menu Styles */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 0.4rem 0.6rem;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler i.fa-bars {
    color: #fff;
    font-size: 1.25rem;
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile menu items styling */
@media (max-width: 767.98px) {
    .navbar-collapse {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        color: #fff !important;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
}
