* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif, "Poppins", sans-serif;
}

/* NAVBAR-SECTION */

.custom-navbar {
    background: white;
}

.custom-navbar .container {
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo-img {
    height: 60px;
    width: 200px;
}

.navbar-nav .nav-link {
    display: inline-block;
    font-weight: 700;
    font-size: 17px;
    color: #212020;
    position: relative;
    padding-bottom: 5px;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #ff4b4b;
    transition: width 0.35s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;    
}

.custom-btn {
    border: 1px solid #000;   
    padding: 10px 35px;
    font-weight: 700;
    background: white;
    text-decoration: none;
    border-radius: 7px;
    color: #000;
    transition: all 0.35s ease;
}

.custom-btn:hover {
    background: #000;
    color: #fff;
}

/* Prevent toggler + contact button from touching */
@media (max-width: 992px) {
    .custom-navbar .container {
        justify-content: space-between !important;
    }

    /* Reduce button size */
    .custom-btn {
        padding: 6px 18px !important;
        font-size: 14px !important;
    }
}

/* FIX for 770px–991px only */
@media (min-width: 770px) and (max-width: 991px) {

    /* Keep spacing so nothing touches */
    .custom-navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between !important;
        gap: 20px;
        flex-wrap: nowrap !important;
    }

    /* Reduce logo so layout has extra room */
    .logo-img {
        width: 150px !important;
        height: auto;
    }

    /* Prevent contact button from growing */
    .custom-btn {
        padding: 6px 18px !important;
        font-size: 13px !important;
        white-space: nowrap;
        max-width: 130px !important;   /* stops width increase */
    }

    /* Keep toggler spacing correct */
    .navbar-toggler {
        padding: 3px 6px !important;
        margin-left: auto;    /* pushes toggler away from logo */
    }
}


/* Keep Logo + Toggler + Contact Button in one row */
@media (max-width: 768px) {

    /* Allow spacing between all three items */
    .custom-navbar .container {
        flex-wrap: nowrap !important;
        gap: 12px;
    }

    /* Make button smaller so it fits comfortably */
     .custom-btn {
        display: none !important;
    }

    /* Make logo smaller to free space */
    .logo-img {
        width: 130px;
        height: auto;
        margin-right: 10px !important;
    }

    /* Reduce toggler size spacing */
    .navbar-toggler {
        padding: 3px 6px;
        margin-left: 10px !important; 
    }
}


/* For narrower phones (below 576px) */
@media (max-width: 576px) {

    .custom-navbar .container {
        gap: 8px !important;
    }

    .custom-btn {
        display: none !important;
    }

    .logo-img {
        width: 115px;
    }
}


/* HERO-SECTION */
.about-hero-section {
    position: relative;
    height: 100vh;
    background: url('../images/medium-shot-people-learning-job7.jpg') center center/cover no-repeat;
}

.about-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
}

.about-hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
}

.hero-subtitle {
    font-size: 50px;
    font-weight: 700;
    color: #fff;
}

.stats-row .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ff4d4d;
    margin-bottom: 0;
}

.stat-label {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 14px;
    color: #e3e3e3;
    margin: 0;
}

/* =======================================
   TABLETS (max-width: 992px)
======================================= */
@media (max-width: 992px) {

    .hero-title {
        font-size: 46px;
    }

    .hero-subtitle {
        font-size: 38px;
    }

    .stat-number {
        font-size: 40px !important;
    }

    .stat-label {
        font-size: 18px;
    }

    .stat-desc {
        font-size: 13px;
    }
}

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

    .about-hero-section {
        min-height: 85vh;
        background-position: left center !important;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .stats-row {
        margin-top: 30px;
    }

    .stat-number {
        font-size: 32px !important;
    }

    .stat-label {
        font-size: 16px;
    }

    .stat-desc {
        font-size: 12px;
    }
}

/* =======================================
   MOBILE SMALL (max-width: 576px)
======================================= */
@media (max-width: 576px) {

    .about-hero-section {
        height: 70vh;
        padding-top: 40px;
    }

    .hero-title {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 22px;
        line-height: 1.2;
    }

    .stats-row .col-6 {
        margin-bottom: 20px;
    }

    .stat-number {
        font-size: 28px !important;
    }

    .stat-label {
        font-size: 15px;
    }

    .stat-desc {
        font-size: 12px;
    }
}

