/* ================================
   Urban Care Systems - Premium Redesign
   Cyan & Orange Brand Colors
   ================================ */

/* ---- CSS Variables ---- */
:root {
    /* Brand Colors */
    --cyan: #00BCD4;
    --cyan-dark: #00ACC1;
    --cyan-light: #4DD0E1;
    --orange: #FF9800;
    --orange-dark: #F57C00;
    --orange-light: #FFB74D;
    
    /* Neutrals */
    --white: #ffffff;
    --black: #1a1a2e;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ---- Reset ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader .wave-icon {
    width: 80px;
    margin: 0 auto 1rem;
    animation: pulse 1.5s infinite;
}

.loader span {
    font-weight: 500;
    color: var(--gray-600);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange); }

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-orange {
    background: var(--orange);
    color: var(--white);
}

.btn-orange:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cyan {
    background: var(--cyan);
    color: var(--white);
}

.btn-cyan:hover {
    background: var(--cyan-dark);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--orange);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gray-800);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full { width: 100%; }

/* ---- Navigation ---- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

#header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wave {
    width: 50px;
    height: 35px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 3px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cyan);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: all 0.3s;
}

/* ---- Hero Section ---- */
.hero {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-left {
    flex: 1;
    background: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl) var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.hero-left::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255,152,0,0.2) 0%, transparent 60%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes float-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    position: relative;
    max-width: 520px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: fade-in-up 1s ease-out;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 152, 0, 0.3);
    border-radius: var(--radius-full);
    animation: slide-in-left 0.8s ease-out 0.2s both;
}

.hero-title {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: slide-in-left 0.8s ease-out 0.4s both;
}

.hero-title-accent {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: slide-in-left 0.8s ease-out 0.5s both;
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2rem;
    animation: fade-in-up 0.8s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fade-in-up 0.8s ease-out 0.8s both;
}

.hero-buttons .btn {
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-orange {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btn-shine 3s infinite;
}

@keyframes btn-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Floating Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: var(--orange);
    top: 15%;
    left: 10%;
    animation: float-shape 6s ease-in-out infinite;
}

.shape-2 {
    width: 120px;
    height: 120px;
    border: 3px solid var(--white);
    background: transparent;
    top: 60%;
    left: 5%;
    animation: float-shape 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: var(--white);
    top: 25%;
    right: 15%;
    animation: float-shape 7s ease-in-out infinite 1s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    background: var(--orange-light);
    bottom: 20%;
    right: 10%;
    animation: float-shape 5s ease-in-out infinite 0.5s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.hero-right {
    flex: 1;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl) var(--space-2xl);
    position: relative;
}

.hero-image-area {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.hero-image-box {
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.image-placeholder-hero {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--cyan-light) 0%, var(--cyan) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.image-placeholder-hero i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.image-placeholder-hero span {
    font-size: 1.25rem;
    font-weight: 600;
}

.float-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.float-card i {
    font-size: 1.5rem;
    color: var(--cyan);
}

.float-card strong {
    display: block;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.float-card span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.float-card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 1.5s;
}

.float-card-2 i {
    color: var(--orange);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---- Why Choose Us Section ---- */
.why-us-section {
    display: flex;
    min-height: 600px;
}

.why-us-left {
    flex: 0 0 40%;
    background: var(--orange);
    padding: var(--space-4xl) var(--space-2xl);
    display: flex;
    align-items: center;
}

.why-us-content {
    max-width: 400px;
    margin-left: auto;
    color: var(--white);
}

.why-us-content h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.why-us-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.why-us-right {
    flex: 1;
    background: var(--white);
    padding: var(--space-3xl) var(--space-2xl);
    display: flex;
    align-items: center;
}

.service-cards-grid {
    display: flex;
    gap: 1.5rem;
    max-width: 800px;
}

.service-mini-card {
    flex: 1;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.service-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-mini-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-mini-card h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.service-mini-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ---- About Section ---- */
.about-section {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    width: 80%;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 50%;
}

.about-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-img.small {
    aspect-ratio: 1;
    border: 4px solid var(--white);
}

.image-placeholder-about {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 4rem;
    box-shadow: var(--shadow-lg);
}

.image-placeholder-about.small {
    aspect-ratio: 1;
    font-size: 2.5rem;
    border: 4px solid var(--white);
}

.experience-badge {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.exp-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.about-feature i {
    font-size: 1.25rem;
    color: var(--cyan);
}

.about-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-800);
}

/* ---- Services Section ---- */
.services-section {
    padding: var(--space-4xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
    color: var(--white);
    border: none;
}

.service-card.featured h3,
.service-card.featured p {
    color: var(--white);
}

.service-card.featured .service-link {
    color: var(--white);
}

.featured-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-icon.cyan {
    background: rgba(0, 188, 212, 0.1);
    color: var(--cyan);
}

.service-icon.orange {
    background: rgba(255, 152, 0, 0.1);
    color: var(--orange);
}

.service-card.featured .service-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cyan);
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 0.75rem;
}

/* ---- Team Section ---- */
.team-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

/* Org Chart */
.org-chart {
    max-width: 900px;
    margin: 0 auto var(--space-3xl);
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.org-level-multi {
    flex-wrap: wrap;
}

.org-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    text-align: center;
    min-width: 200px;
    max-width: 240px;
    transition: all 0.3s ease;
    position: relative;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cyan);
}

.org-card.founder {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    border-color: var(--orange);
}

.org-card.primary {
    background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
    border-color: var(--cyan);
}

.org-card.care-workers {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
    border: none;
    color: var(--white);
    min-width: 250px;
}

.org-card.care-workers h4,
.org-card.care-workers .org-subtitle {
    color: var(--white);
}

.org-card.care-workers .org-card-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.org-card-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.1rem;
    color: var(--cyan);
}

