/* ===== Responsive Styles ===== */

/* Large Desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* Tablets and Small Desktops */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .nav-list {
        gap: 20px;
    }
    
    .page-header {
        padding: 120px 0 80px;
    }
    
    .page-title {
        font-size: 2.8rem;
    }
    
    .portfolio-detail-title {
        font-size: 2.5rem;
    }
    
    .detail-hero-image {
        height: 450px;
    }
    
    .service-img-container {
        height: 400px;
    }
    
    .about-img-container {
        height: 400px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .nav-menu {
        position: relative;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1000;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .projects-grid,
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .portfolio-item {
        height: 350px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-grid,
    .overview-grid,
    .phase-content,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-grid.reverse {
        direction: ltr;
    }
    
    .phase-content.reverse {
        direction: ltr;
    }
    
    .service-img-container,
    .about-img-container,
    .phase-img-container {
        height: 300px;
    }
    
    .detail-hero-image {
        height: 350px;
    }
    
    .portfolio-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .map-info {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .map-placeholder {
        height: 400px;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .language-switcher {
        top: 15px;
        right: 15px;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .services-grid,
    .industries-grid,
    .team-grid,
    .mission-grid,
    .stats-grid,
    .process-steps,
    .results-grid,
    .challenge-list {
        grid-template-columns: 1fr;
    }
    
    .projects-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .project-img {
        height: 200px;
    }
    
    .portfolio-item {
        height: 300px;
    }
    
    .filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .portfolio-detail-title {
        font-size: 2rem;
    }
    
    .portfolio-detail-subtitle {
        font-size: 1.1rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .testimonial-quote {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-btns {
        width: 100%;
    }
    
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .portfolio-detail-title {
        font-size: 1.8rem;
    }
    
    .service-detail-title,
    .contact-title,
    .form-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .mission-card,
    .challenge-item,
    .result-card {
        padding: 30px 20px;
    }
    
    .stat-box {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
/* ===== Portfolio Page Responsive Styles ===== */

/* Tablets and Small Desktops */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .portfolio-categories,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .portfolio-detail-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        height: 450px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Tablets */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-img-wrapper {
        height: 200px;
    }
    
    .portfolio-content {
        padding: 20px;
    }
    
    .portfolio-title {
        font-size: 1.3rem;
    }
    
    .portfolio-categories,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .portfolio-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .portfolio-detail-header {
        padding: 120px 0 40px;
    }
    
    .portfolio-detail-title {
        font-size: 2rem;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .project-section h2 {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {
    .portfolio-img-wrapper {
        height: 180px;
    }
    
    .portfolio-category {
        font-size: 0.8rem;
    }
    
    .portfolio-title {
        font-size: 1.2rem;
    }
    
    .portfolio-desc {
        font-size: 0.9rem;
    }
    
    .portfolio-detail-title {
        font-size: 1.8rem;
    }
    
    .portfolio-detail-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .project-section h2 {
        font-size: 1.5rem;
    }
    
    .project-section p {
        font-size: 1rem;
    }
    
    .next-project-content h2 {
        font-size: 2rem;
    }
}