﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

.btn-primary {
    color: #fff;
    background-color: #1C4A6E;
    border-color: #1C4A6E;
    border-radius: 30px;
    padding: 10px 20px;
}

    .btn-primary:hover {
        background-color: #496E8B;
    }

    .btn-primary:focus {
        color: #fff;
        background-color: #163a56;
        border-color: #163a56;
    }

.site-footer {
    background-color: #1C4A6E;
}

    .site-footer a {
        color: #ffffff;
        text-decoration: none;
    }

        .site-footer a:hover {
            text-decoration: underline;
        }

    .site-footer h6 {
        margin-bottom: 15px;
    }

    .site-footer .social-icon {
        width: 36px;
        height: 36px;
        background: #ffffff;
        color: #1C4A6E;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

.footer-divider {
    border-color: rgba(255,255,255,0.2);
}

/* ACADEMIC PROFILE */
.academic-profile {
    background-color: #f8fbff;
}

.profile-table th {
    width: 40%;
    font-weight: 600;
    color: #1C4A6E;
}

.profile-table td {
    color: #333;
}

/*.banner-slider {
    position: relative;
    width: 100%;
    height: 500px;*/ /* adjust if needed */
    /*overflow: hidden;
}

.slides {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}*/

.banner-slider {
    position: relative;
    width: 100vw; /* Take up full screen width */
    height: auto; /* Let the height adjust naturally */
    /* Change this ratio if your image looks cut off. 
       Common banner ratios are 16/9, 21/9, or 2/1 */
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.slides {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps your image pristine and un-cropped */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide.active {
        opacity: 1;
    }

/*    review page comment */
.review-comment {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    display: block;
    max-width: 100%;
}

/* Center button */
.contact-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1C4A6E;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 30px;
    z-index: 10;
}

    .contact-btn:hover {
        background-color: #496E8B;
        color: white;
    }

.services-section {
    padding: 80px 0;
    background-color: #f8fbff;
}

.services-badge {
    display: inline-block;
    background-color: #1CF8DE;
    color: #0a8f7a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.services-title {
    font-size: 28px;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1.4;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
}

    .service-card:hover {
        transform: translateY(-8px);
    }

    .service-card img {
        height: 50px;
        margin-bottom: 20px;
    }

    .service-card h5 {
        font-weight: 600;
        margin-bottom: 10px;
        color: #1c4a6e;
    }

    .service-card p {
        font-size: 14px;
        color: #666;
    }

.message-slide {
    display: none;
}

    .message-slide.active {
        display: block;
    }

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

    .dot.active {
        background: #1C4A6E;
    }

.chairperson-card {
    position: relative;
    width: 280px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.chairperson-name {
    padding: 10px 0;
    text-align: center;
    color: #fff;
    letter-spacing: 0.5px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient( to right, #1C4A6E, #2E6FA3 );
}


.progress {
    background-color: #e9ecef;
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background-color: #1C4A6E;
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        color: #1C4A6E;
    }

        .navbar-nav .nav-link:hover::after {
            width: 100%;
        }

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* HERO */
.admission-hero {
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3), transparent 35%), radial-gradient(circle at 80% 40%, rgba(255,255,255,0.3), transparent 35%), linear-gradient(135deg, #1C4A6E, #163A55);
    min-height: 500px; /* 👈 increase this */
    padding: 100px 0 180px; /* 👈 more vertical space */

    clip-path: polygon( 0% 0%, 100% 0%, 100% 90%, 50% 100%, 0% 90% );
    position: relative;
    z-index: 1;
}


/* FORM CARD */
.admission-form-section {
    margin-top: -250px;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.form-card {
    background: #ffffff;
    max-width: 900px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

    .form-card label {
        font-size: 14px;
        font-weight: 500;
    }

    .form-card input {
        height: 44px;
    }

        /* RADIO */
        .form-card input[type="radio"] {
            margin-right: 6px;
        }

    /* BUTTON */
    .form-card .btn-primary {
        border-radius: 30px;
        padding: 10px 30px;
    }

.form-control {
    border-radius: 12px;
}

.radio-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .radio-inline input[type="radio"] {
        margin: 0;
    }

.form-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    max-width: 900px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* INFO CARDS */
.info-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .info-card i {
        font-size: 28px;
        color: #1C4A6E;
        margin-bottom: 10px;
    }
.service-card i {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
    color: #1C4A6E;
    background: rgba(28, 74, 110, 0.12);
    width: 40px;
    height: 40px;
}

.course-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

    .course-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    }

/* IMAGE */
.course-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* BODY */
.course-body {
    padding: 20px;
    text-align: center;
}

    .course-body h5 {
        font-weight: 700;
        margin-bottom: 10px;
        color: #1C4A6E; /* primary */
    }

    .course-body p {
        font-size: 14px;
        color: #6c757d;
        margin-bottom: 18px;
    }

.service-section h2,
.service-section .section-subtitle {
    text-align: center;
    margin-top: 20px;
}

/* SERVICE SECTION */
.service-section {
    padding: 30px 0;
    color: #0d3b66;
}

.section-subtitle {
    max-width: 800px;
    color: #6c757d;
    font-size: 15px;
}

/* REQUIREMENT ROW */
.requirement-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 70px;
    padding: 14px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

    .requirement-row span:first-child {
        font-weight: 600;
        color: #212529;
    }

    .requirement-row span:last-child {
        color: #0d3b66;
    }

/* BUTTON */


/* STUDENT VISA CONTENT */
.student-visa-content {
    max-width: 900px;
}

/* SECTION HEADINGS */
.content-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #0d3b66;
}

/* ICON LIST */
.icon-list {
    list-style: none;
    padding-left: 0;
}

    .icon-list li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 10px;
        font-size: 14.5px;
        color: #5a6f85;
    }

        /* STAR ICON */
        .icon-list li::before {
            content: "✦";
            position: absolute;
            left: 0;
            top: 0;
            color: #0d3b66;
            font-size: 14px;
        }

.title-color {
    color: #0d3b66;
}

.Asterisk::after{
    content: " *";
    color: red;
}
/*from tribalex*/
.form-control.custom-dropdown {
    width: 200px;
}

.card-shadow {
/*    horizontal-offset  vertical-offset  blur-radius  color*/ /*how it works */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.card-shadow:hover {
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.35);
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: #6c63ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


#starRating i {
    cursor: pointer;
    color: #ccc;  default gray 
}

#starRating i.active {
        color: gold;  selected stars 
}

.validation {
    color: orangered; /* slightly nicer orange */
    font-size: 0.8rem;
    font-weight: 300;
}

.pagination button {
    transition: all 0.3s ease;
}

    .pagination button:hover {
        transform: translateY(-2px);
    }

.footer-logo-circle {
    width: 90px;
    height: 90px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

    .footer-logo-circle img {
        width: 65px;
        height: 65px;
        object-fit: contain;
    }

.footer-links a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
}

.site-footer p,
.site-footer .small,
.footer-links a {
    font-weight: 300 !important;
}

/* CHAIRPERSON SLIDER FIX */
.message-slide .row {
    min-height: 520px;
}

.message-slide .col-md-8 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.message-slide .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.message-slide img {
    width: 100%;
    max-width: 280px;
    height: 360px;
    object-fit: cover;
    border-radius: 10px;
}

.message-slide p {
    min-height: 220px;
}