.org-card.founder .org-card-icon {
    background: rgba(255, 152, 0, 0.15);
    color: var(--orange);
}

.org-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.org-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin: 0;
}

.org-subtitle {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

/* Connectors */
.org-connector {
    width: 2px;
    height: 30px;
    background: var(--cyan);
    margin: 0 auto;
}

.org-connector-multi {
    position: relative;
    height: 40px;
    margin: 0 auto;
    width: 60%;
}

.org-connector-multi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 20px;
    background: var(--cyan);
    transform: translateX(-50%);
}

.org-connector-multi::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyan);
}

.org-connector-single {
    width: 2px;
    height: 30px;
    background: var(--cyan);
    margin: 0 auto;
    position: relative;
}

.org-connector-single::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 100px;
    height: 2px;
    background: var(--cyan);
}

/* CQC & Diversity Section */
.cqc-diversity-section {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.cqc-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
}

.cqc-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.cqc-text h4 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.cqc-text p {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin: 0;
}

.diversity-commitment {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.diversity-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.diversity-content h4 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.diversity-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.diversity-values {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.diversity-values span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--gray-50);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
}

.diversity-values span i {
    color: var(--cyan);
}

/* ---- Stats Section ---- */
.stats-section {
    padding: var(--space-3xl) 0;
    background: var(--cyan);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-box {
    text-align: center;
    color: var(--white);
}

.stat-box i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-num {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-num::after {
    content: '+';
    font-size: 2rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ---- Testimonials Section ---- */
.testimonials-section {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
    margin-bottom: 1rem;
}

.testimonial-card .stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ---- CTA Section ---- */
.cta-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---- Contact Section ---- */
.contact-section {
    padding: var(--space-4xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-items {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-icon.cyan {
    background: rgba(0, 188, 212, 0.1);
    color: var(--cyan);
}

.contact-icon.orange {
    background: rgba(255, 152, 0, 0.1);
    color: var(--orange);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--cyan);
    color: var(--white);
    transform: translateY(-3px);
}

/* Phone and Address Links */
.phone-link,
.address-link {
    color: var(--gray-700);
    transition: color 0.3s;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.phone-link:hover {
    color: var(--orange);
}

.address-link:hover {
    color: var(--cyan);
}

.phone-link i,
.address-link i {
    margin-right: 0.25rem;
    font-size: 0.8rem;
}

/* Contact Maps */
.contact-maps {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.map-container {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.map-container h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.map-container h4 i {
    color: var(--cyan);
    margin-right: 0.5rem;
}

/* Footer Phone Link */
.footer-phone {
    color: inherit;
    transition: color 0.3s;
}

.footer-phone:hover {
    color: var(--cyan);
}

.contact-form-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: border-color 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ---- Footer ---- */
.footer {
    background: var(--black);
    color: var(--gray-300);
    padding: var(--space-4xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-name {
    color: var(--white);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--cyan);
    width: 16px;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.designer-link {
    color: var(--orange);
    font-weight: 500;
    transition: color 0.3s;
}

.designer-link:hover {
    color: var(--orange-light);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--cyan);
    color: var(--white);
    transform: translateY(-3px);
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--orange-dark);
    transform: translateY(-5px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
    }
    
    .hero-left, .hero-right {
        flex: none;
        width: 100%;
        padding: var(--space-3xl) var(--space-xl);
    }
    
    .hero-right {
        padding-top: 0;
    }
    
    .why-us-section {
        flex-direction: column;
    }
    
    .why-us-left, .why-us-right {
        flex: none;
        width: 100%;
        padding: var(--space-3xl) var(--space-xl);
    }
    
    .why-us-content {
        max-width: 100%;
        margin: 0;
    }
    
    .service-cards-grid {
        flex-direction: column;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .org-level-multi {
        gap: 1rem;
    }
    
    .org-card {
        min-width: 180px;
        padding: 1rem;
    }
    
    .cqc-diversity-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu, .nav-right {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    
    .nav-menu.active li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .services-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-maps {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .float-card {
        display: none;
    }
    
    .org-level {
        flex-direction: column;
        align-items: center;
    }
    
    .org-level-multi {
        flex-direction: column;
    }
    
    .org-card {
        min-width: 100%;
        max-width: 100%;
    }
    
    .org-connector-multi {
        width: 2px;
        height: 30px;
    }
    
    .org-connector-multi::after {
        display: none;
    }
    
    .org-connector-single::before {
        display: none;
    }
    
    .diversity-commitment {
        flex-direction: column;
        text-align: center;
    }
    
    .diversity-icon {
        margin: 0 auto;
    }
    
    .diversity-values {
        justify-content: center;
    }
    
    .cqc-badge {
        padding: 1rem;
    }
    
    .cqc-logo {
        width: 100px;
    }
}
