/* custom-style.css - Professional Modern Styles for Noida Tax Bar Association */
/* Square Design | Tight Spacing | GSAP Ready | Scroll Animations */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional Color Palette */
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary: #3730a3;
    --accent: #06b6d4;
    --dark: #0f172a;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-50: #f8fafc;
    --white: #ffffff;
    
    /* Typography */
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-inter);
    line-height: 1.6;
    color: #1e293b;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Glass Morphism Effect */
.glass-effect {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Header Enhancements */
.top-bar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar.scrolled {
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Navigation Active States */
.nav-link {
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Enhancements */
#mobileMenu {
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
}

.mobile-nav-item {
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
}

.mobile-nav-item:hover {
    border-left-color: var(--primary);
    margin-left: 4px;
}

/* Section Animations - GSAP Ready */
.section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(30,64,175,0.03)"><animate attributeName="cy" values="25;75;25" dur="20s" repeatCount="indefinite"/></circle><circle cx="75" cy="75" r="1.5" fill="rgba(55,48,163,0.03)"><animate attributeName="cy" values="75;25;75" dur="25s" repeatCount="indefinite"/></circle></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Cards & Buttons */
.modern-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(30, 64, 175, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(30, 64, 175, 0.3);
}

/* Footer Enhancements */
footer {
    position: relative;
}

.footer-section {
    transition: all 0.4s ease;
}

.footer-section:hover .footer-link {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-link {
    position: relative;
    transition: all 0.25s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Newsletter Glass Effect */
.newsletter-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.newsletter-glass input:focus {
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2);
    transform: scale(1.02);
}

/* Loading Animations */
.loading-dots::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    border: 2px solid rgba(30, 64, 175, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .top-bar,
    nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Smooth Section Transitions */
html {
    scroll-padding-top: 112px; /* Header height */
}

/* Parallax Effect for Hero */
.hero-parallax {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover Scale for Images */
.image-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-hover:hover {
    transform: scale(1.05);
}

/* GSAP ScrollTrigger Markers (Development) */
.scroll-marker {
    position: absolute;
    left: -100px;
    background: var(--primary);
    color: white;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
}


/* Slider css========================================== */

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255,255,255,0.6) !important;
    opacity: 1 !important;
    margin: 0 4px !important;
    transition: all 0.4s ease !important;
}

.swiper-pagination-bullet-active {
    background: white !important;
    transform: scale(1.3) !important;
    box-shadow: 0 0 10px rgba(255,255,255,0.8) !important;
}

.swiper-slide img {
    transition: all 1s ease !important;
}

.swiper-slide-active img {
    transform: scale(1.02) !important;
    filter: brightness(0.9) !important;
}