:root {
    --primary-orange: #fd8a05;
    --primary-black: #000000;
    --white: #ffffff;
    --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;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--primary-black);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-orange);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.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: row;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
}

.logo-main {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.logo-highlight {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

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

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

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

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

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

.cta-button {
    background: var(--primary-black);
    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: var(--white);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lightning Canvas for Electrical Effects */
#lightning-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: 0.3s all ease-in;
}

.bg[data-bg="01"] {
    background-image: url("fire with propper orange.png");
}

.bg[data-bg="02"] {
    background-image: url("fire with propper orange.png");
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content-overlay {
    position: relative;
    background: rgba(0, 0, 0, 0.45);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    width: 100%;
    min-height: 100%;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    align-items: center;
    text-align: center;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    order: 1;
    margin: 0 auto 0.5rem auto;
}

.logo-container img {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

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

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(253, 138, 5, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-10px) scale(1.05);
        opacity: 0.6;
    }
}

.hero-content {
    max-width: 550px;
    color: var(--white);
    margin: 0 auto;
    order: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary-orange);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h2 {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--white);
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .highlight {
    color: var(--white);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex-basis: calc(33.333% - 1rem);
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 1s both;
    margin-top: 1rem;
}

.logo-container {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.logo-container img {
    width: 300px;
    height: auto;
    transition: transform 0.3s ease;
}

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

.logo-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(253, 138, 5, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-10px) scale(1.05);
        opacity: 0.6;
    }
}

.hero-services {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    animation: fadeInRight 0.8s ease-out 0.6s both;
}

.service-tag {
    background: var(--white);
    color: var(--primary-orange);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.service-tag:hover {
    background: var(--primary-black);
    color: var(--white);
    transform: translateX(-5px);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.btn-primary {
    background: var(--primary-black);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-black);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-black), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-primary:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(253, 138, 5, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover::before {
    left: 100%;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(45deg, #000000 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(253, 138, 5, 0.03) 0%, transparent 70%);
    z-index: 1;
}

.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);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.8;
    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;
}

.service-card {
    background: var(--primary-orange);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(253, 138, 5, 0.3);
    border: 2px solid var(--primary-orange);
    position: relative;
    overflow: hidden;
    z-index: 5;
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(253, 138, 5, 0.5);
    border-color: var(--primary-black);
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e67c04 100%);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-black);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-orange);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--white);
    color: var(--primary-orange);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

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

.service-card p {
    color: var(--primary-black);
    opacity: 0.8;
    line-height: 1.6;
}

/* SVG Service Icons using CSS Masks */
.icon-fire, .icon-security, .icon-home, .icon-building, .icon-data, .icon-maintenance {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: var(--primary-orange); /* This will be the icon's color */
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.icon-fire {
    mask-image: url('fire-alarm-svgrepo-com.svg');
    -webkit-mask-image: url('fire-alarm-svgrepo-com.svg');
}

.icon-security {
    mask-image: url('cctv-svgrepo-com.svg');
    -webkit-mask-image: url('cctv-svgrepo-com.svg');
}

.icon-home {
    mask-image: url('house-chimney-blank-svgrepo-com.svg');
    -webkit-mask-image: url('house-chimney-blank-svgrepo-com.svg');
}

.icon-building {
    mask-image: url('building-svgrepo-com.svg');
    -webkit-mask-image: url('building-svgrepo-com.svg');
}

.icon-data {
    mask-image: url('internet-3-svgrepo-com.svg');
    -webkit-mask-image: url('internet-3-svgrepo-com.svg');
}

.icon-maintenance {
    mask-image: url('tools-svgrepo-com.svg');
    -webkit-mask-image: url('tools-svgrepo-com.svg');
}

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

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

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-black);
    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(0, 0, 0, 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;
}

.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(26, 26, 26, 0.3);
    border: 2px solid rgba(253, 138, 5, 0.2);
    backdrop-filter: blur(10px);
}

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

