/* Global Styles */
:root {
    --primary-color: #e63946;
    --secondary-color: #1e1e2f;
    --accent-color: #f1c40f;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2c;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --gradient-1: linear-gradient(135deg, #667eea, #764ba2);
    --gradient-2: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    --gradient-3: linear-gradient(135deg, #f093fb, #f5576c);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1;
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    background: #ffffff;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* ============ HEADER & NAVIGATION ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 44, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--secondary-color);
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand a {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    transition: var(--transition);
}

.nav-brand a:hover {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============ HERO SECTION ============ */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(26,26,44,0.7), rgba(230,57,70,0.7)), 
                url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(230,57,70,0.3);
}

.btn-primary:hover {
    background: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230,57,70,0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* ============ SERVICES SECTION ============ */
.services {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.service-card[data-delay="0.1s"] { animation-delay: 0.1s; }
.service-card[data-delay="0.2s"] { animation-delay: 0.2s; }
.service-card[data-delay="0.3s"] { animation-delay: 0.3s; }
.service-card[data-delay="0.4s"] { animation-delay: 0.4s; }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon-circle {
    transform: rotate(360deg) scale(1.1);
    background: var(--gradient-2);
}

.service-icon {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ============ FEATURED WORKS ============ */
.featured-works,
.works-gallery {
    padding: 100px 0;
    background: white;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.work-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.work-item img,
.work-item iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.work-item iframe {
    pointer-events: none;
}

.work-item:hover iframe {
    pointer-events: auto;
}

.work-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transition: var(--transition);
}

.work-item:hover .work-overlay {
    bottom: 0;
}

.work-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.work-type {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============ CLIENTS SECTION - IMPROVED CAROUSEL ============ */
.clients-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.clients-carousel-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 50px;
}

.clients-carousel {
    overflow: hidden;
    padding: 20px 0;
}

.clients-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

.client-slide {
    flex: 0 0 calc(25% - 22.5px);
    min-width: 0;
}

.client-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.client-logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    background: #f8f9fa;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.client-card:hover .client-logo-circle {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.client-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.client-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
}

.client-fallback i {
    font-size: 40px;
    margin-bottom: 5px;
}

.client-fallback span {
    font-size: 12px;
    font-weight: 600;
}

.client-info {
    width: 100%;
}

.client-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.client-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 50px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.service-badge i {
    font-size: 0.7rem;
}

.client-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.client-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--gradient-1);
    color: white;
}

.client-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.client-btn.instagram {
    background: radial-gradient(circle at 30% 30%,  #962fbf, #4f5bd5);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

    
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 30px;
    background: var(--primary-color);
    border-radius: 5px;
}
@media screen and (min-width: 320px) and (max-width:570px){
    .carousel-dots {
       display: none;
    }
}
/* ============ FOOTER ============ */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.footer-section p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p i {
    width: 20px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============ LIGHTBOX ============ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
}

/* ============ FILTER BUTTONS ============ */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ============ PAGE HEADER ============ */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--secondary-color), #2c3e50);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ RESPONSIVE DESIGN ============ */

/* Large Desktop (1200px and up) */
@media screen and (min-width: 1200px) {
    .clients-carousel-container {
        padding: 0 60px;
    }
    
    .client-slide {
        flex: 0 0 calc(25% - 22.5px);
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* Desktop (992px to 1199px) */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .client-slide {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet (768px to 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .navbar {
        padding: 1rem 3%;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-slide {
        flex: 0 0 calc(50% - 15px);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
}

/* Mobile Landscape (576px to 767px) */
@media screen and (min-width: 576px) and (max-width: 767px) {
    .navbar {
        padding: 1rem 3%;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.4s ease-in-out;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .client-slide {
        flex: 0 0 calc(100% - 20px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .filter-buttons {
        gap: 0.75rem;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .carousel-controls {
        gap: 15px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Mobile Portrait (375px to 575px) */
@media screen and (min-width: 375px) and (max-width: 575px) {
    .navbar {
        padding: 0.75rem 3%;
    }
    
    .nav-brand a {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        transition: 0.4s ease-in-out;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle span {
        width: 25px;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .featured-works,
    .works-gallery {
        padding: 60px 0;
    }
    
    .client-slide {
        flex: 0 0 calc(100% - 10px);
    }
    
    .clients-section {
        padding: 60px 0;
    }
    
    .clients-carousel-container {
        padding: 0 30px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.25rem;
    }
    
    .service-icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .page-header {
        padding: 120px 0 50px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .carousel-controls {
        gap: 10px;
        margin-top: 30px;
    }
    
    .carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-dot.active {
        width: 25px;
    }
    
    .client-logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .client-name {
        font-size: 1.1rem;
    }
    
    .service-badge {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .client-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .footer-map iframe {
        height: 180px;
    }
}

/* Small Mobile (below 375px) */
@media screen and (max-width: 374px) {
    .navbar {
        padding: 0.5rem 3%;
    }
    
    .nav-brand a {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 55px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 55px);
        background: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        transition: 0.4s ease-in-out;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle span {
        width: 22px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .services-grid,
    .works-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .client-slide {
        flex: 0 0 100%;
    }
    
    .clients-carousel-container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .service-icon {
        font-size: 1.75rem;
    }
    
    .filter-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    .carousel-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
    
    .carousel-dot.active {
        width: 20px;
    }
    
    .client-logo-circle {
        width: 90px;
        height: 90px;
    }
    
    .client-name {
        font-size: 1rem;
    }
    
    .service-badge {
        padding: 3px 8px;
        font-size: 0.65rem;
    }
    
    .client-btn {
        padding: 5px 5px;
        font-size: 0.75rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .work-item:hover,
    .client-card:hover {
        transform: none;
    }
    
    .btn:hover,
    .carousel-arrow:hover,
    .filter-btn:hover {
        transform: none;
    }
    
    .work-item iframe {
        pointer-events: auto;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn,
    .carousel-controls,
    .filter-buttons {
        display: none;
    }
    
    .hero {
        height: auto;
        background: none;
        color: black;
        padding: 50px 0;
    }
    
    .work-item {
        break-inside: avoid;
    }
}