/* =========================================================
   1. GLOBAL HEADER — dark teal theme for all pages
   =========================================================*/
.abstock-header-area.inner_page {
    background: #0a3d3d !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding: 10px 40px !important;
}

/* Nav links — white on the dark header */
.abstock-header-area.inner_page .header-menu ul li a {
    color: #ffffff !important;
}
.abstock-header-area.inner_page .header-menu ul li span {
    color: #ffffff !important;
}

/* Demat button on header */
.abstock-header-area.inner_page .header-button.style_two a {
    background: #0c6e6d !important;
    padding: 14px 28px !important;
    border-radius: 30px !important;
    border: 1px solid transparent !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.3s ease !important;
}
.abstock-header-area.inner_page .header-button.style_two a:hover {
    background: #ffffff !important;
    color: #0c6e6d !important;
}

/* Hamburger icon */
.abstock-header-area.inner_page .nav-btn span i {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.12) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 6px !important;
    line-height: 42px !important;
    display: inline-block !important;
    text-align: center !important;
    font-size: 26px !important;
}

/* Sub-menu readable colours */
.abstock-header-area.inner_page .header-menu ul .sub_menu {
    background: #fff !important;
    border-top: 2px solid #0c6e6d !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
}
.abstock-header-area.inner_page .header-menu ul .sub_menu li a {
    color: #063232 !important;
}
.abstock-header-area.inner_page .header-menu ul .sub_menu li:hover > a {
    background: #0c6e6d !important;
    color: #ffffff !important;
}

/* =========================================================
   3. STICKY header — both home and inner pages
   =========================================================*/
.sticky.abstock-header-area {
    background: #063232 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
}
.sticky.abstock-header-area .header-logo h3,
.sticky.abstock-header-area .header-logo h3 span,
.sticky.abstock-header-area .header-logo a h3,
.sticky.abstock-header-area .header-logo a h3 span {
    color: #ffffff !important;
}
.sticky.abstock-header-area .header-menu ul li a {
    color: #ffffff !important;
    padding: 26px 0;
}
.sticky.abstock-header-area .header-menu ul li span,
.sticky.abstock-header-area .header-menu ul li a i,
.sticky.abstock-header-area .header-menu ul li span i {
    color: #ffffff !important;
}
.sticky.abstock-header-area .header-button.style_two a {
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: #ffffff;
    background: transparent;
}
.sticky.abstock-header-area .header-button.style_two a:hover {
    background: #0c6e6d !important;
    border-color: #0c6e6d !important;
}
.sticky.abstock-header-area .nav-btn span i {
    color: #ffffff;
    background-color: rgba(255,255,255,0.15);
}

/* Active sticky logo toggle */
a.active_sticky {
    display: none;
}
.sticky a.active_sticky {
    display: block;
}
.sticky a.active_header {
    display: none;
}

/* =========================================================
   4. Hero section — fixed layout now that header is separate
   =========================================================*/
section.hero_area {
    background-image: url(../images/home_one/hero_bg.png) !important;
    background-color: #042626;    /* dark teal fallback / fills edges */
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    height: auto;
    min-height: 750px;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}
.hero_content {
    margin-top: 20px !important;
    padding-bottom: 40px;
}
.hero-thumb {
    top: 0 !important;
    padding: 40px 0;
}

/* =========================================================
   5. Mobile menu — match branding
   =========================================================*/
.mobile-menu-area.sticky {
    background: #063232;
    padding: 10px 20px;
}

/* =========================================================
   6. Scroll-Up Progress Indicator
   =========================================================*/
.prgoress_indicator {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(12, 110, 109, 0.3);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    background: #0c6e6d;
}
.prgoress_indicator.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.prgoress_indicator::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: "\f077";
    font-weight: 900;
    text-align: center;
    line-height: 46px;
    font-size: 14px;
    color: #ffffff;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    border-radius: 50px;
}
.prgoress_indicator svg.progress-circle path {
    stroke: #ffffff;
    stroke-width: 4;
    box-sizing: border-box;
    transition: stroke-dashoffset 10ms linear;
}

/* =========================================================
   7. Responsive adjustments
   =========================================================*/
@media (max-width: 1199px) {
    body.home-page .abstock-header-area.inner_page,
    body.inner-page .abstock-header-area.inner_page {
        padding: 8px 20px;
    }
}
@media (max-width: 991px) {
    section.hero_area {
        padding-top: 30px;
        min-height: auto;
    }
    .hero_content {
        padding: 30px 0 !important;
        text-align: center;
    }
    .hero-thumb {
        padding: 0 0 30px;
        text-align: center;
    }
    .slider_button {
        justify-content: center;
    }
}
@media (max-width: 576px) {
    .prgoress_indicator {
        right: 15px;
        bottom: 15px;
    }
    .hero_content h1 {
        font-size: 36px !important;
        line-height: 48px !important;
    }
}

/* =========================================================
   About Area & Play Button Rotating Text Fixes
   =========================================================*/
section.about_area.boxed {
    background: #f7faf7 !important;
    box-shadow: 0 15px 45px rgba(0,0,0,0.02);
    border: 1px solid rgba(12, 110, 109, 0.04);
}

.about_thumb img {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Align and scale rotating text circular banner play button */
a.banner-play-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
}

.text-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.text-inner svg {
    width: 115px !important;
    height: 115px !important;
}

.text-inner:before {
    display: none !important; /* hide static white circle */
}

/* Play button center icon wrapper */
a.banner-play-btn .like {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 30 !important;
}

/* Align buttons and envelope row */
.about_button {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 20px;
}

.about_btn {
    margin-right: 0 !important;
}

.about_info span {
    top: 0 !important; /* remove top offset */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Teal colored checkmarks list */
.about_list ul li i {
    color: #0c6e6d !important;
}

/* Section Title SEO headings structure styling */
.section_title h2 {
    font-size: 42px;
    line-height: 52px;
    color: #063232;
    margin-top: 11px;
    font-weight: 600;
}

.about_content h2 {
    font-size: 28px;
    line-height: 38px;
    color: #063232;
    font-weight: 500;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .section_title h2 {
        font-size: 26px !important;
        line-height: 36px !important;
    }
    .about_content h2 {
        font-size: 20px !important;
        line-height: 30px !important;
    }
}

/* =========================================================
   Our Curriculums Section image border radius and layout
   =========================================================*/
.service_thumb img {
    border-radius: 20px 20px 0 0 !important;
    transition: transform 0.4s ease !important;
}
.service_single_item:hover .service_thumb img {
    transform: scale(1.05) !important;
}
.service_thumb {
    overflow: hidden !important;
    border-radius: 20px 20px 0 0 !important;
}
