:root {
    --primary: #E3411E;
    --primary-light: #fff0ed;
    --secondary: #007B83;
    --secondary-light: #e0f2f3;
    --dark: #0A1D1A;
    --dark-accent: #152E2A;
    --light: #F2F9F7;
    --mint: #e8f5f1;
    --white: #ffffff;
    --text-main: #2D3436;
    --text-muted: #636E72;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius: 24px;
    --radius-sm: 12px;
    --gradient-primary: linear-gradient(135deg, #E3411E 0%, #FF6B6B 100%);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); background-color: var(--white); color: var(--text-main); line-height: 1.6; overflow-x: hidden; width: 100%; }
h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; }
h4, .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: 1320px; 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: 80px 0; }
@media (max-width: 768px) { .section-padding { padding: 50px 0; } }

/* Top Bar */
.top-bar { background: var(--dark); color: rgba(255, 255, 255, 0.8); padding: 10px 0; font-size: 0.85rem; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 768px) { .top-bar { display: none; } }

/* Header */
header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 90px; }
@media (max-width: 768px) { .nav-wrapper { height: 70px; } }

.logo img { height: 50px; }
@media (max-width: 768px) { .logo img { height: 40px; } }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 600; color: var(--dark); font-size: 1rem; padding: 10px 0; display: block; }
.nav-links a:hover { color: var(--primary); }

/* Mega Menu Styles */
.nav-item { position: relative; }
.mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(20px); width: 950px; background: var(--white); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15); border-radius: 24px; padding: 3.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 2000; border: 1px solid rgba(0, 0, 0, 0.05); }
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-col h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-sans); }
.mega-col ul li { margin-bottom: 0.8rem; }
.mega-col ul li a { font-size: 1rem; color: var(--dark); display: flex; align-items: center; gap: 0.5rem; font-weight: 500; padding: 0; }
.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: #f8fafc; border: 1px solid #e2e8f0; color: var(--dark); width: 45px; height: 45px; border-radius: 10px; cursor: pointer; }
@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: 300px; height: 100vh; background: var(--dark); z-index: 3000; transition: 0.4s; padding: 2rem; display: flex; flex-direction: column; }
.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.5rem; }
.drawer-links a { color: white; font-size: 1.1rem; font-weight: 600; }

/* Hero Global */
.hero-title { font-size: clamp(2.5rem, 8vw, 3.5rem); line-height: 1; font-weight: 900; letter-spacing: -2px; margin-bottom: 2rem; }
.hero-text { font-size: clamp(1rem, 3vw, 1.3rem); color: #475569; }

/* Buttons */
.btn-call { background: var(--primary); color: white; padding: 1.2rem 2.5rem; border-radius: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; border: none; cursor: pointer; transition: 0.3s; }
.btn-call:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(227,65,30,0.2); }

/* Card Styles */
.card { background: white; border-radius: 24px; padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid #f1f5f9; transition: 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* Specialization Cards Responsiveness */
.spec-card { padding: 3rem 2rem; }
.spec-icon-wrapper { width: 60px; height: 60px; margin-bottom: 2rem; }
.spec-icon-wrapper i { width: 28px; height: 28px; }
.spec-title { font-size: 1.5rem; margin-bottom: 1rem; }
.spec-desc { font-size: 1rem; margin-bottom: 2rem; }

@media (max-width: 768px) {
    .spec-card { padding: 2rem 1.5rem; border-radius: 20px; }
    .spec-icon-wrapper { width: 50px; height: 50px; margin-bottom: 1.2rem; border-radius: 12px; }
    .spec-icon-wrapper i { width: 24px; height: 24px; }
    .spec-title { font-size: 1.3rem; margin-bottom: 1rem; }
    .spec-desc { font-size: 0.95rem; margin-bottom: 2rem; }
    .spec-grid { gap: 1.5rem; }
}

/* Form Styles */
input, select, textarea { width: 100%; padding: 1rem; border-radius: 12px; border: 2px solid #f1f5f9; background: #f8fafc; font-family: inherit; font-size: 1rem; outline: none; transition: 0.3s; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); background: white; }

/* Modal Global */
.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: white; width: 100%; max-width: 550px; padding: 3rem; border-radius: 32px; position: relative; max-height: 90vh; overflow-y: auto; animation: modalIn 0.3s ease-out; }
@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: 12px; }

/* Footer */
footer { background: var(--dark); color: white; padding: 80px 0 40px; }
.footer-grid { display: grid; gap: 4rem; }
@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; } }

/* 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; }
