.hero { min-height: 820px; padding: 150px 0 72px; position: relative; overflow: hidden; background: radial-gradient(circle at 78% 38%, rgba(57,127,208,.18), transparent 22%), var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.28fr .72fr; align-items: end; min-height: 530px; }
.hero-copy { position: relative; z-index: 3; }
.hero-copy .eyebrow { color: var(--lime); margin-bottom: 36px; }
.hero-copy h1 span { display: block; }
.hero-copy h1 span:last-child { color: var(--brand); margin-left: 12%; }
.hero-actions { display: flex; gap: 12px; margin-top: 44px; }
.hero-aside { align-self: start; width: 72%; margin: 70px 0 0 auto; border: 1px solid var(--line-dark); }
.hero-orbit { aspect-ratio: 1; display: grid; place-items: center; position: relative; background: linear-gradient(145deg, rgba(255,255,255,.08), transparent); overflow: hidden; }
.hero-orbit::before { content: ""; position: absolute; width: 62%; height: 62%; background: url("../photo/coresoft-logo.png") center / contain no-repeat; opacity: .24; transform: rotate(-8deg); }
.hero-orbit::after { content: ""; position: absolute; width: 42%; aspect-ratio: 1; border: 1px solid var(--brand); border-radius: 50%; box-shadow: 0 0 0 28px rgba(57,127,208,.06), 0 0 0 58px rgba(57,127,208,.03); }
.hero-aside-meta { display: flex; justify-content: space-between; padding: 14px; border-top: 1px solid var(--line-dark); color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 50px; }
.hero-intro { max-width: 430px; margin: 0 0 0 52%; color: #d8d8d2; line-height: 1.7; }
.scroll-mark { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; }
.services-preview { padding: 130px 0; background: var(--paper); color: var(--text-dark); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; padding-bottom: 42px; }
.section-head .section-title { max-width: 760px; }
.section-head p { max-width: 430px; justify-self: end; line-height: 1.75; }
.service-index { border-top: 1px solid var(--line-light); }
.service-row { display: grid; grid-template-columns: 70px 1.1fr 1fr 54px; gap: 20px; align-items: center; min-height: 150px; border-bottom: 1px solid var(--line-light); transition: background .25s, padding .25s; }
.service-row:hover { background: var(--ink); color: white; padding-inline: 18px; }
.service-no { font-family: var(--display); color: var(--brand); }
.service-row h3 { margin: 0; font-family: var(--display); font-size: clamp(32px,4vw,58px); letter-spacing: -.045em; }
.service-row p { max-width: 390px; line-height: 1.7; color: var(--muted-dark); }
.service-row:hover p { color: #c5c6bf; }
.round-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; justify-self: end; }
.work-preview { padding: 130px 0; background: var(--ink); }
.work-preview .section-head { border-bottom: 1px solid var(--line-dark); }
.work-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; margin-top: 20px; }
.project-card { position: relative; min-height: 480px; overflow: hidden; background: #24272c; }
.project-card.tall { min-height: 620px; }
.project-card:nth-child(2) { margin-top: 140px; }
.project-art { position: absolute; inset: 0; background: linear-gradient(135deg,#333842,#17191d); transition: transform .6s; }
.project-card:nth-child(2) .project-art { background: linear-gradient(150deg,#7f3929,#25272a 62%); }
.project-card:nth-child(3) .project-art { background: linear-gradient(145deg,#b7bcbd,#4d5152); }
.project-card:hover .project-art { transform: scale(1.025); }
.project-art::before { content: ""; position: absolute; width: 58%; height: 70%; left: 21%; top: 15%; border: 1px solid rgba(255,255,255,.25); transform: rotate(-8deg); }
.project-info { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 24px; display: flex; justify-content: space-between; align-items: end; }
.project-info h3 { margin: 7px 0 0; font-family: var(--display); font-size: 28px; }
.project-info span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.about-preview { background: var(--lime); color: var(--ink); padding: 120px 0; }
.about-preview-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.about-preview .section-title { font-size: clamp(54px,7vw,96px); }
.about-preview-copy { max-width: 560px; padding-top: 18px; }
.about-preview-copy p { font-size: 20px; line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; border-bottom: 1px solid currentColor; padding-bottom: 7px; font-weight: 800; }
.cta-section { background: var(--brand); color: white; text-align: center; padding: 130px 0; }
.cta-section .display-title { font-size: clamp(50px,9vw,120px); }
.cta-section .btn-core { margin-top: 40px; }
.inner-hero { min-height: 520px; padding: 180px 0 90px; border-bottom: 1px solid var(--line-dark); }
.inner-hero.light { background: var(--paper); color: var(--text-dark); border-bottom-color: var(--line-light); }
.inner-hero .display-title { max-width: 1000px; }
.inner-hero-copy { max-width: 560px; margin: 32px 0 0 auto; color: var(--muted); line-height: 1.75; }
.inner-hero.light .inner-hero-copy { color: var(--muted-dark); }
.editorial { background: var(--paper); color: var(--text-dark); padding: 120px 0; }
.editorial-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; }
.editorial-content h2 { font-family: var(--display); font-size: clamp(44px,6vw,78px); letter-spacing: -.05em; line-height: .95; margin: 0 0 40px; }
.editorial-content p { max-width: 760px; font-size: 19px; line-height: 1.75; }
.value-list { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-light); margin-top: 70px; }
.value-list article { padding: 28px 28px 20px 0; border-right: 1px solid var(--line-light); }
.value-list article:last-child { border-right: 0; padding-left: 28px; }
.value-list article:nth-child(2) { padding-left: 28px; }
.value-list h3 { font-family: var(--display); font-size: 24px; }
.value-list p { font-size: 15px; }
.approach { background: var(--ink); padding: 120px 0; }
.approach-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 60px; border-top: 1px solid var(--line-dark); }
.approach-grid article { min-height: 250px; padding: 24px 24px 24px 0; border-right: 1px solid var(--line-dark); }
.approach-grid article:not(:first-child) { padding-left: 24px; }
.approach-grid article:last-child { border-right: 0; }
.approach-grid span { color: var(--brand); }
.approach-grid h3 { margin-top: 70px; font-family: var(--display); font-size: 26px; }
.approach-grid p { color: var(--muted); line-height: 1.7; }
.team { background: var(--paper); color: var(--text-dark); padding: 120px 0; }
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 50px; }
.team-card { min-height: 480px; background: #dcdbd4; position: relative; display: flex; align-items: end; padding: 30px; overflow: hidden; }
.team-card::before { content: ""; position: absolute; width: 46%; aspect-ratio: .72; left: 27%; top: 12%; border-radius: 50% 50% 18px 18px; background: #bbbdb5; }
.team-card:nth-child(2)::before { background: #c9a99b; }
.team-card:first-child { background: url("../photo/aman-bhadaniya.jpg") center 18% / cover no-repeat; }
.team-card:first-child::before { display: none; }
.team-card-info { position: relative; z-index: 2; background: var(--paper); width: 100%; padding: 20px; }
.team-card h3 { margin: 0; font-family: var(--display); font-size: 28px; }
.team-card p { margin: 7px 0 0; color: var(--muted-dark); }
.service-detail { padding: 120px 0; border-bottom: 1px solid var(--line-dark); }
.service-detail:nth-of-type(even) { background: var(--paper); color: var(--text-dark); }
.service-detail-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.service-detail:nth-of-type(even) .service-detail-grid { direction: rtl; }
.service-detail:nth-of-type(even) .service-detail-grid > * { direction: ltr; }
.service-detail h2 { font-family: var(--display); font-size: clamp(48px,7vw,92px); line-height: .88; letter-spacing: -.06em; margin: 18px 0 28px; }
.service-detail-copy > p { max-width: 570px; font-size: 18px; line-height: 1.7; }
.deliverables { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.deliverables span { border: 1px solid currentColor; border-radius: 999px; padding: 9px 12px; font-size: 12px; }
.service-visual { min-height: 480px; background: #25282d; position: relative; overflow: hidden; }
.service-detail:nth-of-type(even) .service-visual { background: #dad8cf; }
.service-visual::before { content: ""; position: absolute; width: 68%; height: 72%; left: 16%; top: 14%; border: 1px solid var(--brand); transform: rotate(7deg); box-shadow: 18px 18px 0 rgba(57,127,208,.12); }
.portfolio-toolbar { background: var(--paper); color: var(--text-dark); padding: 28px 0; border-bottom: 1px solid var(--line-light); position: sticky; top: 82px; z-index: 50; }
.filter-list { display: flex; gap: 8px; overflow-x: auto; }
.filter-btn { border: 1px solid var(--line-light); background: transparent; color: inherit; border-radius: 999px; padding: 10px 15px; white-space: nowrap; font-size: 12px; }
.filter-btn.active { background: var(--ink); color: white; border-color: var(--ink); }
.portfolio-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; padding: 60px 0 130px; background: var(--ink); }
.portfolio-card { grid-column: span 6; min-height: 480px; position: relative; background: #282b30; overflow: hidden; transition: opacity .25s, transform .25s; }
.portfolio-card:nth-child(3n+1) { grid-column: span 7; }
.portfolio-card:nth-child(3n+2) { grid-column: span 5; margin-top: 100px; }
.portfolio-card:nth-child(3n) { grid-column: span 12; min-height: 620px; }
.portfolio-card.hidden { display: none; }
.portfolio-card .project-art { background: linear-gradient(145deg,#343941,#15171b); }
.portfolio-card:nth-child(even) .project-art { background: linear-gradient(145deg,#b84a34,#292b2d); }
.portfolio-card:nth-child(3n) .project-art { background: linear-gradient(145deg,#798587,#1d2224); }
.courses-grid { background: var(--paper); color: var(--text-dark); padding: 100px 0 130px; }
.course-list { border-top: 1px solid var(--line-light); }
.course-row { display: grid; grid-template-columns: 80px 1.2fr 1fr auto; gap: 20px; align-items: center; min-height: 170px; border-bottom: 1px solid var(--line-light); }
.course-row h3 { margin: 0; font-family: var(--display); font-size: clamp(36px,5vw,64px); letter-spacing: -.05em; }
.course-row p { max-width: 420px; line-height: 1.7; }
.course-row .btn-core { border: 1px solid var(--text-dark); }
.learning-band { background: var(--lime); color: var(--ink); padding: 110px 0; }
.learning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.learning-grid ul { list-style: none; padding: 0; border-top: 1px solid rgba(16,18,22,.25); }
.learning-grid li { padding: 18px 0; border-bottom: 1px solid rgba(16,18,22,.25); font-family: var(--display); font-size: 20px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 750px; background: var(--paper); color: var(--text-dark); }
.contact-copy { background: var(--brand); color: white; padding: 120px 7vw 80px max(24px,calc((100vw - var(--container))/2)); }
.contact-copy h1 { font-family: var(--display); font-size: clamp(54px,7vw,96px); line-height: .92; letter-spacing: -.06em; text-transform: uppercase; margin: 30px 0; }
.contact-copy p { max-width: 480px; line-height: 1.75; }
.contact-details { margin-top: 60px; }
.contact-details a { display: block; margin-top: 12px; font-weight: 700; }
.location-section { padding: 100px 0 120px; background: var(--paper); color: var(--text-dark); }
.location-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.location-heading .section-title { font-size: clamp(42px,6vw,76px); }
.location-heading .eyebrow { color: var(--muted-dark); }
.location-map { position: relative; height: 590px; overflow: hidden; border: 1px solid rgba(7,26,58,.12); border-radius: 22px; background: var(--paper-soft); box-shadow: 0 24px 60px rgba(7,26,58,.14); isolation: isolate; }
.location-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location-card { position: absolute; z-index: 1; top: 24px; left: 24px; width: min(390px,calc(100% - 48px)); padding: 24px; border: 1px solid rgba(7,26,58,.08); border-radius: 16px; background: #fff; box-shadow: 0 12px 36px rgba(12,31,57,.2); }
.location-pin { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 12px; background: #e8f1fc; color: var(--brand); }
.location-pin svg { width: 23px; height: 23px; }
.location-card-copy h3 { margin: 0; color: #10233d; font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.location-card-copy p { margin: 6px 0 20px; color: #627186; font-size: 14px; }
.location-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.location-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 800; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.location-button:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(7,26,58,.12); }
.location-button svg { width: 16px; height: 16px; flex: 0 0 auto; }
.location-button-primary { background: var(--ink); color: #fff; }
.location-button-primary:hover { background: var(--brand); }
.location-button-secondary { border-color: #d7e0eb; background: #fff; color: #18395f; }
.location-button-secondary:hover { border-color: var(--brand); color: var(--brand); }
.contact-form-wrap { padding: 120px max(24px,calc((100vw - var(--container))/2)) 80px 7vw; }
.contact-form-wrap h2 { font-family: var(--display); font-size: 38px; margin: 0 0 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; color: var(--text-dark); padding: 12px 0; outline: none; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-bottom-color: var(--brand); }
.form-field .error { min-height: 18px; color: #b52b18; font-size: 12px; }
.form-status { min-height: 24px; margin-top: 18px; font-size: 14px; }
.login-page { min-height: 78vh; padding: 150px 20px 100px; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, rgba(57,127,208,.16), transparent 38%), var(--ink); }
.login-card { width: min(100%, 480px); padding: 42px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.025); }
.login-card .eyebrow { color: var(--lime); }
.login-card h1 { margin: 28px 0 18px; }
.login-card > p { line-height: 1.65; }
.login-card form { display: grid; gap: 12px; margin-top: 34px; }
.login-card label { margin-top: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.login-card input { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line-dark); outline: none; background: transparent; color: var(--text); }
.login-card input:focus { border-color: var(--brand); }
.login-card button { justify-self: start; margin-top: 16px; }
.login-status { min-height: 22px; color: var(--lime); font-size: 13px; }
.login-card .login-note { padding-top: 16px; border-top: 1px solid var(--line-dark); color: var(--muted); font-size: 12px; }
.login-note i { margin-right: 7px; color: var(--lime); }
