/* HAVEN RESIDENTIAL CARE LLC - Modern Clean Theme */
html {
    scroll-behavior: smooth;
}

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #6366f1;
    --accent: #10b981;
    --success: #22c55e;
    --warning: #f59e0b;
    --dark: #1e293b;
    --darker: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: #000;
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, p, span, a, li, label, strong {
    color: #000 !important;
}

.footer, .footer p, .footer a, .footer span, .footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
    color: #fff !important;
}

.hero-content, .hero-content h1, .hero-content p, .hero-content span, .hero-content a, .hero-tag, .hero-title, .hero-title span, .hero-subtitle, .btn-hero, .btn-hero-outline {
    color: #fff !important;
}

.section-title, .section-subtitle, .hero h1, .hero p {
    color: #000 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-style: normal;
    overflow: visible;
}

p {
    font-size: 0.85rem;
}

/* Animated 3D Background */
.gradient-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0fdf4 100%);
    overflow: hidden;
}

/* Animated Aurora Effect */
.gradient-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            transparent 0deg, 
            rgba(14, 165, 233, 0.08) 60deg, 
            transparent 120deg,
            rgba(99, 102, 241, 0.06) 180deg,
            transparent 240deg,
            rgba(16, 185, 129, 0.05) 300deg,
            transparent 360deg);
    animation: auroraRotate 30s linear infinite;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    animation: gradientPulse 8s ease-in-out infinite alternate;
}

@keyframes auroraRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gradientPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* Floating 3D Orbs */
.floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent 70%);
    box-shadow: 
        inset 0 0 50px rgba(255,255,255,0.5),
        0 20px 60px rgba(0,0,0,0.1);
    animation: orbFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), transparent 60%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(99, 102, 241, 0.2));
    top: -5%;
    left: -5%;
    animation-delay: 0s;
    filter: blur(2px);
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), transparent 60%),
        linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(14, 165, 233, 0.2));
    bottom: 5%;
    right: -5%;
    animation-delay: -5s;
    filter: blur(1px);
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), transparent 60%),
        linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(99, 102, 241, 0.15));
    top: 40%;
    right: 10%;
    animation-delay: -10s;
    animation-duration: 25s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), transparent 60%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(16, 185, 129, 0.15));
    bottom: 20%;
    left: 5%;
    animation-delay: -15s;
    animation-duration: 28s;
    filter: blur(3px);
}

.shape-5 {
    width: 150px;
    height: 150px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), transparent 60%),
        linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(236, 72, 153, 0.25));
    top: 60%;
    left: 40%;
    animation-delay: -8s;
    animation-duration: 18s;
}

.shape-6 {
    width: 180px;
    height: 180px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), transparent 60%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(16, 185, 129, 0.2));
    top: 15%;
    right: 25%;
    animation-delay: -3s;
    animation-duration: 22s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.95);
    }
    75% {
        transform: translate(40px, 30px) scale(1.02);
    }
}

/* Glowing Particles */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: sparkle 6s ease-in-out infinite;
    pointer-events: none;
}

