:root {
    --primary-orange: #ff914d;
    --primary-grey: #464646;
    --white: #ffffff;
    --dark-theme: #464646;
    --darker-grey: #2c2c2c;
    --text-light: #b0b0b0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(70, 70, 70, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(255, 145, 77, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo img {
    width: 70px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.1em;
}

.logo-highlight {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-orange);
    letter-spacing: 0.1em;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.15em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: #e67e3a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section with Lightning */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-grey) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 145, 77, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 145, 77, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 10%, rgba(255, 145, 77, 0.08) 0%, transparent 30%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255, 145, 77, 0.1) 49%, rgba(255, 145, 77, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 145, 77, 0.05) 49%, rgba(255, 145, 77, 0.05) 51%, transparent 52%);
    background-size: 100px 100px, 100px 100px;
    animation: heroPattern 20s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

@keyframes heroPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

#lightning-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7; /* Good visibility for the advanced lightning */
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 6rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    animation: fadeInLeft 1s ease-out;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-orange), transparent, var(--primary-orange));
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255, 145, 77, 0.6);
}

.floating-logo {
    flex: 0 0 auto;
    position: relative;
}

.floating-logo img {
    width: 400px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 145, 77, 0.6));
    transition: transform 0.3s ease;
}

.floating-logo img:hover {
    transform: scale(1.05);
}

/* Enhanced floating animation with more movement */
@keyframes floatEnhanced {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% { 
        transform: translateY(-30px) translateX(15px) rotate(5deg) scale(1.02);
    }
    50% { 
        transform: translateY(-40px) translateX(-10px) rotate(-3deg) scale(1.05);
    }
    75% { 
        transform: translateY(-20px) translateX(20px) rotate(2deg) scale(1.02);
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
}

@keyframes fadeInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .highlight {
    color: var(--primary-orange);
    text-shadow: 0 0 20px rgba(255, 145, 77, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-orange), #ff7a2e);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 145, 77, 0.3);
    border: 2px solid var(--primary-orange);
}

.btn-secondary {
    background: rgba(70, 70, 70, 0.8);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #e67e3a, #ff6a1e);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 145, 77, 0.4);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* Mobile responsiveness improvements */
@media (max-width: 1024px) {
    .hero-wrapper {
        gap: 3rem;
    }
    
    .floating-logo img {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 4rem 1.5rem 3rem;
    }
    
    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        animation: fadeInUp 1s ease-out;
    }
    
    @keyframes fadeInUp {
        from { 
            opacity: 0; 
            transform: translateY(30px); 
        }
        to { 
            opacity: 1; 
            transform: translateY(0); 
        }
    }
    
    .floating-logo {
        order: -1; /* Put logo on top on mobile */
        margin-bottom: 1rem;
    }
    
    .floating-logo img {
        width: 240px;
    }
    
    /* Simplified floating animation for mobile */
    @keyframes floatEnhanced {
        0%, 100% { 
            transform: translateY(0px) scale(1);
        }
        50% { 
            transform: translateY(-20px) scale(1.05);
        }
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    #lightning-canvas {
        opacity: 0.5; /* More subtle on mobile for the advanced lightning */
    }

    .testimonial-grid {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        overflow-y: hidden; /* Prevent vertical scroll */
        padding: 1rem 0 1.5rem; 
        scroll-behavior: smooth;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-orange) rgba(70, 70, 70, 0.3);
        position: relative;
        z-index: 2;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    .testimonial {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .partner-logo {
        flex: 0 0 100px;
        margin-right: 1rem;
        padding: 0.8rem;
    }

    .partner-logo img {
        max-width: 80px;
        max-height: 50px;
    }

    .partners-track {
        animation: scroll-partners-fast 4s linear infinite;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-text {
        padding: 2rem;
        margin: 0 1rem;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem 2.5rem; /* Reduced from 5rem to 4rem for even better spacing */
    }
    
    .floating-logo img {
        width: 200px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .portfolio-item {
        flex: 0 0 280px;
    }

    .scroll-indicator {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .about-text {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--darker-grey) 0%, #1a1a1a 30%, var(--darker-grey) 70%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(255, 145, 77, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 145, 77, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(255, 145, 77, 0.06) 0%, transparent 30%);
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255, 145, 77, 0.1) 25%, transparent 50%, rgba(255, 145, 77, 0.08) 75%, transparent 100%);
    animation: servicesFlow 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes servicesFlow {
    0%, 100% { transform: translateX(-100%); opacity: 0.3; }
    50% { transform: translateX(100%); opacity: 0.7; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transform: translateY(-50%);
    opacity: 0.5;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white); /* Changed to solid white */
    margin-bottom: 1rem;
    /* Removed gradient background properties */
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    backdrop-filter: blur(10px); /* This might need adjustment if the background is now solid white text */
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
}

.services-grid::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid rgba(255, 145, 77, 0.2);
    border-radius: 20px;
    background: linear-gradient(45deg, rgba(255, 145, 77, 0.05), transparent, rgba(255, 145, 77, 0.05));
    pointer-events: none;
}

.service-card {
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.9) 0%, rgba(44, 44, 44, 0.8) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 145, 77, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 145, 77, 0.15), transparent);
    transition: left 0.6s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-orange), transparent, var(--primary-orange));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover::after {
    opacity: 0.7;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 145, 77, 0.25);
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, rgba(70, 70, 70, 1) 0%, rgba(44, 44, 44, 0.95) 100%);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff7a2e 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(255, 145, 77, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 145, 77, 0.3);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 145, 77, 0.4);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Modern CSS Icons */
.service-icon i,
.contact-icon i {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: var(--white);
}

