/* ============================================
   RELIANCE DRIVING INSTITUTE — STYLESHEET
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --plum-50: #FAF5FF;
    --plum-100: #F3E8FF;
    --plum-200: #E9D5FF;
    --plum-300: #D8B4FE;
    --plum-400: #C084FC;
    --plum-500: #A855F7;
    --plum-600: #9333EA;
    --plum-700: #7E26CE;
    --plum-800: #6B21A8;
    --plum-900: #581C87;
    --plum-950: #3B0764;
    
    --amber-50: #FFFBEB;
    --amber-100: #FEF3C7;
    --amber-200: #FDE68A;
    --amber-300: #FCD34D;
    --amber-400: #FBBF24;
    --amber-500: #F59E0B;
    --amber-600: #D97706;
    --amber-700: #B45309;
    --amber-800: #92400E;
    --amber-900: #78350F;
    
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.1);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum-700);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(126, 38, 206, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--plum-800);
}

.nav-logo-text {
    background: linear-gradient(135deg, var(--plum-700), var(--amber-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-500));
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-menu a:hover {
    color: var(--plum-700);
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--plum-700), var(--plum-600));
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(126, 38, 206, 0.35);
    color: white !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--plum-800);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--plum-800);
    left: 0;
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-800) 30%, #5B21B6 60%, var(--amber-700) 100%);
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--plum-600);
    top: -200px;
    right: -100px;
    opacity: 0.3;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--amber-500);
    bottom: -100px;
    left: -100px;
    opacity: 0.25;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--plum-400);
    top: 50%;
    left: 40%;
    opacity: 0.2;
}

.geo-shape {
    position: absolute;
    opacity: 0.12;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: var(--amber-400);
    top: 15%;
    left: 5%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: var(--plum-300);
    top: 25%;
    right: 38%;
    border-radius: 50%;
    opacity: 0.2;
}

.shape-3 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid var(--amber-300);
    bottom: 20%;
    left: 15%;
    opacity: 0.15;
}

.shape-4 {
    width: 100px;
    height: 100px;
    border: 4px solid var(--plum-300);
    top: 60%;
    right: 10%;
    transform: rotate(45deg);
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--amber-300);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--amber-300), var(--amber-500), var(--amber-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    color: var(--gray-900);
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(217, 119, 6, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--plum-700);
    border: 2px solid var(--plum-200);
}

.btn-outline:hover {
    background: var(--plum-50);
    border-color: var(--plum-500);
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--plum-800);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-amber {
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    color: var(--gray-900);
}

.btn-amber:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(217, 119, 6, 0.4);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-image-col {
    position: relative;
    z-index: 2;
    margin-left: auto;
    max-width: 500px;
}

.hero-img-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-img-card img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.img-card-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--plum-800);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.hero-float-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    padding: 16px 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.float-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--plum-600), var(--plum-700));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.float-card-title {
    font-weight: 700;
    font-size: 0.938rem;
    color: var(--gray-900);
}

.float-card-sub {
    font-size: 0.813rem;
    color: var(--gray-500);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    color: var(--gray-50);
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* --- Section Shared --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--plum-600);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-500));
    border-radius: 3px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.063rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 560px;
}

/* --- Services --- */
.services {
    position: relative;
    padding: 100px 0 120px;
    background: var(--gray-50);
    overflow: hidden;
}

.services .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.services .section-desc {
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: left;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum-500), var(--amber-500));
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--plum-800), var(--plum-900));
    border-color: transparent;
    color: white;
}

.service-card.featured::before {
    background: linear-gradient(90deg, var(--amber-400), var(--amber-500));
    opacity: 1;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-features li {
    color: white;
}

.service-card.featured .service-features li svg {
    stroke: var(--amber-400);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--plum-100), var(--plum-50));
    color: var(--plum-700);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--amber-400);
}

.service-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--amber-700);
    background: var(--amber-100);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.service-card.featured .service-tag {
    background: rgba(217, 119, 6, 0.2);
    color: var(--amber-300);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.313rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 28px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-600);
    padding: 6px 0;
}

.service-features li svg {
    flex-shrink: 0;
    stroke: var(--plum-500);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.8);
}

/* Services deco */
.services-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
}

.deco-circle.c1 {
    width: 300px;
    height: 300px;
    background: var(--plum-100);
    top: -80px;
    right: -80px;
    opacity: 0.5;
}

.deco-circle.c2 {
    width: 200px;
    height: 200px;
    background: var(--amber-100);
    bottom: 40px;
    left: -60px;
    opacity: 0.5;
}

.deco-dots {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, var(--plum-300) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.4;
    bottom: 80px;
    right: 60px;
}

/* --- Why Section --- */
.why {
    position: relative;
    padding: 100px 0;
    background: white;
    overflow: hidden;
}

