/* =========================================================
   Smartclass Group - Homepage
   File: assets/css/index.css
   ========================================================= */

:root {
    --home-primary: #2563eb;
    --home-primary-dark: #1d4ed8;
    --home-primary-light: #dbeafe;
    --home-secondary: #0f172a;
    --home-text: #475569;
    --home-muted: #94a3b8;
    --home-border: #e2e8f0;
    --home-light: #f8fafc;
    --home-white: #ffffff;
    --home-success: #16a34a;
    --home-warning: #f59e0b;
    --home-danger: #dc2626;
    --home-radius: 18px;
    --home-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
    --home-transition: 0.3s ease;
}

/* =========================================================
   General Homepage
   ========================================================= */

.home-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--home-white);
    color: var(--home-text);
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-page img {
    max-width: 100%;
}

.section {
    position: relative;
    width: 100%;
    padding: 95px 0;
}

.section-label {
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.section-label::before {
    width: 26px;
    height: 2px;
    border-radius: 20px;
    background: currentColor;
    content: "";
}

.section-label-light {
    color: #93c5fd;
}

.section-heading {
    margin-bottom: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.section-heading > div {
    max-width: 720px;
}

.section-heading h2 {
    margin: 0;
    color: var(--home-secondary);
    font-size: clamp(29px, 4vw, 45px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.section-heading p {
    max-width: 650px;
    margin: 14px auto 0;
    color: #64748b;
    line-height: 1.8;
}

.section-heading-centred {
    justify-content: center;
    text-align: center;
}

.section-heading-centred .section-label {
    justify-content: center;
}

.section-link,
.text-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-primary);
    font-size: 13px;
    font-weight: 700;
    transition:
        color var(--home-transition),
        gap var(--home-transition);
}

.section-link:hover,
.text-link:hover {
    gap: 12px;
    color: var(--home-primary-dark);
}

.section-action {
    margin-top: 38px;
    text-align: center;
}

/* =========================================================
   Buttons
   ========================================================= */

.button {
    min-height: 48px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition:
        color var(--home-transition),
        background var(--home-transition),
        border-color var(--home-transition),
        transform var(--home-transition),
        box-shadow var(--home-transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(
        135deg,
        var(--home-primary),
        var(--home-primary-dark)
    );
    color: var(--home-white);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.22);
}

.button-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    color: var(--home-white);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.button-secondary {
    border-color: #cbd5e1;
    background: var(--home-white);
    color: var(--home-secondary);
}

.button-secondary:hover {
    border-color: var(--home-primary);
    background: var(--home-primary-light);
    color: var(--home-primary-dark);
}

.button-light {
    background: var(--home-white);
    color: var(--home-primary-dark);
}

.button-light:hover {
    background: #eff6ff;
    color: var(--home-primary-dark);
}

.button-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: var(--home-white);
    backdrop-filter: blur(8px);
}

.button-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.18);
    color: var(--home-white);
}

/* =========================================================
   Hero Slider
   ========================================================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: min(780px, calc(100vh - 70px));
    min-height: 610px;
    overflow: hidden;
    background: #07152f;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.hero-slide.active {
    z-index: 2;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.hero-slide picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 7s ease;
}

.hero-slide.active .hero-background {
    transform: scale(1.12);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(3, 12, 29, 0.94) 0%,
            rgba(5, 20, 47, 0.82) 43%,
            rgba(8, 25, 53, 0.38) 75%,
            rgba(8, 25, 53, 0.25) 100%
        ),
        linear-gradient(
            0deg,
            rgba(6, 18, 41, 0.45),
            transparent 45%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding-top: 70px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    color: var(--home-white);
}

.hero-content > * {
    max-width: 760px;
}

.hero-eyebrow {
    margin-bottom: 18px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(147, 197, 253, 0.32);
    border-radius: 30px;
    background: rgba(37, 99, 235, 0.18);
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    margin: 0;
    color: var(--home-white);
    font-size: clamp(42px, 5.7vw, 72px);
    font-weight: 850;
    line-height: 1.06;
    letter-spacing: -2.3px;
}

.hero-content p {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.8;
}

.hero-content .hero-actions {
    margin-top: 31px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-slide.active .hero-eyebrow,
.hero-slide.active .hero-content h1,
.hero-slide.active .hero-content p,
.hero-slide.active .hero-actions {
    animation: heroContentUp 0.7s ease both;
}

.hero-slide.active .hero-content h1 {
    animation-delay: 0.08s;
}

.hero-slide.active .hero-content p {
    animation-delay: 0.16s;
}

.hero-slide.active .hero-actions {
    animation-delay: 0.24s;
}

@keyframes heroContentUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.35);
    color: var(--home-white);
    font-size: 17px;
    opacity: 0;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    transition:
        opacity var(--home-transition),
        background var(--home-transition),
        transform var(--home-transition);
}

.hero-slider:hover .hero-arrow {
    opacity: 1;
}

.hero-arrow:hover {
    background: var(--home-primary);
    transform: translateY(-50%) scale(1.06);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 32px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    transition:
        width var(--home-transition),
        background var(--home-transition);
}

.hero-dots button.active {
    width: 30px;
    background: var(--home-white);
}

/* =========================================================
   Quick Access
   ========================================================= */

