﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

.heading {
    position: relative;
    background-color: #0a1a3b;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: left;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    overflow: hidden;
    padding-left: 12rem;
    margin-top: -150px;
}

/* Global Styles */
:root {
    --atns-blue: #091933;
    --atns-light: #f5f5f5;
    --transition-speed: 0.3s;
}

body {
    padding-top: 160px;
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding:0;
}

main {
    flex: 1;
}

.logo {
    width: 300px;
    height: auto;
    transition: all var(--transition-speed) ease;
}

header.header {
    background-color: var(--atns-blue);
    color: white;
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .desktop-nav > a,
    .nav-item > .nav-link {
        color: white;
        text-decoration: none;
        cursor: pointer;
        padding: 0.75rem 1rem;
        position: relative;
        display: inline-block;
        font-weight: 500;
        transition: all 0.2s ease;
    }

        .desktop-nav > a:hover,
        .nav-item > .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

.nav-item {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--atns-light);
    padding: 1.5rem;
    z-index: 999;
    width: max-content;
    min-width: 900px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-item:hover > .dropdown {
    display: block;
}

.dropdown-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.dropdown-column {
    flex: 1 1 200px;
}

    .dropdown-column h3 {
        color: var(--atns-blue);
        font-weight: bold;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .dropdown-column hr {
        margin: 0.75rem 0;
        border-color: rgba(0, 38, 77, 0.1);
    }

    .dropdown-column a {
        display: block;
        color: var(--atns-blue);
        text-decoration: none;
        padding: 0.5rem 0;
        transition: all 0.2s ease;
        border-left: 2px solid transparent;
    }

        .dropdown-column a:hover {
            color: #0056b3;
            padding-left: 10px;
            border-left: 2px solid #0056b3;
        }

/* Dropdown arrow for desktop */
.nav-item > .nav-link::after {
    content: "⌄";
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.9em;
}

.nav-item:hover > .nav-link::after {
    transform: rotate(180deg);
}

/* Slider Container */
/* Flexible slide container */
.slide {
    
}

.contact-link {
    color: dodgerblue !important;
    text-decoration: none;
}

    .contact-link:hover {
        color: #ffd700;
    }

/* Text styling */
.text-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #00264d; /* Dark blue from your theme */
}

.text-section p {
    font-size: 1.2rem;
    color: #333;
}

/* Logo styling */
.logo-img {
    max-width: 100%;
    height: auto;
}

/* Ensure carousel adapts to content height */
.carousel-item {
   /* height: auto;
    min-height: unset;*/
}


/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 38, 77, 0.5); /* ATNS blue with transparency */
}

/* Content */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    padding: 20px;
}

    .content h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .content h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .content h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        font-weight: 400;
    }

    .content hr {
        width: 100px;
        margin: 20px auto;
        border: 1px solid white;
    }

