
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #1a1a1a;
            --secondary: #2c2c2c;
            --accent: #E74C3C;
            --orange: #E67E22;
            --light: #f8f9fa;
            --white: #ffffff;
            --gray: #6c757d;
            --dark-gray: #2c3e50;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--dark-gray);
            overflow-x: hidden;
            background: var(--white);
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
        }

        /* Navigation */
        nav {
            position:fixed;
            padding: 5px 0;
            top: 0;
            width: 100%;
            background: rgba(26, 26, 26, 0.98);
            backdrop-filter: blur(10px);
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            
        }

       .logo-img {
            height: 120px;   /* adjust logo size here */
            width: auto;
            object-fit: contain;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 35px;
            align-items: center;
        }

        .nav-links a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            padding: 8px 0;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent), var(--orange));
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        .cta-btn {
            background: linear-gradient(135deg, var(--accent), var(--orange));
            padding: 12px 30px;
            border-radius: 5px;
            color: white !important;
            font-weight: 600;
            box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
            transition: all 0.3s ease;
        }

        .cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(231, 76, 60, 0.5);
        }

        .cta-btn::after {
            display: none;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
        }

        .menu-toggle span {
            width: 28px;
            height: 3px;
            background: var(--white);
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        /* Hero Section */
        .hero {
            margin-top: 80px;
            min-height: 90vh;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(231, 76, 60, 0.15), transparent);
            top: -200px;
            right: -200px;
            border-radius: 50%;
        }

        .hero::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(230, 126, 34, 0.1), transparent);
            bottom: -100px;
            left: -100px;
            border-radius: 50%;
        }

        .hero-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 50px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-text h1 {
            font-size: 4em;
            color: var(--white);
            margin-bottom: 20px;
            line-height: 1.1;
            font-weight: 900;
        }

        .hero-text h1 span {
            background: linear-gradient(135deg, var(--accent), var(--orange));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-tagline {
            font-size: 1.5em;
            color: var(--accent);
            margin-bottom: 20px;
            font-weight: 600;
        }

        .hero-description {
            font-size: 1.2em;
            color: #bbb;
            margin-bottom: 40px;
            line-height: 1.8;
        }

        .hero-stats {
            display: flex;
            gap: 40px;
            margin-bottom: 40px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 2.5em;
            font-weight: 900;
            background: linear-gradient(135deg, var(--accent), var(--orange));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: block;
        }

        .stat-label {
            color: #999;
            font-size: 0.95em;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
        }

        .btn {
            padding: 16px 40px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05em;
            transition: all 0.3s ease;
            display: inline-block;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent), var(--orange));
            color: white;
            box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(231, 76, 60, 0.5);
        }

        .btn-secondary {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--accent);
        }

        .btn-secondary:hover {
            background: var(--accent);
            transform: translateY(-3px);
        }

        .hero-visual {
            position: relative;
        }

        /* Replace the old .hero-image-grid and .hero-image-item styles with these: */

    .hero-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}  

.gallery-item {
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid rgba(255, 126, 26, 0.5);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 30px rgba(255, 126, 26, 0.25), inset 0 0 20px rgba(255, 126, 26, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.15) contrast(1.08);
}


.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.1em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 126, 26, 0.9);
    box-shadow: 0 12px 40px rgba(255, 126, 26, 0.45), inset 0 0 30px rgba(255, 126, 26, 0.15);
}

        /* Sections */
        section {
            padding: 100px 50px;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

.section-label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.1em;
    margin-bottom: 15px;
    text-shadow: 0 0 15px currentColor, 
                 0 0 25px currentColor,
                 0 2px 8px rgba(0, 0, 0, 0.7);
    animation: pulse-glow-current 2s ease-in-out infinite;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    border: 2px solid currentColor;
    backdrop-filter: blur(10px);
    opacity: 0.9;
}

/* Reset for testimonials section label */
.testimonials .section-label {
    color: #8B2E1F;
}

@keyframes pulse-glow-current {
    0%, 100% {
        text-shadow: 0 0 15px currentColor, 
                     0 0 25px currentColor,
                     0 2px 8px rgba(0, 0, 0, 0.7);
        opacity: 0.9;
    }
    50% {
        text-shadow: 0 0 25px currentColor, 
                     0 0 40px currentColor,
                     0 2px 8px rgba(0, 0, 0, 0.7);
        opacity: 1;
    }
}

/* Reset for contact section label specifically */
#contact .section-label {
    display: block;
    width: 300px;
    margin-left: 540px;
}

.section-title {
    font-size: 3em;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title span {
    background: linear-gradient(135deg, var(--accent), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(231, 76, 60, 0.4));
}

        .section-description {
            font-size: 1.2em;
            color: var(--gray);
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.8;
        }

/* Services Section */
#services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--orange));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.service-card h3 {
    font-size: 1.6em;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.view-all-container {
    text-align: center;
    margin-top: 60px;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--accent), var(--orange));
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: 0 10px 40px rgba(231, 76, 60, 0.4);
    transition: all 0.3s ease;
}

