/* CSS Variables */
:root {
    --primary-color: #005bea;
    --secondary-color: #00ceab;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --text-color: #333333;
    --gray-color: #6c757d;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --font-family: 'Inter', sans-serif;
    --container-width: 1200px;
}

/* Global Reset & Base Styles */
/* Avoiding the * selector as requested */
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(--light-color);
}

.global-reset {
    /* Utility class for body if needed specifically */
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--gray-color);
    color: var(--white-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

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

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

.loader-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 91, 234, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Advert Top Note */
.advert-top-note {
    background-color: #f1f1f1;
    color: #666;
    font-size: 0.85rem;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

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

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    /* Requested 75% width */
    height: 100%;
    background-color: var(--white-color);
    padding: 60px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

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

.close-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-color);
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    margin-bottom: 20px;
}

.mobile-nav-item a {
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--dark-color);
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(rgba(26, 26, 46, 0.4), rgba(26, 26, 46, 0.4)), url('hero_bg.png') no-repeat center center/cover;
    text-align: center;
    position: relative;
    background-color: #e0e5ec;
}

.hero-content {
    max-width: 800px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* About Section */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
}

.about-us-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.about-us-img:hover {
    transform: scale(1.02);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s;
    box-shadow: var(--shadow-sm);
}

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

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Testimonials */
.testimonials-section {
    background-color: #f0f4f8;
}

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

.testimonial-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
}

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

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

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

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

.faq-item {
    border-bottom: 1px solid #eee;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-question.active::after {
    content: '-';
}

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

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

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

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

.footer-col h3 {
    color: var(--white-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white-color);
}

.footer-links {
    list-style: none;
}

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

.footer-advert-note {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-bottom: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* Cookie Popup */
/* Cookie Popup - Centered Modal */
.cookie-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Dark overlay */
    z-index: 12000;
    /* Higher than other modals */
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

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

.cookie-content {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-out;
}

.cookie-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--dark-color);
    font-weight: 700;
}

.cookie-content p {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cookie-buttons .btn {
    min-width: 120px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 11000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: var(--dark-color);
}

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

.modal-content p {
    margin-bottom: 15px;
}

/* Media Queries */
@media (max-width: 768px) {

    .nav-list,
    .header-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .about-content {
        flex-direction: column;
    }

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