/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header with logo aligned to left edge */
.header {
    background: #1e3a8a;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    max-width: 100%;
    padding: 0 20px;
    margin: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1920px;
    margin: 0 auto;
}

.logo {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-left: auto;
}


.nav-link {
    color: white !important;
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.8;
}

/* Remove old desktop-nav and cta-button styles */
.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: #93c5fd !important;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #1e3a8a;
    transition: right 0.3s ease;
    z-index: 2000;
    padding: 2rem;
}

.sidebar.active {
    right: 0;
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white !important;
    font-size: 2rem;
    cursor: pointer;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.sidebar-link {
    color: white !important;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.sidebar-link:hover {
    opacity: 0.8;
}

/* Global Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
.content-section {
    padding: 4rem 0;
}

.section-blue {
    background-color: #1e3a8a;
    color: white !important;
}

.section-blue h2,
.section-blue h3,
.section-blue h4,
.section-blue p,
.section-blue li,
.section-blue span,
.section-blue label {
    color: white !important;
}

.section-white {
    background-color: #ffffff;
    color: #333 !important;
}

.section-white h2,
.section-white h3,
.section-white h4,
.section-white p,
.section-white li,
.section-white span {
    color: #333 !important;
}

.section-contact {
    background-color: #eff6ff;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.content-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}


.content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.content-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    height: 100%;
}

.content-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background-color: white !important;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3,
.pricing-card h4,
.pricing-card p,
.pricing-card span,
.pricing-card li {
    color: #333 !important;
}

.pricing-content p {
    color: #333 !important;
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333 !important;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    color: #333 !important;
    background-color: white !important;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: #1e3a8a;
    color: white !important;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #1e40af;
}

/* Footer */
.footer {
    background-color: #1e3a8a;
    color: white !important;
    padding: 3rem 0 0 0;
}

.footer-content {
    text-align: center;
}

.footer-info h3,
.footer-info p {
    color: white !important;
    margin-bottom: 0.5rem;
}

.footer-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-bottom {
    background-color: #1e3a8a;
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    text-align: center;
    color: white !important;
    font-size: 0.9rem;
}

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

.popup-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #10b981;
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.popup-content h3 {
    color: #333 !important;
    margin-bottom: 1rem;
}

.popup-content p {
    color: #666 !important;
    margin-bottom: 1.5rem;
}

.popup-button {
    background-color: #1e3a8a;
    color: white !important;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.popup-button:hover {
    background-color: #1e40af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
    display: flex;
    gap: 2.5rem;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
}

    .hamburger {
        display: flex;
    }

    .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

    .section-title {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .logo {
        font-size: 0.9rem;
    }
}

/* Table Styles */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.content-table th,
.content-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937; /* Dark gray text for readability */
}

.content-table th {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white !important; /* Force white text only in headers */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.content-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

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

.content-table tr:hover {
    background-color: #e5e7eb;
    transition: background-color 0.3s ease;
}

.content-table tr:last-child td {
    border-bottom: none;
}

/* Full width content for sections with tables */
.content-full {
    width: 100%;
    max-width: 100%;
}

.content-full p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #374151;
}

/* Section title colors based on background */
.section-blue .section-title {
    color: white;
}

.section-white .section-title {
    color: #1e40af; /* Blue color for white backgrounds */
}

.section-contact .section-title {
    color: #1e40af; /* Blue color for contact section */
}
@media screen and (max-width: 768px) {
    .content-table {
        font-size: 0.85rem;
    }
    
    .content-table th,
    .content-table td {
        padding: 10px 12px;
    }
    
    .content-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* Table title colors based on section background */
.section-blue .section-title {
    color: white; /* White titles on blue background */
}

.section-white .section-title {
    color: #1e40af; /* Blue titles on white background */
}

