/* ========================================
   Ahmed Nadira MD — Custom Styles
   Deep Navy + Warm Gold | Vibrant Modern
======================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #0a1628;
    color: #ffffff;
}

/* ========================================
   Geometric Background Shapes
======================================== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-1 {
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 60, 0.06) 0%, transparent 70%);
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 15%;
    left: -8%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 58, 107, 0.4) 0%, transparent 70%);
    animation: float-slow 25s ease-in-out infinite reverse;
}

.geo-square-1 {
    top: 45%;
    right: 5%;
    width: 120px;
    height: 120px;
    background: rgba(212, 160, 60, 0.04);
    border: 1px solid rgba(212, 160, 60, 0.08);
    transform: rotate(45deg);
    animation: float-medium 15s ease-in-out infinite;
}

.geo-triangle-1 {
    top: 60%;
    left: 3%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(212, 160, 60, 0.03);
    animation: float-medium 18s ease-in-out infinite reverse;
}

.geo-ring-1 {
    top: 25%;
    left: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(212, 160, 60, 0.05);
    animation: float-slow 22s ease-in-out infinite;
}

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

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

/* ========================================
   Navigation
======================================== */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a03c;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #e8b94a;
}

/* Mobile menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
    display: block;
}

.mobile-nav-link:hover {
    padding-left: 8px;
}

/* ========================================
   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, transparent, #d4a03c, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.service-card:hover {
    border-color: rgba(212, 160, 60, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 160, 60, 0.05);
}

/* ========================================
   Buttons
======================================== */
a, button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Form Elements
======================================== */
select option {
    background: #0f2140;
    color: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(212, 160, 60, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 60, 0.1) !important;
}

/* ========================================
   Scroll Reveal Animations
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========================================
   Selection
======================================== */
::selection {
    background: rgba(212, 160, 60, 0.3);
    color: #ffffff;
}

/* ========================================
   Scrollbar
======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: #1e3a6b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a03c;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .geo-circle-1,
    .geo-circle-2,
    .geo-ring-1 {
        display: none;
    }
    
    .geo-square-1 {
        width: 60px;
        height: 60px;
    }
    
    .geo-triangle-1 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(212, 160, 60, 0.03);
    }
}
