/* Mobile Styles */

@media (max-width: 768px) {
    .home-page main {
        padding: 0;
    }

    .home-page .process-container,
    .home-page .case-study-container,
    .home-page .about-container,
    .home-page .contact-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-header {
        padding: 15px 20px;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .hamburger-menu {
        display: flex;
    }

    .logo {
        width: auto;
        justify-content: flex-start;
    }

    .logo-image {
        height: 40px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        gap: 0;
        padding: 80px 30px 30px;
        border-left: 1px solid var(--color-primary);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 174, 239, 0.3);
    }

    .main-nav.active {
        right: 0;
    }

    /* Mobile menu overlay */
    .main-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .main-nav.active::before {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        padding: 16px 0;
        font-size: 18px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 174, 239, 0.2);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hero-icon-image {
        height: 60px;
    }

    .footer-logo-image {
        height: 45px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-section {
        min-height: 60vh;
        padding: 0;
        padding-top: 80px;
        padding-bottom: 80px;
        width: 100%;
        margin: 0;
        overflow: hidden;
    }

    .hero-bg-image {
        filter: brightness(0.25) contrast(1.3) saturate(1.4);
        transform: scale(1.1);
    }

    .service-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .service-btn {
        width: auto;
        min-width: 100px;
        flex: 0 0 calc(50% - 8px);
        padding: 10px 16px;
        font-size: 13px;
    }

    .process-section {
        overflow: visible;
        padding-top: 0;
        margin-top: 0;
    }

    .process-container {
        padding: 60px 0;
    }

    .process-navigation {
        flex-wrap: nowrap;
        gap: 4px;
        overflow: visible;
        justify-content: space-between;
        padding: 10px 0;
        margin: 0 -5px;
    }

    .process-nav-item {
        flex: 0 0 auto;
        width: calc((100% - 24px) / 7);
        min-width: 0;
        padding: 2px;
    }

    .nav-number-wrapper {
        width: 48px;
        height: 48px;
        max-width: 100%;
        margin: 0 auto;
    }

    .progress-ring {
        width: 48px !important;
        height: 48px !important;
        max-width: 100%;
    }

    .progress-ring-circle-bg,
    .progress-ring-circle {
        stroke-width: 2;
        cx: 24;
        cy: 24;
        r: 22;
    }

    .progress-ring-circle {
        stroke-dasharray: 138;
        stroke-dashoffset: 138;
    }

    @keyframes progress {
        0% {
            stroke-dashoffset: 138;
        }
        100% {
            stroke-dashoffset: 0;
        }
    }

    .nav-number {
        width: 42px;
        height: 42px;
        max-width: 100%;
        font-size: 15px;
        line-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-label {
        display: none;
    }

    .slide-number {
        font-size: 48px;
    }

    .slide-title {
        font-size: 28px;
    }

    .slide-header {
        overflow: visible;
        padding-top: 10px;
        padding-bottom: 25px;
    }

    .carousel-pause-btn {
        width: 40px;
        height: 40px;
        border-width: 1.5px;
        margin-right: 10px;
    }

    .carousel-pause-btn svg {
        width: 18px;
        height: 18px;
    }

    .process-carousel {
        min-height: auto;
        height: auto;
    }

    .slide-content.columns-2,
    .slide-content.columns-3,
    .slide-content.columns-4 {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: auto;
    }

    .content-column h4 {
        font-size: 16px;
    }

    .content-column p {
        font-size: 13px;
    }

    .carousel-controls {
        margin-top: 30px;
    }

    .carousel-prev,
    .carousel-next {
        width: 44px;
        height: 44px;
    }

    .case-study-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .case-study-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .case-study-number {
        font-size: 36px;
    }

    .case-study-name {
        font-size: 24px;
    }

    .case-study-type {
        font-size: 12px;
        padding: 5px 12px;
    }

    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }

    .case-study-tags {
        gap: 8px;
    }

    .case-study-tags .tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .about-text {
        text-align: center;
        order: 1;
    }

    .about-images {
        flex-direction: row;
        gap: 15px;
        order: 2;
    }

    .about-heading {
        font-size: 28px;
    }

    .about-underline {
        margin: 0 auto;
    }

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

    .contact-left .section-title {
        text-align: center;
    }

    .contact-submit {
        width: 100%;
        text-align: center;
        align-self: stretch;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-section {
        min-height: 60vh;
        padding: 0;
        padding-top: 60px;
        padding-bottom: 60px;
        width: 100%;
        margin: 0;
        overflow: hidden;
    }

    .service-btn {
        flex: 0 0 calc(50% - 8px);
        font-size: 12px;
        padding: 8px 12px;
        min-width: 90px;
    }

    .case-study-card {
        padding: 25px 15px;
    }

    .case-study-number {
        font-size: 32px;
    }

    .case-study-name {
        font-size: 20px;
    }

    .case-study-description p {
        font-size: 14px;
    }

    .stat-number {
        font-size: 24px;
    }

    .about-heading {
        font-size: 24px;
    }

    .about-images {
        flex-direction: column;
    }

    .logo-image {
        height: 35px;
    }

    .hero-icon-image {
        height: 50px;
    }

    .footer-logo-image {
        height: 40px;
    }

    .process-navigation {
        gap: 2px;
        padding: 8px 0;
    }

    .process-nav-item {
        width: calc((100% - 12px) / 7);
        padding: 2px;
    }

    .nav-number-wrapper {
        width: 42px;
        height: 42px;
    }

    .progress-ring {
        width: 42px !important;
        height: 42px !important;
    }

    .progress-ring-circle-bg,
    .progress-ring-circle {
        cx: 21;
        cy: 21;
        r: 19;
    }

    .progress-ring-circle {
        stroke-dasharray: 119;
        stroke-dashoffset: 119;
    }

    @keyframes progress {
        0% {
            stroke-dashoffset: 119;
        }
        100% {
            stroke-dashoffset: 0;
        }
    }

    .nav-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
        line-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-label {
        display: none;
    }

    .slide-number {
        font-size: 36px;
    }

    .slide-title {
        font-size: 22px;
    }

    .slide-header {
        gap: 12px;
        overflow: visible;
        padding-top: 10px;
        padding-bottom: 25px;
    }

    .carousel-pause-btn {
        width: 36px;
        height: 36px;
        border-width: 1.5px;
        margin-right: 10px;
    }

    .carousel-pause-btn svg {
        width: 16px;
        height: 16px;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
    }

    .main-nav {
        width: 100%;
        right: -100%;
    }

    .main-nav.active {
        right: 0;
    }
}