.quick-access {
    position: relative;
    z-index: 12;
    margin-top: -48px;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    background: var(--home-white);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.13);
}

.quick-access-card {
    min-width: 0;
    padding: 23px 20px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-right: 1px solid var(--home-border);
    color: inherit;
    transition:
        background var(--home-transition),
        color var(--home-transition);
}

.quick-access-card:last-child {
    border-right: 0;
}

.quick-access-card:hover {
    background: #eff6ff;
    color: inherit;
}

.quick-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--home-primary-light);
    color: var(--home-primary);
    font-size: 16px;
    font-weight: 800;
    transition:
        color var(--home-transition),
        background var(--home-transition),
        transform var(--home-transition);
}

.quick-access-card:hover .quick-icon {
    background: var(--home-primary);
    color: var(--home-white);
    transform: translateY(-2px);
}

.quick-access-card div {
    min-width: 0;
}

.quick-access-card strong,
.quick-access-card small {
    display: block;
}

.quick-access-card strong {
    color: var(--home-secondary);
    font-size: 13px;
    font-weight: 750;
}

.quick-access-card small {
    margin-top: 2px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.5;
}

/* =========================================================
   About Section
   ========================================================= */

.about-section {
    padding-top: 130px;
    background: var(--home-white);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 70px;
}

.about-visual {
    position: relative;
    min-width: 0;
    padding: 0 30px 35px 0;
}

.about-visual::before {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 78%;
    height: 80%;
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.12),
            rgba(6, 182, 212, 0.08)
        );
    content: "";
}

.about-image-main {
    position: relative;
    z-index: 2;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    background: #e2e8f0;
    box-shadow: var(--home-shadow);
}

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

.experience-card {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 180px;
    min-height: 125px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    border: 6px solid var(--home-white);
    border-radius: 17px;
    background: linear-gradient(
        135deg,
        var(--home-primary),
        var(--home-primary-dark)
    );
    color: var(--home-white);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.25);
}

.experience-card strong {
    font-size: 25px;
    font-weight: 850;
}

.experience-card span {
    margin-top: 2px;
    color: #dbeafe;
    font-size: 11px;
}

.about-content h2 {
    margin: 0 0 20px;
    color: var(--home-secondary);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -1.2px;
}

.about-content > p {
    margin: 0 0 14px;
    color: #64748b;
    line-height: 1.8;
}

.about-points {
    margin: 27px 0 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.about-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.about-point > span {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--home-primary-light);
    color: var(--home-primary);
    font-size: 11px;
    font-weight: 800;
}

.about-point strong {
    display: block;
    color: #1e293b;
    font-size: 12px;
}

.about-point p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 10px;
    line-height: 1.5;
}

/* =========================================================
   Services
   ========================================================= */

.services-section {
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    min-width: 0;
    padding: 28px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: var(--home-white);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
    transition:
        transform var(--home-transition),
        border-color var(--home-transition),
        box-shadow var(--home-transition);
}

