* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 0px 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    justify-content: flex-start;
}

.nav-links li {
    list-style: none;
    padding: 10px 15px;
    font-size: 19px;
    font-weight: bold;
    
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: rgb(16,86,158);
}
@media screen and (max-width: 768px) {
    .logo img {
        margin-left: 100px; /* adjust this value as needed */
    }
    .navbar {
        padding: 0px 15px; /* smaller padding for a shorter height */
    }

    .logo img {
        width: 80px; /* slightly smaller logo */
    }

    .hamburger {
        font-size: 22px; /* optional: smaller hamburger */
    }

    .navbar {
        padding: 0px 15px;
    }

    
}





/* Dropdown Menu */
/* Dropdown Menu */
/* Navbar */


/* Dropdown */
/* Navbar */


/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    z-index: 1000;
    list-style: none;
    padding: 0;
}

/* Show on Hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Dropdown Items */
.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li a {
    display: block;
    color: black;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
}

.dropdown-menu li a:hover {
    background-color: #f1f1f1;
}

/* Hamburger Menu */
.hamburger {
    display: block;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    left: 15px; /* Aligned to the Left */
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    text-align: left;
    padding: 10px; /* Padding for content */
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.mobile-logo {
    width: 100px;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
    color: white; /* Changed to White */
}

/* Mobile Dropdown */
.mobile-dropdown-menu {
    display: none;
    background-color: white;
    list-style: none;
    padding-left: 10px;
}

.mobile-dropdown-menu li {
    padding: 10px;
}

.mobile-dropdown-menu li a {
    color: black;
    text-decoration: none;
    font-size: 16px;
}

.mobile-dropdown-menu li a:hover {
    background-color: #f1f1f1;
}

/* Show on Click */
.mobile-dropdown.open .mobile-dropdown-menu {
    display: block;
}


/* Responsive for Mobile */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
    }
}

/* Show Dropdown When Clicked */
.show-dropdown {
    display: block !important;
}

/* Logo */
.logo img {
    width: 110px;
    margin-left: 100px;
   
}

/* Default slider style */
.slider {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    margin-bottom: 0; /* ensure no extra space below */
    padding-bottom: 0;
}




.slides {
    width: auto;
    height: auto; /* Let height adjust based on image */
    position: relative;
    overflow: hidden;
}

.slides img {
    width: 100%;
    height: auto; /* Preserve aspect ratio */
    object-fit: contain; /* Show full image without crop */
    display: none;
}

.slides img:first-child {
    display: block;
}


  

/* Mobile optimization */
@media (max-width: 768px) {
    .slider {
        height: 30vh; /* shorter height on mobile */
    }

    .slides img {
        object-fit: cover;
    }

    /* Optional: Add tighter spacing below slider */
    .courses-section {
        margin-top: 0;
        padding-top: 10px;
    }
}
/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Search Box */
.search-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.search-box input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-btn {
    padding: 10px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
}

.category-btn {
    display: block;
    margin-top: 10px;
    background: #333;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

/* Mobile View */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}





@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    /* Adjust search container position and padding */
    .search-container {
        top: 50%; /* move upwards */
        padding: 10px;
        transform: translate(-50%, -50%);
    }

    /* Flex layout for search input + button */
    .search-box {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 5px;
    }

    .search-box input {
        padding: 6px 8px;
        font-size: 14px;
        flex: 1;
        min-width: 0;
    }

    .search-btn {
        padding: 6px 10px;
        font-size: 10px;
        white-space: nowrap;
    }

    .category-btn {
        padding: 6px 10px;
        font-size: 14px;
        margin-top: 8px;
    }

    .prev, .next {
        font-size: 18px;
        padding: 6px 8px;
        top: 50%; /* move slightly up */
    }
}



.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu a {
    text-decoration: none;
    color: white;
    display: block;
    padding: 10px;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}




/* Courses Section */
.courses-section {
    padding: 40px 20px;
    background-color: #ffffff;
    text-align: center;
}

/* Section Header */
.courses-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.courses-header p {
    font-size: 16px;
    color: #777;
}