.why .container {
    position: relative;
    z-index: 2;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-img-stack {
    position: relative;
}

.why-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-img-main img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.why-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid white;
}

.why-img-accent img {
    width: 320px;
    height: 240px;
    object-fit: cover;
}

.why-exp-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-800));
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--amber-400);
}

.exp-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
    opacity: 0.8;
}

.why-content .section-desc {
    margin-bottom: 40px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.why-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.plum-bg {
    background: linear-gradient(135deg, var(--plum-600), var(--plum-700));
}

.amber-bg {
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
}

.why-feature h4 {
    font-family: var(--font-heading);
    font-size: 1.063rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.why-feature p {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.why-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-geo {
    position: absolute;
}

.geo-a {
    width: 200px;
    height: 200px;
    background: var(--plum-50);
    border-radius: 50%;
    bottom: -60px;
    left: -60px;
    opacity: 0.6;
}

.geo-b {
    width: 120px;
    height: 120px;
    background: var(--amber-50);
    top: 40px;
    right: -30px;
    transform: rotate(30deg);
    opacity: 0.6;
}

/* --- Process --- */
.process {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
    overflow: hidden;
}

.process-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 32px 20px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--plum-200), var(--amber-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--plum-100);
    position: relative;
    z-index: 2;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-connector {
    display: none;
}

.process-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.pbd-circle {
    position: absolute;
    border-radius: 50%;
}

.pbd-circle.c1 {
    width: 400px;
    height: 400px;
    background: var(--plum-50);
    top: -100px;
    right: -100px;
    opacity: 0.6;
}

.pbd-circle.c2 {
    width: 250px;
    height: 250px;
    background: var(--amber-50);
    bottom: -60px;
    left: -60px;
    opacity: 0.6;
}

/* --- Testimonials --- */
.testimonials {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-800) 50%, #4C1D95 100%);
    overflow: hidden;
}

.testimonials .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.testimonials .section-label {
    color: var(--amber-400);
}

.testimonials .section-label::before {
    background: linear-gradient(90deg, var(--amber-400), var(--amber-500));
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-title .gradient-text {
    background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: transform var(--transition), background var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    font-size: 0.938rem;
    color: white;
}

.author-location {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.5);
}

.testimonials-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.td-shape {
    position: absolute;
}

.td-shape.s1 {
    width: 200px;
    height: 200px;
    background: var(--plum-700);
    border-radius: 50%;
    top: -60px;
    left: -60px;
    opacity: 0.3;
}

.td-shape.s2 {
    width: 150px;
    height: 150px;
    background: var(--amber-600);
    bottom: -40px;
    right: 10%;
    border-radius: 50%;
    opacity: 0.2;
}

.td-shape.s3 {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255,255,255,0.1);
    top: 30%;
    right: 5%;
    transform: rotate(45deg);
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--amber-600) 0%, var(--amber-500) 50%, var(--plum-700) 100%);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(126, 38, 206, 0.4) 0%, transparent 70%);
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape.c1 {
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    top: -80px;
    right: 10%;
}

.cta-shape.c2 {
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    bottom: -60px;
    left: 5%;
}

.cta-shape.c3 {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.08);
    top: 20%;
    left: 15%;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
}

.gradient-text-white {
    background: linear-gradient(135deg, var(--plum-200), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    position: relative;
    padding: 100px 0;
    background: var(--gray-50);
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 36px 0;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--plum-100), var(--plum-50));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.contact-value:hover {
    color: var(--plum-600);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 8px;
}

.contact-form-wrap {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.form-deco-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-500));
}

.form-deco-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: var(--plum-50);
    border-radius: 50%;
    transform: translate(30%, 30%);
    pointer-events: none;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-400);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--plum-100), var(--amber-100));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.938rem;
    color: var(--gray-500);
}

/* --- Footer --- */
.footer {
    position: relative;
    background: var(--gray-900);
    color: white;
    padding: 80px 0 0;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.938rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--amber-400);
}

.footer-contact svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.fbs-1 {
    width: 400px;
    height: 400px;
    background: var(--plum-950);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    opacity: 0.5;
}

.fbs-2 {
    width: 300px;
    height: 300px;
    background: var(--amber-950);
    border-radius: 50%;
    bottom: -150px;
    left: -80px;
    opacity: 0.3;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .why-grid {
        gap: 50px;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }
    
    .nav-menu.open {
        transform: translateY(0);
    }
    
    .hero {
        padding: 120px 24px 100px;
    }
    
    .hero-image-col {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .why-img-stack {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .why-img-accent {
        right: -10px;
        bottom: -20px;
    }
    
    .why-exp-badge {
        left: -10px;
        top: -10px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services, .why, .process, .testimonials, .contact {
        padding: 70px 0;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
}