.mobile-nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(253, 138, 5, 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;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .logo img {
        height: 35px;
        width: auto;
        max-width: none;
        object-fit: contain;
    }

    .logo-main, .logo-highlight, .logo-sub {
        font-size: 0.9rem;
    }
    
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero-logo {
        margin-bottom: 1.5rem;
    }

    .logo-container img {
        max-width: 120px;
    }

    .hero-content-overlay {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .particles {
        display: block;
    }

    /* Portfolio mobile styles */
    .scroll-indicator {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        gap: 0.5rem;
    }

    .scroll-arrow svg {
        width: 16px;
        height: 16px;
    }

    .scroll-text {
        font-size: 0.85rem;
    }

    .portfolio-scroll {
        padding: 1rem;
    }

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

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: linear-gradient(135deg, #000000 0%, #050505 100%);
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(253, 138, 5, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(253, 138, 5, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.portfolio-scroll-container {
    position: relative;
    margin: 2rem auto;
    overflow: visible; /* Changed from hidden to visible for the indicator */
    max-width: 95%;
}

.scroll-indicator {
    text-align: center;
    color: var(--white);
    font-weight: 400;
    margin: 0 auto 1rem auto; /* Reduced bottom margin from 1.5rem to 1rem */
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem; /* Reduced padding */
    background: rgba(253, 138, 5, 0.1);
    border: 1px solid rgba(253, 138, 5, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: fit-content;
    transition: all 0.3s ease;
    position: relative;
    animation: scrollPulse 2s ease-in-out infinite;
    z-index: 2; /* Ensure it stays above other elements */
}

.scroll-arrow {
    color: var(--primary-orange);
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.scroll-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--primary-orange);
}

/* Enhanced arrow hover effects */
.scroll-indicator:hover .scroll-arrow.left {
    transform: translateX(-3px);
}

.scroll-indicator:hover .scroll-arrow.right {
    transform: translateX(3px);
}

.scroll-arrow.left {
    animation: arrowLeft 1.5s ease-in-out infinite;
}

.scroll-arrow.right {
    animation: arrowRight 1.5s ease-in-out infinite;
}

@keyframes arrowLeft {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-5px);
    }
}

@keyframes arrowRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.scroll-text {
    color: var(--white);
    font-weight: 500;
}

@keyframes scrollPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 10px rgba(253, 138, 5, 0.2);
    }
    50% {
        transform: translateY(-2px); /* Reduced movement from -3px to -2px */
        box-shadow: 0 3px 15px rgba(253, 138, 5, 0.3); /* Reduced shadow spread */
    }
}

.scroll-indicator:hover {
    background: rgba(253, 138, 5, 0.2);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
    animation: none;
}

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

.portfolio-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: normal; /* Changed from thin to normal for better visibility */
    scrollbar-color: var(--primary-orange) rgba(253, 138, 5, 0.2); /* More visible track */
    border-radius: 10px;
    background: rgba(0,0,0, 0.1);
    position: relative;
    border: 1px solid rgba(253, 138, 5, 0.1);
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.3),
        0 2px 10px rgba(253, 138, 5, 0.1);
    margin-top: 0; /* Ensure no extra top margin */
}

/* Enhanced scrollbar styling for better visibility */
.portfolio-scroll::-webkit-scrollbar {
    height: 14px; /* Increased from 10px */
    display: block !important;
    visibility: visible !important;
}

.portfolio-scroll::-webkit-scrollbar-track {
    background: rgba(253, 138, 5, 0.15); /* More visible orange tint */
    border-radius: 7px;
    border: 1px solid rgba(253, 138, 5, 0.2);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.portfolio-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 7px;
    border: 2px solid rgba(0,0,0,0.2);
    box-shadow: 0 0 5px rgba(253, 138, 5, 0.5); /* Added glow effect */
    transition: all 0.3s ease;
}

.portfolio-scroll::-webkit-scrollbar-thumb:hover {
    background: #e67c04;
    box-shadow: 0 0 10px rgba(253, 138, 5, 0.8);
    border-color: rgba(253, 138, 5, 0.3);
}

/* Firefox scrollbar styling */
@supports (scrollbar-width: auto) {
    .portfolio-scroll {
        scrollbar-width: auto; /* Use default width for better visibility */
        scrollbar-color: var(--primary-orange) rgba(253, 138, 5, 0.2);
    }
}

.portfolio-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.portfolio-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 5px;
    border: 2px solid rgba(0,0,0,0.2);
}

.portfolio-scroll::-webkit-scrollbar-thumb:hover {
    background: #e67c04;
}

