.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.header-title {
    margin-right: 10px;
}


.github-link {
    display: flex;
    align-items: center;
}

.github-logo {
    width: 30px;
    height: 30px;
}

.container {
    text-align: center;
}


.toc-container {
    position: fixed;
    left: 0;
    top: 70px; /* Start right below navbar (navbar min-height) */
    width: 220px;
    min-height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
    transition: left 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    color: #14539293;
    padding-top: 0; /* Remove padding - TOC starts immediately */
    box-sizing: border-box;
}

.toc-container.hidden {
    left: -250px; /* Hide the TOC off-screen on mobile devices */
}

.toc h4 {
    margin-bottom: 24px;
    font-weight: 600;
    color: #ffffff;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}


.toggle-btn-internal {
    display: inline-block;
    width: 20px;
    background: none;
    border: none;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    margin-left: 5px;
}


.sub-list {
    margin-top: 10px; /* Add spacing above the sub-list */
}


.toggle-btn-internal:hover {
    color: #5f5f5fc2;
}


/* Ensure the TOC toggle button is positioned correctly */
#toc-toggle {
    position: static; /* Remove fixed positioning */
    z-index: auto;
    background-color: rgba(100, 100, 100, 0.396);
    color: #fff;
    cursor: pointer;
    border: none;
    padding: 14px 24px;
    border-radius: 5px;
    margin-right: 8px; /* Space between button and tagline text */
    font-size: 1rem;
}


.content-wrapper {
    padding: 20px;
    margin-left: 240px; /* Account for wider TOC (220px + 20px spacing) */
    transition: margin-left 0.3s ease; /* Smooth transition */
    border-radius: 10px; /* Rounded corners */
    margin-top: 20px;

    background-image: url('https://storage.googleapis.com/django_hosting/base_images/all-white-folded-paper-strips-background-m3suujs4ekgv932g.jpg');
    background-size: cover;           /* Cover the entire area */
    background-repeat: no-repeat;      /* Prevent tiling */
    background-position: center;       /* Center the image */
    /* Optional: add a semi-transparent overlay for readability */
    position: relative;
    z-index: 1;
}

/* Hide TOC on mobile devices */
@media (max-width: 767px) {

    .navbar {
        position: relative; /* Ensure the navbar is the positioning context */
    }

    .content-wrapper {
        margin-left: 0 !important; /* Remove margin for mobile view */
        width: 100%; /* Ensure it takes up the full width */
    }
    
    .toc-container {
        padding-top: 0; /* Reset padding on mobile */
    }
    
    .toc {
        height: 100vh; /* Full height on mobile */
    }

    .toc-container {
        left: -250px; /* Hide the TOC off-screen */
    }

    .toc-container.open {
        left: 0; /* Slide the TOC into view */
        z-index: 1000; /* Ensure it is above other elements when opened */
    }

    #toc-toggle.open {
        left: auto;
        right: 250px; /* Adjust position when TOC is open on mobile */
    }
}

.contact-content-container {
    margin-top: 20px;
    background: #fff;         /* Set background to white */
    border-radius: 10px;      /* Optional: rounded corners */
    padding: 24px 0 12px 0;   /* Optional: adjust padding as needed */
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align items to the start (left) */
    padding: 20px 0;
    text-align: center;

    flex-direction: row;
    justify-content: center;
    max-width: 300px; /* Limit the width of the footer */
    margin: 20px auto; /* Center the footer and add vertical margin */
    border-radius: 8px; /* Add rounded corners */
}

.contact-content a {
    margin-right: 20px; /* Increase horizontal spacing between elements */
}

.contact-content .gmail-link img {
    width: 30px; /* Set the width of the Gmail icon */
    height: 30px; /* Set the height of the Gmail icon */
}

.contact-content .gmail-link i {
    font-size: 30px; /* Set the size of the Font Awesome icon */
    margin-right: 5px; /* Add some space between the icon and the image */
}

.qxCTlb {
    color: #040404 !important; /* Set the text color to white */
    outline: 2px solid #333
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: 50px;
    margin-top: 20px;
    color: #145392;
    font-weight: 700;
    text-align: center;
}

.feature-box {
    margin-bottom: 30px; /* Add margin to space out the feature boxes */
}


.problem-box {
    margin-bottom: 35px;
    padding: 0 15px;
}

.problem-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #145392;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.problem-title {
    color: #145392;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(20, 83, 146, 0.2);
    text-decoration: none;
}

.challenge-section {
    background: linear-gradient(135deg, #f8f9fb 0%, #f1f3f5 100%);
    border-left: 4px solid #6c757d;
    padding: 20px;
     border-radius: 8px;
    margin-bottom: 25px;
}

.challenge-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #343a40;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.challenge-text {
    margin: 0;
    color: #495057;
    line-height: 1.7;
    font-size: 1rem;
}

