body {
    font-family: 'Lato', sans-serif;
    color: #f8f9fa;
    background-color: #1a1a1a;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: #4CAF50;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #FFD700;
}

h3 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

.site-name {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #FFD700;
}

.navbar {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s ease;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #f8f9fa !important;
    font-weight: 700;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #4CAF50 !important;
}

.offcanvas {
    background-color: #1a1a1a;
}

.offcanvas-header {
    border-bottom: 1px solid #333;
}

.offcanvas-title {
    color: #FFD700;
}

.offcanvas .nav-link {
    color: #f8f9fa !important;
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
}

.hero-section {
    background-image: url('static/content/web3-hero-background.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    position: relative;
    padding-top: 100px; 
    padding-bottom: 50px;
}

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

.btn-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: #1a1a1a;
    font-weight: bold;
    padding: 0.75rem 2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-primary:hover {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #1a1a1a;
}

.btn-outline-primary {
    color: #4CAF50;
    border-color: #4CAF50;
    font-weight: bold;
    padding: 0.75rem 2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-outline-primary:hover {
    background-color: #4CAF50;
    color: #1a1a1a;
}

.btn-outline-secondary {
    color: #FFD700;
    border-color: #FFD700;
    font-weight: bold;
    padding: 0.75rem 2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-outline-secondary:hover {
    background-color: #FFD700;
    color: #1a1a1a;
}

section {
    padding: 5rem 0;
}

.about-section, .courses-section, .why-coroxx-section, .for-whom-section, .program-section, .format-section, .mentors-section, .testimonials-section, .contact-section {
    background-color: #2a2a2a;
    color: #f8f9fa;
}

.about-section img {
    max-width: 100%;
    height: auto;
}

.course-card, .feature-card, .target-card, .mentor-card, .testimonial-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #f8f9fa;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}

.course-card .card-title {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.course-card .card-text-short {
    color: #bbb;
    font-size: 0.95rem;
    flex-grow: 1;
}

.course-meta li {
    color: #4CAF50;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.course-meta li i {
    color: #FFD700;
}

.course-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4CAF50;
    margin-top: 1rem;
}

.icon-large {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.stats-section {
    background-image: url('static/content/abstract-network-background_2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 6rem 0;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
}

.stat-item h3 {
    color: #FFD700;
    font-weight: 700;
}

.stat-item p {
    color: #f8f9fa;
    font-size: 1.2rem;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

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

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

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    margin-left: calc(50% + 20px);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-right: calc(50% + 20px);
}

.timeline-item:nth-child(odd) .timeline-icon {
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: 50%;
    transform: translateX(-50%);
}

.timeline-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #FFD700;
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1;
    border: 2px solid #1a1a1a;
}

.timeline-content {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    width: calc(50% - 40px);
}

.timeline-content h4 {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.learning-list li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.learning-list li i {
    color: #4CAF50;
    font-size: 1.3rem;
}

.mentor-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #4CAF50;
}

.mentor-role {
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-text-small {
    font-size: 0.9rem;
    color: #bbb;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid #FFD700;
}

.testimonial-card .card-text {
    font-style: italic;
    color: #f8f9fa;
}

.contact-section .form-label {
    color: #f8f9fa;
}

.contact-section .form-control, .contact-section .form-select {
    background-color: #333;
    border-color: #555;
    color: #f8f9fa;
}

.contact-section .form-control::placeholder {
    color: #aaa;
}

.contact-section .form-control:focus, .contact-section .form-select:focus {
    background-color: #444;
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
    color: #f8f9fa;
}

.contact-info p i {
    color: #4CAF50;
}

.contact-link {
    color: #FFD700;
    text-decoration: none;
}

.contact-link:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.footer-section {
    background-color: #1a1a1a;
    color: #bbb;
    border-top: 1px solid #333;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.cookie-banner {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #f8f9fa;
    max-width: 350px;
    z-index: 1050; 
    transition: transform 0.3s ease-in-out;
    transform: translateX(0);
}

.fixed-bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.cookie-banner.hidden {
    transform: translateX(calc(100% + 20px));
}

.cookie-banner .cookie-link {
    color: #4CAF50;
    text-decoration: underline;
}

.cookie-banner .cookie-link:hover {
    color: #FFD700;
}

.modal-content {
    background-color: #1a1a1a;
    color: #f8f9fa;
    border: 1px solid #333;
}

.modal-header {
    border-bottom: 1px solid #333;
}

.modal-title {
    color: #FFD700;
}

.modal-footer {
    border-top: 1px solid #333;
}

.form-check-label {
    color: #f8f9fa;
}

.form-text {
    color: #bbb;
    font-size: 0.85rem;
}

.form-check-input:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

@media (max-width: 1100px) {
    .navbar-nav {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand .logo-img {
        height: 35px;
    }

    .site-name {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
    }

    h1 {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    h2 {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    h3 {
        font-size: clamp(1.25rem, 4.5vw, 1.8rem);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-icon {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 0 !important;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        line-height: 1.2;
    }

    h2 {
        font-size: clamp(1.25rem, 6vw, 1.8rem);
    }

    h3 {
        font-size: clamp(1.1rem, 5.5vw, 1.5rem);
    }

    .navbar-brand .logo-img {
        height: 30px;
    }

    .site-name {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 1rem;
    }

    .cookie-banner {
        max-width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 10px;
    }

    .fixed-bottom-right {
        right: auto;
    }

    .cookie-banner.hidden {
        transform: translateY(calc(100% + 10px));
    }
}
.secureTermsHub {
    /* Padding for the main container */
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    /* Optional: Add a max-width and center it for better readability on large screens */
    /* max-width: 1024px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading 1 styles - not too large */
.secureTermsHub h1 {
    font-size: 2.2rem; /* Moderate size for H1 */
    font-weight: 700; /* Bold */
    line-height: 1.2;
    margin-top: 2.5rem; /* Spacing above the heading */
    margin-bottom: 1rem; /* Spacing below the heading */
    color: #dbdbdb; /* Dark grey color for text */
}

/* Heading 2 styles */
.secureTermsHub h2 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #dbdbdb;
}

/* Heading 3 styles */
.secureTermsHub h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.8rem;
    margin-bottom: 0.7rem;
    color: #dbdbdb;
}

/* Heading 4 styles */
.secureTermsHub h4 {
    font-size: 1.25rem;
    font-weight: 500; /* Slightly less bold */
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    color: #dbdbdb;
}

/* Heading 5 styles */
.secureTermsHub h5 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    color: #dbdbdb;
}

/* Paragraph styles */
.secureTermsHub p {
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.6; /* Good line spacing for readability */
    margin-bottom: 1rem; /* Spacing between paragraphs */
    color: #dbdbdb; /* Slightly lighter grey for body text */
}

/* Unordered list styles */
.secureTermsHub ul {
    list-style-type: disc; /* Standard bullet points */
    padding-left: 1.5rem; /* Indentation for bullet points */
    margin-top: 1rem; /* Spacing above the list */
    margin-bottom: 1rem; /* Spacing below the list */
    color: #dbdbdb;
}

/* List item styles */
.secureTermsHub li {
    font-size: 1rem; /* Inherits base font size */
    line-height: 1.6;
    margin-bottom: 0.5rem; /* Spacing between list items */
    color: #dbdbdb;
}
.timeline-content p {
    color: #fff;
}
.form-label {
    color: #000 !important;
}
.navbar-toggler {
    filter: brightness(0) invert(1);
}
main {
    overflow: hidden;
}
@media screen and (width < 992px) {
    .timeline-item:nth-child(odd) .timeline-icon,
.timeline-item:nth-child(even) .timeline-icon {
    left: 20px;
}
}