/* ============================================================
   VP INTERNATIONALS - RESPONSIVE STYLESHEET
   Version: 1.0
   
   Breakpoints:
   - Ultra Wide:    min-width: 1920px
   - Large Desktop: max-width: 1600px
   - Desktop:       max-width: 1200px
   - Tablet:        max-width: 992px
   - Mobile:        max-width: 768px
   - Small Mobile:  max-width: 480px
   - Landscape:     max-height: 500px + orientation: landscape
   - Print Styles
   ============================================================ */


/* ============================================================
   ULTRA WIDE SCREENS (1920px+)
   ============================================================ */

@media (min-width: 1920px) {
    :root {
        --container-padding: clamp(2rem, 4vw, 6rem);
        --section-padding-y: clamp(6rem, 8vw, 10rem);
    }

    /* Larger typography for big screens */
    .hero-title {
        font-size: 5.5rem;
    }

    .hero-subtitle {
        font-size: var(--text-2xl);
    }

    /* Hero visual bigger */
    .hero-visual {
        min-height: 600px;
    }

    .hero-float-card {
        padding: var(--space-5) var(--space-6);
    }

    /* Larger section headers */
    .section-header h2 {
        font-size: 3.5rem;
    }

    /* Service cards more spacious */
    .service-card {
        padding: var(--space-8);
    }

    .service-card-icon {
        width: 64px;
        height: 64px;
    }

    .service-card-icon svg {
        width: 32px;
        height: 32px;
    }

    /* Process timeline bigger circles */
    .process-step-circle {
        width: 100px;
        height: 100px;
    }

    .process-step-number {
        font-size: var(--text-4xl);
    }

    /* Testimonial cards wider */
    .testimonial-card {
        min-width: 420px;
        max-width: 480px;
    }

    /* Featured bento larger */
    .featured-bento-value {
        font-size: var(--text-5xl);
    }

    /* Footer more spacious */
    .footer-grid {
        gap: var(--space-16);
    }
}


/* ============================================================
   LARGE DESKTOP (1440px - 1600px)
   ============================================================ */

@media (max-width: 1600px) and (min-width: 1201px) {
    /* Adjust hero floating cards position */
    .hero-float-card:nth-child(1) {
        top: 8%;
        right: 5%;
    }

    .hero-float-card:nth-child(2) {
        top: 35%;
        left: 0%;
    }

    .hero-float-card:nth-child(3) {
        bottom: 20%;
        right: 10%;
    }

    .hero-testimonial {
        bottom: 0%;
        left: 45%;
    }

    /* Sticky services adjust */
    .sticky-left {
        padding: var(--space-12);
    }

    .sticky-right {
        padding: var(--section-padding-y) var(--space-8);
    }
}


/* ============================================================
   DESKTOP (max-width: 1200px)
   ============================================================ */

