:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #e0e7ff;
    --secondary: #10b981;
    --secondary-light: #d1fae5;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-accent: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background-color: var(--light); color: var(--text-main); line-height: 1.7; overflow-x: hidden; width: 100%; }
h1, h2, h3, h4, h5, h6 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; line-height: 1.2; }
.serif { font-family: var(--font-serif); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* Responsive Grid Helper */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Flex Utility for mobile */
.flex-mobile-stack { display: flex; gap: 2rem; }
@media (max-width: 768px) { .flex-mobile-stack { flex-direction: column; } }

/* Section Utilities */
.section-padding { padding: 100px 0; }
@media (max-width: 768px) { .section-padding { padding: 60px 0; } }

/* Top Bar */
.top-bar { background: var(--dark); color: rgba(255, 255, 255, 0.9); padding: 12px 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255, 255, 255, 0.7); transition: var(--transition); }
.top-bar a:hover { color: var(--white); }
@media (max-width: 768px) { .top-bar { display: none; } }

/* Header */
header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); transition: var(--transition); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 80px; }
@media (max-width: 768px) { .nav-wrapper { height: 70px; } }

.logo img { height: 45px; }
@media (max-width: 768px) { .logo img { height: 38px; } }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 600; color: var(--text-main); font-size: 0.95rem; padding: 8px 0; display: block; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

/* Mega Menu Styles */
.nav-item { position: relative; }
.mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px); width: 900px; background: var(--white); box-shadow: var(--shadow-xl); border-radius: var(--radius-lg); padding: 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 2000; border: 1px solid var(--border); }
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(10px); }
.mega-col h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 1.5px; font-family: var(--font-sans); font-weight: 700; }
.mega-col ul li { margin-bottom: 0.6rem; }
.mega-col ul li a { font-size: 0.95rem; color: var(--text-main); display: flex; align-items: center; gap: 0.5rem; font-weight: 500; padding: 0; }
.mega-col ul li a::after { display: none; }
.mega-col ul li a i { color: var(--secondary); transition: var(--transition); }
.mega-col ul li a:hover { color: var(--primary); padding-left: 5px; }

@media (max-width: 1024px) { .nav-links, .desktop-only { display: none; } }

.menu-toggle { display: none; background: var(--light); border: 1px solid var(--border); color: var(--text-main); width: 44px; height: 44px; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.menu-toggle:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
@media (max-width: 1024px) { .menu-toggle { display: flex; align-items: center; justify-content: center; } }

/* Mobile Drawer */
.mobile-drawer { position: fixed; top: 0; right: -100%; width: 320px; height: 100vh; background: var(--dark); z-index: 3000; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding: 2rem; display: flex; flex-direction: column; box-shadow: var(--shadow-xl); }
.mobile-drawer.active { right: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; color: white; }
.drawer-links { display: flex; flex-direction: column; gap: 1.2rem; }
.drawer-links a { color: white; font-size: 1.05rem; font-weight: 600; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* Hero Global */
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 1.5rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-text { font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--text-muted); line-height: 1.8; }

/* Buttons */
.btn-call { background: var(--gradient-primary); color: white; padding: 1rem 2rem; border-radius: var(--radius); font-weight: 700; display: inline-flex; align-items: center; gap: 10px; border: none; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); }
.btn-call:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4); }

.btn-secondary { background: var(--white); color: var(--primary); padding: 1rem 2rem; border-radius: var(--radius); font-weight: 700; display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--border); cursor: pointer; transition: var(--transition); }
.btn-secondary:hover { border-color: var(--primary); background: var(--primary-light); }

/* Card Styles */
.card { background: white; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }

.card-glass { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.5); }