.service-card:hover {
    border-color: #bfdbfe;
    transform: translateY(-7px);
    box-shadow: var(--home-shadow);
}

.service-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: var(--home-primary-light);
    color: var(--home-primary);
    font-size: 21px;
}

.service-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.service-card h3 {
    margin: 0 0 10px;
    color: var(--home-secondary);
    font-size: 19px;
    font-weight: 750;
}

.service-card > p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.75;
}

.service-meta {
    width: 100%;
    margin-top: 20px;
    padding-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid #edf2f7;
    color: var(--home-muted);
    font-size: 10px;
}

.service-meta strong {
    color: var(--home-primary);
}

.card-link {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--home-primary);
    font-size: 12px;
    font-weight: 700;
}

.card-link:hover {
    gap: 11px;
    color: var(--home-primary-dark);
}

/* =========================================================
   Why Choose Us
   ========================================================= */

.why-us-section {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(37, 99, 235, 0.18),
            transparent 28%
        ),
        linear-gradient(135deg, #07152f, #102b5b);
    color: var(--home-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 70px;
}

.why-us-content h2 {
    margin: 0 0 18px;
    color: var(--home-white);
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.why-us-content > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.why-us-list {
    margin-top: 29px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.why-us-item > span {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(147, 197, 253, 0.25);
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
    font-size: 11px;
    font-weight: 800;
}

.why-us-item h3 {
    margin: 0 0 5px;
    color: var(--home-white);
    font-size: 14px;
}

.why-us-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    line-height: 1.6;
}

.why-us-visual {
    position: relative;
    min-width: 0;
    padding: 0 0 50px 35px;
}

.why-us-visual > img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
}

.support-card {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 290px;
    padding: 20px;
    border: 6px solid #0d244c;
    border-radius: 15px;
    background: var(--home-white);
    color: var(--home-text);
    box-shadow: var(--home-shadow);
}

.support-card span,
.support-card strong,
.support-card a {
    display: block;
}

.support-card span {
    color: var(--home-muted);
    font-size: 10px;
}

.support-card strong {
    margin: 3px 0 8px;
    color: var(--home-secondary);
    font-size: 15px;
}

.support-card a {
    color: var(--home-success);
    font-size: 11px;
    font-weight: 700;
}

/* =========================================================
   Solutions
   ========================================================= */

.solutions-section {
    background: var(--home-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.solution-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: var(--home-white);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
    transition:
        transform var(--home-transition),
        box-shadow var(--home-transition);
}

.solution-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--home-shadow);
}

.solution-image {
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.07);
}

.solution-content {
    padding: 24px;
}

.solution-audience {
    margin-bottom: 9px;
    padding: 5px 9px;
    display: inline-block;
    border-radius: 20px;
    background: var(--home-primary-light);
    color: var(--home-primary-dark);
    font-size: 9px;
    font-weight: 700;
}

.solution-content h3 {
    margin: 0 0 9px;
    color: var(--home-secondary);
    font-size: 19px;
}

.solution-content p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.solution-content > a {
    margin-top: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--home-primary);
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   Work Process
   ========================================================= */

.process-section {
    background: #f8fafc;
}

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.process-grid::before {
    position: absolute;
    top: 49px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: #dbeafe;
    content: "";
}

.process-card {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 28px 23px;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    background: var(--home-white);
    text-align: center;
    transition:
        transform var(--home-transition),
        box-shadow var(--home-transition);
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--home-shadow);
}

.process-number {
    position: absolute;
    top: 15px;
    right: 17px;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 800;
}

.process-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--home-primary);
    color: var(--home-white);
    box-shadow: 0 9px 20px rgba(37, 99, 235, 0.24);
}

.process-card h3 {
    margin: 0 0 8px;
    color: var(--home-secondary);
    font-size: 16px;
}

.process-card p {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.7;
}

/* =========================================================
   Portfolio
   ========================================================= */

.portfolio-section {
    background: var(--home-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.portfolio-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: var(--home-white);
    transition:
        transform var(--home-transition),
        box-shadow var(--home-transition);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--home-shadow);
}

.portfolio-image {
    position: relative;
    height: 240px;
    display: block;
    overflow: hidden;
    background: #e2e8f0;
}