@media (max-width: 1200px) {
    /* Hero section - Single column */
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-title {
        font-size: var(--text-5xl);
    }

    /* Hide desktop visual, show mobile */
    .hero-visual {
        display: none;
    }

    .hero-visual-mobile {
        display: grid;
    }

    /* Featured service - Single column */
    .featured-service-container {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .featured-bento-grid {
        max-width: 600px;
    }

    /* Sticky services - Stacked */
    .sticky-services {
        flex-direction: column;
    }

    .sticky-left {
        width: 100%;
        height: auto;
        position: relative;
        padding: var(--section-padding-y) var(--container-padding);
    }

    .sticky-left-content {
        max-width: 600px;
    }

    .sticky-right {
        width: 100%;
        padding: var(--section-padding-y) var(--container-padding);
    }

    /* Services grid 2 columns */
    .services-scroll-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }

    /* Process timeline adjustments */
    .process-timeline::before,
    .process-timeline::after {
        top: 40px;
    }

    .process-step-circle {
        width: 80px;
        height: 80px;
    }

    /* Case studies - 2 columns */
    .case-studies-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-studies-bento .case-study-card:first-child {
        grid-row: span 1;
    }

    /* Contact section - Stacked */
    .contact-section {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        width: 100%;
        padding: var(--section-padding-y) var(--container-padding);
    }

    .contact-left-content {
        max-width: 100%;
        margin: 0;
    }

    .contact-form-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    /* CTA with form - Single column */
    .cta-with-form {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        text-align: center;
    }

    .cta-with-form .cta-content {
        text-align: center;
    }

    /* Footer - 3 columns */
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-8);
    }

    .footer-brand {
        grid-column: span 3;
        max-width: 100%;
        margin-bottom: var(--space-4);
    }

    /* Service page hero */
    .service-hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    /* Mission vision */
    .mission-vision {
        grid-template-columns: 1fr;
    }

    /* Service benefits - 2 columns */
    .service-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Related services - 2 columns */
    .related-services {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Case study featured */
    .case-study-featured {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    /* Testimonials grid - 2 columns */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   TABLET (max-width: 992px)
   ============================================================ */

@media (max-width: 992px) {
    /* Navigation - Show hamburger */
    .navbar-menu {
        display: none;
    }

    .navbar-cta {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Mobile menu visible */
    .mobile-menu {
        display: flex;
    }

    /* Hero adjustments */
    .hero {
        min-height: auto;
        padding-top: calc(80px + var(--space-10));
        padding-bottom: var(--space-12);
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-6);
    }

    /* Featured highlights - Single column */
    .featured-highlights {
        grid-template-columns: 1fr;
    }

    /* Services grid - Single column */
    .services-scroll-grid {
        grid-template-columns: 1fr;
    }

    .services-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Process timeline - 2 columns */
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8) var(--space-6);
    }

    .process-timeline::before,
    .process-timeline::after {
        display: none;
    }

    /* Testimonials header stack */
    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-6);
    }

    .testimonials-header .section-header {
        text-align: left;
    }

    /* Form row - Single column */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Bank details - Single column */
    .bank-details-grid {
        grid-template-columns: 1fr;
    }

    /* Multistep progress - Hide labels */
    .multistep-step-label {
        display: none;
    }

    .multistep-connector {
        width: 40px;
    }

    /* Service selection - 2 columns */
    .service-selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Timeline - Simplified */
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        width: 100%;
        text-align: left;
        padding-left: var(--space-12);
        padding-right: 0;
    }

    .timeline-dot {
        left: 20px;
    }

    /* Floating elements reposition */
    .social-proof {
        left: var(--space-4);
        right: var(--space-4);
        max-width: none;
    }

    .back-to-top {
        right: var(--space-4);
        bottom: var(--space-6);
    }

    .whatsapp-btn {
        right: var(--space-4);
        bottom: calc(var(--space-6) + 56px);
    }
}