.pdf-download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(231, 76, 60, 0.6);
}

.pdf-icon {
    font-size: 1.8em;
}
/* Modal Styles */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 900px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin: auto;
}

.modal-header {
    background: linear-gradient(135deg, var(--accent), var(--orange));
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 2em;
    padding-right: 50px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5em;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-description {
    font-size: 1.1em;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.modal-image {
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(230, 126, 34, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
}

@media (max-width: 768px) {
    .modal-images {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5em;
    }
}
/* About Section - Side by Side */
#about {
    background: var(--primary);
    padding: 100px 50px;
}

.about-side-by-side {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

/* Left - Image Container */
.about-image-container {
    position: relative;
}

.about-square-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 4px solid rgba(231, 76, 60, 0.2);
}

.about-img-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.about-img-slide.active {
    opacity: 1;
}

/* Right - Text Container */
.about-text-container {
    padding-left: 20px;
}

.about-paragraph {
    color: var(--gray);
    font-size: 1.1em;
    line-height: 1.9;
    margin-bottom: 25px;
    text-align: justify;
}

.about-stats-inline {
    display: grid;
    justify-content: center;
    gap: 30px;
    margin: 50px auto 0;
    padding: 30px 0;
    border-top: 2px solid #e0e0e0;  
    border-bottom: 2px solid #e0e0e0;
    max-width: 900px;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .about-stats-inline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about-stats-inline {
    grid-template-columns: 1fr;
  }
}


.inline-stat {
    text-align: center;
    gap: 20px;
    justify-content: center;
}

.inline-stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.inline-stat-label {
    display: block;
    color: var(--gray);
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-side-by-side {
        grid-template-columns: 350px 1fr;
        gap: 50px;
    }
    
    .about-stats-inline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-side-by-side {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-square-slider {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-text-container {
        padding-left: 0;
    }
    
    .about-stats-inline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-cta-buttons {
        flex-direction: column;
    }
}

/* Text Section */
.about-text-section {
    background: var(--primary);
    padding: 80px 50px 100px;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text-block {
    padding-right: 40px;
}

.about-paragraph {
    color: #ccc;
    font-size: 1.15em;
    line-height: 1.9;
    margin-bottom: 25px;
    text-align: justify;
}

.about-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Stats Block */
.about-stats-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(231, 76, 60, 0.1);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(231, 76, 60, 0.3);
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-icon-large {
    font-size: 3em;
    margin-bottom: 15px;
}

.stat-num {
    font-size: 3.5em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 15px;
}

.stat-text {
    color: white;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-subtext {
    color: #999;
    font-size: 0.9em;
    line-height: 1.5;
}

/* About Stats - NEW STYLES FOR RESPONSIVE STATS */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.about-stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 126, 26, 0.1);
    border-color: rgba(255, 126, 26, 0.5);
    box-shadow: 0 15px 40px rgba(255, 126, 26, 0.25);
}

.about-stat-number {
    display: block;
    font-size: 3em;
    font-weight: 900;
    background: linear-gradient(135deg, #E74C3C, #E67E22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 10px;
}

.about-stat-label {
    display: block;
    color: #bbb;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* Responsive - About Stats */
@media (max-width: 1024px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-stat-number {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 30px 15px;
    }
    
    .about-stat-item {
        padding: 15px 10px;
    }
    
    .about-stat-number {
        font-size: 2em;
    }
    
    .about-stat-label {
        font-size: 0.75em;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .about-stat-item {
        padding: 18px 15px;
    }
    
    .about-stat-number {
        font-size: 2.2em;
    }
    
    .about-stat-label {
        font-size: 0.8em;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-text-block {
        padding-right: 0;
    }
    
    .about-image-section {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .about-stats-block {
        grid-template-columns: 1fr;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .about-text-section {
        padding: 60px 30px;
    }
    
    .about-image-section {
        height: 40vh;
        min-height: 300px;
    }
}

        /* Why Choose Us */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-top: 60px;
        }

        .feature-item {
            text-align: center;
            padding: 40px 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(231, 76, 60, 0.1);
        }

        .feature-icon {
            font-size: 3.5em;
            margin-bottom: 20px;
        }

        .feature-item h3 {
            font-size: 1.4em;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .feature-item p {
            color: var(--gray);
            line-height: 1.7;
        }

       /* ============================================
   SEAMLESS INFINITE LOGO SLIDER - CSS ONLY
   ============================================ */

#clients {
    overflow: hidden;
}

.slider-wrapper {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.slider-wrapper-second {
    margin-top: 30px;
}

/* Critical: Track must be inline-flex with nowrap */
.slider-track {
    display: inline-flex;
    gap: 40px;
    flex-wrap: nowrap;
    will-change: transform;
    /* GPU optimization for mobile smoothness */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Logo styling */
.client-logo {
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* Left-to-right: Moves through 8 logos then resets */
@keyframes scroll-ltr {
    from {
        transform: translateX(0);
    }
    to {
        /* Move exactly 8 logos + 8 gaps = half the track */
        transform: translateX(calc(-1 * (140px + 40px) * 8));
    }
}

/* Right-to-left: Starts offset, moves to 0 */
@keyframes scroll-rtl {
    from {
        /* Start from the "middle" so reset point matches visually */
        transform: translateX(calc(-1 * (140px + 40px) * 8));
    }
    to {
        transform: translateX(0);
    }
}

/* Apply animations */
.slider-track.playing.ltr {
    animation: scroll-ltr 20s linear infinite;
}

.slider-track.playing.rtl {
    animation: scroll-rtl 20s linear infinite;
}

/* ============================================
   MOBILE - RECALCULATED DISTANCES
   ============================================ */

@media (max-width: 768px) {
    /* Mobile uses 100px logos instead of 140px */
    @keyframes scroll-ltr {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-1 * (100px + 40px) * 8));
        }
    }
    
    @keyframes scroll-rtl {
        from {
            transform: translateX(calc(-1 * (100px + 40px) * 8));
        }
        to {
            transform: translateX(0);
        }
    }
    
    /* Slower = smoother on mobile */
    .slider-track.playing.ltr,
    .slider-track.playing.rtl {
        animation-duration: 25s !important;
    }
}
.slider-track.rtl {
    /* RTL starts offset so the loop is seamless */
    transform: translateX(calc(-1 * (140px + 40px) * 8));
}

.slider-track.ltr {
    /* LTR starts at 0 */
    transform: translateX(0);
}

/* Mobile initial positions */
@media (max-width: 768px) {
    .slider-track.rtl {
        transform: translateX(calc(-1 * (100px + 40px) * 8));
    }
    
    .slider-track.ltr {
        transform: translateX(0);
    }
}

       
/* ===== Testimonials ===== */

#testimonials {
    background-color: #F5F5F7; /* Light grey background to make cards pop */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonial-modern-slider {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px; /* Space for floating arrows */
}

.modern-slider-wrapper {
    overflow: hidden;
    padding: 40px 10px; /* Padding for shadows */
}

.modern-slider-track {
    display: flex;
    gap: 32px; /* Increased gap for cleaner look */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth bezier curve */
}

/* --- Card Base Styles --- */
.modern-card {
    flex: 0 0 calc((100% - 64px) / 3); 
    max-width: calc((100% - 64px) / 3);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

/* --- Color Variants --- */

/* Variant 1: Charcoal to Warm Orange Glow */
.card-variant-1 {
    background: linear-gradient(160deg, #0A0A0A 60%, #3D1E0A 100%);
}
/* Variant 2: Midnight to Blue Glow */
.card-variant-2 {
    background: linear-gradient(160deg, #050A14 60%, #0A2A4A 100%);
}
/* Variant 3: Forest to Teal Glow */
.card-variant-3 {
    background: linear-gradient(160deg, #0A1410 60%, #0A3D30 100%);
}

/* --- Typography & Elements --- */
.quote-icon {
    font-family: serif;
    font-size: 64px;
    line-height: 1;
    color: #FF7E21; /* Default Orange Accent */
    opacity: 0.4;
    margin-bottom: 24px;
}

.modern-text {
    font-family: 'Times New Roman', serif; /* Or your preferred Serif font */
    font-size: 19px;
    line-height: 1.6;
    color: #FFFFFF;
    margin-bottom: 32px;
    font-weight: 500;
    flex-grow: 1;
}

/* --- Footer Area --- */
.modern-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.author-avatar {
    display: none;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.author-role {
    color: #A0A0A0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-top: 2px;
}

/* --- Navigation --- */
.modern-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5F00, #FF8C00);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(255, 95, 0, 0.3);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: white;
}

.modern-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(255, 95, 0, 0.5);
}

.modern-prev { left: -10px; }
.modern-next { right: -10px; }

/* --- Pagination Dots --- */
.modern-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.modern-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #CCC;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-dot.active {
    width: 24px; /* Elongated stadium shape */
    border-radius: 4px;
    background-color: #FF5F00;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .modern-card { min-width: 300px; }
    .modern-arrow { width: 45px; height: 45px; }
    .modern-prev { left: 0; }
    .modern-next { right: 0; }
}

@media (max-width: 768px) {
    .modern-card { min-width: 100%; } /* Full width on mobile */
    .testimonial-modern-slider { padding: 0 20px; }
    .modern-slider-track { gap: 20px; }
    
    /* Hide arrows on mobile, use swipe/dots */
    .modern-arrow { display: none; }
}


        /* Contact */
        #contact {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
        }

        #contact .section-title {
            color: white;
        }

        #contact .section-description {
            color: #ccc;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        /* Map block in contact section */
.contact-map {
    margin-top: 25px;
}

.contact-map h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

/* wrapper keeps nice ratio */
.map-frame {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    background: rgba(0, 0, 0, 0.5);
}

/* 16:9 aspect ratio */
.map-frame::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* On mobile, stack nicely */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-map {
        order: 3; /* contact-info, request-card, then map if you want */
    }
}


        .contact-item {
            display: flex;
            gap: 20px;
            align-items: start;
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--accent), var(--orange));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8em;
            flex-shrink: 0;
        }

        .contact-details h3 {
            margin-bottom: 10px;
            font-size: 1.3em;
        }

        .contact-details p {
            color: #ccc;
            line-height: 1.7;
        }

        .contact-form {
            background: rgba(255, 255, 255, 0.05);
            padding: 40px;
            border-radius: 10px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1em;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--accent);
            background: rgba(255, 255, 255, 0.15);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        /* Footer */
        footer {
            background: #0a0a0a;
            color: white;
            padding: 60px 50px 30px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 60px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            margin-bottom: 25px;
            font-size: 1.4em;
        }

        .footer-about {
            color: #999;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 12px;
        }

        .footer-section a {
            color: #999;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-section a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        footer h4 {
             font-size: 1.4em;
             margin-bottom: 25px;
             font-family: 'Montserrat', sans-serif;
             font-weight: 700;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3em;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: linear-gradient(135deg, var(--accent), var(--orange));
            transform: translateY(-3px);
            padding-left: 0;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #666;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero-content {
                grid-template-columns: 1fr;
                gap: 50px;
            }

            .contact-grid {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav-container {
                padding: 15px 30px;
            }

            .nav-links {
                position: fixed;
                left: -100%;
                top: 70px;
                flex-direction: column;
                background: var(--primary);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 27px rgba(0,0,0,0.3);
                padding: 40px 0;
                gap: 20px;
            }

            .nav-links.active {
                left: 0;
            }

            .menu-toggle {
                display: flex;
            }

            section {
                padding: 60px 30px;
            }

            .hero-text h1 {
                font-size: 2.5em;
            }

            .section-title {
                font-size: 2em;
            }

            .services-grid,
            .portfolio-grid,
            .testimonials-grid {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeInUp 0.6s ease;
        }
/* =======================
   MOBILE RESPONSIVE FIXES
   ======================= */

/* SMALL TABLETS / LARGE PHONES */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 30px;
  }
  .hero {
    min-height: 70vh;
  }
  .hero-text h1 { font-size: 2.6rem; line-height: 1.12; }
  .logo-img { height: 90px; } /* smaller logo */
  .hero-gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* PHONES */
@media (max-width: 768px) {
  /* NAV */
  .nav-container { padding: 10px 18px; }
  .logo-img { height: 68px; }             /* reduce header real estate */
  .menu-toggle { display: flex; }         /* ensure the hamburger shows */
  .nav-links { left: -100%; top: 64px; }  /* mobile off-canvas start */
  .nav-links li { margin: 8px 0; }
  .cta-btn { padding: 12px 18px; display: inline-block; }

  /* HERO */
  .hero { min-height: 60vh; padding-top: 10px; }
  .hero-text h1 { font-size: 1.9rem; }     /* mobile friendly */
  .hero-tagline { font-size: 1.05rem; }
  .hero-description { font-size: 0.98rem; line-height: 1.5; }

  /* Stats stack vertically */
  .hero-stats { flex-direction: column; gap: 12px; align-items: flex-start; }
  .stat-number { font-size: 1.8rem; }

  /* Hero gallery — make items taller and responsive */
  .hero-gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-item { height: 180px; }

  /* Buttons stack */
  .hero-buttons { flex-direction: column; gap: 12px; }
  .btn { width: 100%; padding: 12px 18px; font-size: 1rem; }

  /* Services / portfolio: single column */
  .services-grid, .portfolio-grid { grid-template-columns: 1fr; gap: 18px; }

  /* Testimonial / slider: full width cards */
  .testimonial-slider-track .testimonial-card { min-width: 100%; }

  /* Contact form: full width and reduce padding */
  .contact-grid { grid-template-columns: 1fr; gap: 20px; padding: 20px 16px; }
  .contact-form { padding: 20px; }

  /* Footer: stack sections */
  .footer-content { grid-template-columns: 1fr; gap: 20px; padding: 30px 16px; }

  /* Reduce large section paddings so mobile doesn't scroll too far */
  section { padding: 60px 20px; }

  /* Misc */
  .container { padding: 0 12px; }
}

/* SMALL PHONES (very small devices) */
@media (max-width: 420px) {
  .logo-img { height: 56px; }
  .hero-text h1 { font-size: 1.6rem; }
  .hero-description { font-size: 0.95rem; }
  .nav-links { top: 60px; padding: 30px 0; }
  .client-logo { width: 90px; height: 60px; padding: 8px; }
  .gallery-item { height: 140px; }
  .btn { padding: 10px 14px; } 
}
/* === HERO – Subtle Neon Circuit Background === */

.hero.bg-neon {
    position: relative;
    background: linear-gradient(180deg,#0c0c0e,#111);
    overflow: hidden;
}

.hero.bg-neon svg.circuit-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.40;
    z-index: 0;
}
/* === SERVICES – Digital Waves Background === */

#services.bg-waves {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,#071722,#031321);
}

#services.bg-waves svg.waves-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.85;
    z-index: 0;
}
/* Smooth Blend Between Hero & Services */
/* TRUE Seamless Blend Hero → Services */
#services.bg-waves::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 180px;
    background: linear-gradient(
        to bottom,
        #0c0c0e 0%,
        #0c0c0ee5 40%,
        #0c0c0e80 70%,
        transparent 100%
    );
    z-index: 3;           /* <<< THIS FIXES IT */
    pointer-events: none;
}

/* Dark Mode Service Cards for New Background */
#services .service-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 120, 40, 0.25);
    backdrop-filter: blur(8px);
    color: white;
}

#services .service-card p {
    color: #e0e0e0;
}