/* =======================================
   EXTRA SMALL (max-width: 400px)
======================================= */
@media (max-width: 400px) {

    .about-hero-section {
        min-height: 80vh;
        background-position: 10% center !important;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .stat-number {
        font-size: 24px !important;
    }

    .stat-label {
        font-size: 14px;
    }
}


/* TWO-COL-SECTION */
.about-two-col-section {
  display: flex;
  width: 100%;
  min-height: 650px;
  font-family: "Poppins", sans-serif;
}

/* LEFT + RIGHT COLUMN BASE */
.about-left-col,
.about-right-col {
  flex: 1;
  padding: 80px;
  color: #fff;
}

.about-left-col {
  background: #00A99D;
}

.about-right-col {
  background: #ff6b6b;
}

/* -----------------------------------------
   LEFT COLUMN (BEST WAY SECTION)
------------------------------------------ */

.about-main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 60px;
  text-align: center;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 100px;
  justify-items: center;
}

.about-feature-box {
  max-width: 350px;
  text-align: center;
}

.about-feature-box .about-icon {
  width: 70px;
  margin-bottom: 20px;
}

.about-feature-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-feature-box p {
  font-size: 16px;
  opacity: 0.9;
}

/* -----------------------------------------
   RIGHT COLUMN (Why Choose Us)
------------------------------------------ */

.about-right-col h2 {
  font-size: 52px;
  margin-bottom: 30px;
}

.about-right-col p {
  font-size: 20px;
  line-height: 1.8;
  max-width: 520px;
}

.about-why-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.about-why-list li {
  font-size: 20px;
  margin-bottom: 14px;
  padding-left: 30px;
  position: relative;
}

.about-why-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  font-weight: bold;
}

.about-learn-button {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 45px;
  color: white;
  font-size: 20px;
  font-weight: 600;
  border: 2px solid white;
  text-decoration: none;
  transition: 0.3s ease;
}

.about-learn-button:hover {
  background: #ffffff;
  color: #ff6b6b;
}

/* -----------------------------------------
   RESPONSIVE
------------------------------------------ */

