/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

@-webkit-keyframes ripple_2 {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    75% {
        -webkit-transform: scale(3);
        transform: scale(3);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(4);
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes ripple_2 {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    75% {
        -webkit-transform: scale(3);
        transform: scale(3);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(4);
        transform: scale(4);
        opacity: 0;
    }
}

@-webkit-keyframes slide-up {
    0% {
        -webkit-transform: translate3d(0, 3rem, 0);
        transform: translate3d(0, 3rem, 0);
        opacity: 0;
        filter: alpha(opacity=0);
        transition-property: opacity, transform;
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slide-up {
    0% {
        -webkit-transform: translate3d(0, 3rem, 0);
        transform: translate3d(0, 3rem, 0);
        opacity: 0;
        filter: alpha(opacity=0);
        transition-property: opacity, transform;
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.slide-up {
    animation-name: slide-up;
}

[data-sal].sal-animate {
    animation-name: slide-up;
	animation-duration: 1.25s;
} 


:root {
    --primary-color: #053655;
    --secondary-color: #FF6A6A;
    --text-color: #333;
    --background-color: #f8fafc;
    --heading-color: #222;
    --eloom-color-border: #FF6A6A;
    
    
  }


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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Header */
.header {
    font-family: 'Poppins', sans-serif;
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo */
.header .logo img {
    max-height: 50px; /* Adjust logo size */
}

.header .navbar { 
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.header .navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    
}

.header .navbar ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.header .navbar ul li a:hover {
    color: #053655;
}

.header .btn-primary {
    background-color: #053655;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header .btn-primary:hover {
    background-color: #002033;
}

/* Breadcrumb */
.breadcrumb {
    margin: 20px 0;
    font-size: 14px;
    color: #777;
    text-align: center;
}

.breadcrumb a {
    text-decoration: none;
    color: #053655;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Course Header */
.course-page-header {
    background-color: #f5f9fa;
    padding: 15px 0px 90px;
    position: relative;
    z-index: 1;   
}

.course-header {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.course-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-header p {
    color: #555;
    font-size: 1rem;
}

@media only screen and (max-width: 767px) {
    .course-header.style-5 .breadcrumb,
    .course-header.style-6 .breadcrumb {
        margin-bottom: 50px;
    }

    .course-header.style-5,
    .course-header.style-6 {
        padding-bottom: 40px;
    }

    .style-6 .breadcrumb-inner {
        padding: 50px 0;
    }
}

.course-header.style-6 .breadcrumb-content {
    position: relative;
}

.course-header .shape-image {
    position: absolute;
    z-index: 1;
  }
  
  .course-header .shape-a {
    top: 100px;
    left: 7%;
  }
  
  .course-header .shape-a img {
    max-width: 85%;
  }
  
  .course-header .shape-b {
    top: 280px;
    right: 129px;
    z-index: 1;
  }
  
  .course-header .shape-c {
    top: 150px;
    right: 10px;
    z-index: -2;
  }
  
  .course-header .shape-d {
    top: -65px;
    left: -110px;
  }
  
  .course-header .shape-1 {
    height: 470px;
    width: 470px;
    border: 1px solid #ddd;
    border-radius: 50%;
    top: -215px;
    left: -60px;
  }
  
  .course-header .shape-2 {
    height: 370px;
    width: 370px;
    border: 1px solid #ddd;
    border-radius: 50%;
    top: 20px;
    right: 0px;
  }
  
  .course-header .shape-3 {
    top: 60px;
    left: -57%;
  }
  
  .course-header .shape-4 {
    bottom: 90px;
    right: 0%;
  }
  
  .course-header .shape-5 {
    top: 100px;
    right: 20px;
  }
  
  /* Responsive Adjustments */
  @media only screen and (max-width: 1750px) {
    .course-header .shape-c {
      top: 100px;
      left: 20;
      z-index: 2;
    }
  }
  
  @media only screen and (max-width: 1550px) {
    .course-header .shape-c {
      top: 100px;
      right: 90;
      z-index: 2;

    }
  }


.pb--60 {
    padding-bottom: 60px !important;
}

.d-none {
    display: none !important;
}

@media (min-width: 1200px) {
	.d-xl-block {
		display: block !important;
	}
}

/* Course Details */
.course-details {
    /* display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px; */
    padding: 20px;
}

.course-container {
    font-family: 'Poppins', sans-serif;
    display: flex;
    /* Flexbox for horizontal alignment */
    gap: 30px;
    /* Increased gap for better spacing */
    max-width: 1400px;
    margin: 0 auto;
    /* Center the content */
}

.content {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex: 4;
    flex-direction: column;
}

.main-content {
    font-family: 'Poppins', sans-serif;
    /* flex: 2; */
    flex: 4;
    /* Larger portion for the main content */
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Left side (main content) */
.main-content .left {
    flex: 2;
    width: 70%; /* Default width for large screens */
}

/* Right side (sidebar content) */
.main-content .right {
    flex: 1;
    width: 30%; /* Default width for large screens */
}


.main-content .tabs {
    font-family: 'Poppins', sans-serif;
    display: flex;
    gap: 20px;
    list-style: none;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding: 0;
}

.main-content .tabs li {
    cursor: pointer;
    font-weight: 500;
    padding: 10px 0;
    color: #777;
}


.tabs {
    list-style: none;
    display: flex;
    padding: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    margin-right: 10px;
    color: #666;
    transition: color 0.3s, border-bottom 0.3s;
}

.tab.active {
    border-bottom: 2px solid #053655;
    color: #053655;
}

/* Tab Content */
.tab-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 0.2px;
    border: 0.5px solid #ddd;
}

.curriculum {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.curriculum ul.curriculum-sections .closed .section-item__loadmore {
    display: none
}

.curriculum ul.curriculum-sections .section {
    margin: 0;
    padding: 0;
    flex-wrap: wrap
}


.curriculum .sections { 
    position: relative;
    z-index: 1;
    list-style: none;
}

.curriculum .sections .section { 
    border: 1px solid #e5e5e5;
    padding: 40px 50px 35px;
}

.curriculum .section-header {
    border: 0 none;
    background: transparent;
    width: 100%;
    text-align: left;
    padding: 0px;
    position: relative;
    transition: 0.4s;
    margin-bottom: 10px;
}

.curriculum .section-left {
    vertical-align: top
}

.curriculum .section-left .section-title {
    padding: 0;
    color: #666;
    font-size: 1.4em;
    letter-spacing: 0;
    text-transform: capitalize;
    display: block
}

.curriculum .section-header .section-left .wrapper-section-title {
    flex: 1
}

.curriculum .curriculum-more__button {
    display: flex;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: #333;
    box-shadow: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-family: sans-serif
}


.curriculum .curriculum-more__button.loading::before {
    display: inline-block;
    margin-right: 5px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f110";
    -webkit-animation: lp-rotating 1s linear infinite;
    -moz-animation: lp-rotating 1s linear infinite;
    animation: lp-rotating 1s linear infinite
}

body #ifr-course-item {
    position: absolute;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff
}


.curriculum .section-header .section-left .section-toggle {
    flex: 0 0 40px;
    align-items: center;
    text-align: center;
    cursor: pointer
}

.curriculum .section-header .section-left .section-toggle .fa-caret-down {
    display: none
}

.curriculum .section-header .learn-press-progress {
    width: 80px
}

.curriculum .section.closed .section-toggle .fa-caret-down {
    display: block
}

.curriculum .section.closed .section-toggle .fa-caret-up {
    display: none
}

.curriculum .section.closed .section-content {
    overflow: hidden;
    height: 0
}

.curriculum .section-item {
    width: 100%;
}

.curriculum .section-content {
    margin: 0;
}

.curriculum .course-item .has-status {
    padding: 14px 0;
}

.curriculum .course-item {
    background: transparent;
}

.curriculum .course-item .course-item-info {
    display: flex;
    padding-left: 0;
    padding-right: 0;
    width: 95%;
    padding: 0 24px 0 8px;
}

.curriculum .course-item .item-name {
    padding: 0;
    color: #181818;
    font-size: 15px;
    font-weight: 400;
    vertical-align: middle;
    line-height: 26px;
    display: table-cell;
}


.curriculum .course-item .item-icon, .curriculum .course-item .item-name {
    display: table-cell;
    color: #333;
    font-weight: 600;
    vertical-align: middle
}

.curriculum .course-item .item-icon::before {
    font-size: 1.125em
}

.curriculum .course-item .item-icon.icon-lock {
    float: right;
    margin-top: 15px
}

.curriculum .section-content .course-item-meta {
    padding: 0;
    margin-left: auto;

    display: table-cell;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}


.curriculum .course-item .course-item-info .course-item-info-pre {
    padding: 0;
    margin-left: auto;  
    /* from another line */
    display: flex;
    flex-flow: row-reverse;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 4px;
    align-items: center;
}

.curriculum ul .curriculum-sections .item-meta::before {
    line-height: 28px !important;
    font-size: 13px !important;

    opacity: 1;
    font-weight: 500;
    padding: 0 7px;
    height: 27px;
}


.curriculum .section-content .course-item-preview {
    font-style: normal;
}

.curriculum .course-item .course-item-info .course-item-info-pre .item-meta {
    font-size: .75em;
    line-height: 1.5
}

.curriculum .course-item .course-item-info .course-item-info-pre .item-meta.duration {
    background: transparent
}



.curriculum .section-content .course-item-meta .course-item-status::before {
    /* padding: 0; */
    color: #999;
    /* -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box; */
    box-sizing: border-box;
}


.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}


.main-content .tabs li.active {
    color: #053655;
    border-bottom: 2px solid #053655;
}

.main-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.main-content h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #555;
}

.main-content ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style: none;
}

.main-content ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

.main-content ul li i {
    color: #053655;
    margin-right: 10px;
}

/* Sidebar */
.sidebar {
    font-family: 'Poppins', sans-serif;
    flex: 1.5;
    /* Smaller portion for the sidebar */
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

.sidebar ul li i {
    color: #053655;
    margin-right: 10px;
}

.sidebar .btn-primary {
    font-family: 'Poppins', sans-serif;
    display: block;
    width: 100%;
    margin-top: 20px;
    background-color: #053655;
    color: white;
    text-align: center;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sidebar .btn-primary:hover {
    background-color: #8272fb;
}

.share h2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
}

.share ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.share ul li a {
    text-decoration: none;
    color: #777;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.share ul li a:hover {
    color: #053655;
}

.share ul li i {
    margin-right: 5px;
}

/* Related Courses */
.related-courses {
    margin-top: 40px;
    padding: 20px;
}

.related-courses h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.course-list {
    font-family: 'Poppins', sans-serif;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.course-card {
    font-family: 'Poppins', sans-serif;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
}

.course-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.course-card p {
    font-size: 1rem;
    color: #777;
}

/* Video Preview */
.video-preview {
    display: inline-block; /* Ensures the frame wraps tightly around the content */
    overflow: hidden; /* Ensures no overflow beyond the frame */
}

.video-preview iframe {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 20px;
}


.image-frame {
    width: 100%;
    height: 150px;
    display: inline-block; /* Ensures the frame wraps tightly around the content */
    overflow: hidden; /* Ensures no overflow beyond the frame */
    /* margin-bottom: 20px; */
}

.image-frame img{ 
  width: 100%; /* Makes the image responsive to the frame width */
  height: auto; /* Maintains the aspect ratio */
  object-fit: contain; /* Ensures the entire image fits within the frame */
  display: block; /* Removes extra space below the image */
  border-radius: 10px; /*Adds radius for image border */
}

/* Course Includes */
.course-includes h2 {
    /* font-size: 1.5rem; */
    margin-bottom: 20px;
}

.course-includes ul {
    list-style: none;
    padding: 0;
}

.course-includes ul li {
    /* margin-bottom: 12px; */
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.course-includes ul li .fas {
    margin-right: 16px;
}

.course-includes .course-meta-informations li .course-feature-item-label {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: #053655;
    margin-right: 16px;
    font-family: var(--eloom-font-secondary)
}

.course-includes .course-sidebar-img-icon {
    font-size: 24px;
    max-width: 35px;
    line-height: 1;
    color: #053655;
    margin-right: 10px;
    margin-left: 4px;
}

.course-includes .course-sidebar-img-icon:hover {
    color: #FF4500; /* Set a hover color */
    transition: color 0.3s ease; /* Smooth color transition */
}


.course-includes ul li strong {
    margin-right: 6px;
}

.course-includes ul li i {
    /* color: #053655; */
    color: var(--heading-color);
    margin-right: 14px;
    font-size: 24px;
    max-width: 35px;
    margin-bottom: 10px;
}

.course-includes .btn-primary {
    margin-top: 20px;
    display: block;
    text-align: center;
    padding: 10px;
}

/* Social Share Section */
.share ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin-top: 15px;
}

.share ul li a {
    text-decoration: none;
    color: #053655;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background-color: white;
    color: #555;
}

.footer .footer-logo img {
    max-height: 40px;
    margin-bottom: 10px;
}

.footer p {
    font-size: 0.9rem;
    color: #777;
}

/* Menu Button */
.menu-button {
    display: none; /* Hidden on larger screens */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 10;
}

.menu-icon {
    width: 25px;
    height: 2px;
    background-color: #333;
    display: block;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    width: 25px;
    height: 2px;
    background-color: #333;
    position: absolute;
    left: 0;
    transition: transform 0.3s;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    top: 8px;
}



/* Responsive Design */

/* For Tablets (768px to 1024px) */
@media (max-width: 1024px) {

    .header .container {
        flex-direction: column; /* Stack logo, navbar, and button */
        align-items: flex-start;
    }
    
    .navbar ul {
        flex-wrap: wrap; /* Allow wrapping of menu items */
        gap: 15px; /* Reduce gap between menu items */
    }

    .navbar ul li a {
        font-size: 14px; /* Smaller font size for tablets */
    }

    .btn-primary {
        font-size: 14px; /* Adjust button font size */
        padding: 8px 16px; /* Reduce button padding */
        margin-top: 10px; /* Add spacing for stacked layout */
    }
    
    .course-container {
        flex-direction: column; /* Stack sections vertically */
    }

    .main-content,
    .sidebar {
        width: 100%; /* Full width for both sections */
    }

    .sidebar {
        margin-top: 20px; /* Add spacing between main and sidebar */
    }
}

/* For Mobile Phones (Up to 767px) */
@media (max-width: 767px) {

    .header .container {
        align-items: stretch; /* Ensure full width alignment */
    }

    .menu-button {
        display: block; /* Show the menu button */
    }

    .navbar {
        max-height: 0; /* Hide the navbar by default */
        overflow: hidden;
        opacity: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 20px;
        border: 1px solid #ddd;
        z-index: 9;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .navbar.open {
        max-height: 500px; /* Enough height to display menu items */
        opacity: 1;
    }

    .navbar ul {
        flex-direction: column; /* Stack menu items vertically */
        width: 100%; /* Full width for menu */
        gap: 10px; /* Smaller gap between items */
        margin-top: 10px; /* Add spacing below the logo */
    }

    .navbar ul li a {
        font-size: 14px; /* Smaller font size */
        text-align: left; /* Align text to the left */
        padding: 8px 0; /* Add padding for better touch targets */
    }

    .course-details {
        padding: 15px; /* Reduce padding for smaller devices */
    }

   

    .btn-primary {
        font-size: 14px; /* Smaller font size */
        padding: 10px 15px; /* Adjust button padding */
        margin-top: 15px; /* Add space between menu and button */
        width: 100%; /* Full width button for mobile */
        text-align: center;
    }

    .video-preview iframe {
        height: 180px; /* Adjust height for smaller screens */
    }
}

/* For Very Small Phones (Up to 480px) */
@media (max-width: 480px) {

    .header {
        padding: 10px; /* Reduce header padding */
    }


    .menu-button {
        display: block; /* Show the menu button */
    }

    .navbar {
        max-height: 0; /* Hide the navbar by default */
        overflow: hidden;
        opacity: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 20px;
        border: 1px solid #ddd;
        z-index: 9;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .navbar.open {
        max-height: 500px; /* Enough height to display menu items */
        opacity: 1;
    }

    .logo img {
        max-height: 40px; /* Reduce logo size */
    }

    .navbar ul {
        gap: 8px; /* Minimal gap between menu items */
    }

    .navbar ul li a {
        font-size: 12px; /* Small font size for very small screens */
    }

    .tabs {
        flex-wrap: wrap; /* Wrap tabs to multiple lines */
        gap: 10px; /* Reduce spacing between tabs */
    }

    .tab {
        flex: 1 1 calc(50% - 50px); /* Fit two tabs per row */
        font-size: 14px; /* Smaller font size */
        text-align: center;
    }

    .tab-content {
        padding: 10px; /* Reduce padding */
    }

    .course-includes ul li {
        font-size: 14px; /* Smaller font size for list items */
    }

    .btn-primary {
        font-size: 12px; /* Smaller font size for button */
        padding: 8px 10px; /* Adjust button padding */
    }

    .video-preview iframe {
        height: 150px; /* Adjust video height */
    }
}