
/* ==========================================
   SRJ ROOT - DOMAIN BANNER
   SAP Courses / Domain Landing Pages
========================================== */

#domain_banner_wrapper {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 76px 0 82px;
    background:
        radial-gradient(
            circle at 92% 12%,
            rgba(37, 99, 235, 0.10),
            transparent 28%
        ),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 58%, #f1f6ff 100%);
    border-bottom: 1px solid #e5ebf5;
}

/* Subtle decorative background */
#domain_banner_wrapper::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -105px;
    right: -90px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(37, 99, 235, 0.025),
        0 0 0 70px rgba(37, 99, 235, 0.02);
    pointer-events: none;
}

#domain_banner_wrapper .container {
    position: relative;
    z-index: 1;
}

/* Main content width */
#domain_banner_wrapper .col-md-8 {
    max-width: 920px;
}

/* Breadcrumb */
#domain_banner_wrapper .breadcrumb_domain_wrap {
    margin-bottom: 24px;
}

#domain_banner_wrapper .breadcrumb_domain_wrap ul {
    list-style: none;
    align-items: center;
    gap: 8px;
}

#domain_banner_wrapper .breadcrumb_domain_wrap li {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
}

#domain_banner_wrapper .breadcrumb_domain_wrap li + li::before {
    content: "/";
    margin-right: 8px;
    color: #a0aec0;
}

#domain_banner_wrapper .breadcrumb_domain_wrap a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.25s ease;
}

#domain_banner_wrapper .breadcrumb_domain_wrap a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Banner content */
#domain_banner_wrapper .banner_domain {
    max-width: 900px;
}

#domain_banner_wrapper .banner_domain h1 {
    margin: 0 !important;
    color: #111827;
    font-size: clamp(32px, 4vw, 49px);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -1.5px;
    text-wrap: balance;
}

#domain_banner_wrapper .banner_domain h1::after {
    content: "";
    display: block;
    width: 76px;
    height: 5px;
    margin-top: 23px;
    border-radius: 10px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
}

/* Intro paragraphs */
#domain_banner_wrapper .banner_domain p {
    margin: 20px 0 0 !important;
    color: #526176;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
}

#domain_banner_wrapper .banner_domain p + p {
    margin-top: 14px !important;
}

#domain_banner_wrapper .banner_domain strong {
    color: #1e293b;
    font-weight: 650;
}

/* Training Calendar CTA */
#domain_banner_wrapper .banner_domain > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    padding: 14px 23px;
    min-height: 50px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    background: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.17);
    color: #ffffff;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

#domain_banner_wrapper .banner_domain > a::after {
    content: "\2192";
    font-size: 19px;
    line-height: 1;
    transition: transform 0.25s ease;
}

#domain_banner_wrapper .banner_domain > a:hover {
    transform: translateY(-2px);
    border-color: #1d4ed8;
    background: #1d4ed8;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.23);
    color: #ffffff;
}

#domain_banner_wrapper .banner_domain > a:hover::after {
    transform: translateX(4px);
}

#domain_banner_wrapper .banner_domain > a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 4px;
}


/* ==========================================
   SRJ ROOT - DOMAIN COURSE LISTING
   Search Bar + Course Cards
========================================== */

/* Main course column */
#course_card_list {
    width: 100%;
}

/* Search wrapper */
.domain_search {
    position: relative;
    margin-bottom: 28px !important;
}

.domain_search .form-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 5px 6px 5px 20px;
    background: #ffffff;
    border: 1px solid #e1e8f2;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.domain_search .form-group:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
}

.domain_search input[type="search"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
    font-family: inherit;
    font-size: 15px;
    box-shadow: none;
    appearance: none;
}

.domain_search input[type="search"]::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.domain_search input[type="search"]::-webkit-search-cancel-button {
    cursor: pointer;
}

.domain_search .form-group button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 44px;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.domain_search .form-group button i {
    font-size: 16px;
}

.domain_search .form-group button:hover {
    background: #1d4ed8;
}

.domain_search .form-group button:active {
    transform: scale(0.97);
}

/* Dynamic search results area */
#resultHead {
    margin-bottom: 16px;
    color: #475569;
    font-size: 14px;
}

/* Course card */
#course_card_list .course_card {
    position: relative;
    padding: 26px 28px;
    margin-bottom: 22px !important;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e6ebf3;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.035);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

#course_card_list .course_card:hover {
    transform: translateY(-3px);
    border-color: #c8d8ff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.075);
}

/* Blue top accent */
#course_card_list .course_card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #2563eb, #38bdf8);
    opacity: 0;
    transition: opacity 0.25s ease;
}

#course_card_list .course_card:hover::before {
    opacity: 1;
}

/* Vendor label */
#course_card_list .course_vendor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Course title */
#course_card_list .course_card h3 {
    margin-top: 15px !important;
    margin-bottom: 12px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.4px;
}

