.section-py {
    padding: 6.25rem 0
}

@media(max-width: 1199.98px) {
    .section-py {
        padding:4rem 0
    }
}

@media(max-width: 767.98px) {
    .section-py {
        padding:3rem 0
    }
}

.first-section-pt {
    padding-top: 10.3rem
}

@media(max-width: 1199.98px) {
    .first-section-pt {
        padding-top:6.5rem
    }
}

.card[class*=card-hover-border-] {
    transition: all .2s ease-in-out
}

.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left;
    z-index: -1
}

.bg-icon-left,.bg-icon-right {
    position: relative
}

.bg-icon-left::before,.bg-icon-right::before {
    position: absolute;
    display: block;
    top: 0
}

.bg-icon-left::before {
    left: 0
}

@media(max-width: 575.98px) {
    .bg-icon-left::before {
        left:.625rem
    }
}

.bg-icon-right::before {
    right: 0
}

@media(max-width: 575.98px) {
    .bg-icon-right::before {
        right:.625rem
    }
}

.dropdown-toggle::after {
    margin-top: -0.28em;
    width: .42em;
    height: .42em;
    border: 1px solid !important;
    border-top: 0 !important;
    border-left: 0 !important;
    transform: rotate(45deg)
}

.dark-style body {
    background-color: #312d4b
}

.dark-style .landing-light-mode {
    display: none
}

.dark-style .landing-dark-mode {
    display: block
}

nav.layout-navbar {
    backdrop-filter: unset !important;
    z-index: 999 !important
}

.navbar.landing-navbar {
    box-shadow: none;
    transition: all .2s ease-in-out;
    transform: unset !important;
    padding-top: .75rem;
    padding-bottom: .75rem;
    border-bottom-right-radius: .625rem;
    border-bottom-left-radius: .625rem
}

.navbar.landing-navbar .navbar-nav .nav-link {
    padding: .5rem .8375rem
}

@media(max-width: 1199.98px) {
    .navbar.landing-navbar .navbar-nav .nav-link {
        padding-left:.5rem;
        padding-right: .5rem
    }
}

.navbar.landing-navbar .navbar-nav .nav-link .menu-icon,.navbar.landing-navbar .navbar-nav .nav-link .menu-icon::before {
    font-size: .75rem
}

@media(min-width: 992px) {
    .navbar.landing-navbar .navbar-nav .nav-item.mega-dropdown>.dropdown-menu {
        max-width:1300px;
        inset-inline-start: 50% !important;
        transform: translateX(-50%);
        top: 100%
    }
}

@media(max-width: 991.98px) {
    .navbar.landing-navbar .navbar-nav .nav-item.mega-dropdown>.dropdown-menu {
        background:rgba(0,0,0,0);
        box-shadow: none;
        border: none
    }
}

.navbar.landing-navbar .navbar-nav .nav-item.mega-dropdown>.dropdown-menu .mega-dropdown-link {
    padding-left: 0;
    padding-right: 0
}

.navbar.landing-navbar .navbar-nav .nav-item .nav-img-col,.navbar.landing-navbar .navbar-nav .nav-item .nav-img-col img {
    border-radius: .625rem
}

@media(max-width: 991.98px) {
    .navbar.landing-navbar .landing-nav-menu .navbar-nav .nav-item.dropdown .dropdown-menu {
        position:unset !important;
        box-shadow: none;
        border: none;
        margin: 0;
        margin-left: 1rem
    }
}

@media(max-width: 991.98px) {
    .navbar.landing-navbar .landing-menu-overlay {
        position:fixed;
        display: none;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(46,38,61,.78);
        transition: all .2s ease-in-out;
        z-index: 9998
    }

    .navbar.landing-navbar .landing-nav-menu {
        position: fixed;
        display: block !important;
        height: 100%;
        max-width: 300px;
        width: 80%;
        inset-inline-start: -100%;
        top: 0;
        overflow-y: auto;
        transition: all .3s ease-in-out;
        z-index: 9999
    }

    .navbar.landing-navbar .landing-nav-menu.show {
        inset-inline-start: 0
    }

    .navbar.landing-navbar .landing-nav-menu.show~.landing-menu-overlay {
        display: block
    }
}

