/* ===========================
   HEADER - RESPONSIVE
=========================== */

/* Tablet */
@media (max-width: 992px) {
    nav ul {
        gap: 18px;
    }

    nav ul li a {
        font-size: 11px;
    }

    .btn {
        padding: 6px 16px;
        font-size: 11px;
    }

    .logo a img {
        height: 40px;
        max-height: 40px;
    }

    .logo a .line1 {
        font-size: 16px;
    }

    .logo a .line2 {
        font-size: 12px;
    }

    .logo a {
        gap: 10px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Desktop CTA Hide */
    .btn {
        display: none;
    }

    /* Hamburger Show - Right Side */
    .menu-toggle {
        display: block;
        width: 28px;
        height: 20px;
        cursor: pointer;
        position: relative;
        z-index: 100;
        margin-left: auto;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #0a0a1a;
        border-radius: 2px;
        transition: 0.35s ease;
        position: absolute;
        left: 0;
    }

    .menu-toggle span:nth-child(1) {
        top: 0;
    }

    .menu-toggle span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-toggle span:nth-child(3) {
        bottom: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    /* Offcanvas Navigation - Right Side */
    nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: #ffffff;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: 30px 25px;
        overflow-y: auto;
        z-index: 999;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.06);
        display: block;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    /* Offcanvas Logo */
    .offcanvas-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 20px;
        margin-bottom: 25px;
        border-bottom: 1px solid #f0f0f0;
    }

    .offcanvas-logo a {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        flex-shrink: 0;
    }

    .offcanvas-logo a img {
        height: 55px;
        max-height: 55px;
        width: auto;
        object-fit: contain;
        display: block;
    }

    .offcanvas-logo .logo-text {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
    }

    .offcanvas-logo .line1 {
        font-size: 18px;
        font-weight: 800;
        color: #0a0a1a;
        letter-spacing: 0.3px;
    }

    .offcanvas-logo .line2 {
        font-size: 13px;
        font-weight: 700;
        color: #6c5ce7;
        letter-spacing: 1.2px;
    }

    /* Hide Main Logo on Mobile */
    header .container .logo {
        display: block;
    }

    /* Close Button - Inside Nav */
    .nav-close {
        display: flex !important;
        align-items: center;
        cursor: pointer;
        flex-shrink: 0;
    }

    .nav-close .nav-close-inner {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 10px;
        border-radius: 30px;
        transition: 0.3s;
    }

    .nav-close .nav-close-inner:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    .nav-close .nav-close-inner i {
        font-size: 18px;
        color: #0a0a1a;
        transition: 0.3s;
    }

    .nav-close .nav-close-inner .close-text {
        font-size: 12px;
        font-weight: 500;
        color: #5a5a7a;
        transition: 0.3s;
    }

    .nav-close .nav-close-inner:hover i {
        transform: rotate(90deg);
        color: #6c5ce7;
    }

    .nav-close .nav-close-inner:hover .close-text {
        color: #6c5ce7;
    }

    /* Navigation List */
    nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 18px 0;
        color: #0a0a1a;
        font-size: 15px;
        font-weight: 500;
        text-align: left;
        text-transform: none;
        letter-spacing: 0.3px;
    }

    nav ul li a:hover,
    nav ul li a.active {
        color: #6c5ce7;
    }

    nav ul li a::after {
        display: none;
    }

    /* ===========================
       DROPDOWN - MOBILE (Click Only)
    =========================== */
    nav ul li:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    nav ul li .dropdown {
        width: 100%;
    }

    nav ul li .dropdown>a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        cursor: pointer;
        padding: 14px 0;
        font-size: 15px;
        font-weight: 500;
        color: #0a0a1a;
        text-decoration: none;
    }

    /* Hide Chevron on Mobile */
    nav ul li .dropdown>a i.bi-chevron-down {
        display: none !important;
    }

    /* Plus Icon on Mobile */
    nav ul li .dropdown>a .dropdown-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #8a8aaa;
        transition: 0.3s;
        margin-left: auto;
        flex-shrink: 0;
        width: 24px;
        height: 24px;
    }

    nav ul li .dropdown>a .dropdown-icon i {
        font-size: 18px;
        transition: 0.3s;
    }

    nav ul li .dropdown>a.open .dropdown-icon i {
        transform: rotate(45deg);
        color: #6c5ce7;
    }

    /* Dropdown Menu - Hidden by default, show on click */
    nav ul li .dropdown-menu {
        position: static;
        background: #f8f9ff;
        min-width: 100%;
        padding: 0;
        border-radius: 8px;
        box-shadow: none;
        display: none !important;
        border: none;
        margin: 0 0 8px 0;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
    }

    nav ul li .dropdown-menu.open {
        display: block !important;
        animation: slideDown 0.3s ease;
    }

    nav ul li .dropdown-menu li {
        padding: 0;
    }

    nav ul li .dropdown-menu li a {
        padding: 12px 0 12px 20px;
        font-size: 14px;
        color: #5a5a7a;
        border-radius: 0;
        background: transparent;
    }

    nav ul li .dropdown-menu li a:hover {
        background: transparent;
        color: #6c5ce7;
        padding-left: 26px;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-btn {
        display: block;
        margin-top: 25px;
        padding: 14px 30px;
        background: #6c5ce7;
        color: #fff;
        border-radius: 50px;
        font-weight: 600;
        font-size: 15px;
        text-align: center;
        transition: 0.35s;
        border: none;
        cursor: pointer;
    }

    .mobile-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(108, 92, 231, 0.3);
        color: #fff;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: 0.4s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .offcanvas-logo {
        gap: 8px;
        padding-bottom: 18px;
        margin-bottom: 22px;
    }

    .offcanvas-logo a img {
        height: 48px;
        max-height: 48px;
        width: auto;
    }

    .offcanvas-logo .line1 {
        font-size: 16px;
    }

    .offcanvas-logo .line2 {
        font-size: 12px;
    }

    .offcanvas-logo a {
        gap: 10px;
    }

    nav {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
    }

    nav ul li a {
        font-size: 14px;
        padding: 18px 0;
    }

    .dropdown-icon {
        font-size: 16px;
        width: 20px;
        height: 20px;
    }

    .dropdown-icon i {
        font-size: 16px;
    }

    nav ul li .dropdown-menu li a {
        font-size: 13px;
        padding: 10px 0 10px 18px;
    }

    .mobile-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .nav-close i {
        font-size: 24px;
    }

    .nav-close .nav-close-inner {
        padding: 4px 8px;
    }

    .nav-close .nav-close-inner .close-text {
        font-size: 11px;
    }
}