/* Solar Icon - SVG based */
.icon-solar {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7l1.79 1.8 1.41-1.41-1.8-1.79-1.4 1.4zM20 10.5v2h3v-2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm-1 16.95h2V19.5h-2v2.95zm-7.45-3.91l1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8z'/%3E%3C/svg%3E");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
}

/* EV Charging Station Icon - SVG based */
.icon-ev-charger {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 118.09 122.88' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M105.67,61.11c.31,4.25.94,8.53,1.58,12.78A139.75,139.75,0,0,1,109,89.32c.27,6.75-.53,12.3-2.76,16.22-2.48,4.38-6.51,6.72-12.45,6.51h0c-7.09-.13-11.45-4.11-13.42-11.46-1.27-4.73-1.46-11-.7-18.5.54-5.42,1.36-8.89,1-14.47-.45-6.33-1.57-11.32-3.4-15a11.51,11.51,0,0,0-6.27-6v59.93a8.18,8.18,0,0,1,2.3,1.64,8.41,8.41,0,0,1,2.47,6v6A2.74,2.74,0,0,1,73,122.88H2.74A2.74,2.74,0,0,1,0,120.14v-6a8.42,8.42,0,0,1,2.47-6A8.57,8.57,0,0,1,4,107V14.52A14.54,14.54,0,0,1,18.56,0H56.34A14.63,14.63,0,0,1,70.93,14.59V41c11.36,2.48,14.4,15.65,15.13,26.51.49,7.31-.15,7.2-.94,14.63-.77,7.13-.64,12.88.49,17.09,1.27,4.77,4,7.35,8.24,7.41h.05c3.66.12,6.09-1.22,7.52-3.75,1.69-3,2.28-7.55,2-13.31a139.76,139.76,0,0,0-1.68-14.85c-.66-4.44-1.33-8.91-1.64-13.57h-.92l-.09-5.88c-7-.68-9.64-5.39-9.64-12.16V40h-1a1.65,1.65,0,0,1-1.65-1.65V36.46a1.65,1.65,0,0,1,1.65-1.65h4.89V26.16a2.59,2.59,0,0,1,2.6-2.6h0a2.6,2.6,0,0,1,2.6,2.6v8.65h7.65V26.16a2.6,2.6,0,0,1,2.6-2.6h0a2.6,2.6,0,0,1,2.61,2.6v8.65h5a1.65,1.65,0,0,1,1.65,1.65v1.91A1.65,1.65,0,0,1,116.44,40h-1.29v3.45c0,6.68-2.26,10.66-8.75,11.7v5.94ZM42.21,71.28H49.1a1.81,1.81,0,0,1,1.81,1.81,1.85,1.85,0,0,1-.31,1l-16.41,28a1.8,1.8,0,0,1-3.31-1.3L33.3,83.62l-8.16.14A1.8,1.8,0,0,1,23.32,82a1.71,1.71,0,0,1,.25-.95l16.13-28A1.81,1.81,0,0,1,43,54.23l-.83,17.05ZM21.86,12.54H53.68a6,6,0,0,1,4.24,1.76c.07.08.15.15.22.24a6,6,0,0,1,1.56,4v20.3a6,6,0,0,1-6,6H21.86a6,6,0,0,1-4.23-1.76h0a6,6,0,0,1-1.76-4.24V18.53a6,6,0,0,1,1.76-4.24,2.41,2.41,0,0,1,.24-.21,6,6,0,0,1,4-1.54Zm46.58,98.95H7.26a3,3,0,0,0-.91.62,2.92,2.92,0,0,0-.86,2.07v3.24H70.24v-3.24a3,3,0,0,0-.86-2.07,3,3,0,0,0-.94-.63Z'/%3E%3C/svg%3E");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Home Icon - SVG based */
.icon-home {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Building/Commercial Icon - SVG based */
.icon-building {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z'/%3E%3C/svg%3E");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Electrical Repairs (Wrench/Tool) Icon - SVG based */
.icon-plug {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Lightbulb Icon - SVG based */
.icon-lightbulb {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 2C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2 11.7V16h-4v-2.3C8.48 12.63 7 11.01 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.01-1.48 3.63-3 4.7zM9 20v1c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9z'/%3E%3C/svg%3E");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Shield Icon - SVG based */
.icon-shield {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Modern Professional Contact Icons using SVG */

/* Remove old pseudo-element based contact icons */
.icon-phone::before,
.icon-phone::after,
.icon-mail::before,
.icon-mail::after,
.icon-location::before,
.icon-location::after,
.icon-clock::before,
.icon-clock::after {
    display: none;
}

/* Phone Icon - SVG based */
.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ff914d' d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 00-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mail Icon - SVG based */
.icon-mail {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ff914d' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Location Icon - SVG based */
.icon-location {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ff914d' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Clock Icon - SVG based */
.icon-clock {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ff914d' d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Instagram Button - Traditional Style */
.instagram-button-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.instagram-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.instagram-button:hover::before {
    left: 100%;
}

.instagram-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(188, 24, 136, 0.4);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 15%, #dc2743 40%, #cc2366 65%, #bc1888 90%);
}

.instagram-button:active {
    transform: translateY(0) scale(1.02);
}

.instagram-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.instagram-button span {
    white-space: nowrap;
}

/* Mobile adjustments for Instagram button */
@media (max-width: 768px) {
    .instagram-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    
    .instagram-icon {
        width: 18px;
        height: 18px;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-grey) 0%, var(--darker-grey) 50%, var(--primary-grey) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 145, 77, 0.15) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(255, 145, 77, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 145, 77, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.portfolio::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 30%, rgba(255, 145, 77, 0.08) 35%, rgba(255, 145, 77, 0.08) 65%, transparent 70%);
    animation: portfolioShimmer 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes portfolioShimmer {
    0%, 100% { transform: translateX(-100%) rotate(10deg); opacity: 0.4; }
    50% { transform: translateX(100%) rotate(10deg); opacity: 0.8; }
}

.portfolio-scroll-container {
    position: relative;
    margin: 2rem 0;
}

/* Desktop infinite scroll */
@media (min-width: 1025px) {
    .portfolio-scroll-container {
        overflow: hidden;
        mask: linear-gradient(
            to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
        );
        -webkit-mask: linear-gradient(
            to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
        );
    }

    .portfolio-scroll-container::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
        border: 1px solid rgba(255, 145, 77, 0.2);
        border-radius: 20px;
        background: linear-gradient(45deg, rgba(255, 145, 77, 0.03), transparent, rgba(255, 145, 77, 0.03));
        pointer-events: none;
        z-index: 1;
    }

    .portfolio-scroll {
        display: flex;
        width: calc(320px * 26); /* 13 images × 2 sets × 320px width */
        animation: scroll-portfolio 35s linear infinite;
        position: relative;
        z-index: 2;
        gap: 2rem;
    }

    .portfolio-scroll:hover {
        animation-play-state: paused;
    }

    @keyframes scroll-portfolio {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-320px * 13)); /* Move by width of 13 images (first set) */
        }
    }
}

/* Mobile manual scroll */
@media (max-width: 1024px) {
    .portfolio-scroll-container::before {
        display: none;
    }

    .portfolio-scroll {
        display: flex;
        gap: 2rem;
        overflow-x: auto;
        padding: 1rem 0 2rem;
        scroll-behavior: smooth;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-orange) rgba(70, 70, 70, 0.3);
        position: relative;
        z-index: 2;
        -webkit-overflow-scrolling: touch;
        /* Ensure proper width for scrolling */
        width: 100%;
        /* Force hardware acceleration */
        transform: translateZ(0);
    }

    .portfolio-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .portfolio-scroll::-webkit-scrollbar-track {
        background: rgba(70, 70, 70, 0.3);
        border-radius: 10px;
    }

    .portfolio-scroll::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, var(--primary-orange), #ff7a2e);
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(255, 145, 77, 0.5);
    }

    .portfolio-scroll::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(45deg, #e67e3a, #ff6a1e);
    }

    /* Mobile portfolio item sizing */
    .portfolio-item {
        flex: 0 0 280px;
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    .portfolio-scroll {
        gap: 1.5rem;
    }

    .portfolio-item {
        flex: 0 0 260px;
        min-width: 260px;
    }
}

.scroll-indicator {
    text-align: center;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
    position: relative;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.portfolio-item {
    flex: 0 0 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 145, 77, 0.15);
    position: relative;
}

.portfolio-item::before {
    display: none;
}

.portfolio-item::after {
    display: none;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 145, 77, 0.2);
    border-color: rgba(255, 145, 77, 0.3);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--darker-grey) 0%, #1a1a1a 50%, var(--darker-grey) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 145, 77, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 145, 77, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.about::after {
    display: none;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    background: rgba(70, 70, 70, 0.1);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 145, 77, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    max-width: 900px;
    text-align: center;
}

.about-text::before {
    display: none;
}

.about-text::after {
    display: none;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
}

.about-text h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%; /* Changed from 0 to 50% */
    transform: translateX(-50%); /* Added to center the element */
    width: 80px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.about-text p {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p:first-of-type::before {
    display: none;
}

.about-text p:last-of-type::after {
    display: none;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 145, 77, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 1;
}

/* Professional credentials list */
.credentials-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.credentials-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #e0e0e0;
    font-size: 1rem;
}

.credentials-list li::before {
    content: '✓';
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--darker-grey) 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 145, 77, 0.12) 0%, transparent 70%),
        radial-gradient(circle at 25% 25%, rgba(255, 145, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 145, 77, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 145, 77, 0.08) 20%, 
            transparent 40%, 
            rgba(255, 145, 77, 0.06) 60%, 
            transparent 80%, 
            rgba(255, 145, 77, 0.08) 100%
        );
    animation: statsWave 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes statsWave {
    0%, 100% { transform: translateX(-100%); opacity: 0.4; }
    50% { transform: translateX(100%); opacity: 0.8; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stats-grid::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border: 2px solid rgba(255, 145, 77, 0.2);
    border-radius: 25px;
    background: linear-gradient(45deg, rgba(255, 145, 77, 0.03), transparent, rgba(255, 145, 77, 0.03));
    pointer-events: none;
    animation: statsGridGlow 6s ease-in-out infinite;
}

@keyframes statsGridGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.01); }
}