#course_card_list .course_card h3 a {
    color: #172033;
    text-decoration: none;
    transition: color 0.2s ease;
}

#course_card_list .course_card h3 a:hover {
    color: #2563eb;
}

/* Course description */
#course_card_list .course_card > p {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.85;
}

/* Course features and CTA area */
#course_card_list .course_card > .row {
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid #edf1f7;
}

/* Reset Bootstrap column spacing for feature list */
#course_card_list .course_card .row > div {
    min-width: 0;
}

#course_card_list .course_card ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin: 0;
    list-style: none;
}

#course_card_list .course_card ul li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

#course_card_list .course_card ul li i {
    color: #2563eb;
    font-size: 15px;
}

/* Enquire button */
#course_card_list .course_enroll_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(37, 99, 235, 0.13);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

#course_card_list .course_enroll_btn::after {
    content: "\2192";
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

#course_card_list .course_enroll_btn:hover {
    transform: translateY(-2px);
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

#course_card_list .course_enroll_btn:hover::after {
    transform: translateX(3px);
}

#course_card_list .course_enroll_btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 3px;
}


/* =====================================
   SRJ ROOT - SIDEBAR ENQUIRY FORM
===================================== */
.fix_enquiry_form{
  position:sticky;
  top:100px;
  overflow:hidden;
  border:1px solid #e5eaf2;
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 35px rgba(20,42,80,.09);
}

/* Top Image */
.fix_enquiry_form .video-box{
  position:relative;
  overflow:hidden;
  background:#edf3ff;
}
.fix_enquiry_form .video-box img{
  display:block;
  width:100%;
  height:175px;
  object-fit:cover;
  transition:transform .4s ease;
}
.fix_enquiry_form:hover .video-box img{
  transform:scale(1.035);
}

/* Form Content */
.fix_enquiry_form .fix_enquiry_form_content{
  padding:25px 22px!important;
}
.fix_enquiry_form .fix_enquiry_form_content h4{
  position:relative;
  margin:0 0 24px!important;
  padding-bottom:15px;
  color:#182235;
  font-size:22px;
  font-weight:750;
  line-height:1.3;
}
.fix_enquiry_form .fix_enquiry_form_content h4:after{
  position:absolute;
  bottom:0;
  left:0;
  width:45px;
  height:3px;
  border-radius:5px;
  background:#1769ff;
  content:"";
}

/* Labels */
.fix_enquiry_form .form-group{
  margin-bottom:17px!important;
}
.fix_enquiry_form .form-label{
  display:block;
  margin-bottom:7px;
  color:#344054;
  font-size:13px;
  font-weight:650;
}

