/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --text-color: #333;
    --white-color: #fff;
    --heading-color: #212529;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--heading-color);
    line-height: 1.2;
}

/* Adaptive Typography */
.site-title {
    font-size: 1.5rem; /* Default for desktop */
}

h1 {
    font-size: 2.5rem; /* Default for desktop */
}

h2 {
    font-size: 2.2rem; /* Default for desktop */
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-title {
        font-size: 1.8rem;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .site-title {
        font-size: 1.25rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .navbar-brand .site-title {
        font-size: 1.25rem !important;
    }
}

.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

/* Header */
#main-header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: var(--heading-color) !important;
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

@media (max-width: 1199px) {
    .navbar-collapse {
        background-color: var(--white-color);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
        border-top: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
        z-index: 1000;
    }
    .navbar-nav {
        flex-direction: column;
    }
    .nav-item {
        margin-bottom: 0.5rem;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Offset for fixed header */
}

.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;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white-color);
    border-color: var(--white-color);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-light:hover {
    background-color: #e2e6ea;
    border-color: #e2e6ea;
    transform: translateY(-2px);
}

/* General Section Styling */
section {
    padding: 6rem 0;
}

section:nth-of-type(even) {
    background-color: var(--light-bg);
}

/* About Us Section */
#about img {
    max-width: 100%;
    height: auto;
}

/* Course Section */
.accordion-button {
    font-weight: 600;
    color: var(--heading-color);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-item {
    border: 1px solid rgba(0,0,0,.125);
    margin-bottom: 0.5rem;
    border-radius: 0.375rem;
}

.accordion-body {
    color: var(--text-color);
}

/* Testimonials */
#testimonialCarousel .carousel-item {
    padding: 2rem;
}

#testimonialCarousel .blockquote {
    font-style: italic;
    color: var(--heading-color);
    font-size: 1.1rem;
}

#testimonialCarousel .blockquote-footer {
    color: var(--secondary-color);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 1rem;
}

/* Infographics Section */
#infographics .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#infographics .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Call to Action */
#contact {
    background-color: var(--primary-color);
    background-image: linear-gradient(45deg, #007bff, #0056b3);
}

/* Footer */
footer a {
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Animation Classes */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible .animate-fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.is-visible .animate-fade-in-right {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll.is-visible .animate-fade-in-left {
    opacity: 1;
    transform: translateX(0);
}

.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

.animate-delay-6 {
    transition-delay: 0.6s;
}

/* Initial Hero Animation */
.hero-section .animate-fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.hero-section h1 {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-section p.lead {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-section .btn {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*
 * Base styles for content within the .consentTunnelGrid container.
 * These styles provide a consistent look for common text elements.
 */

.consentTunnelGrid {
    /* Top margin for spacing above the entire grid */
    margin-top: 2rem;
    /* Horizontal padding for content inside the grid */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    /* Optional: Max width to prevent content from stretching too wide on large screens */
    max-width: 900px; /* Adjust as needed */
    /* Center the grid horizontally if max-width is applied */
    margin-inline: auto;
}

.consentTunnelGrid h1 {
    /* Moderate font size for primary heading */
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.consentTunnelGrid h2 {
    /* Moderate font size for secondary heading */
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.75rem;
    margin-bottom: 0.8rem;
}

.consentTunnelGrid h3 {
    /* Moderate font size for tertiary heading */
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
}

.consentTunnelGrid h4 {
    /* Moderate font size for quaternary heading */
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
}

.consentTunnelGrid h5 {
    /* Moderate font size for quinary heading */
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.consentTunnelGrid p {
    /* Base font size for paragraphs */
    font-size: 1rem;
    line-height: 1.6; /* Good for readability */
    margin-bottom: 1rem; /* Spacing between paragraphs */
}

.consentTunnelGrid ul {
    /* Standard bullet points */
    list-style-type: disc;
    margin-top: 1rem;
    margin-bottom: 1rem;
    /* Indentation for bullet points */
    padding-left: 1.5rem;
}

.consentTunnelGrid li {
    /* Inherit or set base font size for list items */
    font-size: 1rem;
    line-height: 1.5; /* Good for list item readability */
    margin-bottom: 0.5rem; /* Spacing between list items */
}


#cases img{
    width: 100%;
    height: 350px !important;
    object-fit: cover !important;
}

@media (max-width: 575px) {
    nav{
        padding: 15px !important;
    }
}

main{
    overflow: hidden !important;
}