:root {
    --primary-color: #64071c; /* Mehroon/Red */
    --secondary-color: #191b4c; /* Blue */
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --font-heading: 'Cinzel', serif;
    --font-sub: 'Times New Roman', serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--secondary-color); font-weight: 700; }
.section-label { color: var(--primary-color); font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }

/* Top Bar */
.top-bar { background-color: var(--secondary-color); color: var(--white); padding: 10px 0; font-size: 13px; }
.top-bar-content { display: flex; justify-content: flex-end; }
.contact-info span { margin-left: 20px; }
.contact-info i { color: var(--primary-color); margin-right: 5px; }

/* Header */
.header { background-color: var(--white); padding: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo h1 { font-size: 32px; color: var(--secondary-color); line-height: 1; }
.logo h1 .amp { color: var(--primary-color); font-size: 36px; font-family: var(--font-sub); font-style: italic; font-weight: 300;}
.logo p { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary-color); margin-top: 5px; font-family: var(--font-sub); }
.site-logo { max-height: 80px; width: auto; display: block; transition: transform 0.3s ease; }
.site-logo:hover { transform: scale(1.02); }

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { 
    font-size: 14px; 
    font-weight: 600; 
    text-transform: uppercase; 
    font-family: var(--font-heading); 
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--secondary-color); }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
    background: #1a1c53;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(135deg, rgba(10, 11, 36, 0.72) 0%, rgba(26, 28, 83, 0.85) 100%);
    z-index: -3;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('https://i.dawn.com/primary/2026/04/30093201e21e927.webp') center top/cover no-repeat;
    opacity: 0.34;
    filter: saturate(0.7) contrast(1.05) brightness(0.8);
    z-index: -2;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 8, 26, 0.18) 0%, rgba(5, 8, 26, 0.35) 100%);
    z-index: -1;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: min(100%, 980px);
    padding: 0 20px;
}
.hero-subtitle {
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 6px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 600;
}
.hero-title {
    font-size: clamp(54px, 8vw, 92px);
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 3px;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.hero-quote {
    font-size: clamp(18px, 2vw, 24px);
    font-family: var(--font-sub);
    font-style: italic;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.25);
}

/* Animations */
.animate-hero { opacity: 0; transform: translateY(30px); animation: fadeInUp 1s ease forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* General Sections */
.section { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }
.section-header h2 { font-size: 36px; margin-bottom: 15px; text-transform: uppercase; }
.section-header h3 { color: var(--primary-color); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; font-size: 14px; }
.divider { height: 3px; width: 60px; background-color: var(--primary-color); margin-bottom: 30px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 30px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; font-family: var(--font-heading); }
.btn-primary { background-color: var(--primary-color); color: var(--white); border: 2px solid var(--primary-color); }
.btn-primary:hover { background-color: transparent; color: var(--primary-color); }
.btn-outline { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.text-content p { margin-bottom: 20px; font-size: 16px; color: #555; }
.image-content img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Service Cards */
.service-card { background: var(--white); padding: 40px 30px; text-align: center; border-radius: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; border-bottom: 3px solid transparent; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-bottom: 3px solid var(--primary-color); }
.service-card i { font-size: 40px; color: var(--primary-color); margin-bottom: 20px; }
.service-card h4 { font-size: 18px; }

/* Mission Box */
.mission-box { background: var(--secondary-color); color: var(--white); padding: 50px; border-radius: 8px; position: relative; }
.mission-box h2 { color: var(--white); margin-bottom: 10px; }
.mission-box h3 { color: var(--primary-color); font-family: var(--font-sub); font-style: italic; margin-bottom: 20px; font-size: 24px; text-transform: none; letter-spacing: 0; }
.mission-box p { color: #ccc; margin-bottom: 15px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.team-card { text-align: center; }
.team-img { overflow: hidden; border-radius: 8px; margin-bottom: 15px; aspect-ratio: 3/4; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: grayscale(100%); }
.team-info h4 { font-size: 16px; margin-bottom: 5px; }
.team-info p { font-size: 12px; color: var(--primary-color); font-weight: 600; text-transform: uppercase; }

/* Contact Form */
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 4px; font-family: var(--font-body); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); }

/* Footer */
.footer { background-color: var(--secondary-color); color: #aaaaaa; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h3, .footer h4 { color: var(--white); margin-bottom: 20px; }
.footer-about h3 { font-size: 28px; color: var(--white); margin-bottom: 5px; }
.footer-about h3 .amp { color: var(--primary-color); font-family: var(--font-sub); font-style: italic; }

.footer-contact p { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--primary-color); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 14px; }

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .top-bar-content { justify-content: center; text-align: center; flex-direction: column; gap: 10px; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .hero-title { font-size: 50px; }
}

/* Initials Avatar Fallback */
.initials-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    font-size: 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Practice Areas Page */
.page-header {
    background-color: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.page-header h1 {
    color: var(--white);
    font-size: 40px;
}
.practice-container {
    display: flex;
    gap: 50px;
    padding: 60px 0;
}
.practice-sidebar {
    width: 320px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    box-shadow: none;
    align-self: start;
    position: sticky;
    top: 100px;
}
.practice-sidebar h3 {
    font-size: 22px;
    font-family: var(--font-heading);
    margin-bottom: 25px;
    color: var(--secondary-color);
}
.practice-nav {
    list-style: none;
}
.practice-nav li {
    margin-bottom: 12px;
}
.practice-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.practice-nav a:hover, .practice-nav a.active {
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(100,7,28,0.1);
}
.practice-nav a i {
    font-size: 12px;
    transition: transform 0.3s;
}
.practice-nav a:hover i, .practice-nav a.active i {
    transform: translateX(5px);
}
.practice-content {
    flex-grow: 1;
}
.practice-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}
.practice-pane.active {
    display: block;
}
.practice-pane img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}
.practice-pane h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.practice-pane p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .practice-container {
        flex-direction: column;
    }
    .practice-sidebar {
        width: 100%;
        position: static;
    }
}