.stat {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.8) 0%, rgba(44, 44, 44, 0.9) 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 145, 77, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 145, 77, 0.15), transparent);
    transition: left 0.5s ease;
}

.stat::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-orange), #ff7a2e, var(--primary-orange));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover::after {
    opacity: 0.8;
}

.stat:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 50px rgba(255, 145, 77, 0.4);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    display: block;
    text-shadow: 0 0 30px rgba(255, 145, 77, 0.8);
    margin-bottom: 0.8rem;
    position: relative;
}

.stat-number::before {
    display: none;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
}

.stat-label::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    border-radius: 1px;
}

/* Partners Section - Never Ending Carousel */
.partners {
    padding: 3rem 0;
    background: var(--primary-grey);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 145, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 145, 77, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.partners::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 145, 77, 0.05) 50%, transparent 100%);
    animation: partnersGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes partnersGlow {
    0%, 100% { transform: translateX(-50%); opacity: 0.3; }
    50% { transform: translateX(50%); opacity: 0.7; }
}

.partners-carousel {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
    mask: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.partners-carousel::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid rgba(255, 145, 77, 0.2);
    border-radius: 20px;
    background: linear-gradient(45deg, rgba(255, 145, 77, 0.03), transparent, rgba(255, 145, 77, 0.03));
    pointer-events: none;
    z-index: 1;
}

