/* ===========================================
   ADVOCATE AASTHA DHANKAR - TAILWIND COMPATIBLE STYLES
   =========================================== */

/* ==========================================
   1. GLOBAL STYLES
   ========================================== */

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    background-color: #ffffff;
    scroll-behavior: smooth;
}

/* ==========================================
   2. GLASSMORPHISM EFFECTS
   ========================================== */

.glass-card-dark {
    background: rgba(19, 26, 51, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(236, 194, 70, 0.1);
    transition: all 0.5s ease-in-out;
}

.glass-card-dark:hover {
    border-color: rgba(236, 194, 70, 0.4);
    transform: translateY(-5px);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(236, 194, 70, 0.1);
    transition: all 0.5s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.glass-card-light:hover {
    border-color: rgba(236, 194, 70, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* ==========================================
   3. GOLD GLOW EFFECTS
   ========================================== */

.gold-glow:hover {
    box-shadow: 0 10px 25px rgba(236, 194, 70, 0.3);
}

/* ==========================================
   4. SHIMMER BORDER ANIMATION
   ========================================== */

.shimmer-border {
    position: relative;
    overflow: hidden;
}

.shimmer-border::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(236, 194, 70, 0.05), transparent);
    transform: rotate(45deg);
    animation: shimmer 6s infinite;
}

@keyframes shimmer {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

/* ==========================================
   5. SCROLL ANIMATIONS
   ========================================== */

.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   6. COUNTER ANIMATION
   ========================================== */

.animated {
    animation: counterUp 0.6s ease-out forwards;
}

@keyframes counterUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   7. FORM STYLING
   ========================================== */

.about-text {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    word-break: break-word;
}

@media (max-width: 768px) {
    .about-text {
        text-align: left;
        text-justify: none;
    }
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-bottom-color: rgba(236, 194, 70, 0.5) !important;
    transition: border-color 0.3s ease;
}

/* ==========================================
   8. RESPONSIVE ADJUSTMENTS
   ========================================== */

@media (max-width: 768px) {
    .glass-card-dark,
    .glass-card-light {
        transform: none !important;
    }

    .gold-glow:hover {
        box-shadow: none;
    }
}

/* ==========================================
   9. ACCESSIBILITY IMPROVEMENTS
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid rgba(236, 194, 70, 0.8);
    outline-offset: 2px;
}