.portfolio-item {
    flex: 0 0 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid transparent;
    position: relative;
    background-color: var(--primary-black);
}

.portfolio-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(253, 138, 5, 0.3);
    border-color: var(--primary-orange);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: linear-gradient(225deg, #000000 0%, #080808 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(253, 138, 5, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(253, 138, 5, 0.05) 0%, transparent 45%);
    z-index: 1;
}

.about .section-title h2 {
    color: var(--white);
}

.about .section-title p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about .section-title::before {
    background: linear-gradient(90deg, var(--primary-orange), transparent);
}

.about-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.about-intro-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro-text p {
    margin-bottom: 1.5rem;
}

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

/* Desktop layout - center the first two cards */
@media (min-width: 769px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto;
        gap: 2rem;
    }
    
    .reason-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 350px;
        margin: 0 auto;
    }
}

.reason-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(253, 138, 5, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.reason-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 35px rgba(253, 138, 5, 0.2);
}

.reason-icon-container {
    width: 70px;
    height: 70px;
    background: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary-orange);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.reason-card:hover .reason-icon-container {
    background: var(--primary-orange);
    border-color: var(--primary-black);
}

.reason-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: var(--primary-orange);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    transition: background-color 0.3s ease;
}

.reason-card:hover .reason-icon {
    background-color: var(--primary-black);
}

.icon-certified {
    mask-image: url('certified-svgrepo-com.svg');
    -webkit-mask-image: url('certified-svgrepo-com.svg');
}

.icon-location-pin {
    mask-image: url('location-pin-svgrepo-com.svg');
    -webkit-mask-image: url('location-pin-svgrepo-com.svg');
}

.icon-expertise {
    mask-image: url('tools-svgrepo-com.svg');
    -webkit-mask-image: url('tools-svgrepo-com.svg');
}

.reason-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.reason-card:hover h3 {
    color: var(--primary-orange);
}

.reason-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact Section - Redesigned */
.contact {
    padding: 5rem 1rem;
    background-color: #000000;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" width="80" height="80"><path fill="rgba(253,138,5,0.02)" d="M0 0h80v80H0zM40 0v80M0 40h80" stroke-width="0.5" stroke="rgba(253,138,5,0.04)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact .section-title h2 {
    color: var(--white);
}

.contact .section-title p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
}

.contact .section-title::before {
    background: linear-gradient(90deg, var(--primary-orange), transparent);
}

.contact-content-wrapper {
    margin-top: 3rem;
}

.contact-info-blocks {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) and (min-width: 376px) {
    .contact-info-blocks {
        margin-bottom: 1rem !important;
    }
}

.contact-info-block {
    background: transparent;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    text-align: center;
    flex: 0 1 250px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

.contact-info-block:hover {
    transform: translateY(-2px);
}

.contact-block-icon {
    margin-bottom: 0.75rem;
}

.contact-block-icon span {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: var(--primary-orange);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.icon-phone-contact {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath 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");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath 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");
}
.icon-email-contact {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath 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");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath 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");
}
.icon-map-pin-contact {
    mask-image: url('location-pin-svgrepo-com.svg');
    -webkit-mask-image: url('location-pin-svgrepo-com.svg');
}

.contact-info-block h3 {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-info-block p, .contact-info-block a {
    color: var(--primary-orange);
    font-size: 0.9rem;
    text-decoration: none;
}

.contact-info-block a:hover {
    color: #e67c04;
    text-decoration: underline;
}

.contact-form-redesigned {
    background: #0a0a0a;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    backdrop-filter: blur(5px);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

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

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

.contact-form-redesigned label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-redesigned input[type="text"],
.contact-form-redesigned input[type="email"],
.contact-form-redesigned input[type="tel"],
.contact-form-redesigned select,
.contact-form-redesigned textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background: #181818;
    color: var(--white);
}

.contact-form-redesigned input::placeholder,
.contact-form-redesigned textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form-redesigned input:focus,
.contact-form-redesigned select:focus,
.contact-form-redesigned textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(253, 138, 5, 0.25);
    background: #1F1F1F;
}

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

.submit-btn-redesigned {
    background: var(--primary-orange);
    color: var(--primary-black);
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(253, 138, 5, 0.2);
}

