/* CSS for Drivetarif - Premium Design System */

.body-container {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    color: #333;
    background-color: #f8faff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.body-container div,
.body-container section,
.body-container header,
.body-container footer,
.body-container nav,
.body-container main {
    box-sizing: border-box;
}

/* Page Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

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

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

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

.loader-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #003399;
    margin: 0;
}

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

/* Top Ad Bar */
.top-ad-bar {
    background-color: #f1f3f9;
    padding: 10px 0;
    border-bottom: 1px solid #e0e4ef;
    text-align: center;
}

.top-ad-text {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    padding: 0 20px;
    font-weight: 500;
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: #003399;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: #ff5a00;
}

.desktop-nav {
    display: block;
}

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

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

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

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

.primary-cta-btn {
    background: linear-gradient(135deg, #ff5a00 0%, #ff8a00 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.3);
}

.primary-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #333;
    left: 0;
}

.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { bottom: -8px; }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: right 0.3s ease-in-out;
}

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

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background-color: #ffffff;
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.mobile-nav-link {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #003399;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #003399;
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: #ff5a00;
    margin: 0 auto;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
    padding: 60px 25px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
    color: #111;
    margin-bottom: 25px;
}

.text-gradient {
    background: linear-gradient(90deg, #003399, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-primary-btn {
    background: #003399;
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 10px 25px rgba(0, 51, 153, 0.2);
}

.hero-primary-btn:hover {
    background: #002266;
    transform: translateY(-3px);
}

.hero-badge {
    background-color: #e6f0ff;
    padding: 10px 20px;
    border-radius: 50px;
    color: #003399;
    font-weight: 600;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-inner {
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.hero-img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

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

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-stats-col {
    display: flex;
    gap: 20px;
}

.stat-card {
    background-color: #f8faff;
    padding: 30px;
    border-radius: 20px;
    flex: 1;
    text-align: center;
    border: 1px solid #e1e7ff;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff5a00;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #fff4ea;
    border-radius: 20px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.custom-icon {
    font-size: 2.5rem;
}

.benefit-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #003399;
    margin-bottom: 15px;
}

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

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

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

.testimonial-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.stars-row {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: #111;
}

.author-status {
    font-size: 0.85rem;
    color: #888;
}

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

.faq-item {
    margin-bottom: 15px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef1f8;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

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

.faq-toggle {
    font-size: 1.5rem;
    color: #ff5a00;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

/* Final CTA */
.final-cta-section {
    padding: 100px 25px;
    background-color: #003399;
    color: white;
    text-align: center;
}

.final-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.final-cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.final-cta-btn {
    display: inline-block;
    background: #ff5a00;
    color: white;
    text-decoration: none;
    padding: 20px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s;
}

.final-cta-btn:hover {
    background: #e65100;
    transform: translateY(-5px);
}

/* Footer */
.main-footer {
    background-color: #111;
    color: #aaa;
    padding: 80px 25px 30px;
}

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

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

.footer-heading {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-info {
    margin-bottom: 10px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

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

.footer-disclaimer-wrapper {
    border-top: 1px solid #333;
    padding-top: 40px;
    text-align: center;
}

.footer-ad-note {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-ad-note-small {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 30px;
}

.copyright-row {
    margin-top: 20px;
}

.copyright-text {
    font-size: 0.85rem;
}

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

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: #ffffff;
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #003399;
    margin-bottom: 25px;
}

.modal-body h3 {
    color: #333;
    margin-top: 25px;
}

/* Cookie Popup */
.cookie-popup-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: #ffffff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 30px;
    z-index: 4000;
    display: none;
    max-width: 500px;
}

.cookie-popup-container.active {
    display: block;
}

.cookie-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.cookie-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

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

.cookie-btn-primary {
    background-color: #003399;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    flex: 1;
}

.cookie-btn-secondary {
    background-color: #f1f3f9;
    color: #444;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    flex: 1;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .header-container {
        padding: 15px 20px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
        margin-bottom: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 767px) {
    .section {
        padding: 60px 20px;
    }

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

    .final-cta-btn {
        width: 100%;
        padding: 18px 20px;
    }

    .cookie-popup-container {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
    }
}
