/* ============================================
   DR. NAHEED ALJILANI — CUSTOM STYLES
   ============================================ */

/* --- Hero Geometric Shapes --- */
.shape-circle-1 {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 420px;
    height: 420px;
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 0;
}

.shape-circle-2 {
    position: absolute;
    bottom: 10%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.shape-rect-1 {
    position: absolute;
    top: 25%;
    left: 10%;
    width: 120px;
    height: 120px;
    background: #14b8a6;
    border-radius: 24px;
    opacity: 0.15;
    transform: rotate(30deg);
    z-index: 0;
}

.shape-dots {
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 160px;
    height: 160px;
    background-image: radial-gradient(circle, #14b8a6 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.3;
    z-index: 0;
}

.shape-line-1 {
    position: absolute;
    top: 35%;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6, transparent);
    opacity: 0.4;
    z-index: 0;
}

.shape-line-2 {
    position: absolute;
    bottom: 30%;
    right: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #14b8a6);
    opacity: 0.3;
    z-index: 0;
}

/* --- Hero Animations --- */
.hero-geo {
    animation: float 8s ease-in-out infinite;
}

.shape-circle-1 { animation-delay: 0s; }
.shape-circle-2 { animation-delay: -2s; }
.shape-rect-1 { animation-delay: -4s; }
.shape-dots { animation-delay: -1s; }
.shape-line-1 { animation-delay: -3s; }
.shape-line-2 { animation-delay: -5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.shape-rect-1 {
    animation-name: floatRotate;
}

@keyframes floatRotate {
    0%, 100% { transform: translateY(0px) rotate(30deg); }
    50% { transform: translateY(-15px) rotate(35deg); }
}

/* --- Service Cards --- */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #2dd4bf);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    .hero-geo,
    .shape-rect-1 {
        animation: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- Navbar Scroll State --- */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* --- Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- Selection Color --- */
::selection {
    background: #ccfbf1;
    color: #134e4a;
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