#services .service-card h3 {
    color: #ffffff;
}

#services .service-card:hover {
    transform: translateY(-10px);
    background: rgba(0,0,0,0.55);
    border-color: rgba(255,120,40,0.55);
    box-shadow: 0 20px 50px rgba(255,120,40,0.15);
}
#services .section-title {
  color: #ffffff;              
  text-shadow: 0 3px 18px rgba(0,0,0,0.65); 
}

#services .section-title span {
  background: linear-gradient(135deg, var(--accent), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* === ABOUT — Smooth Abstract Lines Background === */
#about.bg-lines {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,#070809,#0b0c10); /* matches site tone */
  color: #e9ecef;
}

#about.bg-lines svg.lines-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}

/* Ensure header and main content sit above svg */
#about.bg-lines .section-header,
#about.bg-lines .about-side-by-side,
#about.bg-lines .container { position: relative; z-index: 2; }

/* Improve readability for about text on darker bg */
#about.bg-lines .section-title,
#about.bg-lines h2,
#about.bg-lines h3 { color: #ffffff !important; text-shadow: 0 2px 16px rgba(0,0,0,0.6); }
#about.bg-lines .about-paragraph,
#about.bg-lines p { color: #d6d6d6 !important; line-height: 1.9; }

/* Slight accent for inline-stats / numbers to match orange theme */
#about.bg-lines .inline-stat-number,
#about.bg-lines .stat-num { 
  background: linear-gradient(135deg, rgba(255,120,40,1), rgba(231,76,60,1));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Optional: soften the lines on small screens */
