:root {
    --primary-color: #0066ff;
    --secondary-color: #ffffff;
    --accent-color: #94df0a;
    --text-color: #333333;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}




/* Responsive Design */
@media screen and (max-width: 1200px) {
    .services-menu {
        grid-template-columns: repeat(2, 1fr);
        width: 90vw;
        max-width: 800px;
    }
}

@media screen and (max-width: 992px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px); /* Subtract header height */
        background: #fff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto; /* Enable scrolling within the menu */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    .navbar-nav.active {
        display: flex;
    }


    .services-menu {
        position: static;
        transform: none;
        box-shadow: none;
        grid-template-columns: 1fr;
        width: 100%;
        padding: 1rem 0;
    }

    .services-dropdown:hover .services-menu {
        display: none;
    }

    .services-dropdown.active .services-menu {
        display: grid;
    }
}

@media screen and (max-width: 576px) {
    .navbar {
        padding: 1rem;
    }

    .navbar-logo img {
        height: 40px;
    }
}


/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .services-menu {
        grid-template-columns: repeat(2, 1fr);
        width: 90vw;
        max-width: 800px;
    }
}

@media screen and (max-width: 992px) {
    .services-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        grid-template-columns: 1fr;
        width: 100%;
        padding: 1rem 0;
        display: none;
        pointer-events: auto;
    }

    .services-dropdown:hover .services-menu {
        display: none;
        transform: none;
    }

    .services-dropdown.active .services-menu {
        display: grid;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .glitch {
        font-size: 2rem;
        text-align: center;
    }

    .subtitlek {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
    }
    .hero{
        height: 100vh;
    }
}


/* Responsive Design */
@media (max-width: 992px) {
    .video-section .flex {
        flex-direction: column;
        gap: 3rem;
    }

    .video-text {
        padding-right: 0;
        text-align: center;
    }

    .video-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .video-wrapper {
        transform: none;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 4rem 0;
    }

    .video-text h2 {
        font-size: 2rem;
    }

    .video-text p {
        font-size: 1rem;
    }
}


@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
    }

    .card-image {
        height: 160px;
    }
}


/* Add this to your media queries for mobile responsiveness */
@media (max-width: 768px) {
    .read-more-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .video-section .flex {
        gap: 40px;
    }
    
    .video-text h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 80px 0;
    }

    .video-section .flex {
        flex-direction: column;
        text-align: center;
    }

    .video-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .video-wrapper {
        transform: none;
        margin-top: 40px;
    }

    .video-wrapper:hover {
        transform: translateY(-10px);
    }
}




/* Keep the responsive styles */
@media (max-width: 992px) {
    .work-steps {
        flex-wrap: wrap;
        gap: 40px;
    }

    .work-step::after {
        display: none;
    }

    .work-step {
        width: calc(50% - 40px);
        max-width: none;
    }
}

@media (max-width: 576px) {
    .work-step {
        width: 100%;
    }

    .work-para {
        padding: 0 20px;
    }

    .work-para h2 {
        font-size: 2.2rem;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .mt-1 {
        font-size: 1rem;
        padding: 15px;
        line-height: 1.6;
    }
}




/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-about, .links, .footer-contact {
        width: 100%;
        padding: 0;
    }

    .links {
        padding: 20px 0;
    }

    .footer-links, .footer-info {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .containero {
        padding: 0 20px;
    }

    .links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links, .footer-info {
        width: 100%;
        padding: 0;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .portfolio-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio {
        padding: 60px 0;
    }

    .porto-center h2 {
        font-size: 2rem;
    }

    .portfolio-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .portfolio-card {
        padding: 20px;
    }

    .w-50 {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-cta {
        margin-top: 1.5rem;
        text-align: center;
    }

    .consultation-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        margin-top: 1.2rem;
    }

    .consultation-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.8rem;
    }
}