* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    background-color: #fff1f1;
    position: relative;
    overflow-x: hidden;
   
    
} 

/*---------------------------------------------section classes------------------------*/

.four {
    background-color: #1a2639;
    color: white;
  }

  .header-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
  }
  
  .header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 38, 57, 0.8), rgba(26, 38, 57, 0.9)), url('./image/section\ classes-bg-1.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    height: 100%;
  }
  
  .title {
    font-size: 2.5rem;
    font-weight: bold;
    max-width: 600px;
   
    
  }
  
  .navbar {
    position: absolute;
    right: 20%;
    top: 35%;
    
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 80px;
    border-radius: 10px 10px 10px 10px;
  }
  
  .nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    
  }
  
  .nav-menu li {
    margin: 0 10px;
    position: relative;
  }
  
  .nav-menu a {
    color: white;
    text-decoration:none;
    padding: 8px 12px;
    display: block;
    transition: color 0.3s;
  }
  
  .nav-menu a:hover {
    color: #c0c0c0;
  }
  
  /* Dropdown styling */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
  }
  
  .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
  }
  
  .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .home-icon {
    margin-right: 5px;
    width:4px ;
    height:5px ;
  }
  
  /*.circle-icon {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: white;
    border-radius: 50%;
    margin-right: 5px;
  }*/
  /* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #ff0000;
    color: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 100;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #a70000;
    transform: translateY(-3px);
}

/*-----------------------------------------Diploma Course--------------------------------------*/

.approaches-section {
    background-color: #ff0000; /* Dark blue background */
    color: white;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Heading Styles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

/* Underline Styles */
.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: white;
    margin: 15px auto;
}

/* Description Text */
.section-description {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 0;
}

/* Bubble Background Elements */
.bubble {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.bubble-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%; 
}

.bubble-2 {
    width: 60px;
    height: 60px;
    bottom: 15%;
    left: 25%;
}

.bubble-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
}

.bubble-4 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 25%;
}


/*---------------------------------------different courses-----------------------------------*/
.five {
    background-color: #f0f0f0;
    padding: 20px;
  }
  .card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}
  .section-4 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 20px;
    padding: 20px 0;
  }
  
  .section-4 .job-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
    min-height: 180px;
  }
  
  .section-4 .job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color:#a70000
    
  }
  
  .section-4 .job-card.navy {
    background-color: white;
    color:rgba(0, 0, 0, 0.9);
  }
  .section-4 .job-card.navy:hover{
    background-color:#a70000
   
  } 
  .section-4 .job-card.job-title:hover{
    color: white;
  }

  .section-4 .job-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
  }
  
.section-4 .job-experience {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.4;
  }
  
  .section-4 .apply-btn {
    color: #00b8d4;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: color 0.2s ease;
  }
  
  .section-4 .apply-btn:hover {
    color: #0088a3;
    text-decoration: underline;
  }
  

/*----------------------------------------------------media query---------------------------------------------------*/


/*---------------------------------------------section classes query-----------------------------------------*/

