/* Reset Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #343a40;
}

/* Main Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Section Styles */
.section,
.section-content,
.text-content {
    max-width: 100%;
    overflow: hidden;
}

/* Text Content */
.text-content {
    white-space: normal;
}

.text-content p,
p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

/* List Styles */
ul {
    list-style: disc inside;
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* Navigation Styles */
nav {
    background: #0062d1;
    color: #ffffff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
}

nav .menu {
    list-style: none;
    display: flex;
}

nav .menu li {
    margin-left: 20px;
}

nav .menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav .menu a:hover {
    color: #ffc107;
}

/* Responsive Navigation Menu */
nav .menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
}

nav #menu-toggle {
    display: none;
}

@media (max-width: 1200px) {
    nav .menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #0062d1;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000;
    }

    nav .menu li {
        margin-left: 0;
        width: 100%;
    }

    nav .menu a {
        display: block;
        padding: 15px;
        font-size: 18px;
    }

    nav .menu li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    nav #menu-toggle:checked + .menu {
        display: flex;
    }

    nav .menu-icon {
        display: block;
    }
}

/* Header Styles */
header {
   /* background: url('images/header-bg.jpg') no-repeat center center/cover; */
    height: 500px;
    color: #ffffff;
    text-align: center;
    position: relative;
}

header::before {
    content: "";
    background-color: #007bff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

header .container {
    position: relative;
    z-index: 2;
}

header h1 {
    margin-top: 150px;
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header p {
    font-size: 20px;
    margin: 20px 0;
}

/* Updated Button in Header */
header .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffc107;
    color: #343a40;
    text-decoration: none;
    font-size: 18px;
    border-radius: 50px;
    transition: background 0.3s ease;
    margin-top: 20px;
}

header .btn:hover {
    background-color: #e0a800;
}

/* Main Content Styles */
main {
    padding: 60px 0;
}

main h1 {
    font-size: 42px;
    color: #0062d1;
    margin-bottom: 20px;
    text-align: center;
}

main h2 {
    margin-bottom: 40px;
    color: #0062d1;
    font-size: 32px;
    border-bottom: 3px solid #ffc107;
    display: inline-block;
    padding-bottom: 10px;
}

/* Intro Section */
.intro {
    text-align: center;
    padding: 80px 0;
}

.intro h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.intro p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Content Styles */
.section {
    padding: 60px 0;
}

.section-alt {
    background-color: #f1f3f5;
}

.section-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
}

.section-content img {
    max-width: 40%;
    height: auto;
    margin-right: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.text-content {
    flex: 1;
}

.text-content h3 {
    font-size: 24px;
    color: #0062d1;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0062d1;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 50px;
    transition: background 0.3s ease;
}

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

.btn.btn-primary {
    background-color: #0062d1;
    color: #ffffff !important;
}

.btn.btn-primary:hover {
    background-color: #0056b3;
    color: #ffffff !important;
}

.btn:active {
    transform: scale(0.98);
}

/* Footer Styles */
footer {
    background: #343a40;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
}

footer p {
    margin: 0 0 10px;
}

footer .legal-links {
    margin-bottom: 10px;
}

footer .legal-links a {
    color: #ffffff; /* Ensure links are white */
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

footer .legal-links a:hover {
    text-decoration: underline;
}

footer a {
    color: #ffffff;
}

footer a:hover {
    color: #ffc107;
}

/* Table Container */
.table-content-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch;
}

/* Table Styles */
.table-content {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.table-content th,
.table-content td {
    border: 1px solid #0062d1;
    padding: 10px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    vertical-align: top;
    min-width: 80px;
    max-width: 200px; /* Adjust as needed */
}

.table-content th {
    background-color: #0062d1;
    color: #ffffff;
    text-align: left;
}

.table-content tr:nth-child(even) {
    background-color: #f1f3f5;
}

/* Responsive Adjustments for Tables */
@media (max-width: 768px) {
    .table-content th,
    .table-content td {
        padding: 8px;
        font-size: 16px;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    header h1 {
        margin-top: 120px;
        font-size: 42px;
    }

    header p {
        font-size: 18px;
    }

    main h1 {
        font-size: 36px;
    }

    main h2 {
        font-size: 28px;
    }

    .section-content img {
        max-width: 50%;
    }

    p,
    li {
        font-size: 18px; /* Maintain readable text size on tablets */
    }
}

@media (max-width: 768px) {
    .section-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-content img {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .text-content h3 {
        font-size: 22px;
    }

    nav .menu-icon {
        display: block;
    }

    nav .menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #0062d1;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000;
    }

    nav .menu li {
        margin-left: 0;
        width: 100%;
    }

    nav .menu a {
        display: block;
        padding: 15px;
        font-size: 18px;
    }

    nav .menu li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    nav #menu-toggle:checked + .menu {
        display: flex;
    }
}

@media (max-width: 576px) {
    header {
        height: 400px;
    }

    header h1 {
        margin-top: 100px;
        font-size: 32px;
    }

    header p {
        font-size: 16px;
    }

    header .btn {
        font-size: 16px;
    }

    main h1 {
        font-size: 28px;
    }

    main h2 {
        font-size: 24px;
    }

    p,
    li {
        font-size: 16px; /* Increased mobile font size If it is 18 it fits the rest*/
    }

    .text-content h3 {
        font-size: 20px;
    }

    nav .menu a {
        font-size: 16px;
    }

    .btn,
    .btn.btn-primary {
        font-size: 16px;
    }
}

/* Alternating Layout for Desktop */
.section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.section-content img {
    max-width: 40%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-content .text-content {
    flex: 1;
}

/* Reverse order for even sections */
.section:nth-child(even) .section-content {
    flex-direction: row-reverse;
}

/* Mobile (stacked layout) */
@media (max-width: 768px) {
    .section-content {
        flex-direction: column !important;
        text-align: center;
    }

    .section-content img {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* Global Link Styles */
a {
  color: #0249a2;
  text-decoration: none;
}
a:hover, a:focus {
  color: #0056b3;
  text-decoration: underline;
}

.text-content a:not(.btn),
p a:not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}
footer a:hover,
footer a:focus {
  color: #ffd600;
  text-decoration: underline;
}

a.btn, .btn {
  text-decoration: none !important;
}

/* Miscellaneous Styles */
.button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.button-grid a {
    flex: 1 0 30%;
    text-align: center;
    margin-bottom: 10px;
}
