/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Navigation */
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .language-selector {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Page Header */
    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Value Proposition */
    .value-grid {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat h3 {
        font-size: 1.8rem;
    }

    /* Services */
    .pricing-card {
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Process Steps */
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Profile Grid */
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .placeholder-image {
        width: 100%;
        max-width: 300px;
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    /* Global */
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .logo h1 {
        font-size: 1.3rem;
    }

    .logo .tagline {
        font-size: 0.7rem;
    }

    .nav-menu {
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    /* Hero Section */
    .hero {
        padding: 3rem 1rem;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Page Header */
    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    /* Sections */
    .value-proposition,
    .services-main,
    .add-on-services,
    .how-it-works,
    .cta-section,
    .founder-profile,
    .testimonials,
    .contact-section,
    .faq {
        padding: 2rem 1rem;
    }

    /* Section Headings */
    .value-proposition h2,
    .services-main h2,
    .add-on-services h2,
    .how-it-works h2,
    .testimonials h2,
    .faq h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    /* Pricing Card */
    .pricing-card {
        padding: 1.2rem;
    }

    .price {
        font-size: 1.8rem;
    }

    /* Stats */
    .stats .container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat h3 {
        font-size: 1.5rem;
    }

    .stat p {
        font-size: 0.9rem;
    }

    /* Profile */
    .profile-content h2 {
        font-size: 1.5rem;
    }

    .profile-content .title {
        font-size: 1rem;
    }

    .credentials-list li {
        font-size: 0.95rem;
    }

    .bio {
        font-size: 0.95rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 1.2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Contact Info */
    .contact-info-block h3 {
        font-size: 1.1rem;
    }

    .contact-info-block p {
        font-size: 0.95rem;
    }

    /* FAQ Items */
    .faq-item h4 {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    /* CTA Section */
    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 320px) {
    .logo h1 {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .nav-menu {
        gap: 0.5rem;
        font-size: 0.7rem;
    }

    .page-header h1 {
        font-size: 1.3rem;
    }

    .value-proposition h2,
    .services-main h2 {
        font-size: 1.3rem;
    }

    .price {
        font-size: 1.5rem;
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 300px;
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        margin-bottom: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-buttons,
    .btn {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }

    .page-header {
        page-break-after: avoid;
    }

    section {
        page-break-inside: avoid;
    }
}

/* High Resolution Displays (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Dark Mode Support (Future) */
@media (prefers-color-scheme: dark) {
    /* Can be extended for dark mode support */
}