.partners-track {
    display: flex;
    width: calc(220px * 22); /* 11 logos × 2 sets × 220px width */
    animation: scroll-infinite 25s linear infinite;
    position: relative;
    z-index: 2;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-220px * 11)); /* Move by width of 11 logos (first set) */
    }
}

.partner-logo {
    flex: 0 0 200px;
    height: 120px;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 145, 77, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 120px; /* Ensure consistent height */
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), #ff7a2e);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.partner-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 145, 77, 0.1));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-logo:hover::before {
    transform: scaleX(1);
}

.partner-logo:hover::after {
    opacity: 1;
}

.partner-logo:hover {
    background: var(--white);
    box-shadow: 0 20px 50px rgba(255, 145, 77, 0.3);
    border-color: var(--primary-orange);
    transform: translateY(-8px) scale(1.05);
    z-index: 10;
}

.partner-logo img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    filter: grayscale(30%) opacity(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    width: auto;
    height: auto;
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .partners-track {
        width: calc(200px * 22); /* 11 logos × 2 sets × 200px width */
        animation-duration: 20s;
    }

    @keyframes scroll-infinite {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 11)); /* Move by width of 11 logos */
        }
    }

    .partner-logo {
        flex: 0 0 180px;
        height: 120px;
        margin: 0 10px;
    }

    .partner-logo img {
        max-width: 92%;
        max-height: 88%;
    }
}

