/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    /* Corporate Palette - Serious & Trustworthy */
    --primary-color: #0f172a; /* Deep Navy / Anthracite */
    --primary-light: #1e293b; /* Lighter Anthracite for cards/sections */
    --accent-color: #3b82f6; /* Professional Blue (instead of excessive gold) */
    --accent-hover: #2563eb;
    --text-color: #334155; /* Slate 700 */
    --text-light: #64748b; /* Slate 500 */
    --white: #ffffff;
    --background: #f8fafc; /* Very light grey */
    --surface: #ffffff;
    
    /* Radius & Shadows */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 700;
}

/* Optional: Use Playfair for headings if desired, but User said "Serious", Outfit is cleaner. 
   Keeping Playfair for just h1/h2 for a touch of class without being too "fancy". */
h1, h2 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    margin-bottom: 3rem;
    text-align: left; /* Corporate look often aligns left */
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    transition: all .3s ease;
}

header.sticky{
    padding: 0;
}


header > div {
    background-color: rgba(15, 23, 42, 0.75);
    width: 100%;
    max-width: 1400px;
    border-radius: 99px;
    backdrop-filter: blur(15px);
    transition: all .3s ease;
}

header.sticky > div{
    /* background-color: rgba(15, 23, 42, 1); */
    max-width: 100%;
    border-radius: 0;
}

/* header > div .logo{
    background-color: rgba(15, 23, 42, 1);
    padding: 25px 35px;
    margin-left: -105px;
    border-radius: 50%;
} */



header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo img {
    height: 70px;
    width: auto;
    border-radius: 0; /* Logos typically shouldn't have border-radius forcing */
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Navigation & Dropdowns */
.nav-item {
    position: relative;
    padding: 10px 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-color);
    font-size: 15px;
    border-left: 2px solid transparent;
}

.dropdown-link:hover {
    background-color: var(--background);
    color: var(--primary-color);
    border-left-color: var(--accent-color);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 6px auto;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding: calc(120px + 100px) 0 100px;
    min-height: 100dvh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(15, 23, 42, 0.8) 50%, 
        rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
}

.hero-subtitle {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Cards & Content */
.bg-light {
    background-color: var(--background);
}

.bg-white {
    background-color: var(--surface);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.practice-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.practice-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

.practice-icon {
    font-size: 1.5rem; /* Smaller, modern */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: var(--background);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

/* Founder / Corporate Sections */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-image img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
}

.split-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

.blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info {
    background: var(--primary-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-form {
    padding: 1rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--background);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Blog & News Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.blog-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 0;
}

/* Removed zoom effect for simpler, corporate feel */
.blog-card:hover .blog-img img {
    /* transform: scale(1.05); */
    opacity: 0.9;
}

.blog-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
}

.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--accent-color);
}

/* Article Styles (Horizontal Layout) */
.article-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-card {
    background: var(--surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    display: flex;
    overflow: hidden;
    transition: var(--transition);
    align-items: center;
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.article-img {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    position: relative;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.article-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-meta i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .article-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .article-img {
        width: 100%;
        height: 200px;
    }
    .split-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        height: calc(100vh - 80px);
        align-items: flex-start;
        padding: 2rem;
        transition: 0.3s;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding-left: 1rem;
        display: none; /* JS will toggle this */
    }
    
    .nav-item.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-link {
        color: rgba(255,255,255,0.7);
        padding: 0.8rem 0;
        border-left: none;
    }
    
    .dropdown-link:hover {
        background: transparent;
        color: var(--white);
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}