/* Base styles (apply to all sizes) */
.four {
    background-color: #1a2639;
    color: white;
  }
  
  .header-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
  }
  
  .header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 38, 57, 0.8), rgba(26, 38, 57, 0.9)), url('./image/section\ classes-bg-1.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    height: 100%;
    flex-wrap: wrap;
  }
  
  .title {
    font-size: 2.5rem;
    font-weight: bold;
    max-width: 600px;
  }
  
  .navbar {
    position: absolute;
    right: 20%;
    top: 35%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 80px;
    border-radius: 10px;
  }
  
  .nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  
  .nav-menu li {
    margin: 0 10px;
    position: relative;
  }
  
  .nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    transition: color 0.3s;
  }
  
  .nav-menu a:hover {
    color: #c0c0c0;
  }
  
  /* Dropdown styling */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
  }
  
  .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
  }
  
  .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .home-icon {
    margin-right: 5px;
  }
  
  /* Large screens (desktops, 1200px and up) */
  @media screen and (min-width: 1200px) {
    .header-container {
      height: 400px;
    }
    
    .title {
      font-size: 3rem;
      max-width: 700px;
    }
    
    .navbar {
      padding: 20px 100px;
    }
    
    .nav-menu li {
      margin: 0 15px;
    }
  }
  
  /* Medium screens (tablets, between 768px and 1199px) */
  @media screen and (min-width: 768px) and (max-width: 1199px) {
    .header-container {
      height: 300px;
    }
    
    .title {
      font-size: 2rem;
      max-width: 500px;
     
    }
    
    .navbar {
      right: 10%;
      padding: 12px 50px;
    }
    
    .dropdown-content {
      min-width: 250px;
    }
  }
  
  /* Small screens (smartphones, 767px and below) */
  @media screen and (max-width: 767px) {
    .header-container {
      height: auto;
      min-height: 250px;
    }
    
    .header-content {
      flex-direction: column;
      text-align: center;
      padding: 20px 5%;
    }
    
    .title {
      font-size: 1.5rem;
      max-width: 100%;
      margin-bottom: 10px;
      height: 5%;
    }
    
    .navbar {
      position: relative;
      right: auto;
      top: auto;
      padding: 10px 20px;
      width: 90%;
      margin: 0 auto;
    }
    
    .nav-menu {
      flex-direction: column;
    }
    
    .nav-menu li {
      margin: 5px 0;
      width: 100%;
    }
    
    .dropdown-content {
      position: static;
      width: 100%;
      min-width: auto;
      box-shadow: none;
      margin-top: 5px;
    }
    
    /* For small screens, initially hide dropdown content until clicked */
    .dropdown-content {
      display: none;
    }
    
    /* Override hover behavior for mobile */
    .dropdown:hover .dropdown-content {
      display: none;
    }
    
    /* Show dropdown only when active class is applied by JS */
    .dropdown-content.active {
      display: block;
    }
  }
  
  /* Extra small screens (small phones, 480px and below) */
  @media screen and (max-width: 480px) {
    .title {
      font-size: 1.2rem;
    }
    
    .navbar {
      padding: 8px 15px;
    }
    
    .nav-menu a {
      padding: 6px 10px;
    }
  }





/*--------------------------------------Diploma Course query-----------------------------------------*/

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* Large screens (desktop) */
@media screen and (min-width: 1200px) {
  .approaches-section {
      padding: 80px 40px;
  }
  
  .section-title {
      font-size: 3.2rem;
  }
  
  .section-title::after {
      width: 100px;
      height: 4px;
      margin: 20px auto;
  }
  
  .section-description {
      font-size: 1.3rem;
      max-width: 1100px;
      padding: 15px 0;
  }
  
  /* Larger bubbles for bigger screens */
  .bubble-1 {
      width: 150px;
      height: 150px;
  }
  
  .bubble-2 {
      width: 90px;
      height: 90px;
  }
  
  .bubble-3 {
      width: 120px;
      height: 120px;
  }
  
  .bubble-4 {
      width: 60px;
      height: 60px;
  }
  }
  
  /* Medium screens (tablet) */
  @media screen and (min-width: 768px) and (max-width: 1199px) {
  .approaches-section {
      padding: 60px 30px;
  }
  
  .section-title {
      font-size: 2.2rem;
  }
  
  .section-description {
      font-size: 1rem;
      max-width: 700px;
  }
  
  /* Slightly adjusted bubbles */
  .bubble-1 {
      width: 80px;
      height: 80px;
  }
  
  .bubble-2 {
      width: 50px;
      height: 50px;
  }
  
  .bubble-3 {
      width: 70px;
      height: 70px;
  }
  
  .bubble-4 {
      width: 35px;
      height: 35px;
  }
  }
  
  /* Small screens (mobile) */
  @media screen and (max-width: 767px) {
  .approaches-section {
      padding: 40px 15px;
  }
  
  .section-title {
      font-size: 1.8rem;
  }
  
  .section-title::after {
      width: 60px;
      height: 2px;
      margin: 10px auto;
  }
  
  .section-description {
      font-size: 0.95rem;
      padding: 8px 0;
  }
  
  /* Smaller bubbles for mobile screens */
  .bubble-1 {
      width: 60px;
      height: 60px;
  }
  
  .bubble-2 {
      width: 35px;
      height: 35px;
  }
  
  .bubble-3 {
      width: 50px;
      height: 50px;
  }
  
  .bubble-4 {
      width: 25px;
      height: 25px;
  }
  }
  
  /* Extra small screens */
  @media screen and (max-width: 480px) {
  .approaches-section {
      padding: 30px 10px;
  }
  
  .section-title {
      font-size: 1.5rem;
  }
  
  .section-title::after {
      width: 50px;
      margin: 8px auto;
  }
  
  .section-description {
      font-size: 0.9rem;
  }
  
  /* Even smaller bubbles for very small screens */
  .bubble-1 {
      width: 40px;
      height: 40px;
  }
  
  .bubble-2 {
      width: 25px;
      height: 25px;
  }
  
  .bubble-3 {
      width: 35px;
      height: 35px;
  }
  
  .bubble-4 {
      width: 20px;
      height: 20px;
  }
  }
  