@media (max-width: 480px) {
    .partners-track {
        width: calc(170px * 22); /* 11 logos × 2 sets × 170px width */
        animation-duration: 18s;
    }

    @keyframes scroll-infinite {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-170px * 11)); /* Move by width of 11 logos */
        }
    }

    .partner-logo {
        flex: 0 0 150px;
        height: 100px;
        margin: 0 10px;
    }

    .partner-logo img {
        max-width: 90%;
        max-height: 85%;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--darker-grey) 0%, #1a1a1a 50%, var(--darker-grey) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 145, 77, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 145, 77, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(255, 145, 77, 0.06) 0%, transparent 30%);
    pointer-events: none;
}

.testimonials::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, transparent 25%, rgba(255, 145, 77, 0.08) 30%, rgba(255, 145, 77, 0.08) 70%, transparent 75%);
    animation: testimonialsFlow 14s ease-in-out infinite;
    pointer-events: none;
}

@keyframes testimonialsFlow {
    0%, 100% { transform: translateX(-70%) translateY(-30%) rotate(3deg); opacity: 0.4; }
    50% { transform: translateX(70%) translateY(30%) rotate(-3deg); opacity: 0.8; }
}

/* Desktop testimonials - horizontal scroll */
.testimonial-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0 2rem;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-orange) rgba(70, 70, 70, 0.3);
    position: relative;
    z-index: 2;
    -webkit-overflow-scrolling: touch;
}

.testimonial-grid::-webkit-scrollbar {
    height: 12px;
}

.testimonial-grid::-webkit-scrollbar-track {
    background: rgba(70, 70, 70, 0.3);
    border-radius: 10px;
}

.testimonial-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-orange), #ff7a2e);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 145, 77, 0.5);
}

.testimonial-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #e67e3a, #ff6a1e);
}

.testimonial {
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.8) 0%, rgba(44, 44, 44, 0.9) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 145, 77, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 400px; /* Fixed width for horizontal scroll */
    min-height: 300px;
    margin: 0 1rem;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 145, 77, 0.12), transparent);
    transition: left 0.7s ease;
}