.submit-btn-redesigned:hover {
    background: #e67c04;
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(253, 138, 5, 0.4);
}

.contact-social-links {
    text-align: center;
    margin-top: 2rem;
}

.contact-social-links h4 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.social-icons-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon-contact-link span {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: var(--primary-orange);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    border-radius: 8px;
    padding: 8px;
    border: 2px solid var(--primary-orange);
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.social-icon-contact-link:hover span {
    background-color: #e67c04;
    border-color: #e67c04;
    transform: scale(1.1);
}

.icon-facebook-contact {
    mask-image: url('facebook-svgrepo-com.svg');
    -webkit-mask-image: url('facebook-svgrepo-com.svg');
}

.icon-instagram-contact {
    mask-image: url('instagram-svgrepo-com.svg');
    -webkit-mask-image: url('instagram-svgrepo-com.svg');
}

/* Remove or neutralize old Contact Section styles */
.contact-info, .contact-item, .contact-icon, .contact-form, .social-links, .social-icons, .social-icon, .submit-btn {
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
    margin: 0;
    gap: 0;
    max-width: none;
    grid-template-columns: none;
}
.contact-icon i {
    display:none;
}

/* Partners Section - Infinite Carousel */
.partners {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="partners-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="rgba(253,138,5,0.1)"/><circle cx="15" cy="45" r="0.5" fill="rgba(253,138,5,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23partners-pattern)"/></svg>');
    opacity: 0.4;
}

.partners .section-title h2 {
    color: var(--white);
}

.partners .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.partners .section-title::before {
    background: linear-gradient(90deg, var(--primary-orange), transparent);
}

.partners-container {
    position: relative;
    z-index: 2;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    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%
    );
}

.carousel-track {
    display: flex;
    width: calc(200px * 20); /* 10 logos × 2 (for seamless loop) × 200px width */
    animation: scroll-infinite 40s linear infinite;
}

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

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

.partner-item {
    flex: 0 0 200px;
    height: 120px;
    background: #ffffff80;
    margin: 0 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(253, 138, 5, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

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

.partner-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(253, 138, 5, 0.3);
    border-color: var(--primary-orange);
    background: rgba(253, 138, 5, 0.1);
    z-index: 10;
}

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

.partner-item img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    filter: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.partner-item:hover img {
    filter: none;
    transform: scale(1.1);
}

.partner-item img.loaded {
    opacity: 1;
}

/* Mobile Responsiveness for Partners */
@media (max-width: 768px) {
    .partners {
        padding: 3rem 0;
    }

    .carousel-track {
        width: calc(150px * 20); /* Smaller width for mobile */
        animation-duration: 35s;
    }

    @keyframes scroll-infinite {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 10));
        }
    }

    .partner-item {
        flex: 0 0 150px;
        height: 100px;
        margin: 0 15px;
    }

    .partner-item img {
        max-width: 75%;
        max-height: 65%;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        width: calc(120px * 20);
        animation-duration: 30s;
    }

    @keyframes scroll-infinite {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 10));
        }
    }

    .partner-item {
        flex: 0 0 120px;
        height: 80px;
        margin: 0 10px;
    }
}

/* Footer */
.footer {
    background: #0d0d0d;
    color: #aaa;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #2a2a2a;
}

.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:hover {
    color: var(--primary-orange);
    transform: translateY(-2px);
}

