* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Navbar background */
.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 */

/* MAIN HERO SECTION */
.landing-hero-section {
    width: 100%;
    padding-top: 40px;
}

.landing-hero-container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
    flex-direction: row-reverse;
}

/* TEXT AREA */
.landing-hero-text h1 {
    font-size: 70px;
    line-height: 1.1;
    font-weight: 800;
}

.landing-subtitle {
    margin: 30px 0;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.landing-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border: 1px solid #000;
    border-radius: 8px;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
}

.landing-call-btn i {
    color: #03a88a; 
    font-size: 20px;
}

/* IMAGE SECTION */
.landing-hero-image {
    position: relative;
}

.landing-hero-image img {
    position: relative;
    z-index: 2;
    height: 600px;
    object-fit: contain;
}

.landing-hero-image::before {
    content: "";
    position: absolute;
    width: 507px;
    height: 470px;
    background: #F55C5C;
    border-radius: 50%;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}


/* ===========================================
   RESPONSIVE DESIGN
=========================================== */

/* LARGE LAPTOPS / SMALL DESKTOPS (1200px) */
@media (max-width: 1200px) {
    .landing-hero-text h1 {
        font-size: 60px;
    }

    .landing-hero-image img {
        height: 500px;
    }

    .landing-hero-image::before {
        width: 420px;
        height: 400px;
    }
}

/* TABLETS (992px) */
@media (max-width: 992px) {
    .landing-hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .landing-hero-text h1 {
        font-size: 52px;
    }

    .landing-call-btn {
        justify-content: center;
    }

    .landing-hero-image img {
        height: 450px;
    }

    .landing-hero-image::before {
        width: 360px;
        height: 340px;
        left: 50%;
        transform: translate(-50%, -50%);
        right: auto;
    }
}

/* MOBILE LARGE (768px) */
@media (max-width: 768px) {
    .landing-hero-text h1 {
        font-size: 42px;
    }

    .landing-subtitle {
        font-size: 16px;
    }

    .landing-hero-image img {
        height: 380px;
    }

    .landing-hero-image::before {
        width: 300px;
        height: 260px;
    }
    
}

/* MOBILE SMALL (576px) */
@media (max-width: 576px) {
    .landing-hero-text h1 {
        font-size: 34px;
    }

    .landing-call-btn {
        font-size: 16px;
        padding: 14px 25px;
    }

    .landing-hero-image img {
        height: 300px;
    }

    .landing-hero-image::before {
        width: 240px;
        height: 220px;
    }
}

/* EXTRA SMALL DEVICES (400px) */
@media (max-width: 400px) {
    .landing-hero-text h1 {
        font-size: 28px;
    }

    .landing-subtitle {
        font-size: 15px;
    }

    .landing-hero-image img {
        height: 250px;
    }

    .landing-hero-image::before {
        width: 200px;
        height: 200px;
    }
}

/* SERVICES-SECTION */

/* SECTION BACKGROUND */
.landing-services-section {
    background: linear-gradient(#2E3735 50%, #ffffff 50%);
    padding-bottom: 150px;
}

/* TEXT */
.landing-services-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.landing-services-subtitle {
    color: #dcdcdc;
    font-size: 16px;
}

/* CARD WRAPPER */
.landing-service-card {
    background: #fff;
    border-radius: 6px;
    position: relative;
    padding-bottom: 40px;
    transition: transform 0.3s ease;
    height: 460px; /* default height for even cards */
}

/* LOWER CARDS (1 & 3) */
.landing-card-down {
    margin-top: 40px;
    height: 500px;
}

/* TOP BAR */
.landing-service-top {
    padding: 25px 0;
}

.landing-service-top h4 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-transform: lowercase;
}

