﻿/* Import Whyus styles for consistency */
@import url('Whyusstyle.css');

/* Global Font Reset to Dubai */
* {
    font-family: 'Dubai', 'Dubai Medium', 'Dubai-Medium', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Global Background Reset */
body,
html {
    background-color: #050505 !important;
    color: #e0e0e0;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

/* --- Contrast Aurora Background (Same as Index/Whyus) --- */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: #02040a;
    overflow: hidden;
}

.aurora-blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.5;
    animation: floatAurora 20s infinite alternate;
}

.aurora-1 {
    top: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.3) 0%, transparent 70%);
}

.aurora-2 {
    bottom: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(77, 171, 247, 0.25) 0%, transparent 70%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.aurora-3 {
    top: 30%;
    left: 30%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(10, 17, 40, 0.6) 0%, transparent 80%);
    animation-delay: -10s;
}

@keyframes floatAurora {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    background-size: 150px 150px;
    animation: noiseAnimation 0.5s steps(5) infinite;
}

@keyframes noiseAnimation {
    0% {
        background-position: 0 0;
    }

    20% {
        background-position: 20px -20px;
    }

    40% {
        background-position: -20px 20px;
    }

    60% {
        background-position: 20px 20px;
    }

    80% {
        background-position: -20px -20px;
    }

    100% {
        background-position: 0 0;
    }
}

/* Magic Glow Effects */
.magic-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: screen;
}

.glow-blue {
    background: radial-gradient(circle, rgba(0, 123, 255, 0.5) 0%, transparent 70%);
}

.glow-cyan {
    background: radial-gradient(circle, rgba(77, 171, 247, 0.4) 0%, transparent 70%);
}

.glow-indigo {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
}

/* --- Hero Section (Same as Whyus) --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(5, 5, 5, 0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    margin-top: 0 !important;
    transform: translateY(72px);
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: fadeInDown 1.5s ease-out;
}

.hero-text-wrapper {
    overflow: hidden;
}

.hero-title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: clamp(1.8rem, 5.2vw, 3.9rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 760px;
    margin-inline: auto;
}

.word-span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* --- Introduction Section --- */
.intro-section {
    position: relative;
    background: transparent;
    padding: 6rem 0;
    z-index: 2;
}

.intro-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 4rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Service Icon Cards */
.service-icon-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    height: 100%;
}

.service-icon-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(77, 171, 247, 0.5);
    box-shadow: 0 20px 40px rgba(77, 171, 247, 0.2);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.2), rgba(0, 123, 255, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-icon-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.4), rgba(0, 123, 255, 0.4));
}

.icon-wrapper svg {
    stroke: #4dabf7;
}

.service-icon-card h3 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.service-icon-card p {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0;
}

/* --- Service Detail Sections --- */
.service-detail-section {
    position: relative;
    padding: 3rem 0;
    z-index: 2;
}

.service-block {
    max-width: 900px;
    margin: 0 auto;
}

.service-row {
    margin-bottom: 4rem;
}

.service-main-title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.service-intro {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.8;
}

/* Image Wrapper with Gradient */
.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    display: inline-block;
}

.img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(35, 59, 118, 0.9), transparent);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-img {
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: breathingZoom 8s ease-in-out infinite alternate;
}

@keyframes breathingZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

/* Sub-Services */
.sub-services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sub-service-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.sub-service-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(77, 171, 247, 0.3);
    transform: translateX(-5px);
}