/* ============================================================
   MOBILE (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {
    :root {
        --section-padding-y: clamp(3rem, 6vw, 5rem);
        --container-padding: 1rem;
    }

    /* Hero */
    .hero {
        padding-top: calc(70px + var(--space-8));
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stat-number {
        font-size: var(--text-3xl);
    }

    /* Mobile visual grid */
    .hero-visual-mobile {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    /* Section headers */
    .section-header {
        margin-bottom: var(--space-8);
    }

    .section-header h2 {
        font-size: var(--text-3xl);
    }

    /* Featured section */
    .featured-title {
        font-size: var(--text-3xl);
    }

    .featured-bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .featured-bento-card.large {
        grid-column: span 2;
    }

    .featured-bento-value {
        font-size: var(--text-3xl);
    }

    /* Service cards */
    .service-card {
        padding: var(--space-5);
    }

    .service-card-icon {
        width: 48px;
        height: 48px;
    }

    .service-card-icon svg {
        width: 24px;
        height: 24px;
    }

    .service-card-arrow {
        width: 36px;
        height: 36px;
    }

    /* Process timeline - Vertical */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .process-step {
        flex-direction: row;
        text-align: left;
        gap: var(--space-4);
    }

    .process-step-circle {
        width: 64px;
        height: 64px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .process-step-number {
        font-size: var(--text-2xl);
    }

    .process-step-content {
        flex: 1;
    }

    .process-step-title {
        font-size: var(--text-lg);
    }

    .process-step-description {
        max-width: none;
    }

    /* Case studies - Single column */
    .case-studies-bento {
        grid-template-columns: 1fr;
    }

    .case-study-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials */
    .testimonial-card {
        min-width: 280px;
        max-width: 320px;
        padding: var(--space-5);
    }

    .testimonial-content {
        font-size: var(--text-base);
    }

    /* FAQ */
    .faq-question {
        padding: var(--space-4) var(--space-5);
        font-size: var(--text-base);
    }

    .faq-answer-content {
        padding: 0 var(--space-5) var(--space-5);
    }

    /* Contact */
    .contact-left,
    .contact-right {
        padding: var(--space-10) var(--container-padding);
    }

    .contact-form {
        padding: var(--space-6);
    }

    .contact-info-icon {
        width: 44px;
        height: 44px;
    }

    /* CTA */
    .cta-content h2 {
        font-size: var(--text-3xl);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--text-base);
    }

    .btn-lg {
        padding: 0.875rem 1.75rem;
    }

    .btn-xl {
        padding: 1rem 2rem;
    }

    /* Cards general */
    .card {
        padding: var(--space-5);
    }

    .bento-card {
        padding: var(--space-5);
    }

    .bento-card-value {
        font-size: var(--text-3xl);
    }

    /* Pricing cards */
    .pricing-card {
        padding: var(--space-6);
    }

    .pricing-card-amount {
        font-size: var(--text-4xl);
    }

    /* Page hero */
    .page-hero {
        padding-top: calc(70px + var(--space-10));
    }

    .page-hero h1 {
        font-size: var(--text-3xl);
    }

    /* Service hero */
    .service-hero {
        padding-top: calc(70px + var(--space-10));
    }

    .service-hero-content h1 {
        font-size: var(--text-3xl);
    }

    .service-hero-stats {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    /* Service features - Single column */
    .service-features {
        grid-template-columns: 1fr;
    }

    /* Service benefits - Single column */
    .service-benefits {
        grid-template-columns: 1fr;
    }

    /* Related services - Single column */
    .related-services {
        grid-template-columns: 1fr;
    }

    /* Portfolio grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio filters scroll */
    .portfolio-filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: var(--space-2);
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-filter {
        flex-shrink: 0;
    }

    /* Currency tabs scroll */
    .currency-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: var(--space-2);
        -webkit-overflow-scrolling: touch;
    }

    .currency-tab {
        flex-shrink: 0;
    }

    /* Multi-step form */
    .multistep-progress {
        gap: var(--space-1);
    }

    .multistep-step-circle {
        width: 36px;
        height: 36px;
        font-size: var(--text-sm);
    }

    .multistep-connector {
        width: 24px;
    }

    /* Service selection - Single column */
    .service-selection-grid {
        grid-template-columns: 1fr;
    }

    .service-selection-label {
        flex-direction: row;
        padding: var(--space-4);
    }

    /* Form navigation */
    .form-nav {
        flex-direction: column;
    }

    .form-nav .btn {
        width: 100%;
    }

    /* Testimonials grid - Single column */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Sticky CTA bar - Show on mobile */
    .sticky-cta-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: var(--space-3) var(--space-4);
        background: var(--color-white);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: var(--z-fixed);
        transform: translateY(100%);
        transition: transform var(--transition-base);
    }

    .sticky-cta-bar.show {
        transform: translateY(0);
    }

    .sticky-cta-bar .btn {
        width: 100%;
    }

    /* Adjust floating elements for sticky CTA */
    .back-to-top {
        bottom: 80px;
        width: 44px;
        height: 44px;
    }

    .whatsapp-btn {
        bottom: 140px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }

    .social-proof {
        bottom: 80px;
    }
}


/* ============================================================
   SMALL MOBILE (max-width: 480px)
   ============================================================ */