/* COLOR HELPERS */
.landing-coral-bg { background: #FF6D6D; }
.landing-teal-bg { background: #00B6A1; }

/* CARD CONTENT */
.landing-service-content {
    padding: 25px 25px;
}

.landing-service-icon {
    font-size: 50px;
    color: #222;
    margin-bottom: 20px;
}

.landing-service-content p {
    font-size: 20px;
    color: #555;
    line-height: 1.5;
}

/* PLUS CIRCLE */
.landing-plus-circle {
    position: absolute;
    left: 50%;
    bottom: 55px;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #aaa;
    background: white;
}


/* ==========================================================
   RESPONSIVE DESIGN
========================================================== */

/* 1200px - Large laptops */
@media (max-width: 1200px) {
    .landing-service-card,
    .landing-card-down {
        height: auto;
        padding-bottom: 60px;
    }

    .landing-service-content p {
        font-size: 18px;
    }

    .landing-service-icon {
        font-size: 45px;
    }
}


/* 992px - Tablets landscape */
@media (max-width: 992px) {
    .landing-services-title {
        font-size: 32px;
    }

    .landing-service-card,
    .landing-card-down {
        margin-top: 20px;
        height: auto;
    }

    .landing-service-content p {
        font-size: 17px;
    }
}


/* 768px - Tablets portrait */
@media (max-width: 768px) {
    .landing-services-title {
        font-size: 28px;
    }

    .landing-service-card {
        text-align: center;
    }

    .landing-service-icon {
        font-size: 40px;
    }

    .landing-service-content p {
        font-size: 16px;
    }

    .landing-plus-circle {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}


/* 576px - Mobiles */
@media (max-width: 576px) {
    .landing-services-section {
        padding-bottom: 100px;
    }

    .landing-services-title {
        font-size: 24px;
    }

    .landing-services-subtitle {
        font-size: 14px;
    }

    .landing-service-card,
    .landing-card-down {
        height: auto;
        margin-top: 20px;
    }

    .landing-service-icon {
        font-size: 35px;
    }

    .landing-service-content p {
        font-size: 15px;
    }

    .landing-plus-circle {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
}


/* 400px - Extra small devices */
@media (max-width: 400px) {
    .landing-services-title {
        font-size: 22px;
    }

    .landing-service-content p {
        font-size: 14px;
    }

    .landing-service-icon {
        font-size: 30px;
    }
}


/* WHY-CHOOSE-US SECTION */


.landing-why-choose-section {
    width: 100%;
}

/* IMAGE */
.landing-why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT CONTENT */
.landing-why-content {
    background: #FF6D6D;
    color: #fff;
    padding: 99px 60px;
    height: auto; /* REMOVE FIXED HEIGHT */
}

.landing-why-content h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 25px;
}

.landing-why-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.landing-why-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.landing-why-list li {
    font-size: 18px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.landing-why-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #fff;
    font-size: 18px;
}

.landing-learn-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid #fff;
    padding: 15px 35px;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.landing-learn-btn:hover {
    background: #fff;
    color: #FF6D6D;
}

/* ============================
   RESPONSIVE BREAKPOINTS
   ============================ */

/* Large Tablets (max-width: 992px) */
@media (max-width: 992px) {
    .row-equal {
        display: flex;
    }

    .landing-why-img,
    .landing-why-content {
        height: 100%;
    }

    .landing-why-img img {
        height: 100%;
        object-fit: cover;
    }

    .landing-why-content h2 {
        font-size: 42px;
    }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .landing-why-content {
        padding: 50px 30px;
        text-align: center;
    }

    .landing-why-content h2 {
        font-size: 36px;
    }

    .landing-why-text,
    .landing-why-list li {
        font-size: 16px;
    }

    .landing-why-list li {
        padding-left: 20px;
    }

    .landing-why-list li::before {
        font-size: 16px;
    }

    .landing-learn-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
    .landing-why-content {
        padding: 40px 20px;
        text-align: left;
    }

    .landing-why-content h2 {
        font-size: 30px;
    }

    .landing-why-text {
        font-size: 15px;
    }

    .landing-why-list {
        text-align: left !important; /* force UL to left alignment */
    }

    .landing-why-list li {
        font-size: 15px;
        padding-left: 22px;
    }
}

/* TRAINING-SECTION */

.landing-training-section {
   padding-top: 50px;
   padding-bottom: 125px;
   padding-left: 65px;
}

/* TEXT */
.landing-section-title {
    font-size: 42px;
    font-weight: 700;
}

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

.landing-section-credit a {
    color: #a8d8ff;
    text-decoration: underline;
}

/* FORCE OUTLINE BUTTON STYLES */
a.landing-btn-outline-light.btn.btn-lg {
    padding: 12px 35px;
    font-weight: 600;

    border: 1px solid #080808 !important;   /* Force border */
    color: #080808 !important;               /* Force text color */
    background: transparent !important;      /* Ensure transparent background */

    transition: all 0.3s ease;
}

/* HOVER EFFECT */
a.landing-btn-outline-light.btn.btn-lg:hover {
    background: #0c0b0b !important;          /* White background */
    color: #dfe4e4 !important;               /* Dark text */
    border-color: #ffffff !important;
}


/* IMAGE COLUMN */
.landing-img-col {
    padding-top: 80px;
    position: relative;
}

/* DECORATION BOXES */
.landing-decor-box {
    position: absolute;
    width: 455px;
    height: 390px;
    z-index: 1;
}

.landing-decor-green {
    background: #00C2A8;
    bottom: -40px;
    left: 30px;  
}

/* TRAINING IMAGE */
.landing-training-img {
    position: relative;
    z-index: 2;
    width: 85%;        /* reduced from 100% */
    max-width: 445px!important;  /* reduced from 452px */
    height: 390px !important;
    display: block;
    margin: 0 auto;
}

/* ======================
   RESPONSIVE BREAKPOINTS
   ====================== */

/* Large Tablets / Laptops (max-width: 992px) */
@media (max-width: 992px) {
    .landing-training-section {
        padding: 80px 30px;
        padding-right: 50px;
    }

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

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

    .landing-btn-outline-light {
        padding: 10px 30px;
        font-size: 15px;
    }

    /* Decor box smaller */
    .landing-decor-box {
        width: 300px;
        height: 260px;
    }

    .landing-decor-green {
        bottom: -20px;
        left: 20px;
    }
}

/* Tablets / Mobile Landscape (max-width: 768px) */
@media (max-width: 768px) {
    .landing-training-section {
        padding: 60px 20px;
        padding-right: 20px;
    }

    .landing-section-title {
        font-size: 30px;
        text-align: center;
    }

    .landing-section-text {
        font-size: 15px;
        text-align: center;
    }

    .landing-section-credit {
        text-align: center;
    }

    .landing-btn-outline-light {
        display: block;
        margin: 20px auto 0;
        padding: 10px 25px;
    }

    .landing-img-col {
        padding-top: 40px;
    }

    /* Center image */
    .landing-training-img {
        max-width: 90%;
        height: auto;
    }

    /* Hide decoration for small screens */
    .landing-decor-box {
        display: none;
    }
}

/* Mobile Portrait (max-width: 576px) */
@media (max-width: 576px) {
    .landing-training-section {
        padding: 40px 15px;
    }

    .landing-section-title {
        font-size: 24px;
    }

    .landing-section-text {
        font-size: 14px;
    }

    .landing-btn-outline-light {
        padding: 8px 20px;
        font-size: 14px;
    }
}


/* LESSON-SECTION */

.lesson-landing-section {
    width: 100%;
    overflow: hidden;
}

.lesson-landing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}

/* LEFT big image */
.lesson-landing-left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TOP RIGHT BLOCK */
.lesson-landing-right-top {
    background: #e85f55;
    padding: 60px;
    display: flex;
    align-items: center;
}

.lesson-landing-right-top p {
    font-size: 18px;
    line-height: 1.7;
    color: #fff;
    max-width: 600px;
}

.lesson-landing-arrow-box {
    font-size: 40px;
    font-weight: bold;
    margin-top: 20px;
    color: #fff;
}

/* RIGHT BOTTOM IMAGE */
.lesson-landing-right-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* LEFT Bottom Box */
.lesson-landing-left-bottom {
    background: #17a095;
    padding: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lesson-landing-left-bottom h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.lesson-landing-credit {
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.9;
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .lesson-landing-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .lesson-landing-right-top, 
    .lesson-landing-left-bottom {
        padding: 40px;
    }
}