/*---------------------------------------different courses query-----------------------------------*/

/* Large screens (desktop) */
@media screen and (min-width: 1200px) {
  .five {
      padding: 40px;
  }
  
  .section-4 {
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      padding: 30px 20px;
  }
  
  .section-4 .job-card {
      padding: 30px;
      min-height: 200px;
  }
  
  .section-4 .job-title {
      font-size: 22px;
  }
  
  .section-4 .job-experience {
      font-size: 17px;
  }
  
  .section-4-popup-content {
      max-width: 700px;
      padding: 40px;
  }
  
  .section-4-popup-title {
      font-size: 28px;
  }
  
  .section-4-form-group input, 
  .section-4-form-group textarea {
      padding: 12px;
      font-size: 16px;
  }
  
  .section-4-submit-btn {
      padding: 14px 24px;
      font-size: 18px;
  }
}

/* Medium screens (tablet) */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .five {
      padding: 25px;
  }
  
  .section-4 {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
  }
  
  .section-4 .job-card {
      min-height: 170px;
  }
  
  .section-4-popup-content {
      width: 80%;
      padding: 25px;
  }
}

/* Small screens (mobile) */
@media screen and (max-width: 767px) {
  .five {
      padding: 15px;
  }
  
  .section-4 {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 15px 10px;
  }
  
  .section-4 .job-card {
      padding: 20px;
      min-height: 160px;
  }
  
  .section-4 .job-title {
      font-size: 18px;
      margin-bottom: 10px;
  }
  
  .section-4 .job-experience {
      font-size: 14px;
      margin-bottom: 20px;
  }
  
  .section-4-popup-content {
      width: 95%;
      padding: 20px;
  }
  
  .section-4-popup-title {
      font-size: 20px;
  }
  
  .section-4-close-btn {
      top: 10px;
      right: 10px;
      font-size: 20px;
  }
  
  .section-4-form-group {
      margin-bottom: 12px;
  }
  
  .section-4-form-group input, 
  .section-4-form-group textarea {
      padding: 8px;
  }
  
  .section-4-submit-btn {
      padding: 10px 18px;
      font-size: 15px;
  }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
  .five {
      padding: 10px;
  }
  
  .section-4 {
      gap: 15px;
      padding: 10px 5px;
  }
  
  .section-4 .job-card {
      padding: 15px;
      min-height: 150px;
  }
  
  .section-4 .job-title {
      font-size: 17px;
  }
  
  .section-4-popup-content {
      padding: 15px;
  }
  
  .section-4-popup-title {
      font-size: 18px;
      margin-bottom: 10px;
  }
  
  .section-4-popup-details p {
      font-size: 14px;
      margin-bottom: 8px;
  }
  
  .section-4-submit-btn {
      padding: 10px 15px;
      font-size: 14px;
  }
}