@media(max-width: 991.98px) {
    .light-style .navbar.landing-navbar .landing-nav-menu {
        background-color:#fff
    }
}


.dark-style .navbar.landing-navbar {
    background-color: #312d4b;
    border: 1px solid rgba(49,45,75,.78)
}

.dark-style .navbar.landing-navbar.navbar-active {
    box-shadow: 0 .1875rem .375rem rgba(19,17,32,.22)
}

.dark-style .navbar.landing-navbar .navbar-brand .navbar-toggler {
    color: #d5d1ea
}

.dark-style .navbar.landing-navbar .navbar-nav .nav-link {
    color: #d5d1ea
}

.dark-style .navbar.landing-navbar .navbar-nav .nav-link .menu-icon {
    color: #b0acc7
}

@media(max-width: 991.98px) {
    .dark-style .navbar.landing-navbar .landing-nav-menu {
        background-color:#312d4b
    }
}

.dark-style .navbar .menu-text {
    color: #dddaef
}

@media(min-width: 992px) {
    [dir=rtl] .navbar.landing-navbar .navbar-nav .nav-item.mega-dropdown>.dropdown-menu {
        transform:translateX(50%)
    }
}
.landing-footer {
    background-color: #0D1931 !important; /* Black background */
    color: #ffffff; /* Optional: Change text color to white for better contrast */
}

.landing-footer .footer-link {
    transition: all .2s ease-in-out
}

.landing-footer .footer-link:hover {
    opacity: 1
}

.landing-footer .footer-link,.landing-footer .footer-text,.landing-footer .footer-title {
    color: #ffffff
}

.landing-footer .footer-link,.landing-footer .footer-text {
    opacity: .78
}

.landing-footer .app-brand-text.footer-link {
    opacity: .92
}

.landing-footer .footer-title {
    opacity: .92
}

.landing-footer .footer-top {
    padding: 3rem 0;
    background-color: #121212;
}

@media(max-width: 767.98px) {
    .landing-footer .footer-top {
        padding:3rem 0
    }
}

.landing-footer .footer-top .footer-bg {
    object-position: center
}

@media(min-width: 992px) {
    .landing-footer .footer-logo-description {
        max-width:385px
    }
}

.landing-footer .footer-bottom {
    background-color: #121212
}

.landing-footer .footer-bottom .footer-text,.landing-footer .footer-bottom .footer-link {
    opacity: .92
}

.landing-footer .form-floating.form-floating-outline .form-control {
    color: #d5d1ea
}

