﻿/* ==============================================
   responsive.css - All Media Query Breakpoints
   FMC Ventures
   ============================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 250px 1.5rem 4rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content-text {
        align-items: center;
        text-align: center;
        order: 1;
        /* Text first on mobile? Or visuals first? Usually visuals or text. User didn't specify. Let's keep text top or visuals top. Standard is often visuals then text, or text then visuals. Let's put Visuals top as it's a carousel */
        order: 2;
    }

    .hero-visuals {
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-carousel {
        max-width: 300px;
        /* Smaller on mobile */
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 7rem 1.5rem 4rem;
    }

    /* å¼ºåˆ¶ç§»é™¤æ‰€æœ‰æ—§çš„èƒŒæ™¯å›¾ç‰‡ */
    .hero-section::before {
        background-image: none;
        background: radial-gradient(circle at 50% 50%, rgba(102, 68, 219, 0.15), transparent 60%);
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        align-items: center;
        /* æŒ‰é’®å±…ä¸­ */
    }

    .btn-hero-primary {
        width: 100%;
        max-width: 300px;
        /* é™åˆ¶æŒ‰é’®æœ€å¤§å®½åº¦ */
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .marketing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .marketing-suite-section {
        padding: 4rem 1.5rem;
    }

    .marketing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .marketing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .client-logo-item {
        width: 120px;
        gap: 2rem;
    }

    .client-logo-track {
        gap: 2rem;
        animation: logoScroll 20s linear infinite;
    }

    @keyframes logoScroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-120px * 8 - 2rem * 8));
        }
    }
}

@media (max-width: 768px) {
    .contact-card {
        padding: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .navbar-inner {
        flex-direction: row;
        /* Keep logo left aligned or allow adjusting */
        justify-content: center;
        /* Center logo if preferred, or flex-start */
        padding: 0.5rem 0;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .about-content {
        padding: 0 1rem;
    }

    /* Hide contact cards on mobile as requested */
    .contact-grid {
        display: none;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .hero-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .cta-buttons {
        margin: 1rem 0 1.5rem;
    }

    .hero-image {
        margin-top: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .contact-card .btn.primary,
    .contact-card form .btn.primary {
        width: fit-content;
        margin: 1rem auto;
    }

    .hero-text-content h1 {
        font-size: 2.5rem;
        min-height: 150px;
    }

    .hero-text-content .animated-text {
        height: 6em;
    }

    .text-item:nth-child(3) {
        font-size: 4.4rem;
    }
}

@media (max-width: 480px) {
    .hero-text-content h1 {
        font-size: 2rem;
        min-height: 120px;
    }

    .static-text {
        font-size: 2rem;
        padding-top: 1.6em;
    }

    .animated-text {
        height: 5em;
        width: 100%;
        max-width: 100%;
    }

    .text-item {
        font-size: 2rem;
        max-width: 100%;
    }

    .text-item:nth-child(3) {
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .payment-methods-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .payment-item {
        padding: 1rem 0.5rem;
    }

    .payment-item i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .payment-item span {
        font-size: 0.75rem;
    }

    .payment-item .fa-cc-visa,
    .payment-item .fa-cc-mastercard,
    .payment-item .fa-cc-amex,
    .payment-item .fa-cc-paypal,
    .payment-item .fa-google-pay,
    .payment-item .fa-apple-pay,
    .payment-item .fa-weixin {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

@media (max-width: 768px) {
    #scenarios .scenario-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    #scenarios .scenario-content h3 {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .scenario-card {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .floating-contact-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .floating-contact-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        height: 40px;
    }
}

@media (max-width: 767px) {
    /* Removed conflicting hero-section rule */

    .hero-content {
        gap: 1.5rem;
    }

    .hero-text-content {
        gap: 1rem;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .static-text {
        font-size: 2.5rem;
        padding-top: 0.4em;
    }

    .animated-text {
        height: 6em;
        width: 100%;
        max-width: 100%;
        padding: 0.5em 0;
        margin: 0.5em 0;
    }

    .text-item {
        font-size: 6rem;
        line-height: 1.2;
        padding: 0.5em 0;
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .security-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .security-container {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .security-text {
        display: none;
    }

    .security-image {
        order: 1;
        height: 400px;
    }

    .security-item {
        height: auto;
    }

    .security-subtitle {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .security-item h4 {
        font-size: 1.2rem;
    }

    .security-item p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }

    .back-to-top-btn i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .back-to-top-btn i {
        font-size: 1rem;
    }
	
	.form-group{    margin-bottom: 0;}
	.field-error{    min-height: unset;}
	.form-row{    gap: 0;}
}

@media (max-width: 1024px) {
    .stats-grid {
        gap: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-title {
        font-size: 1.1rem;
    }

    .stat-description {
        min-height: auto;
    }
}

@media (max-width: 900px) {
    .hero-section {
        padding-top: 7.8rem;
    }

    .hero-title,
    .hero-subtitle {
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
    }
}