@media (max-width:820px) {
  #about.bg-lines svg.lines-bg { opacity: 0.55; }
}
/* === PORTFOLIO — Particle Dots Background (dark + subtle) === */
#portfolio.bg-dots {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,#070708,#0b0c0f);
  color: #e9e9e9;
}

/* SVG layer */
#portfolio.bg-dots svg.dots-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* tiny grain/noise overlay for texture */
#portfolio.bg-dots .dots-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.01) 0.6px, transparent 0.6px);
  background-size: 6px 6px;
  mix-blend-mode: overlay;
  opacity: 0.20;
  pointer-events: none;
  z-index: 2;
}

/* keep content above visuals */
#portfolio.bg-dots .container,
#portfolio.bg-dots .section-header {
  position: relative;
  z-index: 3;
}

/* adjust portfolio cards to match dark theme */
#portfolio.bg-dots .portfolio-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));
  border: 1px solid rgba(255,120,40,0.06);
  color: #eaeaea;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
#portfolio.bg-dots .portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  border-color: rgba(255,120,40,0.22);
}
#portfolio.bg-dots .portfolio-image {
  background: linear-gradient(135deg, rgba(255,120,40,0.06), rgba(0,0,0,0.18));
}
#portfolio.bg-dots .portfolio-content h3 { color: #fff; }
#portfolio.bg-dots .portfolio-content p { color: #cfcfcf; }
/* === CLIENTS — Tech circuit background + slider contrast === */
#clients.bg-tech {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,#050506,#0b0c0e 40%, #070809 100%);
  color: #eee;
}