.particle:nth-child(1) { width: 6px; height: 6px; background: #0ea5e9; box-shadow: 0 0 20px #0ea5e9, 0 0 40px #0ea5e9; top: 15%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 8px; height: 8px; background: #6366f1; box-shadow: 0 0 20px #6366f1, 0 0 40px #6366f1; top: 35%; left: 25%; animation-delay: -1s; }
.particle:nth-child(3) { width: 5px; height: 5px; background: #10b981; box-shadow: 0 0 15px #10b981, 0 0 30px #10b981; top: 55%; left: 15%; animation-delay: -2s; }
.particle:nth-child(4) { width: 7px; height: 7px; background: #ec4899; box-shadow: 0 0 20px #ec4899, 0 0 40px #ec4899; top: 75%; left: 35%; animation-delay: -3s; }
.particle:nth-child(5) { width: 6px; height: 6px; background: #f59e0b; box-shadow: 0 0 18px #f59e0b, 0 0 35px #f59e0b; top: 25%; left: 55%; animation-delay: -0.5s; }
.particle:nth-child(6) { width: 9px; height: 9px; background: #0ea5e9; box-shadow: 0 0 25px #0ea5e9, 0 0 50px #0ea5e9; top: 45%; left: 70%; animation-delay: -1.5s; }
.particle:nth-child(7) { width: 5px; height: 5px; background: #6366f1; box-shadow: 0 0 15px #6366f1, 0 0 30px #6366f1; top: 65%; left: 85%; animation-delay: -2.5s; }
.particle:nth-child(8) { width: 7px; height: 7px; background: #10b981; box-shadow: 0 0 20px #10b981, 0 0 40px #10b981; top: 85%; left: 60%; animation-delay: -3.5s; }
.particle:nth-child(9) { width: 6px; height: 6px; background: #ec4899; box-shadow: 0 0 18px #ec4899, 0 0 35px #ec4899; top: 10%; left: 80%; animation-delay: -4s; }
.particle:nth-child(10) { width: 8px; height: 8px; background: #f59e0b; box-shadow: 0 0 22px #f59e0b, 0 0 45px #f59e0b; top: 50%; left: 45%; animation-delay: -4.5s; }
.particle:nth-child(11) { width: 5px; height: 5px; background: #0ea5e9; box-shadow: 0 0 15px #0ea5e9, 0 0 30px #0ea5e9; top: 30%; left: 90%; animation-delay: -5s; }
.particle:nth-child(12) { width: 7px; height: 7px; background: #6366f1; box-shadow: 0 0 20px #6366f1, 0 0 40px #6366f1; top: 70%; left: 5%; animation-delay: -5.5s; }

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) translateY(0);
        opacity: 0.4;
    }
    25% {
        transform: scale(1.8) translateY(-30px);
        opacity: 1;
    }
    50% {
        transform: scale(0.8) translateY(20px);
        opacity: 0.3;
    }
    75% {
        transform: scale(1.5) translateY(-15px);
        opacity: 0.8;
    }
}

/* Neural Network Container */
.ring-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Neural Network Nodes */
.ring {
    position: absolute;
    border-radius: 50%;
    animation: neuronPulse 3s ease-in-out infinite;
    pointer-events: none;
}

.ring-1 {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #0ea5e9 0%, rgba(14, 165, 233, 0.3) 70%, transparent 100%);
    box-shadow: 0 0 30px #0ea5e9, 0 0 60px rgba(14, 165, 233, 0.5), 0 0 90px rgba(14, 165, 233, 0.3);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.ring-2 {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0.3) 70%, transparent 100%);
    box-shadow: 0 0 25px #6366f1, 0 0 50px rgba(99, 102, 241, 0.5), 0 0 75px rgba(99, 102, 241, 0.3);
    top: 25%;
    left: 25%;
    animation-delay: -0.5s;
}

.ring-3 {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #10b981 0%, rgba(16, 185, 129, 0.3) 70%, transparent 100%);
    box-shadow: 0 0 28px #10b981, 0 0 55px rgba(16, 185, 129, 0.5), 0 0 80px rgba(16, 185, 129, 0.3);
    top: 40%;
    left: 15%;
    animation-delay: -1s;
}

@keyframes neuronPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* Neural Network SVG Lines */
.neural-network {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.neural-network svg {
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
}

/* Neural Nodes */
.neural-node {
    position: absolute;
    border-radius: 50%;
    animation: nodeGlow 4s ease-in-out infinite;
    pointer-events: none;
}

.node-1 { width: 14px; height: 14px; background: #0ea5e9; box-shadow: 0 0 20px #0ea5e9, 0 0 40px #0ea5e9; top: 20%; left: 8%; animation-delay: 0s; }
.node-2 { width: 18px; height: 18px; background: #6366f1; box-shadow: 0 0 25px #6366f1, 0 0 50px #6366f1; top: 35%; left: 20%; animation-delay: -0.5s; }
.node-3 { width: 12px; height: 12px; background: #10b981; box-shadow: 0 0 18px #10b981, 0 0 35px #10b981; top: 50%; left: 12%; animation-delay: -1s; }
.node-4 { width: 16px; height: 16px; background: #ec4899; box-shadow: 0 0 22px #ec4899, 0 0 45px #ec4899; top: 65%; left: 25%; animation-delay: -1.5s; }
.node-5 { width: 20px; height: 20px; background: #0ea5e9; box-shadow: 0 0 28px #0ea5e9, 0 0 55px #0ea5e9; top: 30%; left: 45%; animation-delay: -2s; }
.node-6 { width: 14px; height: 14px; background: #f59e0b; box-shadow: 0 0 20px #f59e0b, 0 0 40px #f59e0b; top: 55%; left: 50%; animation-delay: -2.5s; }
.node-7 { width: 18px; height: 18px; background: #6366f1; box-shadow: 0 0 25px #6366f1, 0 0 50px #6366f1; top: 75%; left: 40%; animation-delay: -3s; }
.node-8 { width: 16px; height: 16px; background: #10b981; box-shadow: 0 0 22px #10b981, 0 0 45px #10b981; top: 15%; left: 70%; animation-delay: -0.3s; }
.node-9 { width: 22px; height: 22px; background: #0ea5e9; box-shadow: 0 0 30px #0ea5e9, 0 0 60px #0ea5e9; top: 40%; left: 75%; animation-delay: -0.8s; }
.node-10 { width: 14px; height: 14px; background: #ec4899; box-shadow: 0 0 20px #ec4899, 0 0 40px #ec4899; top: 60%; left: 85%; animation-delay: -1.3s; }
.node-11 { width: 18px; height: 18px; background: #f59e0b; box-shadow: 0 0 25px #f59e0b, 0 0 50px #f59e0b; top: 80%; left: 70%; animation-delay: -1.8s; }
.node-12 { width: 16px; height: 16px; background: #6366f1; box-shadow: 0 0 22px #6366f1, 0 0 45px #6366f1; top: 25%; left: 90%; animation-delay: -2.3s; }

@keyframes nodeGlow {
    0%, 100% { 
        transform: scale(1); 
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.4); 
        filter: brightness(1.5);
    }
}

/* Neural Connection Lines */
.neural-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.6), rgba(99, 102, 241, 0.6), transparent);
    transform-origin: left center;
    animation: lineFlow 3s ease-in-out infinite;
    pointer-events: none;
}

.line-1 { width: 200px; top: 22%; left: 10%; transform: rotate(25deg); animation-delay: 0s; }
.line-2 { width: 150px; top: 38%; left: 22%; transform: rotate(-15deg); animation-delay: -0.4s; }
.line-3 { width: 180px; top: 52%; left: 15%; transform: rotate(35deg); animation-delay: -0.8s; }
.line-4 { width: 220px; top: 32%; left: 30%; transform: rotate(10deg); animation-delay: -1.2s; }
.line-5 { width: 160px; top: 58%; left: 52%; transform: rotate(-25deg); animation-delay: -1.6s; }
.line-6 { width: 190px; top: 42%; left: 55%; transform: rotate(20deg); animation-delay: -2s; }
.line-7 { width: 170px; top: 18%; left: 72%; transform: rotate(40deg); animation-delay: -0.2s; }
.line-8 { width: 140px; top: 62%; left: 78%; transform: rotate(-30deg); animation-delay: -0.6s; }
.line-9 { width: 200px; top: 75%; left: 45%; transform: rotate(15deg); animation-delay: -1s; }
.line-10 { width: 180px; top: 28%; left: 48%; transform: rotate(-20deg); animation-delay: -1.4s; }

@keyframes lineFlow {
    0%, 100% { 
        opacity: 0.3;
        background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.4), rgba(99, 102, 241, 0.4), transparent);
    }
    50% { 
        opacity: 0.8;
        background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.9), rgba(99, 102, 241, 0.9), transparent);
    }
}

/* Data Flow Particles on Lines */
.data-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 15px #0ea5e9, 0 0 30px #0ea5e9, 0 0 45px #6366f1;
    animation: dataTravel 2s linear infinite;
    pointer-events: none;
}

.pulse-1 { top: 22%; left: 10%; animation-delay: 0s; --travel-x: 180px; --travel-y: 80px; }
.pulse-2 { top: 38%; left: 22%; animation-delay: -0.3s; --travel-x: 130px; --travel-y: -40px; }
.pulse-3 { top: 52%; left: 15%; animation-delay: -0.6s; --travel-x: 160px; --travel-y: 90px; }
.pulse-4 { top: 32%; left: 30%; animation-delay: -0.9s; --travel-x: 200px; --travel-y: 35px; }
.pulse-5 { top: 58%; left: 52%; animation-delay: -1.2s; --travel-x: 140px; --travel-y: -65px; }
.pulse-6 { top: 42%; left: 55%; animation-delay: -1.5s; --travel-x: 170px; --travel-y: 60px; }

@keyframes dataTravel {
    0% { 
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translate(calc(var(--travel-x) * 0.1), calc(var(--travel-y) * 0.1)) scale(1);
    }
    90% {
        opacity: 1;
        transform: translate(calc(var(--travel-x) * 0.9), calc(var(--travel-y) * 0.9)) scale(1);
    }
    100% { 
        transform: translate(var(--travel-x), var(--travel-y)) scale(0.5);
        opacity: 0;
    }
}

/* Hexagon Grid Pattern */
.hex-grid {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%230ea5e9' fill-opacity='0.4'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: hexFloat 20s linear infinite;
}

@keyframes hexFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-49px); }
}

/* Modern Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--gray-600) !important;
    font-weight: 500;
    margin: 0 0.25rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: rgba(14, 165, 233, 0.08);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30, 41, 59, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 10px;
    margin-top: 90px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.35rem;
    }
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 0.95rem;
    color: var(--gray-500);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .hero p {
        font-size: 0.85rem;
    }
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
}

section.pb-5 {
    padding-top: 0 !important;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    overflow: visible;
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--gray-500);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 700px;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Modern Cards */
.card-modern {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: visible;
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card-modern h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.card-modern p {
    color: var(--gray-500);
    line-height: 1.6;
}

/* Glass Card for light theme */
.glass-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.glass-card h5, .glass-card h4, .glass-card h3 {
    color: var(--dark);
}

.glass-card p {
    color: var(--gray-600);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* Card Icon */
.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}

/* Value Items */
.value-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.value-item:hover {
    background: var(--white);
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--white);
}

/* Modern Buttons */
.btn-modern, .btn-3d {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.4);
}

.btn-modern:hover, .btn-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(14, 165, 233, 0.5);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 25px 0 rgba(14, 165, 233, 0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    box-shadow: 0 8px 25px 0 rgba(37, 211, 102, 0.5);
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
    color: white;
}

/* Service Cards */
.service-card, .job-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover, .job-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-card h5, .job-card h5 {
    color: var(--dark);
    font-weight: 700;
}

.service-card p, .job-card p {
    color: var(--gray-500);
}

/* Service Full Section */
.service-full {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    padding: 3rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

.service-full:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-full h4 {
    color: var(--dark);
    font-weight: 700;
}

.service-full .service-desc {
    color: var(--gray-600);
    line-height: 1.8;
}

.service-full .waiver-tag {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.service-full .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.service-full .feature-item i {
    color: var(--primary);
    margin-top: 4px;
}

.service-full .feature-item span {
    color: var(--gray-600);
}

/* Intro Section */
.intro-section {
    background: var(--gray-50);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
}

.intro-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.intro-section p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* Contact Cards */
.contact-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: var(--shadow);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-card h5 {
    color: var(--dark);
    font-weight: 600;
}

.contact-card p {
    color: var(--gray-500);
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

/* Form Styles */
.glass-form {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.glass-form h3 {
    color: var(--dark);
}

.form-control {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    color: var(--dark);
    padding: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    color: var(--dark);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-label {
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 1rem 2rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

/* WhatsApp CTA */
.whatsapp-cta {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(18, 140, 126, 0.1));
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-cta h3 {
    color: var(--dark);
}

.whatsapp-cta p {
    color: var(--gray-500);
}

/* Benefits Section */
.benefits-section {
    background: var(--gray-50);
    border-radius: 24px;
    padding: 3rem;
    margin-top: 3rem;
    border: 1px solid var(--gray-200);
}

.benefits-section h3 {
    color: var(--dark);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.benefit-item:hover {
    background: var(--white);
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.benefit-item strong {
    color: var(--dark);
}

.benefit-item p {
    color: var(--gray-500);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--white);
}

/* Job Requirements */
.job-requirements {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
}

.job-requirements h6 {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.job-requirements p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

/* Job Icon */
.job-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.job-card:hover .job-icon {
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.cta-section h3, .cta-section p {
    color: var(--white);
}

/* Waiver Info */
.waiver-info {
    background: rgba(14, 165, 233, 0.05);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    border-left: 4px solid var(--primary);
}

.waiver-info h5 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.waiver-info p {
    color: var(--gray-600);
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

.timeline-item h5 {
    color: var(--dark);
}

.timeline-item p {
    color: var(--gray-600);
}

/* Director Card */
.director-card {
    text-align: center;
}

.director-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.director-card:hover img {
    transform: scale(1.05);
}

.director-card h4 {
    color: var(--dark);
}

.director-card p {
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer p {
    color: var(--gray-400);
    margin: 0;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: var(--white);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    color: white;
}

/* Image Styling */
.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
}

/* No decoration image wrapper */
.no-decoration,
.no-decoration::before,
.no-decoration::after,
.no-decoration *::before,
.no-decoration *::after {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 0;
    }
    .navbar-brand img {
        height: 50px !important;
    }
    .hero {
        margin-top: 70px;
    }
    .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    section.pb-5 {
        padding-top: 0;
    }
    .hero h1 {
        font-size: 1.25rem;
    }
    .section-title {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    h3 {
        font-size: 1rem;
    }
    h4 {
        font-size: 0.95rem;
    }
    h5 {
        font-size: 0.9rem;
    }
    .btn-modern, .btn-3d {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    .glass-form {
        padding: 1.5rem;
    }
    .service-full {
        padding: 2rem;
    }
    .service-full .service-header {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 45px !important;
    }
    .hero {
        margin-top: 60px;
    }
    .hero h1 {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1rem;
    }
    h2 {
        font-size: 1rem;
    }
    h3 {
        font-size: 0.95rem;
    }
    h4 {
        font-size: 0.9rem;
    }
    h5 {
        font-size: 0.85rem;
    }
    .section-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    .intro-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}