/* ===========================
   HERO - RESPONSIVE (With Image)
=========================== */

/* Tablet */
@media (max-width: 992px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-image img {
        max-width: 450px;
    }

    .hero-image-badge {
        font-size: 13px;
        padding: 10px 25px;
        bottom: -12px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content h1 br {
        display: none;
    }

    .hero-content p {
        font-size: 16px;
        padding: 0 10px;
    }

    .hero-tag {
        font-size: 12px;
        padding: 4px 16px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 14px;
        padding: 12px 24px;
        white-space: nowrap;
    }

    .hero-stats {
        gap: 25px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .hero-image img {
        max-width: 350px;
    }

    .hero-image-badge {
        font-size: 12px;
        padding: 8px 20px;
        bottom: -10px;
        white-space: nowrap;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 90px 0 40px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
        padding: 0 8px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 13px;
        padding: 10px 20px;
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }

    .hero-stats {
        gap: 15px;
        justify-content: center;
    }

    .stat-number {
        font-size: 18px;
    }

    .stat-label {
        font-size: 11px;
    }

    .hero-image img {
        max-width: 280px;
    }

    .hero-image-badge {
        font-size: 10px;
        padding: 6px 16px;
        bottom: -8px;
        white-space: nowrap;
    }
}

/* ===========================
   WHY SWITCH - RESPONSIVE
=========================== */

/* Tablet */
@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .section-header h2 {
        font-size: 32px;
        line-height: 1.25;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .why-switch {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 15px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .why-card {
        padding: 30px 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .why-switch {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 22px;
        line-height: 1.35;
    }

    .why-card {
        padding: 25px 18px;
    }

    .why-card h3 {
        font-size: 17px;
    }

    .why-card p {
        font-size: 13px;
    }
}

/* ===========================
   ABOUT US - RESPONSIVE
=========================== */

/* Tablet */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h2 {
        font-size: 36px;
    }

    .experience-badge {
        right: 10px;
        bottom: -10px;
        padding: 16px 22px;
    }

    .experience-badge span {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about {
        padding: 70px 0;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .experience-badge {
        padding: 14px 18px;
    }

    .experience-badge span {
        font-size: 24px;
    }

    .experience-badge label {
        font-size: 12px;
    }

    .about-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .about {
        padding: 50px 0;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-feature {
        font-size: 14px;
    }

    .experience-badge {
        padding: 12px 16px;
    }

    .experience-badge span {
        font-size: 20px;
    }
}

/* ===========================
   CLIENTS - RESPONSIVE
=========================== */

/* Tablet — 992px */
@media (max-width: 992px) {
    .clients {
        padding: 55px 0 45px;
    }
    .clients-header {
        margin-bottom: 35px;
    }
    .clientSwiper .swiper-slide img {
        width: 160px;
        height: 85px;
    }
}

/* Mobile — 768px */
@media (max-width: 768px) {
    .clients {
        padding: 50px 0 40px;
    }
    .clients-header {
        margin-bottom: 30px;
    }
    .clients-header span {
        font-size: 12px;
        letter-spacing: 2px;
    }
    .clientSwiper .swiper-slide img {
        width: 140px;
        height: 80px;
    }
    .clientSwiper {
        padding: 0 0 10px;
    }
}

/* Small Mobile — 480px */
@media (max-width: 480px) {
    .clients {
        padding: 45px 0 35px;
    }
    .clients-header {
        margin-bottom: 25px;
    }
    .clients-header span {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    .clientSwiper .swiper-slide img {
        width: 120px;
        height: 70px;
    }
    .clientSwiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    .clientSwiper .swiper-pagination-bullet-active {
        width: 24px;
    }
}

/* ===========================
   SERVICES - RESPONSIVE
=========================== */

/* Tablet */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-card {
        padding: 30px 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .services {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .service-card {
        padding: 30px 25px;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto 18px;
    }

    .service-link {
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .services {
        padding: 10px 0;
    }

    .section-header h2 {
        font-size: 22px;
        line-height: 1.35;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 13px;
    }
}

/* ===========================
   PRICING - RESPONSIVE
=========================== */

/* Tablet */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .pricing {
        padding: 70px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .pricing-card {
        padding: 30px 25px;
    }

    .pricing-card .price {
        font-size: 32px;
    }

    .pricing-badge {
        font-size: 10px;
        padding: 4px 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .pricing {
        padding: 50px 0;
    }

    .pricing-card {
        padding: 25px 20px;
    }

    .pricing-card .price {
        font-size: 28px;
    }

    .pricing-card ul li {
        font-size: 13px;
        padding: 6px 0;
    }

    .pricing-btn {
        font-size: 13px;
        padding: 10px 20px;
    }
}

/* ===========================
   CTA - RESPONSIVE
=========================== */

/* Tablet */
@media (max-width: 992px) {
    .cta h2 {
        font-size: 38px;
    }

    .cta p {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cta {
        padding: 70px 20px;
    }

    .cta h2 {
        font-size: 30px;
    }

    .cta p {
        font-size: 16px;
    }

    .cta-btn {
        padding: 14px 35px;
        font-size: 15px;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .cta {
        padding: 50px 15px;
    }

    .cta h2 {
        font-size: 26px;
    }

    .cta p {
        font-size: 15px;
    }

    .cta-tag {
        font-size: 12px;
        padding: 4px 16px;
    }

    .cta-btn {
        font-size: 14px;
        padding: 12px 25px;
        max-width: 280px;
    }
}

/* ===========================
   CONTACT - RESPONSIVE
=========================== */

/* Tablet */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        order: 1;
    }

    .contact-form {
        order: 2;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .contact {
        padding: 70px 0;
    }

    .contact-form .form-group {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info {
        padding: 30px 20px;
    }

    .contact-form button {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .contact {
        padding: 50px 0;
    }

    .contact-form {
        padding: 25px 15px;
    }

    .contact-info {
        padding: 25px 15px;
    }

    .contact-item {
        gap: 14px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
    }

    .contact-icon i {
        font-size: 18px;
    }

    .contact-item strong {
        font-size: 14px;
    }

    .contact-item p {
        font-size: 13px;
    }
}

/* ===========================
   FOOTER - RESPONSIVE
=========================== */

/* Tablet */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-logo a img {
        height: 35px;
        max-height: 35px;
    }

    .footer-logo .logo-text .line1 {
        font-size: 16px;
    }

    .footer-logo .logo-text .line2 {
        font-size: 12px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer {
        padding-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo {
        font-size: 20px;
    }

    .footer-logo a img {
        height: 30px;
        max-height: 30px;
    }

    .footer-logo .logo-text .line1 {
        font-size: 15px;
    }

    .footer-logo .logo-text .line2 {
        font-size: 11px;
    }

    .footer-col h4 {
        font-size: 16px;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* ✅ Newsletter — Row me fit */
    .newsletter {
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }

    .newsletter input {
        flex: 1;
        min-width: 0;
        padding: 12px 14px;
        font-size: 13px;
    }

    .newsletter button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 50%;
        padding: 0;
        font-size: 16px;
        flex-shrink: 0;
    }

    .payment-icons {
        gap: 10px;
    }

    .payment-icons i {
        font-size: 24px;
    }

    .footer-bottom p {
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-grid {
        gap: 25px;
    }

    .footer-logo {
        font-size: 18px;
    }

    .footer-logo a img {
        height: 25px;
        max-height: 25px;
    }

    .footer-logo .logo-text .line1 {
        font-size: 13px;
    }

    .footer-logo .logo-text .line2 {
        font-size: 10px;
    }

    .footer-logo a {
        gap: 8px;
    }

    .footer-col p {
        font-size: 13px;
    }

    .footer-col ul li a {
        font-size: 13px;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* ✅ Newsletter — Small mobile */
    .newsletter {
        gap: 6px;
    }

    .newsletter input {
        padding: 11px 12px;
        font-size: 12px;
    }

    .newsletter button {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 14px;
    }

    .payment-icons i {
        font-size: 20px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}