/* SVG (placed behind content) */
#clients.bg-tech svg.clients-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.40;
}

/* subtle orange radial glow behind the PDF button area */
#clients.bg-tech::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  transform: translateX(-50%);
  width: 720px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,120,40,0.06), transparent 45%);
  z-index: 2;
  pointer-events: none;
}

/* ensure slider content sits above visuals */
#clients.bg-tech .slider-wrapper,
#clients.bg-tech .slider-track,
#clients.bg-tech .slider-wrapper .client-logo {
  position: relative;
  z-index: 3;
}

/* client logo card style for contrast */
#clients.bg-tech .client-logo {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 18px;
  width: 150px;
  height: 120px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

/* make logos a little desaturated and fit */
#clients.bg-tech .client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: saturate(0.95) contrast(0.95);
}

/* hover effect */
#clients.bg-tech .client-logo:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  background: linear-gradient(135deg, rgba(255,120,40,0.03), rgba(0,0,0,0.06));
  border-color: rgba(255,120,40,0.12);
}

/* make sure section-header sits above overlays */
#clients.bg-tech .section-header { position: relative; z-index:4; }

/* responsive tweaks */
@media (max-width:768px) {
  #clients.bg-tech::before { width: 420px; height: 160px; top: 4%; }
  #clients.bg-tech .client-logo { width: 120px; height: 80px; padding:12px; }
}
/* CLIENT LOGO VISIBILITY FIX — paste at bottom of style.css */

