/* Hero Section Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
    /* Use viewport height for full screen coverage */
    min-height: 650px;
    /* Minimum height */
    max-height: 800px;
    /* Maximum height so it doesn't get too tall */
    width: 100%;
}

.carousel-inner {
    height: 100%;
    width: 100%;
}

.carousel-item {
    height: 100%;
    width: 100%;
}

/* Make sure image covers the entire container */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Ensure content box displays properly */
.carousel-content {
    position: absolute;
    z-index: 100;
    max-width: 550px;
    padding: 40px;
    background-color: rgba(25, 69, 105, 0.85);
    border-left: 5px solid #D4AF37;
    border-radius: 0 6px 6px 0;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
}

/* Gold accent line on the left */
.gold-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: #D4AF37;
}

.carousel-title {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 2.5rem;
    line-height: 1.2;
}

.carousel-description {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-btn {
    background-color: #D4AF37;
    color: #194569;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    border: 2px solid #D4AF37;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    background-color: transparent;
    color: #D4AF37;
}

/* Navigation buttons */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(25, 69, 105, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Indicators */
.carousel-indicators {
    bottom: 30px;
    z-index: 50;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f8f9fa;
    opacity: 0.6;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: #D4AF37;
    opacity: 1;
    transform: scale(1.2);
}

/* Eliminate any potential gap */
.carousel,
.carousel-inner,
.carousel-item {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .carousel-content {
        max-width: 450px;
        padding: 30px;
    }

    .carousel-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-slider {
        min-height: 550px;
    }

    .carousel-content {
        max-width: 80%;
        left: 10%;
        padding: 25px;
    }

    .carousel-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .carousel-description {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-slider {
        min-height: 450px;
    }

    .carousel-content {
        padding: 20px;
        max-width: 85%;
        left: 7.5%;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hero-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Cards */

.overview-cards-section {
    background-color: var(--secondary-color);
    position: relative;
}

.overview-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='pattern' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 0,10 C 20,20 40,0 50,10 C 60,20 80,0 100,10 L 100,0 L 0,0 Z' stroke='%23004c7422' fill='none'/%3E%3Cpath d='M 0,60 C 20,70 40,50 50,60 C 60,70 80,50 100,60 L 100,50 L 0,50 Z' stroke='%23004c7422' fill='none'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='%23000B18'/%3E%3Crect width='100%25' height='100%25' fill='url(%23pattern)'/%3E%3C/svg%3E");
    opacity: 0.9;
    z-index: -1;
}

.compact-card {
    transition: all 0.3s ease;
    overflow: hidden;
    max-width: 100%;
}

.compact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.card-footer a:hover .rounded-circle {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color) !important;
}

.card-footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .card-img-wrapper {
        height: 140px;
    }
}

@media (max-width: 575.98px) {
    .card-img-wrapper {
        height: 130px;
    }
}

/* About us */
/* General Section Styling */
.about-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

/* Section Headings */
.about-section h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-section h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.about-section h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Accent Line */
.accent-line {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto 20px;
}

.accent-line-small {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto 20px;
}

/* Image Styling */
.about-image-container {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-accent-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-color: var(--accent-color);
    z-index: -1;
    border-radius: 10px;
}

/* Content Box */
.content-box {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

/* Goal Cards */
.goal-card {
    height: 100%;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.goal-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.goal-icon i {
    color: var(--accent-color);
    font-size: 2rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .about-section {
        padding: 60px 0;
    }

    .image-accent-box {
        width: 120px;
        height: 120px;
    }

    .cta-button {
        padding: 10px 20px;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 40px 0;
    }

    .content-box {
        padding: 20px;
    }

    .image-accent-box {
        width: 100px;
        height: 100px;
        bottom: -15px;
        right: -15px;
    }
}

@media (max-width: 575.98px) {
    .about-section h2 {
        font-size: 1.8rem;
    }

    .about-section h3 {
        font-size: 1.5rem;
    }

    .goal-icon {
        width: 60px;
        height: 60px;
    }

    .goal-icon i {
        font-size: 1.5rem;
    }

    .image-accent-box {
        display: none;
    }
}

/* Accreditions */

/* Accreditation Section Styles with prefixed class names */
.ukab-accred-section {
    background-color: var(--secondary-color);
}

.ukab-accent-text {
    color: var(--accent-color);
    letter-spacing: 1px;
}

.ukab-divider-accent {
    height: 4px;
    width: 80px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Card Styles */
.ukab-accred-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding-top: 30px;
}

.ukab-accred-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ukab-accred-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}

.ukab-card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 15px;
    box-shadow: 0 5px 15px rgba(0, 76, 116, 0.2);
}

.ukab-card-icon i {
    font-size: 28px;
    color: white;
}

.ukab-card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.ukab-card-badge {
    display: inline-block;
    background-color: rgba(0, 76, 116, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.ukab-card-text {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.ukab-card-benefits {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.ukab-card-benefits li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.ukab-card-benefits i {
    color: var(--accent-color);
    margin-right: 8px;
}

.ukab-learn-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ukab-learn-more:hover {
    color: var(--accent-color);
}

.ukab-primary-btn {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.ukab-primary-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 76, 116, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .ukab-accred-card {
        margin-bottom: 50px;
    }
}

@media (max-width: 767.98px) {
    .display-5 {
        font-size: calc(1.4rem + 1.5vw);
    }
}

/* Contact */
/* Contact section specific styles */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-heading {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.contact-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-subheading {
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 2rem;
}

.contact-info-card {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-icon i {
    font-size: 24px;
    color: var(--accent-color);
}

.info-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-content {
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.form-control {
    border: none;
    border-radius: 0;
    padding: 12px 15px;
    background-color: var(--secondary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-bottom: 2px solid var(--accent-color);
}

.form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.social-icons-contact {
    display: flex;
    margin-top: 20px;
}

.social-icons-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-icons-contact a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .contact-info-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .contact-section {
        padding: 60px 0;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon i {
        font-size: 20px;
    }
}

 /* Contact Section Styles */
        

        

        

        

        /* Contact Form */
        .contact-form {
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .form-label {
            color: var(--primary-color);
            font-weight: 500;
            margin-bottom: 8px;
        }

        .form-control {
            border: 1px solid #e0e0e0;
            border-radius: 5px;
            padding: 12px 15px;
            height: auto;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(0, 76, 116, 0.15);
        }

        /* Custom phone input styling */
        .tel-input-container {
            display: flex;
            width: 100%;
            height: 50px;
            border: 1px solid #e0e0e0;
            border-radius: 5px;
            overflow: hidden;
            background-color: white;
            transition: all 0.3s ease;
        }

        .tel-input-container:focus-within {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(0, 76, 116, 0.15);
        }

        .tel-select-container {
            position: relative;
            min-width: 80px;
            background-color: var(--primary-color);
            display: flex;
            align-items: center;
        }

        .tel-country-select {
            appearance: none;
            border: none;
            background: transparent;
            color: white;
            padding: 0 12px;
            width: 100%;
            height: 100%;
            font-weight: 500;
            cursor: pointer;
            z-index: 2;
        }

        .tel-country-select:focus {
            outline: none;
        }

        .select-arrow {
            position: absolute;
            right: 8px;
            color: var(--accent-color);
            font-size: 10px;
            pointer-events: none;
            z-index: 1;
        }

        .tel-country-select option {
            background-color: white;
            color: var(--text-dark);
            padding: 8px;
        }

        .tel-input {
            flex-grow: 1;
            border: none;
            padding: 0 15px;
            font-size: 16px;
        }

        .tel-input:focus {
            outline: none;
        }

        /* Submit Button */
        .submit-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 5px;
            padding: 12px 28px;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

        .submit-btn:hover {
            background-color: var(--accent-color);
            color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
        }

        /* Responsive adjustments */
        @media (max-width: 991.98px) {
            .contact-section {
                padding: 60px 0;
            }

            .contact-form {
                margin-top: 30px;
            }
        }

        @media (max-width: 767.98px) {
            .contact-info-card {
                margin-bottom: 20px;
                max-width: 400px;
                margin-left: auto;
                margin-right: auto;
            }
        }

        @media (max-width: 575.98px) {
            .contact-heading {
                font-size: 1.8rem;
            }

            .submit-btn {
                width: 100%;
            }
        }