/* REMOVE BOOTSTRAP'S DEFAULT LINK STYLE IN CANARY SECTION */
.canary-overview-section a,
.canary-overview-section a:link,
.canary-overview-section a:visited,
.canary-overview-section a:active {
    color: #ef9b11 !important;
    /* Theme color */
    text-decoration: none !important;
    font-weight: 600;
}

.canary-overview-section a:hover {
    color: #19297e !important;
    text-decoration: underline !important;
}

/* GLOBAL WRAPPER SPACING (LEFT + RIGHT GAP LIKE REFERENCE) */
.canary-overview-section {
    font-family: "PT Sans", sans-serif;
    color: #2a2a2a;
    line-height: 1.75;
    /* padding-left: 20px;   
    padding-right: 20px;   */
    padding: 60px 20px;
}

/* Limit text width like reference (improves alignment) */
.canary-overview-section .content-area {
    max-width: 760px;
    /* Same readable width as reference */
}

/* Paragraph Text */
.canary-overview-section p {
    font-family: "Montserrat", sans-serif;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.2px;
    color: #636363;
    margin-bottom: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Modern justify styling */
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.canary-overview-section ul li {
    font-size: 16px;
    color: #4b4b4b;
    line-height: 1.75;
    text-align: left !important;
    /* Fix mobile alignment */
}

/* Heading Styles */
.canary-overview-main-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: #ef9b11 !important;
    /* Your theme color */
    margin-bottom: 20px;
    text-align: left !important;
}

.canary-overview-section-heading {
    font-size: 22px;
    font-weight: 700;
    color: #212529 !important;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left !important;
}


.pdf-links {
    list-style: none;
    /* Removes default bullets */
    padding-left: 0;
    margin-top: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: 0.2px;
    color: #636363;
    margin-bottom: 12px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pdf-links li {
    margin-bottom: 8px;
    list-style-type: none;
}

.pdf-links i {

    margin-right: 6px;
    font-size: 18px;
    color: #ef9b11;
}

/* SIDEBAR */
.canary-sidebar-box {
    border: 1px solid #fff5e5;

    margin-left: 20px;
    /* Create spacing from content left */
}

.sidebar-title {
    background: #ef9b11;
    color: #fff !important;
    padding: 12px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    font-family: "PT Sans", sans-serif;
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li a {
    display: block;
    padding: 14px 20px;
    background: #fff5e5;
    border-bottom: 2px solid #fff;
    color: #2a2a2a;
    font-weight: 500;
    text-decoration: none !important;
    font-family: "PT Sans", sans-serif;
}

.sidebar-nav li a:hover {
    background: #fff5e5;
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {

    /* Ensure left alignment on mobile */
    .canary-overview-section {
        text-align: left !important;
        padding-top: 20px;
    }

    .canary-overview-section p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        word-break: normal;
        overflow-wrap: break-word;
        line-height: 1.7;
        letter-spacing: 0.01em;
        font-size: 14px;
    }

    .canary-overview-section h1,
    .canary-overview-section h2,
    .canary-overview-section h3,
    .canary-overview-section h4,
    .canary-overview-section ul li,
    .sidebar-nav li a {
        text-align: left !important;
    }

    .canary-overview-section-heading {
        font-size: 18px;
    }


    /* Sidebar moves below & gets padding */
    .canary-sidebar-box {
        margin-top: 40px;
        margin-left: 0;
    }

    /* Reduce padding for small screens */
    .canary-overview-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}








/* Video area */
.canary-video-area {
    margin-top: 10px;
    padding: 40px 0;
}

.canary-video-area .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Video box */
.canary-video-box {
    position: relative;
    width: 100%;
    height: 75vh;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

/* Video fit */
.canary-campus-video {
    width: 100%;
    height: 100%;
    object-fit: inherit;
}

/* Mobile */
@media (max-width: 768px) {
    .canary-video-box {
        height: 220px;
    }

}








/* Wrapper */
.canary-overview-accordion {
    max-width: 850px;
    margin: 0 auto;
    font-family: "PT Sans", sans-serif;
}

/* Remove Bootstrap’s ugly defaults */
.accordion-item {
    border: none !important;
}

.accordion-button {
    background: #fff;
    border: none;
    box-shadow: none !important;
    padding: 30px 22px;
    font-size: 18px;
    font-weight: 600;
    color: #626262;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #e4e4e4;
}
.accordion-button:hover {
    color: #ef9b11;
}

/* Chevron icons modern look */
.coa-icon {
    font-size: 14px;
    transition: transform .25s ease;
    opacity: 0.8;
}

/* Open state */
.accordion-button:not(.collapsed) {
    background: #ef9b11 !important;
    color: #fff !important;
    border-bottom: none !important;
}

.accordion-button:not(.collapsed) .coa-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Remove bootstrap arrow */
.accordion-button::after {
    display: none !important;
}

/* Body styling */
.coa-body {
    padding: 22px 22px 30px 22px !important;
    border-bottom: 1px solid #e4e4e4;
    animation: fadeSlide .25s ease;
}

.coa-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #4b4b4b;
}


@media (max-width: 768px) {
    .coa-body p {
        font-size: 14px;
        padding: 10px 0;
        text-align: justify;
        text-justify: inter-word;

        /* 🔥 Modern mobile improvements */
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;

        word-break: normal;
        overflow-wrap: break-word;

        line-height: 1.7;
        letter-spacing: 0.01em;
    }

}

/* Animation */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}








/* Page Title */
.canary-page-title {
    font-family: "PT Sans", sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: #003b73;
}

/* School name + logo */
.school-logo {
    height: 48px;
}

.school-name {
    font-size: 20px;
    font-weight: 600;
}

/* Register Button (UPDATED COLOR) */
.register-btn,
#openRegister {
    background: #ef9b11 !important;
    color: #fff !important;
    padding: 7px 18px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
}