.portfolio-image::after {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    content: "";
    opacity: 0;
    transition: opacity var(--home-transition);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.07);
}

.portfolio-card:hover .portfolio-image::after {
    opacity: 1;
}

.portfolio-view {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    padding: 8px 13px;
    border-radius: 7px;
    background: var(--home-white);
    color: var(--home-secondary);
    font-size: 10px;
    font-weight: 700;
    opacity: 0;
    transform: translate(-50%, -40%);
    transition:
        opacity var(--home-transition),
        transform var(--home-transition);
}

.portfolio-card:hover .portfolio-view {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content > span {
    color: var(--home-primary);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.portfolio-content h3 {
    margin: 5px 0;
    color: var(--home-secondary);
    font-size: 17px;
}

.portfolio-content h3 a:hover {
    color: var(--home-primary);
}

.portfolio-content p {
    margin: 0;
    color: var(--home-muted);
    font-size: 10px;
}

/* =========================================================
   Pricing
   ========================================================= */

.pricing-section {
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.pricing-card {
    position: relative;
    min-width: 0;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--home-border);
    border-radius: 20px;
    background: var(--home-white);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
    transition:
        transform var(--home-transition),
        box-shadow var(--home-transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--home-shadow);
}

.pricing-card.popular {
    border: 2px solid var(--home-primary);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.14);
}

.popular-label {
    position: absolute;
    top: -14px;
    left: 50%;
    padding: 6px 15px;
    border-radius: 20px;
    background: var(--home-primary);
    color: var(--home-white);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    transform: translateX(-50%);
    white-space: nowrap;
}

.pricing-service {
    color: var(--home-primary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    margin: 7px 0 8px;
    color: var(--home-secondary);
    font-size: 23px;
}

.pricing-description {
    min-height: 45px;
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.7;
}

.pricing-price {
    margin: 22px 0;
    padding: 18px 0;
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
}

.pricing-price del {
    margin-bottom: 2px;
    display: block;
    color: var(--home-muted);
    font-size: 11px;
}

.pricing-price strong {
    color: var(--home-secondary);
    font-size: 30px;
    font-weight: 850;
}

.pricing-price span {
    color: #64748b;
    font-size: 10px;
}

.pricing-features {
    margin: 0 0 25px;
    padding: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #475569;
    font-size: 11px;
}

.pricing-features li span {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--home-success);
    font-size: 9px;
    font-weight: 800;
}

.pricing-card > .button {
    width: 100%;
}

/* =========================================================
   Team
   ========================================================= */

.team-section {
    background: var(--home-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.team-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: var(--home-white);
    transition:
        transform var(--home-transition),
        box-shadow var(--home-transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--home-shadow);
}

.team-photo {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #e2e8f0;
}

.team-photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.team-card:hover .team-photo > img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    right: 13px;
    bottom: 13px;
    display: flex;
    gap: 7px;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity var(--home-transition),
        transform var(--home-transition);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--home-white);
    color: var(--home-primary);
    font-size: 9px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.team-info {
    padding: 19px;
    text-align: center;
}

.team-info h3 {
    margin: 0;
    color: var(--home-secondary);
    font-size: 16px;
}

.team-info span,
.team-info small {
    display: block;
}

.team-info span {
    margin-top: 3px;
    color: var(--home-primary);
    font-size: 10px;
    font-weight: 700;
}

.team-info small {
    margin-top: 2px;
    color: var(--home-muted);
    font-size: 9px;
}

/* =========================================================
   Testimonials
   ========================================================= */

.testimonials-section {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(37, 99, 235, 0.15),
            transparent 25%
        ),
        #f8fafc;
}

.testimonials-slider {
    width: 100%;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc((100% - 40px) / 3);
    padding: 27px;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: var(--home-white);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: #cbd5e1;
    font-size: 13px;
}

.testimonial-stars .filled {
    color: var(--home-warning);
}

