body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Global Styles */
.bg-dark {
    background-color: #1a1a1a !important;
}

.bg-secondary {
    background-color: #2c2c2c !important;
}

.text-white {
    color: #ffffff !important;
}

.text-primary {
    color: #ff8c00 !important; /* Orange */
}

.btn-primary {
    background-color: #ff8c00;
    border-color: #ff8c00;
    color: #1a1a1a;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

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

.btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

.btn-dark {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-dark:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.section-title {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #ff8c00;
    border-radius: 2px;
}

.text-white .section-title::after {
    background-color: #ff8c00;
}

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

.site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff8c00;
}

/* Header */
.navbar-brand .logo-img {
    height: 35px;
}

.navbar-brand .site-name {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 400;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ff8c00;
}

.btn-enroll-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Offcanvas for mobile menu */
.offcanvas-header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

.offcanvas-title {
    color: #ff8c00;
    font-weight: 700;
}

.offcanvas-body {
    padding: 20px;
}

.offcanvas .navbar-nav .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
}

.offcanvas .btn-enroll-nav {
    width: 100%;
    margin-top: 15px;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('uploads/content/Working_With_With_Background_Computer_Person_Codes_Programming_On.jpg') no-repeat center center/cover;
    min-height: 80vh;
    padding-top: 100px; /* Adjust for fixed header */
    padding-bottom: 50px;
}

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

.hero-section > .container {
    z-index: 2;
}

.hero-image {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

/* About Company Section (Features) */
.feature-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #ff8c00;
}

/* Our Courses Section */
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333 !important;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.course-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.course-card .card-body {
    display: flex;
    flex-direction: column;
}

.course-card .card-title {
    color: #ff8c00;
}

.course-card .list-unstyled li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.course-card .list-unstyled i {
    color: #ff8c00;
}

/* How It Works Section */
.step-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ff8c00;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-icon {
    font-size: 2rem;
    color: #1a1a1a;
}

/* Testimonials Section */
.testimonial-card {
    background-color: #2c2c2c;
    border: 1px solid #333 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #ff8c00;
}

.stars i {
    color: #ffc107;
}

/* FAQ Section */
.accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.accordion-button {
    background-color: #ffffff;
    color: #343a40;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #ff8c00;
    color: #1a1a1a;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #ff8c00;
}

.accordion-body {
    background-color: #f1f1f1;
    color: #343a40;
}

/* CTA Section */
#cta-section {
    background-color: #ff8c00 !important;
}

#cta-section .section-title::after {
    background-color: #1a1a1a;
}

/* Blog Section */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-card .card-title {
    color: #ff8c00;
}

/* Contact Us Section */
.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ff8c00;
}

.contact-info i {
    color: #ff8c00;
}

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

/* Footer */
footer .logo-img {
    height: 30px;
}

footer .site-name {
    font-size: 1.2rem;
}

footer .list-inline-item a {
    font-size: 0.9rem;
}

footer .list-inline-item a:hover {
    color: #ff8c00 !important;
}

/* Modals */
.modal-content {
    border-radius: 0.5rem;
    background-color: #2c2c2c;
    color: #ffffff;
}

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