.register-btn:hover,
#openRegister:hover {
    background: #d9870d !important;
}

/* Sign In button (clean grey) */
#openSignIn {
    background: #f2f2f2 !important;
    border: 1px solid #ccc !important;
    padding: 7px 18px;
    font-weight: 600;
    border-radius: 4px;
}

#openSignIn:hover {
    background: #e7e7e7 !important;
}

/* Blue form header */
.form-header {
    background: #003b73;
    color: #fff;
    padding: 15px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 4px 4px 0 0;
}

/* Form container */
.form-container {
    background: #fff;
    border: 1px solid #d9e2eb;
    padding: 25px;
    border-radius: 0 0 4px 4px;
}

/* Alert */
.info-box {
    background: #f6f3f3;
    border-left: 4px solid #c0392b;
    padding: 15px;
    margin-bottom: 25px;
}

/* Section Title */
.form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #003b73;
    margin-bottom: 15px;
}

/* INPUT & LABEL STYLING (New but required for clean UI) */
.form-container label {
    font-weight: 600;
    color: #333;
}

.form-container .form-control,
.form-container .form-select {
    border-radius: 4px !important;
    padding: 10px !important;
    border: 1px solid #cfcfcf !important;
}

.form-container .form-control:focus,
.form-container .form-select:focus {
    border-color: #ef9b11 !important;
    box-shadow: 0 0 0 2px rgba(239, 155, 17, 0.25) !important;
}

/* Save Buttons — UPDATED COLOR */
.btn-warning,
.btn.enquiry-save {
    background: #ef9b11 !important;
    border-color: #ef9b11 !important;
    color: #fff !important;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 4px;
}

.btn-warning:hover {
    background: #d9870d !important;
}

/* Save & Add Another */
.btn-secondary,
.btn.enquiry-save-another {
    background: #e67215 !important;
    border-color: #e67215 !important;
    color: #fff !important;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 4px;
}

.btn-secondary:hover {
    background: #022f5c !important;
}

/* Cancel */
.btn-outline-danger,
.btn.enquiry-cancel {
    border: 2px solid #ef9b11 !important;
    color: #ef9b11 !important;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 4px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .canary-page-title {
        font-size: 32px;
    }

    .school-logo {
        height: 40px;
    }

    .school-name {
        font-size: 18px;
    }

    .topbar-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .enquiry-topbar {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }

    .form-container {
        padding: 15px;
    }

    /* Make buttons full width on mobile */
    #openSignIn,
    #openRegister,
    .btn {
        width: 100%;
    }
}


/* Unique Breadcrumb Styling */
.unique-breadcrumb {
    background: transparent;
    padding: 10px 0;
    margin-bottom: 30px;
    font-size: 18px;
    color: #ffff !important;
    /* Black color */
    text-align: left;
    /* Left-aligned breadcrumb */
}