/* brighten the card background so logos contrast */
#clients.bg-tech .client-logo {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.07));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
}

/* add a soft inner white plate behind logos (keeps shape, prevents clipping) */
#clients.bg-tech .client-logo .logo-inner {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:6px;
  background: rgba(255,255,255,0.92); /* white backing for logo */
  max-width:100%;
  max-height:100%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ensure images fit inside the white backing */
#clients.bg-tech .client-logo img {
  display:block;
  max-width:120px;       /* tweak to taste */
  max-height:60px;       /* tweak to taste */
  width:auto;
  height:auto;
  object-fit:contain;
  filter: none;          /* remove any darkening */
}

/* subtle hover polish */
#clients.bg-tech .client-logo:hover .logo-inner {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

/* If you prefer the logo-inset to be slightly tinted (warmer) use this instead:
#clients.bg-tech .client-logo .logo-inner { background: linear-gradient(90deg,#fff,#fffef8); }
*/
/* ==========================
   Testimonials — Soft Premium Gradient (Option 1)
   Paste at the BOTTOM of style.css
   ========================== */

.testimonials.bg-premium {
  position: relative;
  overflow: hidden;
  /* deep neutral base so cards stand out */
  background: linear-gradient(180deg, #f5f6f7 0%, #f0f1f2 6%, #e9eaeb 12%, #0b0c0e 45%, #070809 100%);
  color: #fff;
}

/* soft warm radial glow (top center) */
.testimonials.bg-premium::before {
  content: "";
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 420px;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at 50% 25%, rgba(255,120,40,0.14), rgba(255,120,40,0.08) 20%, rgba(0,0,0,0) 60%);
  filter: blur(18px);
  opacity: 0.95;
  mix-blend-mode: normal;
}

/* subtle vignette to darken lower area for card contrast */
.testimonials.bg-premium::after {
  content: "";
  position: absolute;
  inset: 30% 0 0 0; /* starts 30% down to keep header bright */
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, rgba(11,12,14,0) 0%, rgba(11,12,14,0.22) 35%, rgba(11,12,14,0.6) 70%, rgba(11,12,14,0.9) 100%);
}

/* very faint texture (grain) */
.testimonials.bg-premium .bg-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.02) 0.5px, transparent 0.5px);
  background-size: 6px 6px;
  mix-blend-mode: overlay;
  opacity: 0.08;
}

/* content sits above background */
.testimonials.bg-premium .container,
.testimonials.bg-premium .section-header,
.testimonials.bg-premium .testimonials-inner {
  position: relative;
  z-index: 4;
}

/* ---------- Card styling: use Lora font for body text ---------- */
.testimonials.bg-premium .testimonial-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.14));
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 18px 50px rgba(0,0,0,0.6);
  border-radius: 18px;
  padding: 28px;
  color: #eaeaea;
  font-family: 'Lora', serif;
  line-height: 1.85;
}

/* accent quote mark color to match orange theme */
.testimonials.bg-premium .testimonial-card .quote-icon {
  color: rgba(255,120,40,0.95);
  font-size: 30px;
  opacity: 0.96;
}

/* heading inside cards stronger */
.testimonials.bg-premium .testimonial-card .client-name {
  color: #fff;
  font-weight: 700;
}

/* subtle card hover lift (optional) */
.testimonials.bg-premium .testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.65);
}

/* ensure titles above glow are readable */
.testimonials.bg-premium .section-title,
.testimonials.bg-premium h2 {
  color: #0b0c0d; /* keep main title dark to match premium look */
  z-index: 6;
  position: relative;
}

/* If you prefer the section title to be white, uncomment below */
/*
.testimonials.bg-premium .section-title,
.testimonials.bg-premium h2 { color: #ffffff; }
*/

/* small-screen adjustments */
@media (max-width:820px) {
  .testimonials.bg-premium::before { width: 800px; height: 320px; top: -12%; filter: blur(14px); }
  .testimonials.bg-premium .testimonial-card { padding: 20px; border-radius: 14px; }
  .testimonials.bg-premium .bg-grain { opacity: 0.06; }
}

/* Smooth white fade at the bottom of the Client Logo section */
/* Ultra-soft cinematic fade into white */
#clients.bg-tech {
    position: relative;
    overflow: hidden;
}

#clients.bg-tech::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;  /* long fade = softer blend */
    pointer-events: none;
    z-index: 50;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.02) 15%,
        rgba(255,255,255,0.05) 30%,
        rgba(255,255,255,0.09) 45%,
        rgba(255,255,255,0.14) 58%,
        rgba(255,255,255,0.22) 70%,
        rgba(255,255,255,0.32) 80%,
        rgba(255,255,255,0.45) 88%,
        rgba(255,255,255,0.60) 94%,
        rgba(255,255,255,0.75) 98%,
        #ffffff 100%
    );
}

/* ===== Testimonials: decorative orange circuits & nodes ===== */
/* paste at bottom of style.css after .testimonials.bg-premium rules */