/* CTA Button */
.cta-button {
    background-color: #00539C;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

    .cta-button:hover {
        background-color: #003366;
        transform: translateY(-2px);
    }

/* Navigation Buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    font-size: 2rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

    .nav-button:hover {
        background: rgba(255, 255, 255, 0.5);
    }

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Dots Navigation */
.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active {
        background: white;
        transform: scale(1.2);
    }

/* New Styles for Added Sections */
.quick-links, .what-we-do {
    margin: 3rem 0;
    text-align: center;
}

.main-content a {
    text-decoration: none;
    color: var(--atns-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center !important;
}

/* Services Menu */
.services-menu {
    /*background: #f8f9fa;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);*/
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.service-item:hover {
        background-color: #e9ecef;
        text-decoration: none;
    }

.service-text {
    font-size: 16px;
}

.service-item i {
    font-size: 18px;
    color: #007bff;
}

.service-description {
    text-align: left;
}

.affiliatest {
    text-align: left !important;
    align-items: start;
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: underline;
}

/* Heading */


/* Documents Section */
.documents-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.documents-section h2 {
        margin-bottom: 20px;
        font-size: 1.5rem;
        color: #333;
        border-bottom: 1px solid #ccc;
        display: inline-block;
        padding-bottom: 5px;
    }

.documents-section h3 {
    font-size: 14px;
    margin: 10px 0;
    color: #333;
}

.documents-title {
    color: #2c5282;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

h4 {
    font-size: calc(1.275rem + .3vw);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.doc-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.2s ease;
}

.doc-card img {
    width: 64px;
    height: 64px;
}

.doc-card h3 {
    font-size: 14px;
    margin: 10px 0;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

.btn-documents {
    background: linear-gradient(135deg, #2c5282, #1e3a5f);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-documents:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.3);
    color: white;
}

.download-btn {
    font-size: 24px;
    color: #e63946;
    text-decoration: none;
    padding-bottom: 1000px;
}

/*.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;*/
   /* padding: 20px;*/
    /*margin-top: 20px;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}*/

/* Services Menu */
/*.services-menu {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-item:hover {
    background-color: #e9ecef;
    text-decoration: none;
}

.service-text {
    font-size: 16px;
}

.service-item i {
    font-size: 18px;
    color: #007bff;
}

.service-description {
    text-align: left;
}*/

/*
    FORMS
*/

h4 {
    font-size: calc(1.275rem + .3vw);
}


.containeronline {
    display: flex;
    flex-wrap: nowrap; /* prevent wrapping */
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    background-color: #fff;
    border-radius: 8px !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: auto;
}

.left-panel {
    background-color: #081936;
    color: white;
    padding: 30px;
    flex: 0 0 35%; /* fixed width 35% */
    box-sizing: border-box;
}

    .left-panel h3 {
        margin-top: 0;
    }

    .left-panel p {
        font-size: 14px;
        margin: 10px 0;
    }

.right-panel {
    flex: 0 0 65%; /* fixed width 65% */
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.right-panel {
    flex: 0 0 65%; /* fixed width 65% */
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.right-panel h3 {
    margin-bottom: 20px;
}


.form-groupnewline {
    margin-bottom: 15px;
}

    .form-groupnewline label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }
/*/////////////////////////////////*/
/* Form Container */
.form-container {
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-header {
    background: #1e3a5f;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.form-content {
    display: flex;
    min-height: 600px;
}

.form-left {
    flex: 1;
    padding: 30px;
    border-right: 1px solid #e9ecef;
}

.form-right {
    width: 300px;
    background: #1e3a5f;
    color: white;
    padding: 30px;
}

.form-groupnew {
    margin-bottom: 20px;
}

.form-labelnew {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-controlnew {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.3s ease;
    background-color: grey;
    color: grey;
}

.form-contronewl:focus {
    border-color: #2c5282;
    box-shadow: 0 0 0 0.2rem rgba(44, 82, 130, 0.25);
}

.form-rownew {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-colnew {
    flex: 1;
}


.submit-btn {
    background-color: #081936;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    width: 150px;
}

    .submit-btn:hover {
        background-color: #0b2956;
    }


.success {
    color: green;
    margin-bottom: 15px;
}

.quick-link-item, .service-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    color: #00264d;
}

    .quick-link-item:hover, .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .quick-link-item i, .service-item i {
        margin-bottom: 1rem;
    }

    .quick-link-item p, .service-item p {
        margin-top: 1rem;
    }

.no-hover-link:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.banner {
    position: relative;
    width: 100%;
    margin: 3rem 0;
}

    .banner img {
        width: 100%;
        object-fit: cover;
    }

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 38, 77, 0.6);
}

    .banner-overlay h1 {
        font-size: 3rem;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

.stats-section {
    position: relative;
    margin: 4rem 0;
}

    .stats-section img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .stats-section h2 {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: 90%;
    }

.stats {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 90%;
}

.stat-item {
    text-align: center;
    flex: 1 1 200px;
    max-width: 200px;
}

    .stat-item span {
        font-size: 2.5rem;
        font-weight: bold;
        color: #00264d;
    }

.stat-label {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.careers-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.careers-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.careers-content {
    padding: 0 2rem;
}

    .careers-content .btn {
        background-color: #00264d;
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 4px;
    }

.contact-section {
    padding: 3rem 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.email-form-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #00264d;
    border-color: #00264d;
}





.ui-accordion-content {
    height: auto !important;
    overflow: visible !important;
}

    .ui-accordion-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        padding: 1em 0;
    }
#accordion {
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

#accordion h3 {
    background-color: #091933;
    color: white;
    padding: 10px;
    margin: 0;
}

    #accordion h3 p a {
        background-color: blue;
        color: white;
    }


/* FOOTER */

/* Footer Styles */
.footer {
    background-color: var(--atns-blue);
    color: white;
    padding: 2rem 1rem;
    width: 100%;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 300px;
    min-width: 250px;
}

.underline {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

    .underline::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 3px;
        background-color: white;
    }

.social-icons1 {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

    .social-icons1 a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

        .social-icons1 a:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }

    .social-icons1 svg {
        width: 20px;
        height: 20px;
        fill: white;
    }

.Quick-links div {
    margin-bottom: 0.75rem;
}

.Quick-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

    .Quick-links a:hover {
        color: #ccc;
        text-decoration: underline;
    }

.footer-column p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-column a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

    .footer-column a:hover {
        background-color: rgba(255, 255, 255, 0.3);
    }

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


.flag-card {
    border: 2px solid transparent;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
    min-height: 150px;
}

    .flag-card:hover {
        border-color: #0d6efd;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        transform: scale(1.03);
    }

    .flag-card img {
        width: 3rem;
        height: auto;
        margin-bottom: 0.5rem;
        display: block;
    }

    .flag-card p {
        margin: 0;
        font-weight: 600;
        font-size: 0.95rem;
        color: #1f2937;
        text-align: center;
    }

.popupOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    z-index: 1001;
}

.popup-button {
    margin-top: 15px;
    padding: 10px 30px;
    border: none;
    background-color: #0d6efd;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.gridview {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .gridview th, .gridview td {
        border: 1px solid #ccc;
        padding: 8px;
        text-align: left;
        background-color: #f9fafc;
    }

    .gridview thead {
        background-color: #f1f1f1;
    }


/* Mobile Navigation */


.mobile-nav-container {
    display: none;
}

.hamburger {
    display: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    padding: 0.5rem;
    transition: all var(--transition-speed) ease;
}

    .hamburger:hover {
        transform: scale(1.1);
    }

/* Main mobile nav container */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1050;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

    .mobile-nav.show {
        transform: translateX(0);
    }

/* Mobile menu header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 38, 77, 0.1);
    background: white;
    position: sticky;
    top: 0;
    z-index: 2;
}

.mobile-nav-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--atns-blue);
    margin: 0;
}

.close-toggler {
    background: none;
    border: none;
    color: var(--atns-blue);
    font-size: 1.75rem;
    padding: 0.5rem;
}

/* Mobile menu content */
.mobile-nav-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

/* Mobile menu items */
.mobile-nav-item {
    border-bottom: 1px solid rgba(0, 38, 77, 0.1);
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    color: var(--atns-blue);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

    .mobile-nav-link.active {
        color: #0056b3;
        font-weight: 600;
    }

    /* Mobile dropdown indicator */
    .mobile-nav-link.has-children::after {
        content: "+";
        font-size: 1.25rem;
        transition: transform var(--transition-speed) ease;
    }

.mobile-nav-item.active > .mobile-nav-link.has-children::after {
    content: "-";
}

/* Mobile submenu (overlay style) */
.mobile-submenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1051;
    transform: translateX(100%);
    transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

    .mobile-submenu.show {
        transform: translateX(0);
    }

/* Submenu header */
.mobile-submenu-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 38, 77, 0.1);
    background: white;
    position: sticky;
    top: 0;
    z-index: 2;
}

.mobile-submenu-back {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--atns-blue);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
}

    .mobile-submenu-back::before {
        content: "←";
        margin-right: 0.5rem;
        font-size: 1.25rem;
    }

.mobile-submenu-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--atns-blue);
    margin: 0 0 0 1rem;
}

/* Submenu content */
.mobile-submenu-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.mobile-submenu-section {
    margin-bottom: 1.5rem;
}

.mobile-submenu-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--atns-blue);
    margin: 0 0 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(0, 38, 77, 0.1);
}