@media (max-width: 480px) {
    :root {
        --container-padding: 0.875rem;
    }

    /* Hero */
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .hero-live-badge {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-3);
    }

    .hero-stat {
        flex: 1 1 45%;
    }

    /* Mobile visual - Single column option */
    .hero-visual-mobile {
        grid-template-columns: 1fr;
    }

    .hero-mobile-stat {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: var(--space-3);
    }

    .hero-mobile-stat-icon {
        margin-bottom: 0;
    }

    /* Section headers */
    .section-header h2 {
        font-size: var(--text-2xl);
    }

    .section-badge {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-3);
    }

    /* Featured bento - Single column */
    .featured-bento-grid {
        grid-template-columns: 1fr;
    }

    .featured-bento-card.large {
        grid-column: span 1;
    }

    /* Process step circle smaller */
    .process-step-circle {
        width: 56px;
        height: 56px;
    }

    .process-step-number {
        font-size: var(--text-xl);
    }

    /* Testimonial card full width */
    .testimonial-card {
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
    }

    /* Footer - Single column */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-certs {
        flex-direction: column;
    }

    /* Contact form */
    .contact-form {
        padding: var(--space-5);
    }

    .form-trust-badge {
        flex-direction: column;
        text-align: center;
    }

    .form-social-proof {
        flex-direction: column;
        text-align: center;
    }

    /* Bank card */
    .bank-card {
        padding: var(--space-5);
    }

    .bank-card-header {
        flex-direction: column;
        text-align: center;
    }

    /* Pricing card */
    .pricing-card-amount {
        font-size: var(--text-3xl);
    }

    /* Legal content */
    .legal-content {
        padding: var(--space-8) 0;
    }

    .legal-content h2 {
        font-size: var(--text-2xl);
    }

    .legal-content h3 {
        font-size: var(--text-xl);
    }

    /* Navbar logo text */
    .navbar-logo-text {
        font-size: var(--text-lg);
    }

    /* CTA */
    .cta-content h2 {
        font-size: var(--text-2xl);
    }

    .cta-content p {
        font-size: var(--text-base);
    }

    /* Feature cards stack */
    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    /* Case study metrics */
    .case-study-metrics {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* ============================================================
   LANDSCAPE MODE (Short height)
   ============================================================ */

@media (max-height: 500px) and (orientation: landscape) {
    /* Hero - Reduce height */
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: var(--space-8);
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-visual {
        display: none;
    }

    .hero-visual-mobile {
        display: none;
    }

    /* Sticky left - Not sticky in landscape */
    .sticky-left {
        position: relative;
        height: auto;
    }

    /* Contact section */
    .contact-section {
        min-height: auto;
    }

    .contact-left,
    .contact-right {
        min-height: auto;
        padding-top: var(--space-10);
        padding-bottom: var(--space-10);
    }

    /* Reduce section padding */
    .section {
        padding: var(--space-10) 0;
    }

    /* Page hero */
    .page-hero {
        padding-top: 80px;
        padding-bottom: var(--space-8);
    }

    /* Service hero */
    .service-hero {
        padding-top: 80px;
        padding-bottom: var(--space-8);
    }

    /* Hide some floating elements */
    .social-proof {
        display: none;
    }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
    /* Hide non-essential elements */
    .navbar,
    .mobile-menu,
    .scroll-progress,
    .social-proof,
    .back-to-top,
    .whatsapp-btn,
    .sticky-cta-bar,
    .cookie-banner,
    .testimonials-nav,
    .portfolio-filters,
    .currency-tabs,
    .btn,
    .form-group,
    .contact-form,
    .cta-section,
    footer .footer-social,
    video,
    iframe {
        display: none !important;
    }

    /* Reset backgrounds */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.5;
    }

    /* Remove shadows and borders */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* Ensure text is readable */
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
    }

    p, li {
        color: #333 !important;
    }

    a {
        color: black !important;
        text-decoration: underline;
    }

    /* Show URLs after links */
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }

    /* Avoid page breaks inside */
    .card,
    .service-card,
    .testimonial-card,
    .case-study-card,
    .faq-item,
    blockquote,
    pre,
    img {
        page-break-inside: avoid;
    }

    /* Hero adjustments */
    .hero {
        min-height: auto !important;
        padding: 20pt 0 !important;
    }

    .hero-visual {
        display: none !important;
    }

    /* Section padding */
    .section {
        padding: 20pt 0 !important;
    }

    /* Images */
    img {
        max-width: 100% !important;
        filter: none !important;
    }

    /* Footer */
    .footer {
        background: white !important;
        color: black !important;
        padding: 20pt 0 !important;
    }

    .footer-link,
    .footer-contact-item,
    .footer-copyright {
        color: #333 !important;
    }

    /* Page margins */
    @page {
        margin: 2cm;
    }
}


/* ============================================================
   REDUCED MOTION (Accessibility)
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-float-card {
        animation: none;
    }

    .clients-marquee {
        animation: none;
    }

    .whatsapp-btn::before {
        animation: none;
    }

    .loading-spinner {
        animation: none;
    }

    .hero-live-badge .live-dot {
        animation: none;
    }
}


/* ============================================================
   HIGH CONTRAST MODE (Accessibility)
   ============================================================ */

@media (prefers-contrast: high) {
    :root {
        --color-primary-green: #6B9B00;
        --color-primary-navy: #000033;
        --color-gray-400: #444444;
        --color-gray-500: #333333;
    }

    .btn-primary {
        background: var(--color-primary-green);
        border: 2px solid var(--color-primary-green);
    }

    .btn-outline {
        border-width: 3px;
    }

    .form-input,
    .form-textarea,
    .form-select {
        border: 2px solid var(--color-dark-gray);
    }

    .service-card,
    .testimonial-card,
    .case-study-card,
    .faq-item {
        border: 2px solid var(--color-dark-gray);
    }
}


/* ============================================================
   DARK MODE SUPPORT (Future enhancement)
   ============================================================ */

/*
@media (prefers-color-scheme: dark) {
    :root {
        --color-white: #0F1F35;
        --color-off-white: #162D4A;
        --color-light-gray: #1E3A5F;
        --color-dark-gray: #E8ECF1;
        --color-primary-navy: #FFFFFF;
        --color-primary-navy-dark: #F5F7FA;
    }
}
*/


/* End of responsive.css */