.testimonials .decor-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;          /* sits below content (z-index:4) and above grain */
  opacity: 0.9;
  mix-blend-mode: screen; /* nice blend with dark->light background */
}

/* fine stroke style for the thin circuit lines */
.testimonials .decor-svg .c-line {
  stroke: #ff7e1a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 0.85;
}

/* faint blurred halo for nodes */
.testimonials .decor-svg .node-blur {
  filter: blur(10px);
  opacity: 0.28;
}

/* crisp node core */
.testimonials .decor-svg .node-core {
  fill: #ff7e1a;
  opacity: 0.98;
}

/* dashed animated guide (very subtle) */
.testimonials .decor-svg .dash {
  stroke: rgba(255,126,26,0.8);
  stroke-width: 1.2;
  stroke-dasharray: 6 8;
  stroke-linecap: round;
  opacity: 0.7;
  animation: dash-move 6s linear infinite;
}

/* animation */
@keyframes dash-move {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -56; }
}

/* ensure the large nodes don't conflict with card corners on small screens */
@media (max-width:920px) {
  .testimonials .decor-svg { opacity: 0.6; }
  .testimonials .decor-svg .node-core { r: 5; } /* smaller nodes if needed */
  .testimonials .decor-svg .c-line { stroke-width: 1.4; }
}
/* =========================
   Contact — Minimal Soft Waves + "Amazing" underline animation
   ========================= */

#contact.bg-softwaves {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,#080809 0%, #060606 45%, #040404 100%);
  color: #eaeaea;
}

/* wave SVG layer */
#contact.bg-softwaves .waves-contact {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.30;              /* tweak to make waves stronger/weaker */
  mix-blend-mode: screen;
}

/* subtle blurred highlight under waves for warmth */
#contact.bg-softwaves .warm-glow {
  position: absolute;
  left: 50%;
  top: 6%;
  transform: translateX(-50%);
  width: 960px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(255,120,40,0.10), rgba(255,120,40,0.04) 30%, rgba(0,0,0,0) 70%);
  filter: blur(36px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.95;
}

/* content stays above */
#contact.bg-softwaves .container,
#contact.bg-softwaves .section-header,
#contact.bg-softwaves .request-form {
  position: relative;
  z-index: 4;
}

/* Heading highlight word style — wrap the word you want animated with .highlight-word */
#contact .section-title { font-weight:700; color:#fff; position:relative; display:inline-block; }
#contact .section-title .highlight-word { position: relative; display:inline-inline; }

/* The animated underline pseudo-element */
#contact .section-title .highlight-word::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;                 /* space below the word; tweak if necessary */
  height: 5px;
  width: 0%;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,126,26,0.98), rgba(255,180,120,0.9));
  box-shadow: 0 6px 22px rgba(255,120,40,0.12);
  transition: width 720ms cubic-bezier(.2,.9,.3,1), opacity 400ms ease;
  opacity: 0.95;
  transform-origin: left center;
}

/* active class toggles the underline */
#contact .section-title .highlight-word.active::after {
  width: 100%;
}

/* Reduced motion: no animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  #contact .section-title .highlight-word::after {
    transition: none;
    width: 100% !important;
  }
}

/* small responsive tweak so underline doesn't collide */
@media (max-width:680px) {
  #contact .section-title .highlight-word::after { bottom: -6px; height:4px; }
  #contact.bg-softwaves .warm-glow { width: 740px; height: 280px; top: 2%; filter: blur(28px); }
}
/* CONTACT — Option A: Calm Premium Waves */
#contact.bg-softwaves { background: linear-gradient(180deg,#070708 0%, #050505 60%, #030303 100%); position:relative; overflow:hidden; color:#fff; }
#contact.bg-softwaves .waves-contact { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:1; opacity:0.45; mix-blend-mode:screen; filter: blur(6px) saturate(110%); }
#contact.bg-softwaves .warm-glow { position:absolute; left:50%; top:6%; transform:translateX(-50%); width:980px; height:420px; border-radius:50%; background: radial-gradient(circle at 50% 30%, rgba(255,130,48,0.26), rgba(255,120,40,0.10) 30%, transparent 70%); filter: blur(36px); z-index:2; pointer-events:none; }
#contact.bg-softwaves .container { position:relative; z-index:4; }
/* stronger but still soft */
/* ===== Request Card: Glassmorphism + Edge Glow ===== */
.request-card {
  position: relative;
  width: 100%;
  max-width: 740px;           /* adapt to your layout */
  margin: 0 auto;
  border-radius: 16px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 18px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  overflow: visible;
  transition: transform .28s cubic-bezier(.2,.9,.3,1), box-shadow .28s ease;
  z-index: 6;
}

/* thin glowing edge (top-left to bottom-right gradient) */
.request-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,140,60,0.18), rgba(255,100,34,0.28));
  filter: blur(14px);
  opacity: 0.38;
  z-index: -1; /* sits behind card but visible as glow */
}