.sub-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.sub-service-item h4 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.sub-service-item p {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

/* Why Different Box */
.why-different-box {
    background: rgba(77, 171, 247, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(77, 171, 247, 0.2);
}

.why-different-box h4 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #4dabf7;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.05rem;
    color: #e0e0e0;
    line-height: 2;
    padding-right: 0.5rem;
}

/* Sub-Service Cards (Small Cards) - Kept for future use if needed */
.sub-service-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sub-service-card:hover {
    background: rgba(77, 171, 247, 0.08);
    border-color: rgba(77, 171, 247, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(77, 171, 247, 0.15);
}

.sub-service-card .sub-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.sub-service-card h5 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

/* Service Features Text (Inline with Icons) */
.service-features {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 2;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Process Timeline Section --- */
.process-section {
    position: relative;
    padding: 6rem 0;
    background: transparent;
    z-index: 2;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(77, 171, 247, 0.3), rgba(77, 171, 247, 0.1));
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4dabf7, #007bff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(77, 171, 247, 0.4);
    z-index: 2;
    flex-shrink: 0;
    margin: 0 2rem;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(77, 171, 247, 0.4);
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.05rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.7;
}

/* --- Unified Card Family (Services Page) --- */
.intro-card,
.service-icon-card,
.sub-service-item,
.why-different-box,
.sub-service-card,
.timeline-content,
.consultation-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.intro-card::before,
.service-icon-card::before,
.sub-service-item::before,
.why-different-box::before,
.sub-service-card::before,
.timeline-content::before,
.consultation-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.intro-card::after,
.service-icon-card::after,
.sub-service-item::after,
.why-different-box::after,
.sub-service-card::after,
.timeline-content::after,
.consultation-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #233b76;
    z-index: 1;
}

.intro-card > *,
.service-icon-card > *,
.sub-service-item > *,
.why-different-box > *,
.sub-service-card > *,
.timeline-content > *,
.consultation-card > *:not(.card-bg-icon) {
    position: relative;
    z-index: 2;
}

.service-icon-card,
.sub-service-item,
.why-different-box,
.sub-service-card,
.timeline-content {
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-icon-card:hover,
.sub-service-item:hover,
.why-different-box:hover,
.sub-service-card:hover,
.timeline-content:hover {
    transform: translateY(-7px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(77, 171, 247, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
}

.service-icon-card:hover::before,
.sub-service-item:hover::before,
.why-different-box:hover::before,
.sub-service-card:hover::before,
.timeline-content:hover::before {
    opacity: 1;
}

.icon-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-icon-card:hover .icon-wrapper {
    transform: scale(1.06);
    background: #233b76;
    border-color: #233b76;
}

.service-icon-card:hover .icon-wrapper svg {
    stroke: #ffffff;
}

/* Spacing normalization across card family */
.service-icon-card,
.timeline-content,
.why-different-box {
    padding: 2rem 1.75rem;
}

.sub-service-item {
    padding: 1.45rem 1.3rem;
    gap: 0.9rem;
}

.sub-service-card {
    padding: 1.45rem 1.1rem;
}

/* --- Typography --- */
.section-title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.section-desc {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.15rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.highlight-blue {
    position: relative;
    display: inline-block;
    color: inherit;
    z-index: 1;
}

.highlight-blue::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: #4dabf7;
    opacity: 0.4;
    z-index: -1;
    border-radius: 4px;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background-color: #233b76;
    color: #fff;
    text-decoration: none;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 59, 118, 0.3);
}

.cta-button:hover {
    background-color: #1a2c5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(35, 59, 118, 0.5);
    color: #fff;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(-5px);
}

/* --- Consultation Form Section --- */
.consultation-section {
    background: #050505;
    margin-top: -28px;
    padding: 2.2rem 0 2.6rem 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.consultation-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 22%, rgba(77, 171, 247, 0.12), transparent 40%),
        radial-gradient(circle at 82% 18%, rgba(10, 17, 40, 0.32), transparent 54%);
    pointer-events: none;
    z-index: 0;
}

.consultation-section > * {
    position: relative;
    z-index: 1;
}

.consultation-simple {
    max-width: 860px;
    margin: 0 auto;
    padding: 0.4rem 0 0.2rem;
    position: relative;
    top: 0;
}

.consultation-shell {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    padding: 2.3rem 2rem;
    position: relative;
    overflow: hidden;
}

.consultation-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.75;
    pointer-events: none;
}

.consultation-shell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #233b76;
}

