/* Base Styles */
/* Mobile First Approach */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px !important;
        min-height: auto !important;
        height: 50vh !important;
    }

    .hero-bg-video {
        height: 50vh !important;
        position: relative;
        object-position: -325px 0px;
    }
    
    .hero-content {
        padding: 30px 0 !important;
    }
    
    .hero-content img {
        max-width: 250px !important;
        height: auto !important;
        margin: 0 auto 15px !important;
    }
    
    .hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
        padding: 0 10px !important;
    }
    
    .arrow-down {
        margin-top: 15px !important;
        font-size: 1.5rem !important;
    }
}

/* Desktop Styles */
:root {
    --primary-color: #3174E0;
    --secondary-color: #4D658B;
    --tertiary-color: #4671B6;
    --accent-blue: #4D658C;
    --accent-olive: #5A6146;
    --accent-brown: #614946;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --orange: #E04831;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn:hover {
    box-shadow: 0 8px 24px rgba(44,62,80,0.15);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover,
.btn.btn-primary:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 116, 224, 0.3);
    border-color: var(--primary-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary i,
.btn-secondary i {
    color: inherit;
    position: relative;
    z-index: 2;
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary:hover {
    color: var(--secondary-color) !important;
    background-color:#f2f2f2 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 101, 139, 0.2);
    
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}



.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.highlight {
    color: white;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.1s, opacity 0.3s ease;
}

header.sticky {
    padding-block: 20px;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    visibility: visible;
    opacity: 1;
    transition: visibility 0s 0s, opacity 0.3s ease;
    animation: slideDown 0.3s ease-out;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    color: white;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--tertiary-color);
    transition: var(--transition);
}

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

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


@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sticky .logo h1 {
    font-size: 18px;
    transition: font-size 0.3s ease;
}

.sticky .logo img {
    height: 40px;
    width: 40px;
    transition: all 0.3s ease;
}



.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
}