.testimonial::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-orange), transparent, var(--primary-orange));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial:hover::before {
    left: 100%;
}

.testimonial:hover::after {
    opacity: 0.6;
}

.testimonial:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 40px rgba(255, 145, 77, 0.25);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: -20px;
    top: -10px;
    font-size: 2.5rem;
    color: var(--primary-orange);
    opacity: 0.6;
    font-family: serif;
}

.testimonial-text::after {
    content: '"';
    position: absolute;
    right: -15px;
    bottom: -15px;
    font-size: 2.5rem;
    color: var(--primary-orange);
    opacity: 0.6;
    font-family: serif;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-orange);
    position: relative;
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), transparent);
    border-radius: 1px;
}

/* Testimonial scroll indicator - visible on all devices */
.testimonial-scroll-container {
    position: relative;
    margin: 2rem 0;
}

.testimonial-scroll-indicator {
    display: block; /* Show on all devices now */
    text-align: center;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
    animation: pulse 2s infinite;
}

/* Mobile testimonials - size adjustments only */
@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonial {
        flex: 0 0 320px; /* Smaller width for mobile */
        padding: 2rem;
        min-height: 280px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .testimonial-author {
        margin-top: auto;
        padding-top: 1rem;
    }
    
    .testimonial-grid::-webkit-scrollbar {
        height: 8px; /* Thinner scrollbar on mobile */
    }
}

@media (max-width: 480px) {
    .testimonial-scroll-indicator {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .testimonial {
        flex: 0 0 300px;
        padding: 1.5rem;
        min-height: 260px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-grey) 0%, var(--darker-grey) 50%, var(--primary-grey) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 145, 77, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 145, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(255, 145, 77, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 20%, rgba(255, 145, 77, 0.06) 25%, rgba(255, 145, 77, 0.06) 75%, transparent 80%);
    animation: contactFlow 16s ease-in-out infinite;
    pointer-events: none;
}

@keyframes contactFlow {
    0%, 100% { transform: translateX(-60%) translateY(-40%) rotate(2deg); opacity: 0.4; }
    50% { transform: translateX(60%) translateY(40%) rotate(-2deg); opacity: 0.7; }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), transparent);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 145, 77, 0.5);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.contact-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--primary-orange), transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover::before {
    opacity: 0.7;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 145, 77, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.5rem;
    border: 2px solid rgba(255, 145, 77, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.contact-icon::before {
    /* Remove the old pulse animation styles */
    display: none;
}

.contact-icon:hover {
    background: rgba(255, 145, 77, 0.2);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 145, 77, 0.3);
}

/* Remove the old contactIconPulse animation */
/* @keyframes contactIconPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: scale(1.15);
        opacity: 0.8;
    }
} */

.contact-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 145, 77, 0.6);
}

.contact-form {
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.9) 0%, rgba(44, 44, 44, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 145, 77, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-orange), transparent, var(--primary-orange), transparent, var(--primary-orange));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.4;
    animation: formBorderGlow 5s ease-in-out infinite;
}

.contact-form::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(255, 145, 77, 0.2);
    border-radius: 15px;
    pointer-events: none;
    animation: formInnerGlow 4s ease-in-out infinite reverse;
}

@keyframes formBorderGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.01); }
}

@keyframes formInnerGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 145, 77, 0.3);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: rgba(44, 44, 44, 0.8);
    color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(255, 145, 77, 0.4);
}

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