.landing-footer .form-floating.form-floating-outline .form-control:focus~label:after,.landing-footer .form-floating.form-floating-outline .form-control:not(:placeholder-shown)~label:after {
    background: #241d31 !important
}

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

  .hero {
    height: 80vh;
    width: calc(100% - 40px);
    position: relative;
    overflow: hidden;
    background: url("{% static 'img/front-pages/landing-page/okokok.webp' %}");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 20px 20px 40px 20px;
  }

  .hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
  }

  .hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
  }

  .hero p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
  }

  .cta-button {
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #091933;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 4px 6px rgba(9, 25, 51, 0.1);
    animation: fadeInUp 1s ease-out 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
  }

  .cta-button:hover {
    background: transparent;
    color: white;
    border-color: white;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsive styles */
  @media screen and (max-width: 768px) {
    .hero {
      height: 70vh;
      width: calc(100% - 20px);
      margin: 10px 10px 20px 10px;
    }

    .hero-content {
      padding: 1rem;
    }

    .hero h1 {
      font-size: 2.5rem;
    }

    .hero p {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
    }

    .cta-button {
      padding: 0.8rem 1.6rem;
      font-size: 1rem;
    }
  }

  @media screen and (max-width: 480px) {
    .hero {
      height: 60vh;
    }

    .hero h1 {
      font-size: 2rem;
    }

    .hero p {
      font-size: 1rem;
      margin-bottom: 1rem;
    }

    .cta-button {
      padding: 0.7rem 1.4rem;
      font-size: 0.9rem;
    }
  }

  :root {
    --primary: #091933;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
  }

  /* ========== CATEGORY SCROLL SECTION ========== */
  .categories-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .categories-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
  }
  .categories-scroll::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
  }
  .category-btn {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-family: 'Poppins';
  }
  .category-btn.active {
    background: var(--primary);
    color: var(--white);
  }

  /* ========== COURSE SECTION (GRID LAYOUT) ========== */
  .courses-container {
    margin-top: 2rem;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2.5rem;
    overflow: visible; /* No horizontal scroll */
  }
  .category-prev-btn {
    left: 0.5rem;
    top: 1.5rem;
    opacity: 0.7;
  }
  .category-next-btn {
    right: 0.5rem;
    top: 1.5rem;
    opacity: 0.7;
  }

  /* ========== MEDIA QUERIES ========== */
  /* Tablet Styles (768px to 1024px) */
  @media screen and (max-width: 1024px) {
    .categories-container {
      padding: 2rem 1rem;
    }

  }

  /* Mobile Styles (below 768px) */
  @media screen and (max-width: 768px) {
    .categories-container {
      padding: 1rem 0.5rem;
    }
    .category-btn {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
    }
    .categories-scroll {
      gap: 0.5rem;
      padding: 0.5rem;
    }
    .category-btn {
      padding: 0.4rem 0.8rem;
      font-size: 0.8rem;
    }
  }
  .img-fluid {
    width: 100%; /* Ensures the image scales to the container's width */
    height: 200px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border-radius: 10px; /* Optional: rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: shadow for aesthetics */}
    .hidden {
  display: none;
  }

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

/* Categories Section */
.categories-section {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.categories-title {
    text-align: center;
    color: #121212;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    font-family: 'Poppins';
}

.categories-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #091933;
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: #0D1931;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #091933;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: #091933;
}

.category-card:hover .category-icon svg {
    fill: white;
}

.category-icon svg {
    width: 30px;
    height: 30px;
    fill: #091933;
    transition: all 0.3s ease;
}

.category-title {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: var(--bs-body-font-family);
}