/* Inputs & Select */
.fix_enquiry_form .form-control,
.fix_enquiry_form .ccm-num select{
  width:100%;
  min-width:0;
  min-height:46px;
  padding:11px 12px;
  border:1px solid #dfe5ef;
  border-radius:8px;
  outline:none;
  background-color:#f9fbff;
  color:#202b3d;
  font-family:inherit;
  font-size:13px;
  box-shadow:none;
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.fix_enquiry_form .form-control::placeholder{
  color:#98a2b3;
  opacity:1;
}
.fix_enquiry_form .form-control:focus,
.fix_enquiry_form .ccm-num select:focus{
  border-color:#1769ff;
  background:#fff;
  box-shadow:0 0 0 3px rgba(23,105,255,.10);
}
.fix_enquiry_form .form-control:focus-visible,
.fix_enquiry_form .ccm-num select:focus-visible{
  outline:2px solid rgba(23,105,255,.25);
  outline-offset:1px;
}

/* Country Code + Number */
.fix_enquiry_form .ccm-num{
  display:flex;
  align-items:stretch;
  gap:8px;
  width:100%;
}
.fix_enquiry_form .ccm-num select{
  flex:0 0 43%;
  width:43%;
  padding-right:5px;
  cursor:pointer;
}
.fix_enquiry_form .ccm-num input{
  flex:1 1 57%;
  width:57%;
}

/* Submit Button */
.fix_enquiry_form form button[type="submit"]{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:48px;
  margin-top:5px!important;
  padding:13px 18px;
  border:1px solid #1769ff;
  border-radius:8px;
  background:#1769ff;
  color:#fff;
  font-size:14px;
  font-weight:700;
  letter-spacing:.2px;
  box-shadow:0 6px 15px rgba(23,105,255,.17);
  transition:background .25s ease,transform .25s ease,box-shadow .25s ease;
}
.fix_enquiry_form form button[type="submit"]:hover{
  transform:translateY(-2px);
  border-color:#0d54d8;
  background:#0d54d8;
  box-shadow:0 9px 20px rgba(23,105,255,.23);
}
.fix_enquiry_form form button[type="submit"]:active{
  transform:translateY(0);
}
.fix_enquiry_form form button[type="submit"]:focus-visible{
  outline:3px solid rgba(23,105,255,.3);
  outline-offset:3px;
}

/* Honeypot / Hidden Fields */
.fix_enquiry_form form #domainSidebar,
.fix_enquiry_form form .hp-field,
.fix_enquiry_form form #honeypot_for_bots_pXMkTBRNsuRbr7v1_wrap,
.fix_enquiry_form form div[style*="display:none"]{
  display:none!important;
}

/* Tablet & Desktop Sidebar */
@media(min-width:992px){
  .fix_enquiry_form{
    margin-top:0!important;
  }
  .fix_enquiry_form .video-box img{
    height:155px;
  }
  .fix_enquiry_form .fix_enquiry_form_content{
    padding:22px 17px!important;
  }
  .fix_enquiry_form .fix_enquiry_form_content h4{
    font-size:20px;
  }
}

/* Mobile */
@media(max-width:767px){
  .fix_enquiry_form{
    position:relative;
    top:auto;
    border-radius:13px;
  }
  .fix_enquiry_form .video-box img{
    height:190px;
  }
  .fix_enquiry_form .fix_enquiry_form_content{
    padding:22px 18px!important;
  }
}

/* Reduced Motion */
@media(prefers-reduced-motion:reduce){
  .fix_enquiry_form *,
  .fix_enquiry_form *:before,
  .fix_enquiry_form *:after{
    transition:none!important;
  }
}


/* Tablet */
@media (max-width: 991.98px) {
    #course_card_list .course_card {
        padding: 23px;
    }

    #course_card_list .course_card h3 {
        font-size: 21px;
    }

    #course_card_list .course_card .row > .col-md-8 {
        margin-bottom: 18px;
    }

    #course_card_list .course_card .row > .col-md-4 {
        width: 100%;
    }

    #course_card_list .course_card ul {
        gap: 10px 18px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .domain_search .form-group {
        min-height: 53px;
        padding-left: 14px;
    }

    .domain_search input[type="search"] {
        font-size: 14px;
    }

    .domain_search .form-group button {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    #course_card_list .course_card {
        padding: 20px 17px;
        margin-bottom: 16px !important;
        border-radius: 11px;
    }

    #course_card_list .course_card h3 {
        margin-top: 13px !important;
        margin-bottom: 10px;
        font-size: 20px;
    }

    #course_card_list .course_card > p {
        margin-bottom: 18px;
        font-size: 13px;
        line-height: 1.8;
    }

    #course_card_list .course_card > .row {
        padding-top: 15px;
    }

    #course_card_list .course_card ul {
        gap: 11px;
        align-items: flex-start;
        flex-direction: column;
    }

    #course_card_list .course_card ul li {
        font-size: 12px;
    }

    #course_card_list .course_enroll_btn {
        min-height: 44px;
        font-size: 13px;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    #course_card_list *,
    .domain_search * {
        transition: none !important;
    }
}


/* Tablet */
@media (max-width: 991.98px) {
    #domain_banner_wrapper {
        padding: 60px 0 66px;
    }

    #domain_banner_wrapper .col-md-8 {
        max-width: 100%;
    }

    #domain_banner_wrapper .banner_domain h1 {
        font-size: clamp(31px, 4.5vw, 42px);
        letter-spacing: -1px;
    }

    #domain_banner_wrapper .banner_domain p {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    #domain_banner_wrapper {
        padding: 40px 0 46px;
    }

    #domain_banner_wrapper::before {
        top: -150px;
        right: -200px;
        width: 280px;
        height: 280px;
    }

    #domain_banner_wrapper .breadcrumb_domain_wrap {
        margin-bottom: 20px;
    }

    #domain_banner_wrapper .breadcrumb_domain_wrap ul {
        gap: 5px;
    }

    #domain_banner_wrapper .breadcrumb_domain_wrap li {
        font-size: 12px;
    }

    #domain_banner_wrapper .breadcrumb_domain_wrap li + li::before {
        margin-right: 5px;
    }

    #domain_banner_wrapper .banner_domain h1 {
        font-size: 31px;
        line-height: 1.22;
        letter-spacing: -0.8px;
    }

    #domain_banner_wrapper .banner_domain h1::after {
        width: 58px;
        height: 4px;
        margin-top: 18px;
    }

    #domain_banner_wrapper .banner_domain p {
        margin-top: 16px !important;
        font-size: 14px;
        line-height: 1.8;
    }

    #domain_banner_wrapper .banner_domain p + p {
        margin-top: 12px !important;
    }

    #domain_banner_wrapper .banner_domain > a {
        width: 100%;
        margin-top: 24px;
        padding: 13px 18px;
        font-size: 14px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    #domain_banner_wrapper *,
    #domain_banner_wrapper *::before,
    #domain_banner_wrapper *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