.submit-btn {
    background: linear-gradient(45deg, var(--primary-orange), #ff7a2e);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.4);
    position: relative;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-orange), #ff7a2e, var(--primary-orange));
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-btn:hover::before {
    opacity: 0.8;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #e67e3a, #ff6a1e);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 145, 77, 0.6);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--darker-grey) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    border-top: 3px solid rgba(255, 145, 77, 0.4);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center top, rgba(255, 145, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 30% 50%, rgba(255, 145, 77, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 70% 50%, rgba(255, 145, 77, 0.04) 0%, transparent 30%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 145, 77, 0.03) 50%, transparent 100%);
    animation: footerGlow 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes footerGlow {
    0%, 100% { transform: translateX(-100%); opacity: 0.5; }
    50% { transform: translateX(100%); opacity: 0.8; }
}

.footer p {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 145, 77, 0.2), transparent);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-links a:hover {
    color: var(--primary-orange);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 10000; /* Higher than mobile menu to ensure X is visible */
    position: relative;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: linear-gradient(45deg, var(--white), var(--primary-orange));
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    position: relative;
}

.mobile-menu-toggle span:nth-child(1) {
    transform-origin: center;
}

.mobile-menu-toggle span:nth-child(2) {
    transform-origin: center;
}

.mobile-menu-toggle span:nth-child(3) {
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
    background: var(--primary-orange);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
    background: var(--primary-orange);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(44, 44, 44, 0.98) 100%);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.8);
    padding-top: 60px; /* Account for smaller header height */
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-nav-menu li {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-nav-menu li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(6) { transition-delay: 0.6s; }

.mobile-nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    background: rgba(70, 70, 70, 0.3);
    border: 2px solid rgba(255, 145, 77, 0.2);
    backdrop-filter: blur(10px);
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.cta-button {
    background: linear-gradient(45deg, var(--primary-orange), #ff7a2e);
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 145, 77, 0.4);
}

.mobile-nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 145, 77, 0.1), transparent);
    transition: left 0.5s ease;
    border-radius: 15px;
}

.mobile-nav-menu a:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact item text color */
.contact-item div {
    color: var(--text-light);
}

.contact-item div strong {
    color: var(--white);
}

.contact-item a {
    color: var(--text-light) !important;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-orange) !important;
}

/* Mobile responsive for about section */
@media (max-width: 768px) {
    .about {
        padding: 3rem 0;
    }

    .about-content {
        padding: 0 1rem;
    }

    .about-text {
        padding: 2rem 1.5rem;
        margin: 0;
        border-radius: 15px;
        max-width: 100%;
        text-align: left;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .credentials-list {
        margin: 1.5rem 0;
        padding-left: 0;
    }

    .credentials-list li {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
        padding-left: 0;
    }

    .credentials-list li::before {
        font-size: 1rem;
        margin-right: 0.8rem;
        width: 16px;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 2.5rem 0;
    }

    .about-content {
        padding: 0 0.5rem;
    }

    .about-text {
        padding: 1.5rem 1rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .credentials-list {
        margin: 1rem 0;
    }

    .credentials-list li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
}

/* Desktop contact layout - side by side */
@media (min-width: 769px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
    
    .contact-info {
        padding-right: 2rem;
    }
    
    .contact-form {
        padding-left: 2rem;
    }
}

/* Extra small screens like iPhone SE */
@media (max-width: 375px) {
    .hero {
        padding: 6rem 1rem 2.5rem; /* Increased top padding from 4.5rem to 6rem */
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .floating-logo img {
        width: 180px;
    }
}

/* Mobile portfolio improvements */
@media (max-width: 768px) {
    .portfolio-scroll-container {
        margin: 2rem -2rem; /* Extend beyond container */
    }
    
    .portfolio-scroll {
        padding: 1rem 2rem 2rem; /* Add back horizontal padding */
    }
    
    .portfolio-item {
        flex: 0 0 280px; /* Slightly larger on mobile */
    }
}

@media (max-width: 480px) {
    .portfolio-scroll-container {
        margin: 2rem -1rem; /* Extend beyond container on small screens */
    }
    
    .portfolio-scroll {
        padding: 1rem 1rem 2rem; /* Smaller horizontal padding */
    }
    
    .portfolio-item {
        flex: 0 0 260px; /* Appropriate size for small screens */
    }
}

/* Credentials Section */
.credentials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--darker-grey) 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.credentials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 145, 77, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 20% 20%, rgba(255, 145, 77, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 145, 77, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.credential-item {
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.8) 0%, rgba(44, 44, 44, 0.9) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 145, 77, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.credential-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 145, 77, 0.1), transparent);
    transition: left 0.6s ease;
}

.credential-item:hover::before {
    left: 100%;
}

.credential-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 40px rgba(255, 145, 77, 0.25);
}

.credential-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-orange), #ff7a2e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.4);
}