.solution-section {
    background: linear-gradient(135deg, #f5fbf7 0%, #e6f4ea 100%);
    border-left: 4px solid #198754;
    padding: 20px;
    border-radius: 8px;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #145392;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.solution-text {
    margin: 0;
    color: #212529;
    line-height: 1.7;
    font-size: 1rem;
}

.problem-box p {
    margin-top: 0;
    margin-bottom: 0;
}


.content-wrapper h3 {
    color: black;
    font-size: 18px;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 0px;
    font-weight: normal;
    text-decoration: underline;
    margin-left: 0;
}

/* Override for problem-title specifically */
.problem-title {
    text-decoration: none;
}

/* Mobile responsive styles for problem cards */
@media (max-width: 767px) {
    .problem-box {
        padding: 0 10px;
        margin-bottom: 25px;
    }
    
    .problem-card {
        padding: 25px 20px;
    }
    
    .problem-title {
        font-size: 1.5rem;
    }
    
    .challenge-section,
    .solution-section {
        padding: 15px;
    }
}

/* Old cloud-setup styles removed - replaced with new card-based layout below */

/* Data Modeling Page Styles */
.data-modeling-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.intro-card {
    margin-bottom: 40px;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #145392;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(20, 83, 146, 0.15);
    border-color: #145392;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-title {
    color: #145392;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-text {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.table-card {
    background: #f8f9fa;
    padding: 30px;
    margin: 40px 0;
}

.outcomes-card {
    margin-top: 40px;
}

.outcomes-title {
    color: #145392;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(20, 83, 146, 0.2);
    text-decoration: none;
}

.outcomes-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.outcomes-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #145392;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.outcome-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(20, 83, 146, 0.2);
}

.outcome-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.outcome-content {
    flex: 1;
}

.outcome-title {
    color: #145392;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.outcome-text {
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Mobile responsive for data modeling */
@media (max-width: 767px) {
    .data-modeling-card {
        padding: 25px 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .outcome-item {
        flex-direction: column;
        text-align: center;
    }
    
    .outcome-icon {
        margin: 0 auto;
    }
    
    .outcomes-title {
        font-size: 1.6rem;
    }
}


/* Cloud Setup Page Styles */
.cloud-header-section {
    text-align: center;
    margin-bottom: 40px;
}

.gcp-logo-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cloud-setup .gcp-logo {
    width: 80px;
    height: auto;
    vertical-align: middle;
}

.cloud-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.cloud-feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    border-top: 4px solid #145392;
    text-align: left;
}

.cloud-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(20, 83, 146, 0.2);
    border-color: #145392;
}

.cloud-feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    text-align: center;
}

.cloud-feature-card .feature-title {
    color: #145392;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(20, 83, 146, 0.2);
    text-align: center;
    text-decoration: none;
}

.cloud-feature-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cloud-feature-card .feature-list li {
    padding: 10px 0 10px 20px;
    position: relative;
    line-height: 1.7;
    color: #555;
    font-size: 1rem;
}

.cloud-feature-card .feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background-color: #145392;
    border-radius: 50%;
}

.why-gcp-card {
    margin-top: 40px;
}

.why-gcp-title {
    color: #145392;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(20, 83, 146, 0.2);
    text-decoration: none;
    text-align: center;
}

.why-gcp-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.why-gcp-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #145392;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.why-gcp-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(20, 83, 146, 0.2);
}

.why-gcp-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.why-gcp-text {
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

/* Mobile responsive for cloud setup */
@media (max-width: 767px) {
    .cloud-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-gcp-content {
        grid-template-columns: 1fr;
    }
    
    .why-gcp-item {
        flex-direction: column;
        text-align: center;
    }
    
    .why-gcp-icon {
        margin: 0 auto;
    }
    
    #cloud-setup .gcp-logo {
        width: 60px;
    }
}

li {
    text-align: left; /* Align text to the left */
    color: rgb(0, 0, 0); /* Set text color to black */
}

.col-md-12.problem-box ul li {
    margin-top: 10px; /* Adds spacing between each list item */
}

.col-md-12.problem-box ul {
    padding-top: 15px; /* Adds top padding to the entire list */
}

.toc {
    flex: 1 1 auto;
    height: 100%; /* Fill container completely */
    background: linear-gradient(180deg, #145392 0%, #1a6bb8 100%);
    padding: 24px 20px;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 3px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

/* Custom scrollbar for TOC */
.toc::-webkit-scrollbar {
    width: 6px;
}

.toc::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.toc::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.toc::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

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

.toc ul li {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toc ul li:last-child {
    border-bottom: none;
}

.toc ul li a, .toc ul li span {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 15px;
}

.toc ul li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    transform: translateX(4px);
    padding-left: 16px;
}

.toc .sub-list {
    margin-left: 12px;
    margin-top: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.toc .sub-list li {
    border-bottom: none;
    margin-bottom: 6px;
    padding: 4px 0;
}

.toc .sub-list li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
}

.toc .sub-list li a:hover {
    opacity: 1;
    color: #ffffff;
}

.toggle-btn-internal {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 4px;
    font-size: 12px;
    color: #ffffff;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 8px;
    transition: all 0.3s ease;
    line-height: 24px;
    text-align: center;
}

.toggle-btn-internal:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: scale(1.1);
}

.toc ul li span {
    font-weight: 500;
}