/* Global Variables */
:root {
    --primary-color: #003056;
    --secondary-color: #005596;
    --accent-color: #78BE20;
    --accent-hover: #65a01b;
    --text-color: #333333;
    --light-bg: #F4F6F8;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --font-family: 'Inter', sans-serif;
}

/* Reset & Base Styles */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.section-desc {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.bg-light {
    background-color: var(--light-bg);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

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

/* Top Ad Notice */
.top-ad-notice {
    background-color: #fcebeb;
    /* Light warning color */
    color: #cc0000;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: none;
    /* Removing uppercase for a friendlier, modern look */
    letter-spacing: -1.5px;
    /* Tight tracking for a logo feel */
    display: flex;
    align-items: center;
}

.logo .highlight {
    color: var(--accent-color);
    font-weight: 400;
    /* Lighter weight for the second half creates contrast */
}

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

.nav-link {
    color: var(--primary-color);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

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

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-mobile {
    width: 100%;
    margin-top: 20px;
}

/* Hero Section */
.hero {
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 48, 86, 0.7);
    /* Overlay for better text readability */
    padding: 40px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Trust Bar */
.trust-bar {
    background-color: #eef2f5;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.trust-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-logo {
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.trust-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-content {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

.about-image-wrapper img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Why Us cards */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.stars {
    color: gold;
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

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

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* FAQ Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

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

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    background-color: var(--white);
}

.accordion-content p {
    padding-bottom: 20px;
    color: #555;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Approximate height */
}

.arrow {
    transition: transform 0.3s;
}

.accordion-item.active .arrow {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 60px 0 20px;
}

.footer-ad-notice {
    background-color: #333;
    color: #eee;
    padding: 15px;
    margin-bottom: 40px;
    font-size: 0.9rem;
    border: 1px solid #444;
}

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

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

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

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-text {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-text a {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

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

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

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

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: var(--white);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 8px;
    z-index: 5000;
    display: none;
    /* JS will show it */
    border-left: 5px solid var(--accent-color);
}

.cookie-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 6000;
    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: 90%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

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

.close-modal:hover {
    color: #000;
}

.modal h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal h3 {
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.modal p {
    margin-bottom: 15px;
    color: #444;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-container {
        padding: 0 10px;
        /* Slight adjustment for very small screens */
    }

    .logo {
        font-size: 1.8rem;
        /* Smaller logo on mobile */
    }

    /* Hero adjustments */
    .hero {
        height: auto;
        /* Allow content to dictate height */
        min-height: 500px;
        padding: 60px 0;
        background-position: center top;
    }

    .hero-content {
        padding: 30px 20px;
        margin: 0 10px;
        background: rgba(0, 48, 86, 0.85);
        /* Slightly darker for better contrast */
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    /* General Section adjustments */
    .section {
        padding: 50px 0;
        /* Reduced padding */
    }

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

    .section-subtitle {
        font-size: 1.2rem;
    }

    /* Grid layouts */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Trust Bar */
    .trust-container {
        justify-content: center;
        gap: 15px;
    }

    .trust-logo {
        height: 40px;
        /* Smaller logos */
        margin: 5px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-title {
        margin-bottom: 15px;
    }

    .header-actions .btn {
        display: none;
        /* Hide generic CTA in header on mobile to save space, shown in menu */
    }
}

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

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