:root {
    --primary-blue: #0056b3;
    --dark-blue: #003d82;
    --light-blue: #eef7ff;
    --text-black: #1a1a1a;
    --text-grey: #4a4a4a;
    --white: #ffffff;
    --bg-light: #f9fafb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-black);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* --- Loader --- */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

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

.loader-brand {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.spinner {
    border: 4px solid var(--light-blue);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Top Advertisement Bar --- */
.top-ad-disclaimer {
    background-color: #f0f0f0;
    color: #666;
    font-size: 0.8rem;
    text-align: center;
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
}

.top-ad-disclaimer p {
    margin: 0;
}

/* --- Typeography & Common --- */
h1,
h2,
h3,
h4 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-grey);
    margin-bottom: 3rem;
}

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

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* --- Header --- */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.desktop-nav .nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-black);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-black);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    /* 75% width as requested */
    height: 100%;
    background-color: var(--white);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-black);
}

.mobile-nav-links {
    padding: 20px;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 600px;
    background-image: url('./hero.png');
    /* Using the generated/copied image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 48, 107, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

/* --- About Section --- */
.about-row {
    display: flex;
    gap: 40px;
    align-items: center;
}

.col-half {
    flex: 1;
}

.about-text .section-lead {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-grey);
    margin-bottom: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}

.feature-list i {
    color: var(--primary-blue);
}

.about-img-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--light-blue);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 5rem;
}

.image-wrapper img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

/* --- Why Us Section --- */
.why-us-section {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-grey);
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-black);
    text-align: right;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-black);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-grey);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate max height */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Footer --- */
.main-footer {
    background-color: #111;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns: Contact, Links, Legal */
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
    padding-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-blue);
    width: 20px;
}

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

.footer-links a,
.footer-legal a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-disclaimer {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- Popups / Modals --- */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    /* Start off-screen */
    left: 0;
    width: 100%;
    max-width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    white-space: nowrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-grey);
}

.cookie-text-group {
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    margin-top: 0;
    white-space: nowrap;
}

.cookie-actions .btn-secondary {
    color: var(--text-grey);
    border-color: #ccc;
}

.cookie-actions .btn-secondary:hover {
    background-color: var(--text-grey);
    color: var(--white);
    border-color: var(--text-grey);
}

/* Generic Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {

    .features-grid,
    .testimonials-grid,
    .footer-grid,
    .about-row {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .about-image-container {
        margin-top: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    .desktop-nav,
    .header-actions .btn-primary {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-section {
        height: 500px;
    }

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

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

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}