.mobile-submenu-link {
    display: block;
    padding: 0.75rem 0.5rem;
    color: var(--atns-blue);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    border-left: 3px solid transparent;
}

    .mobile-submenu-link:hover,
    .mobile-submenu-link:active {
        border-left: 3px solid var(--atns-blue);
        padding-left: 10px;
        background-color: rgba(0, 38, 77, 0.05);
    }

/* Overlay for mobile menu */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

    .nav-overlay.show {
        opacity: 1;
        visibility: visible;
    }

#heroCarousel .carousel-item {
    height: auto;
}

#heroCarousel .slide {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make desktop slides fill viewport height, mobile auto-size to content */
@media (min-width: 992px) {
    #heroCarousel .slide {
        min-height: 80vh;
    }
}

/* Text / image styling */
.slide .slide-heading {
    text-align: right;
    font-weight: bolder;
    color: #fff;
}

.slide .slide-subheading {
    text-align: right;
    color: #112f6b;
    font-weight: bolder;
}

.slide .slide-paragraph {
    text-align: justify;
    text-align-last: right;
    color: #fff;
    justify-content: end
}

/* Ensure logo never overflows and scales */
.slide .logo-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container padding tweaks so mobile stacks correctly */
.slide .text-col {
    padding: 1.5rem;
}

