* {
  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 */

/* --------------------------------------------------
   HERO SECTION BASE STYLES (DESKTOP FIRST)
-------------------------------------------------- */
.our-hero-section {
    background: url("../images/group-multinational-busy-people-working-office6-min.jpg") center/cover no-repeat;
    padding: 150px 0;
    min-height: 750px;
    position: relative;
}

.our-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.our-hero-section * {
    position: relative;
    z-index: 2;
}

/* TEXT STYLES */
.team-title {
    font-size: 70px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.team-text {
    font-size: 22px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.5;
}

.team-credit {
    font-size: 15px;
    color: #fff;
    margin-bottom: 30px;
}

.team-credit a {
    color: #fff;
    text-decoration: underline;
}

/* BUTTON */
.btn.team-btn {
    display: inline-block;
    padding: 18px 40px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn.team-btn:hover {
    background: #fff;
    color: #000 !important;
}


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

/* 1. Large Laptops (1200px–1399px) */
@media (max-width: 1399px) {
    .team-title {
        font-size: 60px;
    }
    .team-text {
        font-size: 20px;
    }
}

/* 2. Tablets (768px–1199px) */
@media (max-width: 1199px) {
    .our-hero-section {
        padding: 120px 0;
        min-height: 650px;
    }

    .team-title {
        font-size: 50px;
    }

    .team-text {
        font-size: 18px;
    }

    .btn.team-btn {
        padding: 16px 35px;
        font-size: 18px;
    }
}

/* 3. Mobile Landscape / Small Tablets (576px–767px) */
@media (max-width: 767px) {
    .our-hero-section {
        text-align: center;
        padding: 100px 20px;
        min-height: 600px;
    }

    .team-title {
        font-size: 42px;
    }

    .team-text {
        font-size: 17px;
    }

    .btn.team-btn {
        padding: 14px 30px;
        font-size: 17px;
    }
}

/* 4. Mobile Portrait (≤575px) */
@media (max-width: 575px) {
    .our-hero-section {
        padding: 80px 20px;
        min-height: 550px;
    }

    .team-title {
        font-size: 34px;
    }

    .team-text {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .team-credit {
        font-size: 14px;
    }

    .btn.team-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
}




/* COURSES-SECTION */

/* MAIN SECTION */
.our-courses-section {
    position: relative;
    width: 100%;
    padding: 120px 20px; /* Reduce side spacing */
    background: #FF6B6B;
}

/* CONTENT ALIGNMENT */
.our-courses-top {
    text-align: center;
    color: white;
}

/* HEADING */
.our-courses-title {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* PARAGRAPH */
.our-courses-subtitle {
    max-width: 900px;          /* Limits width on large screens */
    margin: 0 auto 50px auto;
    line-height: 32px;
    font-size: 20px;
    color: white;
}

/* BUTTON */
.our-team-btn {
    display: inline-block;
    background: none;
    color: white;
    padding: 14px 34px;
    border: 1px solid white;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.our-team-btn:hover {
    background: #ffe6e6;
    color: #1a1717;
}

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

/* Large Laptops – Reduce Spacing */
@media (max-width: 1200px) {
    .our-courses-section {
        padding: 100px 40px;
    }

    .our-courses-subtitle {
        max-width: 750px;
        font-size: 19px;
    }
}

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

    .our-courses-subtitle {
        font-size: 18px;
        line-height: 28px;
        max-width: 650px;
    }

    .our-team-btn {
        font-size: 18px;
        padding: 12px 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .our-courses-section {
        padding: 80px 25px;
    }

    .our-courses-title {
        font-size: 28px;
    }

    .our-courses-subtitle {
        font-size: 16px;
        line-height: 26px;
    }

    .our-team-btn {
        font-size: 16px;
        padding: 10px 26px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .our-courses-title {
        font-size: 24px;
    }

    .our-courses-subtitle {
        font-size: 15px;
        line-height: 24px;
    }
}


/* TEAM-SECTION */
/* Main Section */
/* --------------------------
   OUR TEAM SECTION
--------------------------- */
.our-team-section {
    background: #26302F;
    color: #fff;
    padding: 80px 0;
}

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

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

/* Team Card */
.our-team-card {
    background: #fff;
    color: #000;
    padding: 70px 20px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.our-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

/* Card Title */
.our-team-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

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

/* Social Icons */
.our-social-icons i {
    font-size: 18px;
    margin: 0 6px;
    cursor: pointer;
    color: #000;
    transition: color 0.3s;
}

.our-social-icons i:hover {
    color: #FF6B6B;
}

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

/* LAPTOP / MEDIUM SCREEN */
@media (max-width: 1200px) {
    .our-section-title {
        font-size: 36px;
    }

    .our-team-card {
        padding: 25px 15px;
    }
}

/* TABLETS */
@media (max-width: 992px) {
    .our-section-title {
        font-size: 32px;
    }

    .our-team-card {
        padding: 20px 15px;
    }

    .our-team-img {
        width: 120px;
        height: 120px;
    }
}

/* SMALL TABLETS / LARGE PHONES */
@media (max-width: 768px) {
    .our-section-title {
        font-size: 28px;
    }

    .our-team-card {
        margin-bottom: 20px;
    }

    .our-team-img {
        width: 100px;
        height: 100px;
    }

    .our-team-card h4 {
        font-size: 18px;
    }

    .our-team-card p {
        font-size: 14px;
    }
}

/* MOBILE */
@media (max-width: 576px) {
    /* Reduce container width slightly */
    .our-team-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Section Title */
    .our-section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    /* Team Card */
    .our-team-card {
        padding: 25px 18px;        /* Increased padding */
        border-radius: 12px;
        width: 92%;               /* Reduce card width */
        margin: 0 auto 25px auto; /* Center + spacing */
    }

    /* Larger Profile Image */
    .our-team-img {
        width: 130px;             /* Increased from 90px */
        height: 130px;
        margin-bottom: 18px;
    }

    /* Name */
    .our-team-card h4 {
        font-size: 20px;          /* Bigger */
        margin-bottom: 8px;
    }

    /* Role/Profession */
    .our-team-card p {
        font-size: 15px;          /* Slightly bigger */
        margin-bottom: 18px;
    }

    /* Social Icons */
    .our-social-icons i {
        font-size: 20px;          /* Bigger icons */
        margin: 0 6px;
    }
}

