/* Root Variables */
:root {
    --primary-color: #1B3A5F;
    --dark-bg: #0F1F2E;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --charcoal: #2C2C2C;
    --gray: #5A5A5A;
    --light-gray: #D8D8D8;
    --accent-color: #C4A052;
    
    --font-primary: 'Crimson Text', Georgia, serif;
    --max-width: 1800px;
    --section-padding: 80px;
    --section-padding-mobile: 50px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 2rem;
    font-weight: 400;
}

h2 {
    font-size: 2.5rem;
    font-weight: 400;
}

h3 {
    font-size: 1.8rem;
    font-weight: 400;
}

h4 {
    font-size: 1.3rem;
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 3vw;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid #E0E0E0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.4vw 3vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--charcoal);
}

.header-logo {
    height: 90px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-nav a {
    color: var(--charcoal);
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.header-nav a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--charcoal);
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    height: 100%;
}

.mobile-nav a {
    color: var(--charcoal);
    font-size: 1.5rem;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 58, 95, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 3vw;
    text-align: center;
    color: var(--white);
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-text h4 {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn-primary {
    background-color: #0284C7;
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0369A1;
    opacity: 1;
}

/* Content Sections */
.content-section {
    position: relative;
    padding: var(--section-padding) 0;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.section-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.background-light {
    background-color: var(--light-bg);
}

.background-light .container {
    position: relative;
    z-index: 2;
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--white);
}

.dark-section h2,
.dark-section h3,
.dark-section h4 {
    color: var(--white);
}

.dark-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
}

.dark-section .section-label {
    color: var(--white);
}

.section-divider {
    width: 80px;
    height: 1px;
    background-color: var(--accent-color);
    border: none;
    margin: 1.5rem auto;
}

/* Three Column Grid */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.feature-block {
    text-align: center;
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.feature-block h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.feature-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.image-column {
    position: sticky;
    top: 120px;
}

.profile-image {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.text-column h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.text-column p {
    font-size: 1rem;
    line-height: 1.8;
}

/* Education Text Box in Bio Section */
.education-text-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
}

.education-text-box h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.education-text-box p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.expertise-item {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.expertise-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Track Record */
.track-record-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.track-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(196, 160, 82, 0.2);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.track-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(196, 160, 82, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(196, 160, 82, 0.1);
}

.track-card:hover::before {
    opacity: 1;
}

.track-card-icon {
    color: var(--accent-color);
    margin-bottom: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(196, 160, 82, 0.3));
    transition: all 0.3s ease;
}

.track-card:hover .track-card-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(196, 160, 82, 0.5));
}

.track-card-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.track-card-content strong {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1em;
    letter-spacing: 0.3px;
}

.track-card-empty {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 2px dashed rgba(196, 160, 82, 0.25);
}

.track-card-empty::before {
    display: none;
}

.track-card-empty:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(196, 160, 82, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Criteria Grid - Briarwood Style */
.criteria-wrapper {
    max-width: 1200px;
    margin: 3rem auto 0;
}

.criteria-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--light-gray);
}

.criteria-two-column:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.criteria-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.criteria-item p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin: 0;
}

.criteria-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.criteria-item li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.criteria-item li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 3rem auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-date {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1rem;
    margin: 0;
}

.education-section {
    max-width: 800px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.education-section h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.education-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-details strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-details a {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.required {
    color: #CC3B3B;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
    font-family: Arial, sans-serif;
    border: 1px solid #CCC;
    background-color: #FAFAFA;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-helper-text {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
    font-style: italic;
}

.contact-form .btn {
    width: auto;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer p {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    text-align: center;
}

.footer a {
    color: inherit;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    :root {
        --section-padding: 60px;
    }
    
    .header-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text h4 {
        font-size: 1.1rem;
    }
    
    .three-column-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-column {
        position: static;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .track-record-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .track-card-empty {
        display: none;
    }
    
    .criteria-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    :root {
        --section-padding: 40px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.6rem;
    }
    
    .hero-text h4 {
        font-size: 1rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .track-record-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}