.slide .image-col {
    padding: 1.5rem;
    text-align: center;
}

/* Make carousel controls visible on dark backgrounds */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(100%) brightness(100%); /* Makes the default dark icon white */
  
}
/* Make indicators white */
.carousel-indicators button {
    background-color: white !important;
    opacity: 0.5;
}

    .carousel-indicators button.active {
        opacity: 1;
    }


/* Responsive Breakpoints */
@media (max-width: 1199.98px) {
    .dropdown {
        min-width: 800px;
    }
}

/* Desktop adjustments */
@media (min-width: 992px) {

    .body {
        padding: 0;
        margin:0;
    }

    .slide-text {
        margin-left: 200px;
    }

    .slide-image {
        margin-right: 200px;
    }

    .slide-heading {
        font-size: 40px;
        font-weight: bolder;
        color: #fff;
    }

    .slide-subheading {
        font-size: 40px;
        color: #112f6b;
        font-weight: bolder;
    }

    .slide-paragraph {
        font-size: 15px;
        color: #fff;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-top: 50px;
    }

    .logo {
        width: 100px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav-container {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .banner-overlay h1 {
        font-size: 2.5rem;
    }

    .stats-section h2 {
        font-size: 2rem;
    }

    .stat-item {
        flex: 1 1 150px;
    }

    .slide-text, .slide-image {
        margin: 0 !important;
        text-align: center;
    }

    .slide-heading {
        font-size: 28px;
    }

    .slide-subheading {
        font-size: 24px;
    }

    .slide-paragraph {
        font-size: 14px;
    }
}


@media (max-width: 767.98px) {

    .heading {
        position: relative;
        height: 150px;
        color: #fff;
        font-size: 2rem;
        font-weight: bold;
        overflow: hidden;
        padding-left: 0;
        margin-top: -120px;
    }
    
    .mobile-nav-header,
    .mobile-nav-content,
    .mobile-submenu-header,
    .mobile-submenu-content {
        padding: 1rem;
    }

    .close-toggler {
        font-size: 1.5rem;
    }

    /* Slider*/
    /*.slideshow-container {
        padding-bottom: 75%;*/ /* Taller aspect ratio for mobile */
    /*}*/

    .slide {
        text-align: center;
        padding: 20px 10px;
    }

    .text-section h2 {
        font-size: 1.5rem;
    }

    .text-section p {
        font-size: 1rem;
    }

    .content h1 {
        font-size: 1.8rem;
    }

    .content h2 {
        font-size: 1.2rem;
    }

    .content h3 {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .banner-overlay h1 {
        font-size: 2rem;
    }

    .stats-section h2 {
        top: 15%;
        font-size: 1.5rem;
    }

    .stats {
        top: 60%;
        gap: 1rem;
    }

    .stat-item span {
        font-size: 2rem;
    }

    .careers-content {
        padding: 2rem 0 0 0;
    }

    .contact-section .row > div {
        margin-bottom: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-column {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    .heading {
        position: relative;
        /* background-color: #0a1a3b; */
        height: 150px;
        /* display: flex
; */
        /* align-items: flex-start; */
        /* justify-content: left; */
        color: #fff;
        font-size: 2rem;
        font-weight: bold;
        overflow: hidden;
        padding-left: 0;
        margin-top: -120px;
    }
    .banner-overlay h1 {
        font-size: 1.5rem;
    }

    .stats-section h2 {
        top: 10%;
        font-size: 1.2rem;
    }

    .stat-item {
        flex: 1 1 100px;
    }

        .stat-item span {
            font-size: 1.5rem;
        }

    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .heading {
        position: relative;
        /* background-color: #0a1a3b; */
        height: 150px;
        /* display: flex
; */
        /* align-items: flex-start; */
        /* justify-content: left; */
        color: #fff;
        font-size: 2rem;
        font-weight: bold;
        overflow: hidden;
        padding-left: 0;
        margin-top: -120px;
    }

    .content h1 {
        font-size: 1.5rem;
    }

    .content h2 {
        font-size: 1rem;
    }

    .content {
        width: 95%;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}