.modal-title {
    color: #ff8c00;
    font-weight: 600;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body ul {
    padding-left: 20px;
}

.modal-body ul li {
    margin-bottom: 5px;
}

.modal-body ul li::before {
    content: '\2022'; /* Bullet point */
    color: #ff8c00;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Forms */
.form-control {
    background-color: #3a3a3a;
    border: 1px solid #555;
    color: #ffffff;
}

.form-control:focus {
    background-color: #3a3a3a;
    border-color: #ff8c00;
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
}

.form-control::placeholder {
    color: #bbb;
}

.form-label {
    color: #ffffff;
}

.invalid-feedback {
    color: #dc3545;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1070;
    background-color: #1a1a1a !important;
    border-top: 1px solid #333;
}

.cookie-banner p a {
    color: #ff8c00 !important;
    text-decoration: underline;
}

.cookie-banner p a:hover {
    color: #e07b00 !important;
}

#cookieSettingsModal {
    z-index: 1071;
}

/* Responsive Typography */
/* Desktop */
@media (min-width: 1024px) {
    .site-name {
        font-size: 2.2rem;
    }
    h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 2rem;
    }
    h4 {
        font-size: 1.75rem;
    }
    h5 {
        font-size: 1.5rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .site-name {
        font-size: 1.8rem;
    }
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    h4 {
        font-size: 1.5rem;
    }
    h5 {
        font-size: 1.3rem;
    }
    .navbar-brand .site-name {
        font-size: 1.3rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .site-name {
        font-size: 1.25rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    h4 {
        font-size: 1.25rem;
    }
    h5 {
        font-size: 1.1rem;
    }
    .navbar-brand .site-name {
        font-size: 1.1rem;
    }
    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 30px;
    }
    .hero-image {
        max-height: 250px;
    }
    .section-title::after {
        width: 40px;
    }
    .navbar-nav {
        overflow-x: auto;
        white-space: nowrap;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-collapse {
        display: none !important;
    }
    .offcanvas-body .navbar-nav {
        white-space: normal;
    }
    .course-card .mt-auto.d-flex.flex-column.flex-sm-row.gap-2 {
        flex-direction: column !important;
    }
    .cookie-banner .container {
        flex-direction: column;
    }
    .cookie-banner .d-flex.flex-column.flex-sm-row.gap-2 {
        width: 100%;
    }
    .cookie-banner .d-flex.flex-column.flex-sm-row.gap-2 .btn {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .offcanvas {
        visibility: hidden;
    }
    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
    .navbar-expand-lg .offcanvas-body {
        display: flex !important;
        flex-grow: 1;
        padding: 0;
    }
    .navbar-expand-lg .offcanvas-body .navbar-nav {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding-right: 0 !important;
    }
    .navbar-expand-lg .offcanvas-body .navbar-nav .nav-item {
        margin-left: 15px;
    }
    .navbar-expand-lg .offcanvas-body .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        border-bottom: none;
    }
    .navbar-expand-lg .offcanvas-body .navbar-nav .btn-enroll-nav {
        margin-top: 0;
    }
}
/* Parent container for informational content, providing overall spacing */
.infoGuardBlock {
    margin-top: 2.5em; /* Top spacing for the entire block */
    margin-bottom: 2.5em; /* Bottom spacing for the entire block */
    padding-left: 1.5em; /* Left padding for content within the block */
    padding-right: 1.5em; /* Right padding for content within the block */
    /* Optional: max-width for better readability on very wide screens */
    /* max-width: 800px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading 1 styles within infoGuardBlock */
.infoGuardBlock h1 {
    font-size: 2em; /* Not excessively large, relative to base font */
    margin-top: 1.8em; /* Top margin for separation from preceding content */
    margin-bottom: 0.8em; /* Bottom margin for separation from following content */
    line-height: 1.2; /* Improved readability for large headings */
    font-weight: 700; /* Standard bold weight */
}

/* Heading 2 styles within infoGuardBlock */
.infoGuardBlock h2 {
    font-size: 1.7em; /* Relative font size */
    margin-top: 1.6em;
    margin-bottom: 0.7em;
    line-height: 1.25;
    font-weight: 600; /* Slightly less bold than h1 */
}

/* Heading 3 styles within infoGuardBlock */
.infoGuardBlock h3 {
    font-size: 1.4em;
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    line-height: 1.3;
    font-weight: 600; /* Similar to h2 or slightly less */
}

/* Heading 4 styles within infoGuardBlock */
.infoGuardBlock h4 {
    font-size: 1.2em;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.4;
    font-weight: 500; /* Moderate font weight */
}

/* Heading 5 styles within infoGuardBlock */
.infoGuardBlock h5 {
    font-size: 1.1em; /* Slightly larger than paragraph text */
    margin-top: 1em;
    margin-bottom: 0.4em;
    line-height: 1.5;
    font-weight: 500;
}

/* Paragraph styles within infoGuardBlock */
.infoGuardBlock p {
    font-size: 1em; /* Standard paragraph size, inherits from base */
    margin-bottom: 1em; /* Spacing between paragraphs */
    line-height: 1.6; /* Good readability for body text */
}

/* Unordered list styles within infoGuardBlock */
.infoGuardBlock ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1em; /* Top spacing for the list */
    margin-bottom: 1em; /* Bottom spacing for the list */
    padding-left: 2em; /* Indentation for bullet points */
}

/* List item styles within infoGuardBlock */
.infoGuardBlock li {
    margin-bottom: 0.5em; /* Spacing between individual list items */
    line-height: 1.5; /* Readability for list item text */
}