/* Tabs */
.course-tabs {
    margin-top: 20px;
}

.tab-btn {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    background: #f1f1f1;
    cursor: pointer;
    border-radius: 5px;
}

.tab-btn.active {
    background-color: #333;
    color: white;
}

/* Owl Carousel Wrapper */
.course-cards.owl-carousel .course-card {
    margin: 10px;
}

/* Course Cards Grid */
.course-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Individual Course Card */
.course-card {
    flex: 0 1 calc(25% - 20px);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 250px;
    max-width: 300px;
}

/* Adjusted Image Size */
.course-card img {
    width: 100%;
    height: 200px; /* increased from 150px */
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Hover Info */
.course-hover {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50px;
    background-color: rgba(255,255,255,0.95);
    padding: 20px;
    font-size: 14px;
    z-index: 1;
}

.course-card:hover .course-hover {
    display: block;
}

/* Course Info Text */
.course-info {
    padding: 15px;
    text-align: left;
}

.course-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.course-info p {
    color: #777;
    font-size: 14px;
}

/* View More Button */
.view-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3c4858;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    font-size: 14px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 2;
}

.view-more-btn:hover {
    background-color: #1f2a38;
}

    
.section-heading {
    clear: both;
    width: 100%;
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0 10px 0;
  }
  

/*footer */

.site-footer {
    background-color: #1e2637;
    color: white;
    padding: 60px 20px 30px; /* increased top & bottom padding */
    font-family: 'Segoe UI', sans-serif;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px; /* increased gap between columns */
    max-width: 1200px;
    margin: auto;
  }
  
  .footer-left h4,
  .footer-right h4 {
    margin-bottom: 15px;
    font-size: 22px; /* bigger heading */
    color: #fff;
  }
  
  .footer-left p {
    color: #ccc;
    font-size: 16px; /* bigger text */
  }
  
  .enquire-box {
    background-color: #141a27;
    padding: 30px; /* more padding inside box */
    border-radius: 8px;
    text-align: center;
  }
  
  .enquire-box p {
    color: #cfcfcf;
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .enquire-btn {
    padding: 12px 28px;
    font-size: 16px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
  }
  
  .enquire-btn:hover {
    background-color: #2d3445;
  }
  
  .footer-bottom {
    border-top: 1px solid #394150;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 25px 0; /* increased height */
    max-width: 1200px;
    margin: auto;
  }
  
  .footer-bottom p {
    font-size: 15px;
    color: #aaa;
  }
  
  .payment-section {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #2c3442;
    padding: 15px 25px;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex-wrap: wrap;
  }
  
  .secure-badge {
    height: 70px;
  }
  
  .secure-details {
    display: flex;
    flex-direction: column;
  }
  
  .secure-text {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    white-space: nowrap;
  }
  
  .payment-logos {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .payment-logos img {
    height: 30px;
    object-fit: contain;
  }
  @media (max-width: 600px) {
    .payment-section {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 20px;
    }
  
    .secure-badge {
      height: 60px;
      margin-bottom: 10px;
    }
  
    .secure-details {
      align-items: center;
    }
  
    .secure-text {
      font-size: 16px;
      margin-bottom: 10px;
    }
  
    .payment-logos {
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .payment-logos img {
      height: 28px;
    }
  }
  
  
  







/* enquire */

/* Enquire Section Container */
.enquire-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
  }
  
  .enquire-section .container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }
  
  /* Headings */
  .enquire-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
  }
  
  .enquire-section p {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
  }
  
  /* Form Styling */
  .enquiry-form .form-group {
    margin-bottom: 20px;
  }
  
  .enquiry-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
  }
  
  .enquiry-form input,
  .enquiry-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    transition: border-color 0.2s ease;
  }
  
  .enquiry-form input:focus,
  .enquiry-form textarea:focus {
    border-color: #007bff;
    outline: none;
  }
  
  /* Submit Button */
  .enquire-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background-color: #3c4458;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .enquire-btn:hover {
    background-color: #2f3544;
  }