/* Specialization Cards */
.spec-card { padding: 2.5rem 2rem; background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.spec-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.spec-icon-wrapper { width: 64px; height: 64px; margin-bottom: 1.5rem; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.spec-icon-wrapper i { width: 32px; height: 32px; color: var(--primary); }
.spec-title { font-size: 1.4rem; margin-bottom: 0.8rem; color: var(--text-main); }
.spec-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 768px) {
    .spec-card { padding: 2rem 1.5rem; border-radius: var(--radius); }
    .spec-icon-wrapper { width: 52px; height: 52px; margin-bottom: 1.2rem; border-radius: var(--radius-sm); }
    .spec-icon-wrapper i { width: 26px; height: 26px; }
    .spec-title { font-size: 1.2rem; margin-bottom: 0.8rem; }
    .spec-desc { font-size: 0.95rem; }
    .spec-grid { gap: 1.2rem; }
}

/* Form Styles */
input, select, textarea { width: 100%; padding: 1rem 1.25rem; border-radius: var(--radius-sm); border: 2px solid var(--border); background: var(--light); font-family: inherit; font-size: 1rem; outline: none; transition: var(--transition); color: var(--text-main); }
input:focus, select:focus, textarea:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px var(--primary-light); }
input::placeholder, textarea::placeholder { color: var(--text-muted); }

/* Modal Global */
.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(8px); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: white; width: 100%; max-width: 520px; padding: 2.5rem; border-radius: var(--radius-lg); position: relative; max-height: 90vh; overflow-y: auto; animation: modalIn 0.3s ease-out; box-shadow: var(--shadow-xl); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* Lightbox Specifics */
.lightbox-overlay { background: rgba(0, 0, 0, 0.98); }
.lightbox-image { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }

/* Footer */
footer { background: var(--dark); color: white; padding: 80px 0 30px; }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }
footer a { color: rgba(255, 255, 255, 0.7); transition: var(--transition); }
footer a:hover { color: white; }

/* Animations */
[data-aos] { pointer-events: none; }
.aos-animate { pointer-events: auto; }

/* Accessibility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Badge Styles */
.badge { display: inline-block; padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-secondary { background: var(--secondary-light); color: var(--secondary); }

/* Section Header */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Stats Counter */
.stats-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; padding: 2rem; }
.stat-number { font-size: 3rem; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 1rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Testimonial Card */
.testimonial-card { background: white; padding: 2.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: 1rem; left: 1.5rem; font-size: 4rem; color: var(--primary-light); font-family: var(--font-serif); line-height: 1; }
.testimonial-text { font-size: 1.1rem; color: var(--text-main); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 700; color: var(--text-main); }
.testimonial-role { font-size: 0.9rem; color: var(--text-muted); }

/* Team Card */
.team-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-image { width: 100%; height: 280px; object-fit: cover; }
.team-content { padding: 1.5rem; }
.team-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem; }
.team-role { color: var(--primary); font-weight: 600; font-size: 0.95rem; }

/* Blog Card */
.blog-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-image { width: 100%; height: 220px; object-fit: cover; }
.blog-content { padding: 1.5rem; }
.blog-date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.8rem; line-height: 1.4; }
.blog-excerpt { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.blog-link { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; }
.blog-link:hover { gap: 0.8rem; }

/* Contact Form */
.contact-form { background: white; padding: 2.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { width: 50px; height: 50px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon i { color: var(--primary); }
.contact-label { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
.contact-value { color: var(--text-muted); }

/* Social Links */
.social-links { display: flex; gap: 0.8rem; }
.social-link { width: 42px; height: 42px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--transition); border: 1px solid var(--border); }
.social-link:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-3px); }

/* Scroll to Top */
.scroll-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--gradient-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; box-shadow: var(--shadow-lg); }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-5px); }

/* Loading Spinner */
.spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Divider */
.divider { width: 100%; height: 1px; background: var(--border); margin: 3rem 0; }
.divider-gradient { background: var(--gradient-primary); height: 3px; border-radius: 3px; }

/* Alert Styles */
.alert { padding: 1rem 1.5rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-weight: 500; }
.alert-success { background: var(--secondary-light); color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: var(--primary-light); color: #4338ca; border: 1px solid #a5b4fc; }