.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-video {
    filter: blur(10px) saturate(0.6) brightness(0.8);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.hero .container, .hero-content {
    position: relative;
    z-index: 2;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #f8f8f8;
    text-shadow: 0 2px 8px rgba(44,62,80,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 4px 16px rgba(44,62,80,0.35);
    text-align: center;
}

.hero-content h2 {
    font-size: 26px;
    font-weight: 600;
    color: #ffb347;
    text-shadow: 0 2px 8px rgba(44,62,80,0.18);
}

.hero-content p {
    font-size: 19px;
    color: #f0f0f0;
    text-shadow: 0 1px 4px rgba(44,62,80,0.18);
}

.hero-image {
    width: 45%;
    position: relative;
    overflow: hidden;
}

.hero-image > *:not(.hero-bg-video) {
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/contractor.png') no-repeat center center/contain;
    z-index: 2;
    pointer-events: none;
}

/* Animation Classes */
.animate-text {
    opacity: 1;
    transform: translateY(30px);
    animation: fadeInUp 0.5s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.5s;
}

.arrow-down {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 38px;
    font-size: 2.8rem;
    color: var(--secondary-color);
    z-index: 3;
}

.animate-bounce {
    animation: bounceDown 1.3s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(18px);
    }
    60% {
        transform: translateY(8px);
    }
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {opacity: 0; transform: scale(0.3);}
    50% {opacity: 1; transform: scale(1.05);}
    70% {transform: scale(0.9);}
    100% {transform: scale(1);}
}

@keyframes rotateIn {
    0% {opacity: 0; transform: rotate(-200deg);}
    100% {opacity: 1; transform: rotate(0);}
}

.animate-bounce-in {
    animation: bounceIn 1s both;
}

.animate-rotate-in {
    animation: rotateIn 1s both;
}

/* Parallax Background */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

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

/* Service Detail Section */
.service-detail {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 60px 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}


.service-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

.service-header .service-icon {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    flex-shrink: 0;
    margin: 0;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.service-header h3 {
    color: white;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.service-content {
    padding: 40px;
}

.service-content > p:first-of-type {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
}

.service-content h4 {
    color: var(--primary-color);
    margin: 40px 0 20px;
    font-size: 22px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.service-content h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.service-list {
    margin: 25px 0 30px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.service-list li {
    margin: 0;
    padding: 15px 20px 15px 50px;
    background: #f8f9ff;
    border-radius: 8px;
    position: relative;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.service-list li:hover {
    transform: translateX(5px);
    background: #f0f2ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(77, 101, 139, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.process-steps {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(77, 101, 139, 0.1);
    position: relative;
    overflow: hidden;
}

.process-steps h4 {
    margin-top: 0 !important;
    padding-left: 15px;
}

.step {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.step:last-child {
    margin-bottom: 0;
    padding-bottom: 25px;
}

.step h5 {
    color: var(--primary-color);
    font-size: 18px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    position: relative;
    padding-left: 50px;
}

.step h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(49, 116, 224, 0.3);
}

/* Step numbering */
.process-steps .step:nth-of-type(1) h5::before {
    content: '1';
}

.process-steps .step:nth-of-type(2) h5::before {
    content: '2';
}

.process-steps .step:nth-of-type(3) h5::before {
    content: '3';
}

.step p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    padding-left: 50px;
}

.why-important {
    background: linear-gradient(135deg, #fff9f8 0%, #fff5f0 100%);
    border-left: 4px solid var(--orange);
    padding: 30px;
    border-radius: 0 12px 12px 0;
    margin: 50px 0 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(224, 72, 49, 0.05);
}

.why-important::before {
    content: '⚠️';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    opacity: 0.1;
    z-index: 0;
}

.why-important h4 {
    color: var(--orange) !important;
    font-size: 22px !important;
    margin-top: 0 !important;
    position: relative;
    z-index: 1;
}

.why-important p {
    color: #5c3c35;
    font-size: 16px;
    line-height: 1.7;
    margin: 15px 0 0 0;
    position: relative;
    z-index: 1;
}

.why-important h4::after {
    background: var(--orange) !important;
    height: 3px;
    bottom: -5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .service-header .service-icon {
        margin-bottom: 15px;
    }
    
    .service-content {
        padding: 25px 20px;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        padding: 20px 15px 20px 25px;
    }
    
    .step {
        padding: 20px 15px;
    }
    
    .step p {
        padding-left: 0;
        padding-top: 10px;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.4s;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 32px rgba(44,62,80,0.18);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 28px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--secondary-color) 60%;
    color: white;
}

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

.service-features {
    margin: 15px 0 20px;
    padding-left: 20px;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 15px;
    line-height: 1.5;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-note {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(49, 116, 224, 0.15);
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.cta-box .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.feature:hover {
    box-shadow: var(--box-shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 28px;
    transition: var(--transition);
}

.feature:hover .feature-icon {
    background-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color) 60%, var(--orange) 100%);
    color: white;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .about-content >div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }
    
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.about-content >div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    min-height: 500px;
    border-radius: 10px;
    background: url('../images/about.jpg') no-repeat center center/cover;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-text .section-header {
    text-align: left;
}

.about-text .section-header h2::after {
    left: 0;
    transform: none;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

/* Clients Section */
.clients {
    background-color: white;
}

.clients-list {
    margin: 32px 0 24px 0;
    padding: 32px 24px;
    background: var(--light-color);
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.clients-list li {
    position: relative;
    padding-left: 32px;
    font-size: 1.15rem;
    color: var(--accent-blue);
    font-weight: 500;
    transition: color 0.2s;
}

.clients-list li::before {
    content: '\2713'; /* Checkmark icon */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-size: 1.1em;
    line-height: 1;
}

.clients-list li:hover {
    color: var(--secondary-color);
    background: rgba(49,116,224,0.08);
    border-radius: 8px;
}

.clients-section-redesign {
    background: linear-gradient(120deg, #fafdff 70%, #eaf1fb 100%);
    padding: 90px 0 60px 0;
}

.clients-flex-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.clients-info {
    flex: 1 1 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 320px;
}

.clients-list.redesigned {
    background: #f3f7fb;
    border-radius: 24px;
    box-shadow: 0 6px 32px rgba(49, 116, 224, 0.06);
    padding: 38px 34px 28px 34px;
    margin-bottom: 36px;
    gap: 24px;
    display: flex;
    flex-direction: column;
    border: 1.5px solid #e0e7ef;
}

.clients-list.redesigned li {
    display: flex;
    align-items: center;
    font-size: 1.18rem;
    color: var(--accent-blue);
    font-weight: 600;
    border-radius: 14px;
    padding: 12px 0 12px 0;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    gap: 16px;
}

.clients-list.redesigned li .icon-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 60%, var(--orange) 100%);
    color: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
    margin-right: 10px;
    box-shadow: 0 2px 8px rgba(49, 116, 224, 0.10);
}

.clients-list.redesigned li:hover {
    background: rgba(49,116,224,0.09);
    color: var(--primary-color);
    box-shadow: 0 4px 18px rgba(49,116,224,0.10);
}

.client-logos.redesigned {
    display: flex;
    gap: 28px;
    margin-top: 12px;
    margin-bottom: 0;
    justify-content: flex-start;
    align-items: center;
}

.clients-image {
    flex: 1 1 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    max-width: 420px;
    padding: 0 12px;
}

.clients-image img {
    width: 100%;
    max-width: 410px;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(49, 116, 224, 0.14);
    object-fit: cover;
    aspect-ratio: 4/3;
}

@media (max-width: 900px) {
    .clients-flex-container { flex-direction: column; gap: 28px; align-items: stretch; }
    .clients-image { max-width: 100%; min-width: 0; justify-content: center; }
}

@media (max-width: 600px) {
    .clients-list.redesigned { padding: 16px 2vw 14px 2vw; gap: 9px; }
    .clients-list.redesigned li { font-size: 1rem; }
    .clients-image img { border-radius: 14px; }
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.4s;
}

.testimonial:hover {
    transform: translateY(-10px) scale(1.03) rotate(1deg);
    box-shadow: 0 12px 32px rgba(44,62,80,0.18);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 50px;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content p::before {
    top: -20px;
    left: 0;
}

.testimonial-content p::after {
    bottom: -40px;
    right: 0;
}

.testimonial-info {
    display: flex;
    align-items: center;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
}

.testimonial:nth-child(1) .testimonial-image {
    background-image: url('../images/client-1.jpg');
}

.testimonial:nth-child(2) .testimonial-image {
    background-image: url('../images/client-2.jpg');
}

.testimonial:nth-child(3) .testimonial-image {
    background-image: url('../images/client-3.jpg');
}

.testimonial-meta h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-meta p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stars {
    color: #f1c40f;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
    margin: 32px 0 12px 0;
}

.client-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0.4) contrast(1.1);
    transition: filter 0.2s, height 0.2s;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 12px 24px;
}

@media (max-width: 600px) {
    .client-logo { height: 56px; padding: 6px 10px; }
}

.client-logo:hover {
    filter: grayscale(0) contrast(1.2) drop-shadow(0 2px 8px rgba(49,116,224,0.08));
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/cta-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 0px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-column p {
    color: #bdc3c7;
    margin-bottom: 20px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0 15px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #c0392b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin-bottom: 0;
    width: 100%;
    text-align: center;
}

.footer-bottom-links a {
    color: #bdc3c7;
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        margin-bottom: 30px;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

/* FAQ Section */
.faq {
    background-color: #f9fafb;
    padding: 80px 0;
}

.faq .section-header h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.faq .section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--orange));
}

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

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 10px 25px;
}

.faq-answer p, .faq-answer ul {
    margin: 0;
    /* padding: 0; */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.faq-item.active .faq-answer p,
.faq-item.active .faq-answer ul {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer ul {
    padding-left: 20px;
    margin: 15px 0 0 0;
}

.faq-answer li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    color: var(--text-color);
}

.faq-answer li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

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

    .mobile-menu {
        display: block;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        width: 100%;
        margin-bottom: 50px;
    }

    .hero-image {
        width: 80%;
    }

    .cta-buttons {
        justify-content: center;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        width: 45%;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .btn {
        padding: 10px 20px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        margin-top: 15px;
    }

    .footer-bottom-links a {
        margin: 0 10px;
    }
}

/* Modern Clients Section - Card, Chips, Wave */
.clients-section-modern {
    background: #fafdff;
    padding: 90px 0 0 0;
    position: relative;
    z-index: 1;
}
.clients-modern-card {
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(49, 116, 224, 0.10);
    max-width: 900px;
    margin: 0 auto 0 auto;
    padding: 44px 32px 38px 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.clients-modern-header {
    text-align: center;
    margin-bottom: 24px;
}
.clients-modern-subtitle {
    font-size: 1.07rem;
    color: var(--orange);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.clients-modern-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0;
}
.clients-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 30px;
}
.client-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #eaf1fb 60%, #fafdff 100%);
    color: var(--accent-blue);
    font-weight: 600;
    border-radius: 18px;
    padding: 10px 22px 10px 16px;
    font-size: 1.06rem;
    box-shadow: 0 2px 10px rgba(49, 116, 224, 0.06);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.client-chip i {
    color: var(--orange);
    font-size: 1.1em;
}
.client-chip:hover {
    background: linear-gradient(135deg, var(--primary-color) 60%, var(--orange) 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(49,116,224,0.10);
}
.client-chip:hover i {
    color: #fff;
}
.client-logos.modern {
    display: flex;
    gap: 38px;
    margin: 18px 0 0 0;
    justify-content: center;
    align-items: center;
}
.clients-wave {
    width: 100%;
    min-width: 320px;
    max-width: 100vw;
    height: 70px;
    margin-top: 38px;
    display: block;
    position: relative;
    z-index: 2;
}
@media (max-width: 700px) {
    .clients-modern-card { padding: 18px 2vw 16px 2vw; border-radius: 16px; }
    .clients-modern-title { font-size: 1.4rem; }
    .clients-chips-row { gap: 8px; }
    .client-chip { font-size: 0.95rem; padding: 8px 10px 8px 10px; }
    .client-logos.modern { gap: 14px; }
    .clients-wave { height: 38px; margin-top: 18px; }
}