.category-description {
    color: white;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-link {
    color: #091933;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.category-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.category-card:hover .category-link::after {
    transform: translateX(5px);
}

.services, .who-we-are {
    padding: 4rem 20px;
    background: #f9f9f9;
  }

  .who-we-are {
    padding: 6rem 20px;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
  }

  .who-we-are::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(9,25,51,0.05) 0%, rgba(9,25,51,0) 70%);
    top: -150px;
    right: -150px;
  }

  .section-header {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
  }

  .section-header h2 {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .section-header p {
    color: #666;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }

  .service-item {
    text-align: center;
    transform: translateY(50px);
    opacity: 0;
    animation: slideIn 0.6s ease-out forwards;
    padding: 1rem;
  }

  .service-item:nth-child(2) {
    animation-delay: 0.2s;
  }

  .service-item:nth-child(3) {
    animation-delay: 0.4s;
  }

  .service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #F0F4F8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .service-item:hover .service-icon-wrapper {
    transform: scale(1.05);
  }

  .service-icon {
    width: 35px;
    height: 35px;
  }

  .service-item:nth-child(1) .service-icon {
    fill: #4CAF50;
  }

  .service-item:nth-child(2) .service-icon {
    fill: #2196F3;
  }

  .service-item:nth-child(3) .service-icon {
    fill: #9C27B0;
  }

  .service-content h3 {
    color: #091933;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .service-content p {
    color: #666;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
  }

  .who-we-are-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
  }

  .who-we-are-text {
    animation: fadeInLeft 1s ease-out;
  }

  .who-we-are-text h2 {
    color: #091933;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .who-we-are-text p {
    color: #666;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .feature-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
  }

  .feature-item:nth-child(2) { animation-delay: 0.2s; }
  .feature-item:nth-child(3) { animation-delay: 0.4s; }
  .feature-item:nth-child(4) { animation-delay: 0.6s; }

  .feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .feature-item:nth-child(1) .feature-icon-wrapper { background: #FFE5EC; }
  .feature-item:nth-child(2) .feature-icon-wrapper { background: #E3F2FD; }
  .feature-item:nth-child(3) .feature-icon-wrapper { background: #FFF3E0; }
  .feature-item:nth-child(4) .feature-icon-wrapper { background: #E8F5E9; }

  .feature-icon {
    width: 24px;
    height: 24px;
  }

  .feature-item:nth-child(1) .feature-icon { fill: #FF4081; }
  .feature-item:nth-child(2) .feature-icon { fill: #2196F3; }
  .feature-item:nth-child(3) .feature-icon { fill: #FF9800; }
  .feature-item:nth-child(4) .feature-icon { fill: #4CAF50; }

  .feature-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #091933;
  }

  .image-grid {
    position: relative;
    height: 300px; /* Updated height */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .images-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 0; /* Updated margin */
  }

  .image-shape {
    position: absolute;
    width: 60%;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }

  .image-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .image-shape:first-child {
    left: 0;
    top: 0;
    transform: rotate(-5deg);
    z-index: 2;
  }

  .image-shape:last-child {
    right: 0;
    top: 30px;
    transform: rotate(5deg);
    z-index: 1;
  }

  @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .why-choose-us {
    padding: 6rem 20px;
    background: #f8f9fa;
  }

  .features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
  }

  .feature-block {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  }

  .feature-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .feature-block:nth-child(1) .feature-icon-container {
    background: #FFE5EC;
  }

  .feature-block:nth-child(2) .feature-icon-container {
    background: #E3F2FD;
  }

  .feature-block:nth-child(3) .feature-icon-container {
    background: #E8F5E9;
  }

  .feature-block:nth-child(4) .feature-icon-container {
    background: #FFF3E0;
  }

  .feature-block:nth-child(5) .feature-icon-container {
    background: #F3E5F5;
  }

  .feature-block:nth-child(6) .feature-icon-container {
    background: #E0F7FA;
  }

  .feature-block-icon {
    width: 30px;
    height: 30px;
  }

  .feature-block:nth-child(1) .feature-block-icon { fill: #FF4081; }
  .feature-block:nth-child(2) .feature-block-icon { fill: #2196F3; }
  .feature-block:nth-child(3) .feature-block-icon { fill: #4CAF50; }
  .feature-block:nth-child(4) .feature-block-icon { fill: #FF9800; }
  .feature-block:nth-child(5) .feature-block-icon { fill: #9C27B0; }
  .feature-block:nth-child(6) .feature-block-icon { fill: #00BCD4; }

  .feature-block h3 {
    color: #091933;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin: 0;
  }

  .feature-block p {
    color: #666;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
  }

  @media (max-width: 768px) {
    .who-we-are-content {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
    
    .feature-icons {
      grid-template-columns: 1fr;
    }
    
    .image-grid {
      height: auto;
      gap: 30px;
    }
    
    .image-shape,
    .image-shape.secondary {
      height: 200px; /* Adjusted for mobile */
    }
    
    .image-grid::before,
    .image-grid::after,
    .decorative-circle {
      display: none;
    }
    
    .image-shape:hover,
    .image-shape.secondary:hover {
      transform: none;
    }

    .features-grid {
      grid-template-columns: 1fr;
    }
    
    .feature-block {
      padding: 1.5rem;
    }
  }
  @media (max-width: 768px) {
  .hero {
    height: 60vh; /* Adjust hero height for phone screens */
  }
  .hero h1 {
    font-size: 2.5rem; /* Smaller font size for the title */
  }

  .hero p {
    font-size: 1.2rem; /* Smaller font size for the paragraph text */
  }

  .cta-button {
    font-size: 1rem; /* Smaller button font size */
    padding: 0.8rem 1.5rem; /* Adjust padding to make it fit better */
  }
}