/* Footer mobile responsive */
@media (max-width: 768px) {
    .footer {
        padding: 30px 15px;
        overflow: hidden;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .footer-links a {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .footer p {
        font-size: 0.85rem;
        padding: 0 15px;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 10px;
    }
    
    .footer-links {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
    
    .footer p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Contact Icons */
.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='white' 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;
}

.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='white' 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;
}

.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='white' 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%3Cpath d='M12 59.183c-28.273,0-51.274,23.154-51.274,51.614c0,28.461,23.001,51.614,51.274,51.614 c28.273,0,51.274-23.153,51.274-51.614C199.774,82.337,176.773,59.183,148.5,59.183z M148.5,141.901 c-16.964,0-30.765-13.953-30.765-31.104c0-17.15,13.801-31.104,30.765-31.104c16.964,0,30.765,13.953,30.765,31.104 C179.265,127.948,165.464,141.901,148.5,141.901z'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.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='white' 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;
}

.icon-facebook {
    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='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-instagram {
    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 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.40s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Credential Icons for Why Choose Section */
.icon-license {
    background-image: url("data:image/svg+xml,%3Csvg fill='%23fd8a05' width='24' height='24' viewBox='0 0 1920 1920' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M960 15 693.227 257.027 333.44 243.053 284.693 599.96 0 820.547l192 304.64-76.267 352 342.934 109.973 167.893 318.613L960 1769.56l333.44 136.213 167.893-318.613 342.934-109.973-76.267-352 192-304.64-284.693-220.587-48.747-356.907-359.893 13.974L960 15Zm352.747 616.427 147.84 153.813-600 577.28-402.774-402.773L608.64 808.92l254.933 254.827 449.174-432.32Z' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-location {
    background-image: url("data:image/svg+xml,%3Csvg fill='%23fd8a05' height='24' width='24' viewBox='0 0 297 297' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M148.5,0C87.43,0,37.747,49.703,37.747,110.797c0,91.026,99.729,179.905,103.976,183.645 c1.936,1.705,4.356,2.559,6.777,2.559c2.421,0,4.841-0.853,6.778-2.559c4.245-3.739,103.975-92.618,103.975-183.645 C259.253,49.703,209.57,0,148.5,0z M148.5,272.689c-22.049-21.366-90.243-93.029-90.243-161.892 c0-49.784,40.483-90.287,90.243-90.287s90.243,40.503,90.243,90.287C238.743,179.659,170.549,251.322,148.5,272.689z'/%3E%3Cpath d='M148.5,59.183c-28.273,0-51.274,23.154-51.274,51.614c0,28.461,23.001,51.614,51.274,51.614 c28.273,0,51.274-23.153,51.274-51.614C199.774,82.337,176.773,59.183,148.5,59.183z M148.5,141.901 c-16.964,0-30.765-13.953-30.765-31.104c0-17.15,13.801-31.104,30.765-31.104c16.964,0,30.765,13.953,30.765,31.104 C179.265,127.948,165.464,141.901,148.5,141.901z'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

/* 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);
}

/* Original iPhone SE (320px) - most compact */
@media (max-width: 320px) {
    /* Use same layout as 375px but slightly smaller */
    .contact {
        padding: 0.8rem 0.4rem !important;
    }
    
    .contact .section-title h2 {
        font-size: 1.3rem !important;
    }
    
    .contact .section-title p {
        font-size: 0.75rem !important;
    }
    
    .contact-info-blocks {
        gap: 0.4rem !important;
    }

    .contact-info-block {
        padding: 0.4rem 0.2rem !important;
        min-height: 70px !important;
    }
    
    .contact-block-icon span {
        width: 18px !important;
        height: 18px !important;
    }
    
    .contact-info-block p, .contact-info-block a {
        font-size: 0.65rem !important;
    }
    
    .hero {
        padding-top: 85px;
    }
    
    .contact-form-redesigned {
        padding: 0.8rem 0.6rem !important;
    }
}

/* iPhone SE and very small screens */
@media (max-width: 375px) {
    .header {
        padding: 0.6rem 0;
    }
    
    /* REMOVED conflicting contact styles that were here */
    /* Ultra-compact contact layout for iPhone SE -- these are now GONE */
    /* .contact-info-blocks { ... } */
    /* .contact-info-block { ... } */
    /* .contact-info-block:first-child { ... } */
    
    .nav-container {
        padding: 0 0.8rem;
        gap: 0.5rem;
    }
    
    .logo {
        gap: 0.3rem;
    }
    
    .logo img {
        height: 30px;
        width: auto;
        object-fit: contain;
    }
    
    .logo-main, .logo-highlight, .logo-sub {
        font-size: 0.65rem;
    }
    
    .mobile-menu-toggle {
        gap: 4px;
        padding: 5px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding-top: 0;
    }

    .hero-content-overlay {
        padding: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding-top: 60px; /* Space for header */
        box-sizing: border-box;
    }

    .hero-wrapper {
        gap: 0.8rem;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-logo {
        order: 1;
        margin-bottom: 0.3rem;
    }
    
    .hero-badge {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .hero h1 {
        font-size: 1.7rem;
        margin-bottom: 0.4rem;
    }

    .hero h2 {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .hero p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }

    .hero-stats {
        gap: 0.3rem;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.8rem;
    }
    
    .stat-item {
        flex-basis: auto;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }

    .hero-buttons {
        gap: 0.4rem;
        margin-top: 0.8rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        font-size: 0.8rem;
        padding: 0.65rem 1rem;
    }

    .logo-container img {
        width: 90px !important;
    }

    #lightning-canvas {
        opacity: 0.3;
    }
    
    /* Contact styles removed - handled by the second 375px media query below */
    
    /* Fix Why Choose section centering on iPhone SE */
    .reasons-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
        gap: 1.5rem;
    }
    
    .reason-card {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* iPhone SE specific ultra-compact layout */
@media (max-width: 375px) {
    .contact {
        padding: 2rem 0.5rem 1.5rem 0.5rem !important;
        margin: 0 !important;
    }
    
    .contact .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .contact .section-title {
        margin-bottom: 1rem !important;
        padding: 0 !important;
    }
    
    .contact .section-title h2 {
        font-size: 1.5rem !important;
        margin: 0 0 0.3rem 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }
    
    .contact .section-title p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .contact-content-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .contact-info-blocks {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
        padding: 0 !important;
        flex-wrap: nowrap !important;
        min-width: unset !important;
        max-width: 100% !important;
    }
    
    .contact-info-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.4rem !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        flex-basis: 0 !important;
        box-shadow: none !important;
        transform: none !important;
    }
    
    .contact-info-block:hover {
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .contact-block-icon {
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .contact-block-icon span {
        width: 22px !important;
        height: 22px !important;
        background-color: var(--primary-orange) !important;
    }
    
    .contact-info-block h3 {
        display: none !important;
    }
    
    .contact-info-block h3:after {
        display: none !important;
    }
    
    .contact-info-block p,
    .contact-info-block a {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        font-weight: 400 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: var(--primary-orange) !important;
        text-align: center !important;
        word-break: break-word !important;
        white-space: normal !important;
        text-decoration: none !important;
    }
    
    .contact-info-block a:hover {
        color: var(--primary-orange) !important;
        text-decoration: underline !important;
    }
    
    .contact-form-redesigned {
        padding: 1rem !important;
        margin: 0 !important;
        background: rgba(0, 0, 0, 0.5) !important;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) and (min-width: 376px) {
    .hero {
        min-height: 100svh;
        height: 100svh;
    }

    .hero-content-overlay {
        padding: 1.5rem 1rem;
    }

    .hero-wrapper {
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-stats {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem;
    }
    .stat-item {
        flex-basis: auto;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    .hero-buttons .btn-primary:last-child,
    .hero-buttons .btn-secondary:last-child {
        margin-bottom: 0;
    }

    #lightning-canvas {
        opacity: 0.4;
    }

    .contact {
        padding: 2.5rem 1rem;
    }

    .contact-info-blocks {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
        max-width: 280px;
        margin: 0 auto 1.5rem auto;
    }

    .contact-info-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        padding: 0;
        width: 100%;
        text-align: center;
        flex: none;
        margin-bottom: 0.3rem;
    }
    
    .contact-block-icon {
        margin-bottom: 0;
        flex-shrink: 0;
        margin-top: 0;
    }
    
    .contact-block-icon span {
        width: 18px;
        height: 18px;
    }

    .contact-info-block h3 {
        margin-bottom: 0;
        margin-top: 0.1rem;
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .contact-info-block p, .contact-info-block a {
        font-size: 0.8rem;
        margin: 0;
        line-height: 1.2;
    }
    


    .contact-form-redesigned {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 1rem;
    }
    .form-row .form-group:last-child {
        margin-bottom: 0;
    }
    
    .contact-form-redesigned input[type="text"],
    .contact-form-redesigned input[type="email"],
    .contact-form-redesigned input[type="tel"],
    .contact-form-redesigned select,
    .contact-form-redesigned textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .submit-btn-redesigned {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }

    .contact .section-title h2 {
        font-size: 2rem;
    }

    .contact .section-title p {
        font-size: 0.9rem;
    }

    .logo-container img {
        width: 120px;
    }

    .hero-wrapper {
        gap: 1rem;
    }
}

/* Responsive Design - Specific overrides if needed */
@media (min-width: 769px) {
    .hero-content-overlay {
        padding: 6rem 2rem 2rem;
    }
    .hero-wrapper {
        grid-template-columns: 1fr auto;
        text-align: left;
        gap: 4rem;
    }
    .hero-logo {
        order: initial;
        gap: 2rem;
        margin: 0;
    }
    .logo-container img {
        width: 300px;
    }
    .logo-glow {
        top: -20px; left: -20px; right: -20px; bottom: -20px;
    }
    .hero-content {
        margin: 0;
        order: initial;
    }
    .hero h1 {
        font-size: clamp(2.2rem, 6vw, 3rem);
    }
    .hero h2 {
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    }
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .hero-stats {
        justify-content: flex-start;
        gap: 2rem;
        margin-bottom: 2rem;
        flex-wrap: nowrap;
    }
    .stat-item {
        flex-basis: auto;
        min-width: auto;
    }
    .hero-buttons {
        justify-content: flex-start;
        gap: 1rem;
        margin-top: 0;
    }
}

/* Thank You Page Styles */
.thank-you-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.thank-you-main {
    flex: 1;
    padding-top: 80px; /* Account for fixed header */
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.thank-you-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(253, 138, 5, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(253, 138, 5, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.thank-you-section {
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 160px); /* Account for header and footer */
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

.thank-you-logo {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}

.thank-you-logo img {
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

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

.thank-you-logo .logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(253, 138, 5, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoFloat 4s ease-in-out infinite;
}

.thank-you-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.thank-you-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.thank-you-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.next-steps-box {
    background: rgba(253, 138, 5, 0.1);
    border: 2px solid var(--primary-orange);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.next-steps-box h3 {
    color: var(--primary-orange);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.next-steps-list {
    color: var(--white);
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.next-steps-list li:last-child {
    margin-bottom: 0;
}

.thank-you-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.urgent-contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(253, 138, 5, 0.3);
}

.urgent-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.urgent-contact a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
}

.urgent-contact a:hover {
    text-decoration: underline;
}

/* Thank You Page Mobile Styles */
@media (max-width: 768px) {
    .thank-you-main {
        padding-top: 70px;
    }
    
    .thank-you-section {
        padding: 2rem 1rem;
        min-height: calc(100vh - 140px);
    }
    
    .thank-you-logo img {
        width: 100px;
    }
    
    .thank-you-description {
        font-size: 1rem;
    }
    
    .next-steps-box {
        padding: 1rem;
        text-align: left;
    }
    
    .next-steps-box h3 {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .next-steps-list li {
        font-size: 0.9rem;
    }
    
    .thank-you-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-buttons .btn-primary,
    .thank-you-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .thank-you-main {
        padding-top: 60px;
    }
    
    .thank-you-section {
        padding: 1.5rem 1rem;
        min-height: calc(100vh - 120px);
    }
    
    .thank-you-logo img {
        width: 80px;
    }
    
    .thank-you-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .next-steps-box {
        padding: 1rem 0.8rem;
    }
    
    .next-steps-list li {
        font-size: 0.85rem;
    }
    
    .urgent-contact p {
        font-size: 0.8rem;
    }
} 

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.reviews-container {
    position: relative;
    margin-top: 40px;
}

/* Make scroll indicator work for both portfolio and reviews */
.reviews-container .scroll-indicator {
    margin-bottom: 1rem;
}

.reviews-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    scrollbar-color: #fd8a05 #2a2a2a;
    scroll-behavior: smooth;
}

.reviews-scroll-wrapper::-webkit-scrollbar {
    height: 12px;
}

.reviews-scroll-wrapper::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 6px;
    border: 1px solid #3a3a3a;
}

.reviews-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #fd8a05;
    border-radius: 6px;
    border: 1px solid #e67c04;
}

.reviews-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #e67c04;
    box-shadow: 0 0 8px rgba(253, 138, 5, 0.5);
}

.reviews-scroll {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
}

.review-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    width: 380px;
    min-width: 380px;
    height: 280px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: #fd8a05;
    box-shadow: 0 10px 30px rgba(253, 138, 5, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: #fd8a05;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.review-stars {
    display: flex;
    gap: 1px;
}

.review-stars .star {
    font-size: 16px;
    color: var(--primary-orange) !important;
}

.review-date {
    color: #666;
    font-size: 14px;
    flex-shrink: 0;
}

.review-text {
    color: #ddd;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    margin: 0;
}



/* Mobile responsiveness for reviews */
@media (max-width: 768px) {
    .reviews {
        padding: 60px 0;
    }
    
    .reviews-container {
        margin-top: 30px;
    }
    
    .reviews-container .scroll-indicator {
        margin-bottom: 0.8rem;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
    
    .reviews-scroll {
        padding: 0 15px;
        gap: 15px;
    }
    
    .review-card {
        width: 300px;
        min-width: 300px;
        height: 300px;
        padding: 25px;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .reviewer-name {
        font-size: 16px;
    }
    
    .review-text {
        font-size: 14px;
        -webkit-line-clamp: 7;
    }
}

@media (max-width: 480px) {
    .review-card {
        width: 280px;
        min-width: 280px;
        padding: 20px;
    }
} 

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
    }
    
    * {
        max-width: 100vw;
    }
    
    .header {
        width: 100%;
        max-width: 100%;
    }
    
    .nav-container {
        max-width: 100%;
        width: 100%;
    }
    
    .hero {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-content-overlay {
        width: 100%;
        max-width: 100%;
        padding: 3rem 1rem;
    }
    
    .hero-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    /* Fix any absolute positioned elements */
    #lightning-canvas {
        max-width: 100vw;
        width: 100%;
    }
    
    .particles {
        max-width: 100vw;
        width: 100%;
    }
}

/* Additional mobile fixes for extra small screens */
@media (max-width: 375px) {
    .contact {
        padding: 2rem 0.5rem 1.5rem 0.5rem !important;
        margin: 0 !important;
    }
    
    .contact .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .contact .section-title {
        margin-bottom: 1rem !important;
        padding: 0 !important;
    }
    
    .contact .section-title h2 {
        font-size: 1.5rem !important;
        margin: 0 0 0.3rem 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }
    
    .contact .section-title p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .contact-content-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .contact-info-blocks {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: flex-start !important;
    }
}

/* Hero Section Mobile Fixes */
@media (max-width: 768px) {
    .hero {
        position: relative;
        overflow: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    
    .bg {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .hero-buttons {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .btn-primary, .btn-secondary {
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Ensure stats don't overflow */
    .hero-stats {
        width: 100%;
        padding: 0 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .stat-item {
        min-width: auto;
        flex: 1 1 30%;
    }
}

/* Very small mobile fixes */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.8rem !important;
        word-wrap: break-word;
    }
    
    .hero h2 {
        font-size: 1.1rem !important;
    }
    
    .hero p {
        font-size: 0.9rem !important;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
    }
}

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

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

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-black);
    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(0, 0, 0, 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;
}

.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(26, 26, 26, 0.3);
    border: 2px solid rgba(253, 138, 5, 0.2);
    backdrop-filter: blur(10px);
}

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

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

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

/* Override for hamburger menu visibility on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle span {
        background: #000 !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Make the X orange when active */
    .mobile-menu-toggle.active span:nth-child(1),
    .mobile-menu-toggle.active span:nth-child(3) {
        background: var(--primary-orange) !important;
    }
    
    /* Ensure menu toggle is visible */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Add contrast to header on mobile if needed */
    .header {
        background: var(--primary-orange);
    }
    
    /* Fix logo aspect ratio for iPhone XR and similar devices */
    .logo img {
        height: 35px;
        width: auto;
        max-width: none;
        object-fit: contain;
    }
}

/* iPhone XR specific fix (414px width) */
@media (max-width: 414px) {
    .logo img {
        height: 32px;
        width: auto;
        object-fit: contain;
    }
    
    .nav-container {
        padding: 0.5rem 0.8rem;
    }
    
    /* Fix hero section padding to account for header */
    .hero {
        padding-top: 70px;
    }
    
    .hero-content-overlay {
        padding-top: 80px;
    }
}

/* Additional mobile hero padding fixes */
@media (max-width: 768px) {
    .hero {
        padding-top: 65px;
    }
}

/* Very small mobile fixes */
@media (max-width: 375px) {
    .hero {
        padding-top: 60px;
    }
}