/* crisp border edge (overlay) */
.request-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255,140,60,0.25), rgba(255,100,34,0.12));
  -webkit-mask: linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 7;
  opacity: 0.25;
}

/* Optional small top sheen */
.request-card .sheen {
  position: absolute;
  left: -10%;
  top: -6%;
  width: 120%;
  height: 40%;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  transform: rotate(-6deg);
  filter: blur(8px);
  z-index: 5;
  pointer-events: none;
}

/* Title */
.request-card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 28px;
  letter-spacing: -0.02em;
}

/* Form inputs (match the style in your site, but upgraded) */
.request-card .form-row { margin-bottom: 18px; }
.request-card label { display:block; color: rgba(255,255,255,0.9); font-weight:600; margin-bottom:8px; font-size:14px; }
.request-card input[type="text"],
.request-card input[type="email"],
.request-card input[type="tel"],
.request-card select,
.request-card textarea {
  width:100%;
  padding:14px 16px;
  border-radius:10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.12));
  border: 1px solid rgba(255,255,255,0.03);
  color: #eaeaea;
  font-size:14px;
  outline: none;
  transition: box-shadow .2s ease, transform .15s ease, border-color .18s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
  resize: vertical;
}

/* subtle placeholder color */
.request-card input::placeholder,
.request-card textarea::placeholder {
  color: rgba(255,255,255,0.28);
}

/* focus state — warm glow */
.request-card input:focus,
.request-card textarea:focus,
.request-card select:focus {
  border-color: rgba(255,140,60,0.95);
  box-shadow: 0 8px 30px rgba(255,120,40,0.08), 0 0 0 4px rgba(255,120,40,0.045);
  transform: translateY(-2px);
}

/* submit button styling */
.request-card .btn-submit {
  display:inline-block;
  width:100%;
  padding:14px 18px;
  border-radius:10px;
  border: none;
  font-weight:700;
  background: linear-gradient(90deg,#ff7e1a,#ffb07a);
  color:#111;
  cursor:pointer;
  box-shadow: 0 14px 40px rgba(255,120,40,0.16);
  transition: transform .14s ease, box-shadow .18s ease, filter .12s ease;
  margin-top:6px;
}
.request-card .btn-submit:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(255,120,40,0.22); filter:brightness(1.02); }

/* small helper row for inline fields */
.request-card .row { display:flex; gap:16px; }
.request-card .row > * { flex:1; }

/* responsive */
@media (max-width:900px){
  .request-card { padding:22px; max-width: 100%; border-radius:12px; }
  .request-card h3 { font-size:22px; }
  .request-card .row { flex-direction:column; gap:12px; }
}

/* Optional: hover lift for whole card */
.request-card:hover { transform: translateY(-6px); }
.request-card::before{ opacity:0; transition: opacity .28s; }
.request-card:focus-within::before,
.request-card:hover::before { opacity:0.42; }

/* ===== Footer social icons ===== */
.footer-socials {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-socials-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-socials-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.82);
  stroke: none;
}

/* hover effects */
.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border-color: rgba(255,126,26,0.6);
  background: radial-gradient(circle at 30% 20%, rgba(255,200,160,0.25), rgba(255,126,26,0.4));
}

/* individual platform tweaks (optional) */
.social-icon.instagram svg rect { fill: none; stroke: rgba(255,255,255,0.9); }
.social-icon.instagram svg circle { fill: rgba(255,255,255,0.9); }

.social-icon.facebook svg { fill: #ffffff; }

.social-icon.linkedin svg { fill: #ffffff; }

.social-icon.extra svg circle { fill: none; stroke: rgba(255,255,255,0.9); }
.social-icon.extra svg path { stroke: rgba(255,255,255,0.9); }



html {
  scroll-padding-top: 100px; /* height of your fixed navbar */
}
    @media (max-width: 768px) {

  .hero {
    min-height: auto;
    padding: 120px 20px 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    text-align: center;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
  }
  
  .stat-number {
    font-size: 1.9rem;
  }

  .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  /* Mobile - Faster, smoother logo slider */
  .slider-track.playing.ltr,
  .slider-track.playing.rtl {
    animation-duration: 20s !important;
  }
  
  .slider-track {
    gap: 40px;
  }
  
  .client-logo {
    width: 100px;
    height: 50px;
    padding: 10px;
  }
}

/* Extra small screens - very mobile friendly */
@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .stat-item {
    padding: 12px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .gallery-item {
    height: 200px;
  }
}

.client-logo {
  width: 140px;
  flex: 0 0 140px; /* lock width */
}
/* Simple Music Icon - Bottom Right */
.music-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E74C3C, #E67E22);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.5);
    transition: all 0.3s ease;
}

.music-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.7);
}

.music-icon:active {
    transform: scale(0.95);
}

/* Pulse when playing */
@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(231, 76, 60, 0.5); }
    50% { box-shadow: 0 8px 40px rgba(231, 76, 60, 0.9); }
}

.music-icon.playing {
    animation: pulse 2s ease-in-out infinite;
}

/* Mobile */
@media (max-width: 768px) {
    .music-icon {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}