.unique-breadcrumb .breadcrumb-item {
    display: inline-block;
    font-weight: 700;
}

.unique-breadcrumb .breadcrumb-item a {
    color: #ffff !important;
    /* Black color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.unique-breadcrumb .breadcrumb-item a:hover {
    color: #f3b425;
    /* Golden Yellow color on hover */
}

.unique-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: '>';
    padding: 0 8px;
    color: #fff !important;
    /* Black color */
}



/* SECTION BACKGROUND */
.canary-how-to-apply {
    position: relative;
    padding: 80px 20px;
    font-family: "PT Sans", sans-serif;
    color: #2f2a1f;
    background: url('http://206.1.28.19/~adroitserver/adroitserver.in/designers/C/canarytheschool/canary-new-design/v3/assets/images/bg/apply-bg.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

/* -------- HEADER -------- */
.apply-header {
    max-width: 1100px;
    margin: 0 auto 50px;
    text-align: center;
    position: relative;
}

.apply-header h2 {
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.apply-header p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

/* -------- LAYOUT WRAPPER -------- */
.apply-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    position: relative;
}

/* -------- LEFT TABS -------- */
.apply-tabs {
    width: 330px;
}

/* Tab button style */
.apply-tab {
    width: 100%;
    text-align: left;
    background: rgba(255, 250, 230, 0.9);
    border: 1px solid rgba(230, 190, 90, 0.9);
    color: #3b2b15;
    padding: 16px 20px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

/* Hover state */
.apply-tab:hover {
    background: #fff2c5;
    box-shadow: 0 4px 10px rgba(180, 120, 20, 0.25);
    transform: translateY(-1px);
}

/* Active tab state */
.apply-tab.active {
    background: #f3b425;
    border-color: #f3b425;
    color: #251709;
}

/* Underline for active tab */
.apply-tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: #f3b425;
}

/* Circular step number */
.step-number {
    background: #fff7d0;
    color: #2b1b0a;
    font-weight: 700;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 13px;
}

/* -------- RIGHT CONTENT -------- */
.apply-content {
    flex: 1;
    padding: 30px 30px 30px 30px;
    background: #f9f3d2;
    /* Right side background */
    box-shadow: 0 5px 14px rgba(163, 90, 0, 0.1);
    /* Shadow effect */
    border-radius: 8px;
}

/* Only one panel visible at a time */
.apply-panel {
    display: none;
}

.apply-panel.active {
    display: block;
}

/* Right panel heading */
.apply-panel h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #2a1c0b;
}

/* Text in the panel */
.apply-panel p {
    font-size: 16px;
    line-height: 1.9;
    max-width: 520px;
    color: #2a1e0c;
}

/* CTA button */
.btn-apply {
    margin-top: 28px;
    background: #f9cf4a;
    color: #2a1c0b;
    padding: 12px 36px;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    box-shadow: 0 5px 14px rgba(176, 108, 0, 0.5);
    letter-spacing: 0.06em;
    font-size: 13px;
    text-transform: uppercase;
}

/* Hover state for CTA */
.btn-apply:hover {
    background: #ffe176;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 992px) {
    .apply-wrapper {
        flex-direction: column;
        gap: 25px;
    }

    .apply-tabs {
        width: 100%;
    }

    .apply-content {
        padding: 0;
    }

    .apply-panel p {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .apply-header h2 {
        font-size: 32px;
    }

    .apply-header p {
        font-size: 14px;
    }

    .apply-tab {
        font-size: 13px;
        padding: 14px 16px;
    }
}




/* Sidebar image wrapper */
.canary-sidebar-image-box {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Sidebar image */
.canary-sidebar-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* MOBILE ONLY FIX */
@media (max-width: 768px) {

    /* Remove Bootstrap row side overflow */
    .canary-overview-section .row {
        margin-left: 0;
        margin-right: 0;
    }

    /* Remove column padding causing shift */
    .canary-overview-section .col-lg-4,
    .canary-overview-section .col-lg-8 {
        padding-left: 0;
        padding-right: 0;
    }

    /* Add controlled padding back */
    .canary-overview-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Center image nicely */
    .canary-sidebar-image-box {
        margin-top: 30px;
    }
}