/* Custom Variables */
:root {
    --primary-color: #0d3b66;     /* Deep Solar Blue */
    --secondary-color: #f4a261;   /* Solar Orange */
    --accent-color: #e9c46a;      /* Sun Yellow */
    --bg-light: #f9fbfd;
    --text-dark: #2b2d42;
    --text-muted: #666;
    --white: #ffffff;
    --black: #000000;
    --border-color: #eee;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base Body Styles */
.page-html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

.page-body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility / Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ad Banner */
.ad-banner {
    background-color: var(--bg-light);
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-color);
}

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

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.desktop-nav {
    display: none;
}

.nav-list, .mobile-nav-list, .footer-list, .hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-right: 20px;
}

.nav-link, .mobile-nav-link, .footer-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-link:hover, .mobile-nav-link:hover, .footer-link:hover {
    color: var(--secondary-color);
}

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

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-button:hover {
    background-color: #e08b49;
    transform: translateY(-2px);
}

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

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 200;
    transition: var(--transition);
}

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

.mobile-menu-content {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.close-menu-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--primary-color);
    cursor: pointer;
}

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

.mobile-nav-link {
    font-size: 18px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--white) 0%, #e6eff7 100%);
    padding: 50px 0;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.hero-cta-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 25px;
}

.hero-cta-btn:hover {
    background-color: #092a4a;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.feature-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.hero-image-wrapper {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

/* Common Section */
.section-container {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 40px;
    margin-top: 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.about-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.about-card-title {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 0;
    color: var(--primary-color);
}

.about-card-desc {
    font-size: 15px;
    color: var(--text-muted);
}

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

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.why-item:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.why-icon {
    font-size: 30px;
}

.why-item-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--primary-color);
}

.why-item-desc {
    font-size: 14px;
    margin: 0;
    color: var(--text-muted);
}

/* Banner section */
.banner-section {
    padding: 40px 0;
    background-color: var(--bg-light);
}

.full-width-banner-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.testimonials-section .section-title {
    color: var(--white);
}

.testi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testi-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.testi-stars {
    color: var(--accent-color);
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
}

.testi-text {
    font-size: 15px;
    font-style: italic;
    margin-bottom: 15px;
}

.testi-author {
    font-weight: 700;
    margin: 0;
}

/* FAQ */
.faq-accordion {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    background-color: var(--white);
}

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

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--secondary-color);
}

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

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

.faq-p {
    padding: 0 20px 20px;
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
}

/* Footer */
.main-footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-contact-info {
    margin: 0 0 10px 0;
    color: var(--text-muted);
    font-size: 14px;
}

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

.footer-link {
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.footer-important-msg {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
}

.footer-copyright {
    font-size: 13px;
    color: var(--primary-color);
    margin: 0;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-box {
    background-color: var(--white);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
}

.modal-title {
    margin-top: 0;
    color: var(--primary-color);
}

.modal-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 500;
    transition: bottom 0.5s ease;
}

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

.cookie-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    transition: var(--transition);
}

.cookie-accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.cookie-accept:hover {
    background-color: #092a4a;
}

.cookie-reject {
    background-color: #e0e0e0;
    color: var(--text-dark);
}

.cookie-reject:hover {
    background-color: #cccccc;
}

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

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

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

.loader-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

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

/* Media Queries */
@media (min-width: 768px) {
    .hamburger-btn {
        display: none;
    }
    
    .desktop-nav {
        display: block;
    }
    
    .nav-list {
        display: flex;
    }
    
    .hero-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .hero-text {
        text-align: left;
        width: 50%;
    }
    
    .hero-features {
        align-items: flex-start;
    }
    
    .hero-image-wrapper {
        width: 45%;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .about-grid, .why-grid, .testi-grid, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .cookie-actions {
        flex: 0 0 auto;
    }
}

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