/* ===== BASE STYLES & VARIABLES ===== */
:root {
    --primary: #EF7525;
    --primary-hover: #d86119;
    --heading-color: #652A7E;
    --text-color: #6C706F;
    --grey-bg: #F2F4F7;
    --white: #ffffff;
    --black: #000000;
    --bg-dark: #0E121D;
    --bg-darker: #133432;
    --border-color: #E0E5EB;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.justify-center {
    justify-content: center;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mt-30 {
    margin-top: 30px;
}

.text-xs {
    font-size: 0.8rem;
}

.text-gray {
    color: var(--text-color);
}

.text-heading {
    color: var(--heading-color) !important;
}

.sub-bg {
    background-color: var(--grey-bg);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-dark {
    background-color: var(--bg-dark);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--heading-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--heading-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* ===== TYPOGRAPHY & HEADINGS ===== */
.sub-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(239, 117, 37, 0.1);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header {
    margin-bottom: 50px;
}

/* ===== HEADER V2 ===== */
.header-v2 {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-v2 .container {
    max-width: 1600px;
    padding: 0 40px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.header-v2 .logo-icon-bg {
    background-color: transparent;
    width: auto;
    height: auto;
    font-size: 1.6rem;
}

.nav-menu {
    display: flex;
    gap: 20px;
    font-weight: 500;
    color: var(--heading-color);
}

.nav-menu>li {
    position: relative;
    padding: 10px 0;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

/* Dropdown Menu Styles */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    padding: 0;
}

.nav-menu .sub-menu a {
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-color);
    display: block;
    transition: all 0.2s ease;
}

.nav-menu .sub-menu a:hover {
    color: var(--primary);
    background-color: rgba(239, 117, 37, 0.05);
    padding-left: 30px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon-btn {
    font-size: 1.25rem;
    color: var(--heading-color);
    transition: var(--transition);
}

.search-icon-btn:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--heading-color);
}

/* ===== HERO SECTION V2 ===== */
.hero-v2 {
    position: relative;
    padding: 150px 0;
    min-height: 700px;
    background-color: #DEF3F4;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-v2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EF75254D 0%, #FFF0 100%);
    z-index: 0;
}

.h-shape-3 svg path {
    stroke: #ef7525;
}

.hero-v2-image-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    border-top-left-radius: 400px;
    border-bottom-left-radius: 400px;
    overflow: hidden;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.hero-v2-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Floating Shapes */
.h-shape {
    position: absolute;
    z-index: 2;
}

.h-shape-1 {
    top: 10%;
    left: 5%;
}

.h-shape-2 {
    top: 10%;
    right: 48%;
    color: #EF7525;
    font-size: 2rem;
}

.h-shape-3 {
    bottom: 10%;
    left: 4%;
}

.hero-inner-v2 {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content-v2 {
    max-width: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    padding: 8px 20px 8px 8px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--heading-color);
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.icon-circle-small {
    width: 25px;
    height: 25px;
    background-color: #E8F7F8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title-v2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 35px;
    color: var(--heading-color);
}

.hero-actions-v2 {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.btn-get-started {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 30px;
}

.btn-get-started:hover {
    background-color: var(--heading-color);
    color: var(--white);
}

.btn-play-video {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--heading-color);
}

.btn-play-video .play-icon {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.btn-play-video:hover .play-icon {
    transform: scale(1.1);
    background-color: var(--primary);
}

.btn-play-video:hover .play-icon i {
    color: var(--white) !important;
}

.hero-enrolment {
    display: flex;
    align-items: center;
    gap: 15px;
}

.enrolment-avatars {
    display: flex;
}

.enrolment-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #DEF3F4;
    margin-left: -15px;
}

.enrolment-avatars img:first-child {
    margin-left: 0;
}

.enrolment-text {
    font-size: 0.9rem;
    color: var(--heading-color);
}

/* Floating Badges on Image */
.hero-floating-badges {
    position: absolute;
    right: 48%;
    top: 50%;
    transform: translate(50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 60px;
    z-index: 10;
}

.f-badge {
    background-color: var(--white);
    padding: 10px 25px 10px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(0);
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.f-badge:hover {
    transform: translateX(-10px);
}

.f-badge.badge-video {
    margin-left: -80px;
    /* Offset to the left */
}

.f-badge.badge-expert {
    margin-left: -30px;
    /* Offset slightly to the left */
}

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.icon-box.bg-red {
    background-color: #FFE5E5;
}

.icon-box i.fa-graduation-cap {
    font-size: 1.2rem;
}

/* ===== FEATURES GRID ===== */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(239, 117, 37, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* ===== ABOUT SECTION V2 ===== */
.about-v2 {
    padding: 120px 0;
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.about-v2-bg-circle-large {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 30px solid #EDF8F7;
    z-index: 0;
}

.about-v2-inner {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 10;
}

.about-v2-images {
    flex: 1;
    position: relative;
    min-height: 550px;
}

.about-circle-bg {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 30px solid var(--primary);
    z-index: 0;
}

.about-img-top {
    position: absolute;
    top: 0;
    left: 10%;
    width: 65%;
    border-radius: 15px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-img-top img {
    width: 100%;
    height: 250px;
    /* Reduced specific height for top image */
    object-fit: cover;
    display: block;
}

.about-img-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    border-radius: 15px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-img-bottom img {
    width: 100%;
    height: 350px;
    /* Specific height for bottom image */
    object-fit: cover;
    display: block;
}

.about-v2-content-card {
    flex: 1;
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
    margin-left: -100px;
    /* Negative margin to overlap images */
}

.about-v2-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--heading-color);
}

.about-v2-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.about-tab {
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.about-tab.active,
.about-tab:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.about-v2-tab-content p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 35px;
    line-height: 1.8;
}

.about-v2-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-v2-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--heading-color);
}

.list-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #A7E4DF;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* ===== FIRST CTA SECTION V2 ===== */
.cta-v2 {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    overflow: hidden;
}

.cta-v2-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #161D27 0%, rgba(22, 29, 39, 0.8) 100%);
    z-index: 1;
}

.cta-v2-dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 2;
    opacity: 0.5;
}

.cta-v2-arc-shape {
    position: absolute;
    bottom: -150px;
    right: -50px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 60px solid var(--primary);
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    transform: rotate(-15deg);
}

.cta-v2-container {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0;
    padding-left: 100px;
}

.cta-v2-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.cta-v2-desc {
    color: #A0AEC0;
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-v2-actions {
    display: flex;
    gap: 20px;
}

.btn-pill {
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 0.95rem;
}

/* ===== COURSES SECTION ===== */
.courses {
    padding: 100px 0;
}

.course-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.course-tabs li {
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.course-tabs li:hover,
.course-tabs li.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.course-thumb img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.course-content {
    padding: 25px;
}

.course-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(239, 117, 37, 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.course-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.course-title a:hover {
    color: var(--primary);
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.course-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.course-instructor {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-info h4 {
    font-size: 0.95rem;
}

.course-rating .stars {
    font-size: 0.8rem;
}

.course-rating .rating-count {
    font-size: 0.85rem;
    margin-left: 5px;
}

.course-footer {
    padding: 20px 25px;
    background-color: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.course-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
}

.course-price.free {
    color: var(--primary);
}

.view-details {
    font-weight: 600;
    color: var(--heading-color);
}

.view-details:hover {
    color: var(--primary);
}

/* ===== COURSE CATEGORIES ===== */
.categories {
    padding: 100px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    height: 250px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.category-content h3 {
    color: var(--white);
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

/* ===== SECOND CTA SECTION ===== */
.cta-two {
    padding: 100px 0;
}

.cta-two-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cta-two-content {
    flex: 1;
}

.cta-two-image {
    flex: 1;
    position: relative;
}

.cta-two-image img {
    width: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.circular-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.1;
    right: -20px;
    top: -20px;
    z-index: 1;
}

.subscribe-form {
    display: flex;
    gap: 15px;
}

/* ===== MENTORS / TEAM SECTION ===== */
.team {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.team-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.team-info {
    padding: 25px 20px;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.team-socials a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--grey-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heading-color);
}

.team-socials a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 30px;
    position: relative;
    font-size: 1.1rem;
    font-style: italic;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(239, 117, 37, 0.1);
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 0;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.author-details h4 {
    margin-bottom: 2px;
}

.author-details span {
    font-size: 0.9rem;
    color: var(--text-color);
}

.author-details .stars {
    color: #FFAA00;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* ===== BRANDS ===== */
.brands {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.brands-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.brand-item h3 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

/* ===== NEWS / BLOG SECTION V2 ===== */
.news-v2 {
    padding: 100px 0;
    background-color: #fafbfc;
}

.news-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Common Card Styles */
.news-v2-card-large,
.news-v2-card-small {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.news-v2-card-large:hover,
.news-v2-card-small:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.news-v2-meta {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.news-v2-divider {
    border: none;
    border-top: 1px dashed #e2e8f0;
    margin: 15px 0;
}

.news-v2-title a {
    color: var(--heading-color);
    transition: var(--transition);
}

.news-v2-title a:hover {
    color: var(--primary);
}

/* Large Post Styles */
.news-v2-thumb-large img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.news-v2-content-large {
    padding: 30px;
}

.news-v2-content-large .news-v2-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-v2-excerpt {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.btn-news {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Small Posts Container */
.news-v2-small-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Small Post Styles */
.news-v2-card-small {
    display: flex;
    height: 100%;
}

.news-v2-thumb-small {
    flex: 0 0 40%;
}

.news-v2-thumb-small img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}

.news-v2-content-small {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-v2-content-small .news-v2-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-v2-read-more {
    font-weight: 600;
    color: #1a202c;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.news-v2-read-more:hover {
    color: var(--primary);
}

.read-more-icon-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.news-v2-read-more:hover .read-more-icon-circle {
    transform: translateX(5px);
}

/* ===== FOOTER WRAPPER/* ===== FOOTER V2 ===== */
.footer-v2 {
    background-color: #281032;
    /* Dark teal background */
    color: #ffffff;
    position: relative;
    padding-top: 250px;
    /* Space for overlapping CTAs */
    margin-top: 150px;
    /* Offset to push down so CTAs can overlap */
}

/* Overlapping CTAs */
.footer-ctas {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    padding: 0 15px;
    /* Match container padding */
    display: flex;
    gap: 30px;
    z-index: 10;
}

.footer-cta-card {
    flex: 1;
    background: linear-gradient(135deg, #F2D8C3 0%, #FFF 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-card-content {
    flex: 1;
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

.cta-card-subtitle {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-card-title {
    color: var(--heading-color);
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 25px;
}

.cta-card-btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 0.95rem;
}

.cta-card-image {
    flex: 1;
    position: relative;
    height: 250px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.cta-card-shape {
    position: absolute;
    right: 0;
    bottom: -50px;
    width: 250px;
    height: 250px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.cta-card-image img {
    position: relative;
    z-index: 2;
    max-height: 100%;
    object-fit: contain;
}

/* Main Footer Grid */
.footer-v2-grid {
    display: grid;
    grid-template-columns: 3fr 2fr 2fr 3fr;
    gap: 40px;
    padding-bottom: 60px;
}

/* Footer Logo/Info Column */
.footer-v2-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-v2-logo h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin: 0;
}

.logo-icon-bg {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.footer-v2-desc {
    color: #A0AEC0;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-v2-socials {
    display: flex;
    gap: 12px;
}

.footer-v2-socials a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #0E2B2A;
    /* Darker teal for circles */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-v2-socials a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* Footer Links Columns */
.footer-v2-heading {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.footer-v2-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-v2-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.footer-link-icon {
    margin-right: 10px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-v2-links a:hover {
    color: var(--primary);
}

.footer-v2-links a:hover .footer-link-icon {
    transform: translateX(5px);
}

/* Recent Posts Column */
.footer-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.recent-post-item img {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    object-fit: cover;
}

.recent-post-content h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-content h4 a:hover {
    color: var(--primary);
}

.post-date {
    color: #A0AEC0;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

/* Bottom Bar */
.footer-v2-bottom {
    background-color: var(--primary);
    padding: 20px 0;
}

.footer-v2-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-v2-bottom-inner p {
    color: var(--white);
    margin: 0;
    font-size: 0.95rem;
}

.footer-v2-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-v2-bottom-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-v2-bottom-links a:hover {
    text-decoration: underline;
}

/* Scroll To Top */
.scroll-to-top {
    position: absolute;
    right: 30px;
    bottom: 80px;
    /* Above the bottom bar */
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 100;
}

.scroll-to-top:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .courses-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-v2-grid {
        grid-template-columns: 1fr;
    }

    .footer-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-ctas {
        position: relative;
        top: 0;
        flex-direction: column;
        padding-top: 40px;
    }

    .footer-v2 {
        margin-top: 0;
        padding-top: 0;
    }

    .cta-card-content {
        text-align: center;
        padding-right: 0;
        padding-bottom: 20px;
    }

    .footer-cta-card {
        flex-direction: column;
    }

    .cta-card-title {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-right .btn-primary {
        display: none;
    }

    .hero-inner-v2,
    .hero-inner,
    .about-v2-inner,
    .about-inner,
    .cta-two-inner {
        flex-direction: column;
    }

    .about-v2-images {
        width: 100%;
        min-height: 450px;
    }

    .about-v2-content-card {
        margin-left: 0;
        margin-top: -50px;
        padding: 30px;
    }

    .about-img-top,
    .about-img-bottom {
        width: 80%;
    }

    .cta-v2-container {
        padding-left: 15px;
        text-align: center;
    }

    .cta-v2-actions {
        justify-content: center;
    }

    .cta-v2-arc-shape {
        width: 200px;
        height: 200px;
        border-width: 30px;
        right: -20px;
        bottom: -50px;
    }

    .hero-content-v2 {
        max-width: 100%;
        text-align: center;
        z-index: 10;
    }

    .hero-actions-v2 {
        justify-content: center;
    }

    .hero-enrolment {
        justify-content: center;
    }

    .hero-v2-image-bg {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        border-radius: 100px 100px 0 0;
        opacity: 0.3;
        z-index: 0;
    }

    .hero-floating-badges {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 15px;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .f-badge.badge-video,
    .f-badge.badge-expert {
        margin-left: 0;
    }

    .hero-title-v2,
    .hero-title,
    .cta-title,
    .section-title {
        font-size: 2.2rem;
    }

    .footer-v2-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-v2 {
        padding-top: 500px;
        margin-top: 200px;
    }

    .footer-ctas {
        top: -200px;
    }

    .footer-v2-bottom-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {

    .features-grid,
    .courses-grid,
    .categories-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .news-v2-card-small {
        flex-direction: column;
    }

    .news-v2-thumb-small img {
        height: 250px;
        border-radius: 12px 12px 0 0;
    }

    .hero-actions,
    .hero-actions-v2 {
        flex-direction: column;
    }

    .footer-grid,
    .footer-v2-grid {
        grid-template-columns: 1fr;
    }

    .footer-ctas {
        top: -100px;
        /* Readjust position relative to stacking */
    }

    .footer-v2 {
        padding-top: 550px;
    }
}

/* ===== PAGE HEADER (Breadcrumb Banner) ===== */
.page-header {
    position: relative;
    padding: 100px 0;
    text-align: left;
    overflow: hidden;
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-header-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.ph-shape {
    position: absolute;
    z-index: 2;
}

.ph-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 15px 15px;
    top: -20px;
    right: 50px;
    opacity: 0.3;
}

.ph-circle {
    width: 250px;
    height: 250px;
    border: 30px solid #EDF8F7;
    border-radius: 50%;
    bottom: -150px;
    left: 40%;
}

.ph-arrow {
    left: 5%;
    top: 30%;
}

.ph-lines {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px dashed #ccc;
    left: 10%;
    bottom: -30px;
}

.page-title {
    font-size: 3rem;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--heading-color);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .current {
    color: var(--primary);
}

/* ===== ABOUT US SECTION V3 ===== */
.about-v3 {
    padding: 120px 0;
    background-color: var(--white);
}

.about-v3-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-v3-images {
    flex: 1;
    position: relative;
    min-height: 550px;
}

.img-group {
    position: relative;
    width: 65%;
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.img-tall {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.video-play-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.img-group-overlay {
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 50%;
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 10px solid var(--white);
    z-index: 5;
}

.img-square {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.contact-info-box {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(239, 117, 37, 0.3);
    z-index: 10;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-text span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.contact-text a {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
}

.about-v3-content {
    flex: 1;
}

.about-v3-content .section-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
}

.about-stats-v3 {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(239, 117, 37, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.stat-details h4 {
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-bottom: 5px;
}

.stat-details p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.btn-about-v3 {
    padding: 12px 35px;
    font-size: 1rem;
}

/* ===== FEATURES V2 SECTION ===== */
.features-v2 {
    padding: 100px 0;
    background-color: #f7fafc;
    /* Very light grey */
}

.features-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-v2-card {
    background-color: var(--white);
    padding: 50px 40px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-v2-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.feature-v2-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(239, 117, 37, 0.15);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.feature-v2-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.feature-v2-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* ===== STATS BANNER ===== */
.stats-banner {
    background-color: var(--primary);
    padding: 70px 0;
    color: var(--white);
}

.stats-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    position: relative;
}

.stats-banner-grid::before,
.stats-banner-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: rgba(255, 255, 255, 0.2);
}

.stats-banner-grid::before {
    left: 25%;
}

.stats-banner-grid::after {
    right: 25%;
}

.stat-banner-item {
    position: relative;
}

/* Add the middle divider manually since ::before/::after only cover 2 spots */
.stat-banner-item:nth-child(2)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-banner-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}

.stat-banner-item p {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== TEAM V2 SECTION ===== */
.team-v2 {
    padding: 100px 0;
    background-color: var(--white);
}

.team-v2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card-v2 {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-img-v2 {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #E8F7F8;
}

.team-img-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
    mix-blend-mode: multiply;
    filter: grayscale(100%);
}

.team-card-v2:hover .team-img-v2 img {
    transform: scale(1.05);
}

.team-overlay-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(239, 117, 37, 0.2), transparent);
    z-index: 1;
}

.team-info-v2 {
    padding: 30px 20px;
    position: relative;
    z-index: 2;
    background-color: var(--white);
}

.team-info-v2 h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.team-info-v2 span {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 20px;
}

.team-social-v2 {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social-v2 a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.team-social-v2 a:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== TESTIMONIALS V2 (DARK) ===== */
.testimonials-v2 {
    background: linear-gradient(to right, #281032 0%, #652a7e 100%);
    padding: 100px 0;
    color: var(--white);
    overflow: hidden;
}

.testimonials-v2-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.testi-v2-header {
    flex: 0 0 40%;
}

.badge-dark {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--white);
}

.testi-v2-header .section-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.testi-v2-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

.testi-v2-content {
    flex: 1;
    position: relative;
    padding: 20px 0;
}

.testi-v2-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.testi-v2-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    color: var(--text-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
    flex: 1;
}

.testi-v2-card h3 {
    font-size: 1.3rem;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.testi-text {
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 30px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testi-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 2px;
}

.author-details span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.testi-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.testi-nav-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ===== CAREER V2 SECTION ===== */
.career-v2 {
    padding: 100px 0;
    background-color: var(--white);
}

.career-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.career-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.career-img {
    position: relative;
    width: 100%;
    height: 300px;
}

.career-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-content {
    padding: 35px 30px;
    text-align: center;
}

.career-content h3 {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.career-content p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.career-content a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.career-content a:hover {
    color: var(--heading-color);
}

.testi-card-next {
    position: absolute;
    right: -250px;
    opacity: 0.4;
    transform: scale(0.9);
    z-index: 1;
    width: calc(100% - 150px);
}

/* ===== ABOUT.HTML RESPONSIVE OVERRIDES ===== */
@media (max-width: 992px) {
    .about-v3-inner {
        flex-direction: column;
    }

    .img-group-overlay {
        bottom: -30px;
        right: 20px;
        width: 60%;
    }

    .contact-info-box {
        bottom: -50px;
        left: 20px;
    }

    .features-v2-grid,
    .team-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }

    .stats-banner-grid::before {
        left: 50%;
        height: 100%;
        top: 0;
        transform: none;
    }

    .stats-banner-grid::after {
        display: none;
    }

    .stat-banner-item:nth-child(2)::after {
        display: none;
    }

    /* Horizontal divider for 2x2 grid */
    .stat-banner-item:nth-child(1)::after,
    .stat-banner-item:nth-child(2)::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 10%;
        width: 80%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.2);
        top: auto;
        transform: none;
    }

    .testimonials-v2-inner {
        flex-direction: column;
    }

    .testi-v2-header {
        text-align: center;
    }
}

@media (max-width: 768px) {

    .career-v2-grid,
    .features-v2-grid,
    .team-v2-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner-grid::before {
        display: none;
    }

    .stat-banner-item:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 20%;
        width: 60%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.2);
    }

    .ph-shape {
        display: none;
    }
}