.testimonial-card blockquote {
    min-height: 100px;
    margin: 17px 0 22px;
    color: #475569;
    font-size: 12px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-client {
    padding-top: 17px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-top: 1px solid var(--home-border);
}

.testimonial-client img {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    background: #e2e8f0;
}

.testimonial-client div {
    min-width: 0;
}

.testimonial-client strong,
.testimonial-client span {
    display: block;
}

.testimonial-client strong {
    overflow: hidden;
    color: var(--home-secondary);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonial-client span {
    margin-top: 2px;
    overflow: hidden;
    color: var(--home-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================================================
   CTA Section
   ========================================================= */

.cta-section {
    padding: 85px 0;
    background: var(--home-white);
}

.cta-box {
    position: relative;
    padding: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(96, 165, 250, 0.3),
            transparent 30%
        ),
        linear-gradient(135deg, #0f172a, #172554);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.18);
}

.cta-box::after {
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border: 45px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    content: "";
}

.cta-box > * {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 680px;
}

.cta-content > span {
    color: #60a5fa;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-content h2 {
    margin: 8px 0 11px;
    color: var(--home-white);
    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.2;
}

.cta-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.7;
}

.cta-actions {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

/* =========================================================
   Contact Strip
   ========================================================= */

.contact-strip {
    padding: 34px 0;
    border-top: 1px solid var(--home-border);
    background: #f8fafc;
}

.contact-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.contact-strip-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-strip-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--home-primary-light);
    color: var(--home-primary);
    font-size: 13px;
    font-weight: 800;
}

.contact-strip-item > div {
    min-width: 0;
}

.contact-strip-item small {
    display: block;
    color: var(--home-muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-strip-item a,
.contact-strip-item address {
    margin-top: 2px;
    display: block;
    overflow: hidden;
    color: #334155;
    font-size: 11px;
    font-style: normal;
    font-weight: 650;
    text-overflow: ellipsis;
}

.contact-strip-item a:hover {
    color: var(--home-primary);
}

/* =========================================================
   Empty Content
   ========================================================= */

.empty-content {
    padding: 45px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: var(--home-white);
    color: #64748b;
    text-align: center;
}

/* =========================================================
   Scroll Reveal
   ========================================================= */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-on-scroll.revealed,
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Responsive: 1100px
   ========================================================= */

@media (max-width: 1100px) {
    .hero-content {
        padding-inline: 55px;
    }

    .quick-access-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-access-card:nth-child(2) {
        border-right: 0;
    }

    .quick-access-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--home-border);
    }

    .about-grid,
    .why-us-grid {
        gap: 45px;
    }

    .services-grid,
    .solutions-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid::before {
        display: none;
    }

    .contact-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   Responsive: 900px
   ========================================================= */

@media (max-width: 900px) {
    .section {
        padding: 75px 0;
    }

    .hero-slider {
        height: 680px;
        min-height: 600px;
    }

    .hero-content {
        padding-inline: 30px;
    }

    .about-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        max-width: 680px;
        margin-inline: auto;
    }

    .why-us-visual {
        width: 100%;
        max-width: 680px;
        margin-inline: auto;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: min(100%, 500px);
        justify-self: center;
    }

    .testimonial-card {
        min-width: calc((100% - 20px) / 2);
    }

    .cta-box {
        padding: 45px;
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   Responsive: 768px
   ========================================================= */

@media (max-width: 768px) {
    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 30px;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .section-heading-centred {
        align-items: center;
    }

    .hero-slider {
        height: 650px;
        min-height: 570px;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(3, 12, 29, 0.92),
            rgba(5, 20, 47, 0.68)
        );
    }

    .hero-content {
        padding: 50px 20px 20px;
    }

    .hero-content h1 {
        font-size: clamp(35px, 9vw, 51px);
        letter-spacing: -1.4px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-arrow {
        width: 39px;
        height: 39px;
        opacity: 0.8;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    .hero-dots {
        bottom: 20px;
    }

    .quick-access {
        margin-top: -30px;
    }

    .about-section {
        padding-top: 95px;
    }

    .about-image-main {
        height: 420px;
    }

    .about-points,
    .why-us-list {
        grid-template-columns: 1fr;
    }

    .why-us-visual > img {
        height: 430px;
    }

    .services-grid,
    .solutions-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }

    .process-grid,
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-card {
        min-width: 100%;
    }

    .cta-section {
        padding: 65px 0;
    }

    .cta-box {
        padding: 36px 30px;
    }

    .cta-actions {
        width: 100%;
    }

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

/* =========================================================
   Responsive: 576px
   ========================================================= */

@media (max-width: 576px) {
    .section {
        padding: 55px 0;
    }

    .hero-slider {
        height: 620px;
        min-height: 550px;
    }

    .hero-content {
        padding-inline: 14px;
    }

    .hero-content h1 {
        font-size: 35px;
        line-height: 1.11;
    }

    .hero-content p {
        margin-top: 16px;
        font-size: 13px;
        line-height: 1.7;
    }

    .hero-content .hero-actions {
        width: 100%;
        margin-top: 24px;
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-arrow {
        top: auto;
        bottom: 15px;
        opacity: 1;
        transform: none;
    }

    .hero-arrow:hover {
        transform: scale(1.04);
    }

    .hero-dots {
        bottom: 29px;
    }

    .quick-access-grid {
        grid-template-columns: 1fr;
    }

    .quick-access-card {
        border-right: 0;
        border-bottom: 1px solid var(--home-border);
    }

    .quick-access-card:nth-child(2) {
        border-right: 0;
    }

    .quick-access-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--home-border);
    }

    .quick-access-card:last-child {
        border-bottom: 0;
    }

    .about-section {
        padding-top: 85px;
    }

    .about-visual {
        padding: 0 15px 30px 0;
    }

    .about-image-main {
        height: 340px;
    }

    .experience-card {
        width: 145px;
        min-height: 100px;
        padding: 15px;
        border-width: 4px;
    }

    .experience-card strong {
        font-size: 20px;
    }

    .about-content h2,
    .why-us-content h2 {
        font-size: 29px;
    }

    .service-card,
    .pricing-card {
        padding: 24px 20px;
    }

    .why-us-visual {
        padding: 0 0 40px 15px;
    }

    .why-us-visual > img {
        height: 350px;
    }

    .support-card {
        max-width: 250px;
        padding: 16px;
        border-width: 4px;
    }

    .process-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-photo {
        height: 390px;
    }

    .team-social {
        opacity: 1;
        transform: none;
    }

    .portfolio-image {
        height: 220px;
    }

    .cta-box {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cta-actions .button {
        width: 100%;
    }

    .contact-strip-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }
}

/* =========================================================
   Responsive: 400px
   ========================================================= */

@media (max-width: 400px) {
    .hero-slider {
        height: 600px;
        min-height: 530px;
    }

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

    .hero-eyebrow {
        padding: 7px 11px;
        font-size: 9px;
    }

    .quick-access-card {
        padding: 18px 15px;
    }

    .quick-icon {
        width: 40px;
        height: 40px;
    }

    .about-image-main {
        height: 300px;
    }

    .about-content h2,
    .why-us-content h2,
    .section-heading h2 {
        font-size: 26px;
    }

    .why-us-visual > img {
        height: 310px;
    }

    .solution-image,
    .portfolio-image {
        height: 200px;
    }

    .team-photo {
        height: 340px;
    }
}

/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .hero-background,
    .hero-slide,
    .testimonials-track,
    .reveal-on-scroll {
        transition: none !important;
        animation: none !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   Print
   ========================================================= */

@media print {
    .hero-slider {
        height: auto;
        min-height: auto;
        background: var(--home-white);
    }

    .hero-slide {
        position: relative;
        display: none;
    }

    .hero-slide.active {
        display: block;
    }

    .hero-slide picture,
    .hero-overlay,
    .hero-arrow,
    .hero-dots,
    .hero-actions,
    .cta-section {
        display: none !important;
    }

    .hero-content {
        min-height: auto;
        padding: 30px 0;
        color: #000000;
    }

    .hero-content h1,
    .hero-content p {
        color: #000000;
    }

    .quick-access {
        margin-top: 0;
    }

    .service-card,
    .solution-card,
    .portfolio-card,
    .pricing-card,
    .team-card,
    .testimonial-card {
        box-shadow: none;
        break-inside: avoid;
    }
}