/* News Section */
.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.news-img {
    height: 200px;
    overflow: hidden;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-img img {
    transform: scale(1.05);
}
.news-content {
    padding: 25px;
}
.news-date {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.news-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: var(--font-heading);
    color: var(--secondary-color);
}
.news-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}
.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    display: inline-block;
    transition: color 0.3s ease;
}
.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.read-more:hover {
    color: var(--primary-color);
}
.read-more:hover i {
    transform: translateX(5px);
}

/* Team Member Profile Page */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 40px;
}
.profile-info {
    flex-grow: 1;
}
.profile-image img {
    width: 100%;
    max-width: 170px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.profile-info h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.profile-info h2 {
    font-size: 24px;
    color: #222;
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 15px;
}
.profile-info .location {
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}
.email-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.profile-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}
.profile-body.no-sidebar {
    grid-template-columns: 1fr;
}

.section-label-box {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.bio-text {
    text-align: justify;
}
.bio-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #222;
}

.info-box {
    border: 1px solid var(--primary-color);
    padding: 30px;
    background: #fff;
}

@media (max-width: 992px) {
    .profile-body {
        grid-template-columns: 1fr;
    }
    .profile-header {
        flex-direction: column-reverse;
    }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.skeleton {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 1000px 100%;
    display: inline-block;
    position: relative;
    animation: shimmer 1.5s linear infinite forwards;
    border-radius: 4px;
}

.skeleton-name { height: 45px; width: 300px; margin-bottom: 10px; }
.skeleton-title { height: 30px; width: 200px; margin-bottom: 15px; }
.skeleton-loc { height: 20px; width: 100px; margin-bottom: 25px; }
.skeleton-btn { height: 45px; width: 120px; margin-bottom: 20px; }
.skeleton-email { height: 20px; width: 250px; }
.skeleton-img { width: 170px; height: 210px; }
.skeleton-bio-label { height: 30px; width: 100px; margin-bottom: 20px; }
.skeleton-bio-line { height: 18px; width: 100%; margin-bottom: 12px; }
.skeleton-sidebar { height: 200px; width: 100%; }

.loading-skeleton {
    display: block;
}

.content-loaded {
    display: none;
}
