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

*, *::before, *::after {
    box-sizing: border-box;
}

.navbar {
    background-color: #1a1a2e;
    transition: background-color 0.3s ease;
}

.navbar-brand .site-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #007bff !important;
}

.offcanvas-header {
    background-color: #1a1a2e;
    color: #fff;
}

.offcanvas-body {
    background-color: #1a1a2e;
}

.hero-section {
    min-height: 100vh;
    background-image: url('pictures/content/hero-background_317.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Adjust for fixed navbar */
    padding-bottom: 80px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section .container {
    z-index: 1;
}

.hero-title {
    margin-top: 80px;
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}
.section-title-2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block; 
    color: #fff !important; 
}
.course-card .card-img-top {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.course-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.modal-body img {
    max-height: 400px;
    object-fit: cover;
}

.who-card .icon-large {
    font-size: 3rem;
    color: #007bff;
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e9ecef;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    margin-left: 55%;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background-color: #007bff;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #007bff;
}

.timeline-content {
    background-color: #fff;
    border: 1px solid #e9ecef;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    top: 20px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #e9ecef;
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    border-width: 10px 10px 10px 0;
    border-color: transparent #e9ecef transparent transparent;
    left: -10px;
}

.advantage-item .icon-large {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.teacher-card .card-img-top {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #007bff;
}

.teacher-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.testimonial-card {
    max-width: 700px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.testimonial-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #00c6ff;
}

.testimonial-card .blockquote-footer {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form {
    border: 1px solid #e9ecef;
}

.contact-info .icon-small {
    font-size: 1.5rem;
}

.email-break-all {
    word-break: break-all;
}

.cookie-banner {
    z-index: 1080;
    bottom: 0;
    left: 0;
    width: 100%;
}

.cookie-banner p {
    font-size: 0.9rem;
}

.cookie-banner .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
    .section-title {
        font-size: 3rem;
    }
    .section-title-2 {
        font-size: 3rem;
    }
    .navbar-brand .site-name {
        font-size: 1.8rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
    .section-title {
        font-size: 3.5rem;
    }
    .section-title-2 {
        font-size: 3.5rem;
    }
    .navbar-brand .site-name {
        font-size: 2.2rem;
    }
}

@media (max-width: 1100px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-toggler {
        display: block;
    }
    .offcanvas-end {
        width: 250px;
    }
    .navbar-collapse {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 80vh;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .lead {
        font-size: 1rem;
    }
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 2rem;
    }
    .section-title::after {
        bottom: -5px;
        width: 40px;
        height: 3px;
    }
    .section-title-2 {
        font-size: 1.7rem;
        margin-bottom: 2rem;
    }
    .section-title-2::after {
        bottom: -5px;
        width: 40px;
        height: 3px;
    }
    .navbar-brand .site-name {
        font-size: 1rem;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }
    .timeline-icon {
        left: 20px;
        transform: translateX(0);
        box-shadow: 0 0 0 3px #fff, 0 0 0 6px #007bff;
    }
    .timeline-item:nth-child(odd) .timeline-content::before {
        border-width: 10px 10px 10px 0;
        border-color: transparent #e9ecef transparent transparent;
        left: -10px;
        right: auto;
    }
    .testimonial-card {
        max-width: 100%;
    }
    .cookie-banner .container {
        flex-direction: column;
    }
    .cookie-banner p {
        margin-bottom: 1rem !important;
    }
    .cookie-banner .d-flex {
        width: 100%;
        justify-content: space-around;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .section-title-2 {
        font-size: 2.2rem;
    }
    .navbar-brand .site-name {
        font-size: 1.4rem;
    }
}
@media (max-width:767px) {
    .timeline-item:nth-child(odd) .timeline-content, .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px !important;
    }
}
.btn-close {
    filter: invert(1);  
    opacity: 1;
}

/* Parent container styling */
.userClauseNet {
    /* Top margin for separation from preceding content */
    margin-top: 2rem;
    /* Horizontal padding for content readability, adjust as needed */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Heading 1 styles */
.userClauseNet h1 {
    /* Font size for main headings, kept moderate */
    font-size: 2.2rem;
    /* Bold font weight for emphasis */
    font-weight: 700;
    /* Top margin for spacing before the heading */
    margin-top: 2.5rem;
    /* Bottom margin for spacing after the heading */
    margin-bottom: 1.2rem;
    /* Line height for readability */
    line-height: 1.2;
}

/* Heading 2 styles */
.userClauseNet h2 {
    /* Font size for sub-headings, smaller than h1 */
    font-size: 1.8rem;
    /* Slightly less bold than h1 */
    font-weight: 600;
    /* Top margin */
    margin-top: 2rem;
    /* Bottom margin */
    margin-bottom: 1rem;
    /* Line height */
    line-height: 1.3;
}

/* Heading 3 styles */
.userClauseNet h3 {
    /* Font size for sub-sub-headings */
    font-size: 1.5rem;
    /* Similar font weight to h2 */
    font-weight: 600;
    /* Top margin */
    margin-top: 1.8rem;
    /* Bottom margin */
    margin-bottom: 0.8rem;
    /* Line height */
    line-height: 1.4;
}

/* Heading 4 styles */
.userClauseNet h4 {
    /* Font size for minor headings */
    font-size: 1.3rem;
    /* Moderate font weight */
    font-weight: 500;
    /* Top margin */
    margin-top: 1.5rem;
    /* Bottom margin */
    margin-bottom: 0.6rem;
    /* Line height */
    line-height: 1.5;
}

/* Heading 5 styles */
.userClauseNet h5 {
    /* Font size for very minor headings or sub-titles */
    font-size: 1.1rem;
    /* Moderate font weight */
    font-weight: 500;
    /* Top margin */
    margin-top: 1.2rem;
    /* Bottom margin */
    margin-bottom: 0.5rem;
    /* Line height */
    line-height: 1.6;
}

/* Paragraph styles */
.userClauseNet p {
    /* Base font size for paragraph text */
    font-size: 1rem;
    /* Line height for optimal readability */
    line-height: 1.6;
    /* Bottom margin for spacing between paragraphs */
    margin-bottom: 1rem;
}

/* Unordered list styles */
.userClauseNet ul {
    /* Top margin for spacing before the list */
    margin-top: 1rem;
    /* Bottom margin for spacing after the list */
    margin-bottom: 1rem;
    /* Left padding for bullet points */
    padding-left: 1.5rem;
    /* Default bullet style */
    list-style-type: disc;
}

/* List item styles */
.userClauseNet li {
    /* Spacing between individual list items */
    margin-bottom: 0.5rem;
    /* Line height for readability within list items */
    line-height: 1.5;
}
section {
    overflow: hidden;
}
#advantages .row {
    justify-content: center !important;
}