/* Custom Reset via Classes */
.page-body, .main-header, .header-container, .logo-container, .desktop-nav, .nav-list, .nav-item, .hero-section, .hero-content, .hero-image-container, .about-section, .about-container, .about-image-wrapper, .about-text-wrapper, .features-section, .features-grid, .feature-card, .testimonials-section, .testimonials-container, .testimonials-grid, .testimonial-card, .faq-section, .faq-accordion, .faq-item, .main-footer, .footer-grid, .footer-col, .footer-links, .footer-link-item, .footer-bottom, .top-ad-banner, .cookie-popup, .cookie-buttons, .modal-overlay, .modal-box, .modal-content, .mobile-nav-overlay, .mobile-nav-list, .mobile-nav-item {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base Styles */
.page-body {
    font-family: 'Outfit', sans-serif;
    background-color: #FAFAFA;
    color: #1c2b36;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #0f2940;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loader-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f2940;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Ad Banner */
.top-ad-banner {
    background-color: #f1f3f5;
    text-align: center;
    padding: 8px 15px;
    border-bottom: 1px solid #e9ecef;
}

.top-ad-text {
    font-size: 0.8rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f2940;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.desktop-nav {
    display: none;
}

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

.nav-link {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e6c15c;
}

.header-cta-container {
    display: none;
}

.cta-button {
    text-decoration: none;
    display: inline-block;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-cta {
    background-color: #0f2940;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(15, 41, 64, 0.2);
}

.primary-cta:hover {
    background-color: #e6c15c;
    color: #0f2940;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 193, 92, 0.3);
}

/* Hamburger */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-bar {
    width: 25px;
    height: 3px;
    background-color: #0f2940;
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1001;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    display: flex;
    flex-direction: column;
    padding: 60px 30px;
}

.mobile-nav-overlay.open {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #0f2940;
    line-height: 1;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.mobile-nav-link {
    text-decoration: none;
    color: #0f2940;
    font-size: 1.4rem;
    font-weight: 600;
}

.mobile-cta-button {
    display: inline-block;
    background-color: #0f2940;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Media Queries for Header */
@media (min-width: 900px) {
    .desktop-nav {
        display: block;
    }
    .header-cta-container {
        display: block;
    }
    .hamburger-menu {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 2.5rem;
    color: #0f2940;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.large-cta {
    background-color: #e6c15c;
    color: #0f2940;
    padding: 15px 35px;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(230, 193, 92, 0.4);
}

.large-cta:hover {
    background-color: #0f2940;
    color: #ffffff;
    transform: translateY(-3px);
}

.hero-image-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

@media (min-width: 900px) {
    .hero-section {
        flex-direction: row;
        margin: 80px auto;
        align-items: center;
    }
    .hero-content {
        flex: 1;
        padding-right: 40px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-image-container {
        flex: 1;
    }
}

/* About Section */
.about-section {
    background-color: #ffffff;
    padding: 60px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.about-image-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
}

.about-text-wrapper {
    text-align: left;
}

.section-heading {
    font-size: 2rem;
    color: #0f2940;
    margin-bottom: 20px;
}

.section-paragraph {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

@media (min-width: 900px) {
    .about-container {
        flex-direction: row-reverse;
        padding: 40px 0;
    }
    .about-image-wrapper, .about-text-wrapper {
        flex: 1;
    }
    .about-text-wrapper {
        padding-right: 40px;
    }
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

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

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

.feature-title {
    font-size: 1.3rem;
    color: #0f2940;
    margin-bottom: 15px;
}

.feature-text {
    color: #666;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Testimonials */
.testimonials-section {
    background-color: #0f2940;
    padding: 80px 20px;
}

.text-white {
    color: #ffffff;
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    color: #f1f3f5;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    color: #e6c15c;
    font-weight: 600;
}

@media (min-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQs */
.faq-section {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-accordion {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f2940;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-icon {
    font-size: 1.5rem;
    color: #e6c15c;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-text {
    padding: 0 20px 20px;
    color: #555;
    line-height: 1.6;
}

/* Footer Section */
.main-footer {
    background-color: #f1f3f5;
    padding: 60px 20px 20px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #dee2e6;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-title {
    font-size: 1.3rem;
    color: #0f2940;
    margin-bottom: 20px;
}

.footer-text {
    color: #555;
    margin-bottom: 10px;
}

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

.footer-link-item {
    margin-bottom: 10px;
}

.footer-link {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #e6c15c;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
}

.footer-ad-note {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 15px;
    line-height: 1.5;
}

.copyright-text {
    font-size: 0.9rem;
    color: #aaa;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: #fff;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
}

.modal-close:hover {
    color: #0f2940;
}

.modal-title {
    font-size: 1.8rem;
    color: #0f2940;
    margin-bottom: 20px;
}

.modal-content {
    max-height: 70vh;
    overflow-y: auto;
}

.modal-text {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0f2940;
    color: #fff;
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    z-index: 1500;
    opacity: 0;
    transition: all 0.5s ease;
    width: 90%;
    max-width: 800px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cookie-popup.show {
    bottom: 30px;
    opacity: 1;
}

.cookie-text {
    font-size: 0.95rem;
    text-align: center;
}

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

.cookie-btn {
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: #e6c15c;
    color: #0f2940;
}

.btn-accept:hover {
    background-color: #fff;
}

.btn-reject {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-reject:hover {
    background-color: rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .cookie-popup {
        flex-direction: row;
        justify-content: space-between;
        border-radius: 15px;
    }
    .cookie-text {
        text-align: left;
    }
}
