/* ------------------------------------- */
/* HERO SECTION STYLES                   */
/* ------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: 
        linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 20%, rgba(255,255,255,0) 45%, rgba(255,255,255,0) 75%, rgba(255,255,255,1) 100%),
        url('https://res.cloudinary.com/djxcfeqsb/image/upload/v1784916799/Valley_with_dirt_path_2K_202607242106_wd1l5a.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero-content { text-align: center; margin-top: 10vh; display: flex; flex-direction: column; align-items: center; z-index: 10; padding: 0 20px; }
.hero-title { font-size: 56px; font-weight: 700; color: #000; margin-bottom: 16px; letter-spacing: -1.5px; line-height: 1.1; }
.title-italic { font-style: italic; font-weight: 400; font-size: 48px; color: #333; letter-spacing: -1px; }
.hero-subtitle { font-size: 15px; color: #666; max-width: 540px; line-height: 1.6; margin-bottom: 32px; margin-top: 8px; }

.button-group { display: flex; gap: 12px; }

/* ------------------------------------- */
/* SERVICES SECTION STYLES               */
/* ------------------------------------- */
.services-section { padding: 40px 40px 100px 40px; max-width: 1280px; margin: 0 auto; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 24px; }
.services-header-text { display: flex; flex-direction: column; gap: 12px; max-width: 600px; }
.services-title { font-size: 32px; font-weight: 600; color: #111; letter-spacing: -0.5px; line-height: 1; }
.services-subtitle { font-size: 15px; color: #666; line-height: 1.6; }
.services-nav { display: flex; gap: 12px; padding-bottom: 4px; }

.nav-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; background: #ffffff; border: 1px solid #dcdcdc; color: #111; }
.nav-btn:hover { border-color: #111; background: #111; color: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ------------------------------------- */
/* EDITORIAL ACCORDION (WHY CHOOSE US)   */
/* ------------------------------------- */
.editorial-section { padding: 60px 40px 100px 40px; max-width: 1280px; margin: 0 auto; }
.ed-header { margin-bottom: 100px; max-width: 800px; }
.ed-main-title { font-size: 56px; font-weight: 600; letter-spacing: -2px; line-height: 1.1; color: #111; }

.editorial-list { display: flex; flex-direction: column; }
.ed-item { border-top: 1px solid #eaeaea; padding: 48px 0; cursor: pointer; position: relative; overflow: hidden; }
.ed-item:last-child { border-bottom: 1px solid #eaeaea; }
.ed-top { display: flex; align-items: center; justify-content: space-between; }
.ed-left { display: flex; align-items: center; gap: 48px; }
.ed-num { font-size: 16px; font-weight: 500; color: #999; width: 30px; transition: color 0.4s ease; }
.ed-title { font-size: 64px; font-weight: 600; letter-spacing: -2.5px; color: #111; margin: 0; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease; transform-origin: left center; }

.ed-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #eaeaea; display: flex; align-items: center; justify-content: center; color: #111; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.editorial-list:hover .ed-item:not(:hover) .ed-title { color: #e0e0e0; transform: translateX(0); }
.editorial-list:hover .ed-item:not(:hover) .ed-num { color: #f0f0f0; }
.editorial-list:hover .ed-item:not(:hover) .ed-arrow { opacity: 0.2; }

.ed-item:hover .ed-title { transform: translateX(32px); color: #000; }
.ed-item:hover .ed-num { color: #000; }
.ed-item:hover .ed-arrow { background: #111; border-color: #111; color: #fff; transform: rotate(-45deg); }

.ed-content-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease 0.1s, padding 0.5s ease; }
.ed-item:hover .ed-content-wrapper { max-height: 600px; opacity: 1; padding-top: 48px; }
.ed-desc { font-size: 18px; line-height: 1.6; color: #555; max-width: 400px; margin: 0; transform: translateY(20px); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; }
.ed-item:hover .ed-desc { transform: translateY(0); }

.ed-img-mask { width: 100%; height: 350px; border-radius: 20px; overflow: hidden; transform: scale(0.95); transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.ed-item:hover .ed-img-mask { transform: scale(1); }
.ed-img-mask img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.ed-item:hover .ed-img-mask img { transform: scale(1); }

/* ------------------------------------- */
/* STICKY SPLIT INDUSTRIES               */
/* ------------------------------------- */
.industry-section { padding: 100px 40px 160px 40px; max-width: 1280px; margin: 0 auto; display: flex; gap: 80px; align-items: flex-start; }
.ind-left { flex: 1; position: sticky; top: 140px; padding-right: 20px; }
.ind-main-title { font-size: 48px; font-weight: 600; letter-spacing: -1.5px; line-height: 1.1; color: #111; margin-bottom: 24px; }
.ind-desc { font-size: 16px; color: #666; line-height: 1.6; max-width: 400px; }

.ind-right { flex: 1.4; display: flex; flex-direction: column; gap: 80px; }
.ind-card { display: flex; flex-direction: column; gap: 24px; cursor: pointer; }
.ind-card-img { width: 100%; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: #f5f5f5; box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1); }
.ind-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.ind-card:hover .ind-card-img img { transform: scale(1.05); }

.ind-card-content { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 8px; }
.ind-card-text { max-width: 80%; }
.ind-card-title { font-size: 24px; font-weight: 600; color: #111; letter-spacing: -0.5px; margin-bottom: 12px; }
.ind-card-desc { font-size: 15px; color: #666; line-height: 1.6; }
.ind-card-arrow { width: 40px; height: 40px; border-radius: 50%; background: #f5f5f5; display: flex; align-items: center; justify-content: center; color: #111; transition: all 0.4s ease; }
.ind-card:hover .ind-card-arrow { background: #111; color: #fff; transform: rotate(-45deg); }

/* ------------------------------------- */
/* PROJECTS CARDS (Offset Grid)          */
/* ------------------------------------- */
.projects-section { padding: 60px 40px 100px 40px; max-width: 1280px; margin: 0 auto; }
.section-heading-wrapper { margin-bottom: 64px; }
.section-title { font-size: 40px; font-weight: 600; letter-spacing: -1px; color: #111; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
.project-card:nth-child(even) { margin-top: 100px; }

/* ------------------------------------- */
/* BLOGS CARDS (3-Column Grid)           */
/* ------------------------------------- */
.blogs-section { padding: 80px 40px 100px 40px; max-width: 1280px; margin: 0 auto; }
.blogs-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.blogs-header .btn { margin-bottom: 8px; } 
.blogs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* ------------------------------------- */
/* KINETIC TESTIMONIALS                  */
/* ------------------------------------- */
.testimonials-section {
    background-color: #050505;
    padding: 160px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.marquee-bg { position: absolute; top: 50%; left: 0; transform: translateY(-50%); white-space: nowrap; font-size: 280px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04); z-index: 0; pointer-events: none; animation: marqueeScroll 60s linear infinite; font-family: 'Inter', sans-serif; }
@keyframes marqueeScroll { 0% { transform: translate(0, -50%); } 100% { transform: translate(-50%, -50%); } }

.testi-header { max-width: 1280px; width: 100%; margin: 0 auto 60px auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 2; }
.testi-section-title { font-size: 48px; font-weight: 600; color: #ffffff; letter-spacing: -1.5px; }
.testi-drag-hint { display: flex; align-items: center; gap: 12px; color: #888; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.testi-drag-hint svg { animation: swipeHint 2s infinite ease-in-out; }
@keyframes swipeHint { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

.testi-track { display: flex; gap: 40px; padding: 0 5vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; position: relative; z-index: 2; }
.testi-track::-webkit-scrollbar { display: none; }

/* ------------------------------------- */
/* FAQ SECTION                           */
/* ------------------------------------- */
.faq-section { padding: 140px 40px; max-width: 1280px; margin: 0 auto; display: flex; gap: 80px; align-items: flex-start; }
.faq-left { flex: 1; position: sticky; top: 140px; }
.faq-left h2 { font-size: 48px; font-weight: 600; letter-spacing: -1.5px; line-height: 1.1; color: #111; margin-bottom: 24px; }
.faq-left p { font-size: 16px; color: #666; line-height: 1.6; max-width: 400px; }
.faq-right { flex: 1.5; display: flex; flex-direction: column; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .ed-title { font-size: 48px; }
    .ed-content-wrapper { gap: 40px; }
    .industry-section { gap: 40px; }
    .ind-main-title { font-size: 40px; }
    .project-card:nth-child(even) { margin-top: 60px; }
    .blogs-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .testi-card { flex: 0 0 500px; padding: 60px 40px; min-height: 400px; }
    .testi-text { font-size: 24px; }
    .marquee-bg { font-size: 200px; }
    .faq-section { gap: 40px; }
}

@media (max-width: 768px) {
    .hero-content { margin-top: 6vh; }
    .hero-title { font-size: 40px; }
    .title-italic { font-size: 32px; }

    .services-section { padding: 40px 0 80px 0; overflow: hidden; }
    .services-header { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
    .services-title { font-size: 28px; }
    .services-nav { display: none; }
    .services-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 0 24px 40px 24px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .services-grid::-webkit-scrollbar { display: none; }
    .service-card { flex: 0 0 80%; scroll-snap-align: start; }

    .editorial-section { padding: 40px 24px 80px 24px; }
    .ed-main-title { font-size: 36px; }
    .ed-header { margin-bottom: 48px; }
    .ed-left { gap: 16px; }
    .ed-title { font-size: 32px; letter-spacing: -1px; }
    .ed-arrow { display: none; }
    .editorial-list:hover .ed-item:not(:hover) .ed-title { color: #111; }
    .ed-item:hover .ed-title { transform: none; }
    .ed-content-wrapper { max-height: 1000px; opacity: 1; grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
    .ed-desc { transform: none; font-size: 16px; }
    .ed-img-mask { transform: none; height: 250px; }
    .ed-img-mask img { transform: none; }

    .industry-section { flex-direction: column; padding: 40px 24px 80px 24px; gap: 48px; }
    .ind-left { position: relative; top: 0; padding-right: 0; }
    .ind-main-title { font-size: 36px; }
    .ind-right { gap: 48px; }
    .ind-card-text { max-width: 100%; }
    .ind-card-arrow { display: none; }

    .projects-section { padding: 40px 24px 80px 24px; }
    .projects-grid { grid-template-columns: 1fr; gap: 48px; }
    .project-card:nth-child(even) { margin-top: 0; }
    .project-title { font-size: 24px; }

    .blogs-section { padding: 40px 24px 80px 24px; }
    .blogs-header { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
    .blogs-grid { grid-template-columns: 1fr; gap: 40px; }

    .testimonials-section { padding: 100px 0; }
    .testi-header { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 24px; margin-bottom: 40px; }
    .testi-section-title { font-size: 36px; }
    .marquee-bg { font-size: 120px; }
    .testi-track { gap: 20px; padding: 0 24px; }
    .testi-card { flex: 0 0 85%; padding: 40px 32px; min-height: auto; border-radius: 24px; scroll-snap-align: start; }
    .testi-text { font-size: 20px; margin-bottom: 40px; }
    .quote-icon { width: 32px; height: 32px; margin-bottom: 24px; }

    .faq-section { flex-direction: column; padding: 80px 24px; gap: 40px; }
    .faq-left { position: relative; top: 0; }
    .faq-left h2 { font-size: 36px; }
    .faq-label { font-size: 18px; padding: 24px 0; }
}

@media (max-width: 576px) {
    .services-title { font-size: 26px; }
    .service-card { flex: 0 0 85%; }
    .section-title { font-size: 32px; }
}