.credential-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.credential-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile credentials - vertical list with blue accents */
@media (max-width: 768px) {
    .credentials-section {
        padding: 4rem 0;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .credential-item {
        background: rgba(255, 255, 255, 0.95);
        padding: 1.5rem;
        border-radius: 15px;
        text-align: left;
        border: none;
        border-left: 4px solid #4a90e2;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .credential-item::before {
        display: none;
    }
    
    .credential-item:hover {
        transform: none;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    .credential-icon {
        width: 50px;
        height: 50px;
        background: #4a90e2;
        margin: 0;
        flex-shrink: 0;
    }
    
    .credential-content {
        flex: 1;
    }
    
    .credential-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        color: #2c3e50;
    }
    
    .credential-item p {
        color: #6c757d;
        font-size: 0.9rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .credentials-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .credential-item {
        padding: 1.25rem;
    }
    
    .credential-icon {
        width: 45px;
        height: 45px;
    }
    
    .credential-item h3 {
        font-size: 1rem;
    }
    
    .credential-item p {
        font-size: 0.85rem;
    }
}

/* Why Choose BAE Electrical Section */
.why-choose-bae {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--darker-grey) 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-bae::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 145, 77, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 20% 20%, rgba(255, 145, 77, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 145, 77, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2.5rem;
    position: relative;
    z-index: 2;
    max-width: 1000px; /* Adjust as needed */
    margin: 0 auto;
}

.why-choose-item {
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.8) 0%, rgba(44, 44, 44, 0.9) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 145, 77, 0.15);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Stack icon and content vertically */
    align-items: center; /* Center items horizontally */
}

.why-choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 145, 77, 0.1), transparent);
    transition: left 0.6s ease;
}

.why-choose-item:hover::before {
    left: 100%;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 12px 35px rgba(255, 145, 77, 0.2);
}

.why-choose-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, var(--primary-orange), #ff7a2e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 145, 77, 0.35);
}

.why-choose-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.why-choose-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Mobile styling for Why Choose Section */
@media (max-width: 768px) {
    .why-choose-bae {
        padding: 3.5rem 0;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .why-choose-item {
        padding: 1.5rem;
        text-align: left; /* Align text to left for mobile cards */
        flex-direction: row; /* Icon and content side-by-side */
        align-items: center; /* Align items vertically in the center */
    }
    
    .why-choose-icon {
        margin-bottom: 0; /* Remove bottom margin for row layout */
        margin-right: 1rem; /* Add right margin for spacing */
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .why-choose-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .why-choose-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .why-choose-grid {
        padding: 0 0.5rem;
    }
    .why-choose-item {
        padding: 1.25rem;
    }
     .why-choose-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .why-choose-content h3 {
        font-size: 1rem;
    }
    .why-choose-content p {
        font-size: 0.8rem;
    }
}

/* Apply 90% zoom for PC/desktop views */
@media (min-width: 1025px) { /* Target screens wider than 1024px */
    body {
        zoom: 0.9;
        /* Fallback for browsers that don't support zoom, using transform */
        /* transform: scale(0.9);
        transform-origin: top left; */ /* Adjust origin as needed */
        /* Note: transform: scale() can affect layout differently than zoom. 
           Zoom is generally better for overall page scaling if supported. */
    }
}

/* Smooth scrolling */

/* 5-Star Rating for Testimonials */
.testimonial-rating {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--primary-orange);
    font-size: 1.2rem;
    letter-spacing: 2px;
    z-index: 3;
    text-shadow: 0 0 10px rgba(255, 145, 77, 0.5);
    transition: all 0.3s ease;
}

.testimonial:hover .testimonial-rating {
    color: #ffab5a;
    text-shadow: 0 0 15px rgba(255, 145, 77, 0.8);
    transform: scale(1.05);
}

/* Mobile adjustments for testimonial rating */
@media (max-width: 768px) {
    .testimonial-rating {
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .testimonial-rating {
        font-size: 0.9rem;
        bottom: 12px;
        right: 12px;
        letter-spacing: 1px;
    }
}

/* Testimonial scroll indicator - hidden on desktop, visible on mobile */

/* End of file */

/* Move logo further right on desktop */
@media (min-width: 1025px) {
    .floating-logo {
        margin-left: 9rem;
    }
}

/* Apply 90% zoom for PC/desktop views */