.consultation-head {
    margin-bottom: 1.5rem;
}

.consultation-desc {
    max-width: 780px;
    color: #d8dee9;
}

.consultation-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.2rem;
    align-items: stretch;
}

.consultation-points {
    display: grid;
    gap: 0.75rem;
}

.consultation-point {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    color: #ffffff;
    line-height: 1.65;
}

.consultation-cta-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.15rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.consultation-cta-card h3 {
    margin: 0 0 0.45rem;
    color: #ffffff;
    font-size: 1.35rem;
}

.consultation-cta-card p {
    margin: 0 0 1rem;
    color: #d8dee9;
    line-height: 1.75;
}

.consultation-main-cta {
    width: fit-content;
    margin: 0.4rem auto 0;
    font-size: 1.04rem;
    padding: 0.88rem 1.5rem;
}

.consultation-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 4rem;
}

.card-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    opacity: 0.03;
    stroke: #4dabf7;
    pointer-events: none;
}

.consultation-card .form-label {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.consultation-card .form-control,
.consultation-card select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #ffffff;
    padding: 0.8rem 1rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.consultation-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.consultation-card .form-control:focus,
.consultation-card select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #4dabf7;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
    outline: none;
    color: #ffffff;
}

.consultation-card select option {
    background: #1a1a1a;
    color: #ffffff;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-check-input:checked {
    background-color: #4dabf7;
    border-color: #4dabf7;
}

.form-check-label {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: #e0e0e0;
}

/* --- Footer --- */
footer.container {
    width: 100%;
    max-width: 100% !important;
    background: #050505;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    z-index: 3;
}

.main-footer {
    max-width: 1320px;
    margin: 0 auto !important;
    padding: 1.1rem 0 0.8rem 0;
    border-top: none !important;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.main-footer .col-md-4.text-center.mb-3.mb-md-0 {
    transform: none !important;
}

.social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    color: #233b76;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.social-circle:hover {
    background-color: #233b76;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(35, 59, 118, 0.2);
}

.social-circle svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.footer-text-group a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.footer-text-group a:hover {
    color: #4dabf7 !important;
}

/* --- Scroll Reveal Animation --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Fix hover lag: reveal-on-scroll was overriding card hover transitions */
.service-icon-card.reveal-on-scroll,
.sub-service-item.reveal-on-scroll,
.sub-service-card.reveal-on-scroll,
.timeline-content.reveal-on-scroll,
.why-different-box.reveal-on-scroll {
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    transition-delay: 0s !important;
    will-change: transform;
}

/* Keep intro service cards lifting smoothly after reveal state is applied */
.intro-section .service-icon-card.reveal-on-scroll {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease, opacity 0.6s ease;
}

.intro-section .service-icon-card.reveal-on-scroll.is-visible:hover {
    transform: translateY(-9px);
}

/* --- Mobile Responsive --- */
@media (max-width: 991px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-marker {
        margin: 0 1rem 0 0;
    }

    .timeline-content {
        text-align: right !important;
    }

    .service-row {
        margin-bottom: 3rem;
    }

    .intro-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.15rem;
        max-width: 360px;
    }

    .hero-video {
        transform: translate(-50%, -50%);
    }

    .intro-section,
    .service-detail-section,
    .process-section {
        padding: 4rem 0;
    }

    .consultation-section {
        padding: 1.2rem 0 1.6rem 0 !important;
    }

    .intro-card {
        padding: 2rem 1.5rem;
    }

    .consultation-card {
        padding: 2rem 1.5rem;
    }

    .service-main-title {
        font-size: 2rem;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .consultation-shell {
        padding: 1.6rem 1.1rem;
    }

    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }

    .consultation-simple {
        padding: 0;
        top: 0;
    }

    .consultation-main-cta {
        width: 100%;
        justify-content: center;
    }

}