@media (max-width: 992px) {
  .about-two-col-section {
    flex-direction: column;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-main-title {
    font-size: 34px;
  }
}


/* TRAINING-SECTION  */

.about-training-section {
    background: #26302F;
    padding: 100px 40px;
    padding-right: 150px;
    color: #fff;
}

.about-section-title {
    font-size: 42px;
    font-weight: 700;
}

.about-section-text {
    font-size: 17px;
    margin-top: 20px;
    line-height: 1.7;
}

.about-btn-outline-light {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 45px;
  color: white;
  font-size: 20px;
  font-weight: 600;
  border: 2px solid white;
  text-decoration: none;
  transition: 0.3s ease;
}

.about-btn-outline-light:hover {
  background: #ffffff;
  color: #26302F;
}

.about-col-img-wrap {
    padding-top: 80px;
}

.about-training-img {
    position: relative;
    z-index: 2;
    width: 75%;
    height: 420px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.about-decor-box {
    position: absolute;
    z-index: 1;
    width: 200px;
    height: 200px;
}

.about-decor-green {
    background: #00C2A8;
    bottom: -20px;
    left: 20px;
}

.about-decor-red {
    background: #FF5C5C;
    top: 20px;
    right: 20px;
}

/* RESPONSIVE */

@media (max-width: 1400px) {
    .about-training-img {
        width: 78%;
        height: 380px;
    }
    .about-decor-box {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 1200px) {

    .about-training-section {
        padding: 80px 30px;
        padding-right: 80px;
    }

    .about-section-title {
        font-size: 36px;
    }

    .about-training-img {
        width: 80%;
        height: 350px;
    }

    .about-decor-box {
        width: 160px;
        height: 160px;
    }

    .about-decor-green {
        bottom: -10px;
        left: 10px;
    }

    .about-decor-red {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 992px) {

    .about-training-section {
        padding: 70px 20px;
        padding-right: 20px;
    }

    .about-col-img-wrap {
        padding-top: 40px;
        margin-top: 40px;
    }

    .about-training-img {
        width: 85%;
        height: 320px;
    }

    .about-decor-box {
        width: 140px;
        height: 140px;
    }

    .about-decor-green {
        bottom: 0;
        left: 0;
    }

    .about-decor-red {
        top: 0;
        right: 0;
    }
}

@media (max-width: 768px) {

    .about-section-title {
        font-size: 30px;
    }

    .about-section-text {
        font-size: 16px;
    }

    .about-training-img {
        width: 88%;
        height: 280px;
    }

    .about-decor-box {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 576px) {

    .about-training-section {
        padding: 60px 15px;
    }

    .about-section-title {
        font-size: 26px;
    }

    .about-section-text {
        font-size: 15px;
    }

    .about-training-img {
        width: 90%;
        height: 240px;
    }

    .about-decor-box {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 400px) {

    .about-training-img {
        width: 92%;
        height: 210px;
    }

    .about-section-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .about-decor-box {
        width: 90px;
        height: 90px;
    }
}


/* OFFER-SECTION */

.about-offer-section {
    background: #26302F;
    padding: 120px 0 80px 0;
    color: #fff;
}

.about-offer-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-offer-subtitle {
    font-size: 16px;
    color: #dcdcdc;
    margin: 0 auto;
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
}

.about-offer-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.about-offer-card img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
}

.about-offer-overlay {
    position: absolute;
    width: 100%;
    height: 170px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    bottom: 0;
    left: 0;
}

.about-offer-overlay h4 {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.about-offer-overlay p {
    font-size: 20px;
    margin: 2px 0 0;
    color: #dddddd;
}


/* COURSES-SECTION */

.about-courses-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 150px;
}

.about-courses-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #FF6B6B;
    z-index: -1;
}

.about-courses-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
    z-index: -1;
}

.about-courses-top {
    text-align: center;
    color: white;
}

.about-courses-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-courses-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: white;
}

.about-course-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding-bottom: 80px;
    height: 420px;
}

.about-course-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

.about-course-overlay {
    position: absolute;
    bottom: 70px;
    left: 20px;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.about-course-overlay h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.price {
    font-size: 26px;
    font-weight: 700;
}

.price-label {
    font-size: 18px;
}

/* BUTTON INSIDE CARD */
.about-learn-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 28px;
    font-size: 0.9rem;
    background: #ff6b6b !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    z-index: 2;
}

.about-learn-btn:hover {
    background: #fff !important;
    color: #141313 !important;
    transition: 0.3s ease;
}

/* VIEW ALL BUTTON */
.about-courses-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff !important;
    color: black !important;
    padding: 15px 55px !important;
    font-size: 22px !important;
    border: 2px solid black !important;
    border-radius: 5px !important;
}

.about-courses-btn:hover {
    background: black !important;
    color: #fff !important;
    transition: 0.3s ease;
}


/* TRUSTED-SECTION */

.about-trusted-section {
    padding: 80px 0;
}

.about-trusted-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
}

.about-trusted-text {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
}

.about-logo-box {
  width: 140px;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.about-logo-box img:hover {
  opacity: 1;
}

/* TEAM-SECTION */

.about-team-section {
    background: #26302F;
    color: #fff;
}

/* Title */
.about-section-title {
    font-weight: 700;
    font-size: 40px;
}

/* Wrapper */
.about-team-wrapper {
    position: relative;
}

/* Team Card */
.about-team-card {
    background: #fff;
    color: #000;
    padding: 40px 20px;
    border-radius: 4px;
    text-align: center;
}

/* Team Image */
.about-team-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* Card Title */
.about-team-card h4 {
    font-size: 20px;
    font-weight: 700;
}

/* Subtitle */
.about-team-card p {
    color: #555;
    font-size: 15px;
    margin-bottom: 15px;
}

/* Social Icons */
.about-social-icons i {
    font-size: 18px;
    margin: 0 8px;
    cursor: pointer;
    color: black;
}

/* Remove Arrows Entirely */
.arrow-btn,
.arrow-left,
.arrow-right {
    display: none !important;
}
