/* ==========================================================================
   Quaker Management Stylesheet (Basic Version)
   Theme: Modern & Clean (Vibrant Blue/Cyan, Slate, Crisp Whites/Grays)
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
    /* Brand Colors (Matched to Gold/Charcoal Logo) */
    --primary: #D4AF37;           /* Luxury Gold */
    --primary-hover: #AA7C11;
    --secondary: #1C1C1C;         /* Rich Charcoal */
    --secondary-hover: #2E2E2E;
    
    /* Neutral Palette */
    --dark-900: #121212;          /* Off-black Charcoal */
    --dark-800: #1C1C1C;
    --dark-700: #2C2C2C;
    --dark-500: #666666;          /* Muted Gray */
    --light-300: #D8D4CA;         /* Warm borders */
    --light-200: #EFECE6;         /* Light warm gray */
    --light-100: #FAF9F5;         /* Alabaster background */
    --white: #FFFFFF;
    
    /* Semantic Colors */
    --success: #10B981;
    --success-bg: #E6F4EA;
    --error: #EF4444;
    --error-bg: #FEE2E2;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Elevation */
    --radius-sm: 4px;             /* Sharper borders for luxury branding */
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 4px 6px -1px rgba(18, 18, 18, 0.03), 0 2px 4px -2px rgba(18, 18, 18, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(18, 18, 18, 0.05), 0 4px 6px -4px rgba(18, 18, 18, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(18, 18, 18, 0.08), 0 8px 10px -6px rgba(18, 18, 18, 0.08);
    --shadow-xl: 0 25px 50px -12px rgba(18, 18, 18, 0.12);
    
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-normal: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    
    --header-height: 85px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-900);
    line-height: 1.25;
}

/* Common Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 48px;
    max-width: 650px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Button & Link Design System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    border: none;
    gap: 8px;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary);
    color: var(--dark-900);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background-color: var(--light-100);
    color: var(--dark-800);
    border: 1px solid var(--light-300);
}

.btn-secondary:hover {
    background-color: var(--light-200);
    transform: translateY(-2px);
}

.btn-lg {
    font-size: 16px;
    padding: 16px 36px;
    border-radius: var(--radius-md);
}

.btn-sm {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header / Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--dark-900);
    text-decoration: none;
    letter-spacing: -0.2px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-accent {
    color: var(--primary);
    margin-right: 6px;
    font-weight: 700;
}

.logo-text {
    display: inline-flex;
    align-items: center;
}

.logo-image {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo-image:hover {
    transform: scale(1.02);
}

.footer-logo-image {
    height: 64px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--dark-700);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary);
}

.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-900);
    cursor: pointer;
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: right var(--transition-normal);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--dark-900);
    cursor: pointer;
}

.drawer-close svg {
    width: 24px;
    height: 24px;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-800);
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light-200);
}

.drawer-link:hover {
    color: var(--secondary);
}

.drawer-cta {
    margin-top: 16px;
}

/* About Us / Main Intro Section */
.about-section {
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(244,241,234,0.6) 100%);
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
}

.about-content-wrapper {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.badge svg {
    width: 14px;
    height: 14px;
}

.about-logo-wrapper {
    margin-top: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.about-logo-image {
    max-width: 850px;
    width: 100%;
    aspect-ratio: 1.8 / 1;
    object-fit: cover;
    border: none;
}

.about-main-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-lead {
    font-size: 20px;
    color: var(--dark-700);
    margin-bottom: 48px;
    line-height: 1.6;
}

.about-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: left;
}

.about-detail-card {
    background-color: var(--white);
    border: 1px solid var(--light-200);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.about-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 180, 216, 0.3);
}

.about-detail-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.about-detail-card .card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.cyan-bg { background-color: var(--primary); }
.blue-bg { background-color: var(--secondary); }

.about-detail-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.about-detail-card p {
    font-size: 15px;
    color: var(--dark-500);
    line-height: 1.6;
}

.about-focus-statement {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.05) 0%, rgba(0, 119, 182, 0.05) 100%);
    border: 1px solid rgba(0, 180, 216, 0.15);
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-focus-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.about-focus-statement p {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-800);
    line-height: 1.6;
}

/* Contact / Consultation Form Section */
.contact-section {
    background-color: var(--light-100);
    border-top: 1px solid var(--light-200);
    border-bottom: 1px solid var(--light-200);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 20px;
}

.contact-text {
    font-size: 18px;
    color: var(--dark-500);
    margin-top: 16px;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method-icon svg {
    width: 20px;
    height: 20px;
}

.contact-method-text {
    display: flex;
    flex-direction: column;
}

.contact-method-text span {
    font-size: 12px;
    color: var(--dark-500);
    text-transform: uppercase;
    font-weight: 600;
}

.contact-method-text strong {
    font-size: 16px;
    color: var(--dark-900);
}

.form-wrapper {
    background-color: var(--white);
    border: 1px solid var(--light-300);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-700);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--error);
}

.form-group label .optional {
    color: var(--dark-500);
    font-weight: 400;
    font-size: 11px;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 14px;
    padding: 12px 16px;
    border: 1px solid var(--light-300);
    border-radius: var(--radius-sm);
    color: var(--dark-900);
    outline: none;
    transition: var(--transition-fast);
    background-color: var(--white);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: var(--error);
    background-color: #FFF5F5;
}

.error-msg {
    font-size: 11px;
    color: var(--error);
    margin-top: 4px;
    display: none;
}

.form-group input.invalid ~ .error-msg,
.form-group select.invalid ~ .error-msg {
    display: block;
}

.btn-submit {
    margin-top: 8px;
    font-size: 16px;
    padding: 14px;
}

/* Success Form Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    z-index: 10;
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-icon-box {
    width: 72px;
    height: 72px;
    background-color: var(--success-bg);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transform: scale(0.8);
    transition: transform var(--transition-normal) 0.1s;
}

.form-success-overlay.show .success-icon-box {
    transform: scale(1);
}

.success-icon-box svg {
    width: 36px;
    height: 36px;
}

.form-success-overlay h3 {
    font-size: 24px;
    color: var(--dark-900);
    margin-bottom: 12px;
}

.form-success-overlay p {
    font-size: 14px;
    color: var(--dark-500);
    margin-bottom: 24px;
    max-width: 320px;
}

/* Footer Section styling */
.main-footer {
    background-color: var(--light-100);
    color: var(--dark-800);
    border-top: 1px solid var(--light-300);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 5fr 3fr 4fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--light-200);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: var(--dark-500);
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--dark-500);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav-column h4 {
    font-size: 16px;
    color: var(--dark-900);
    margin-bottom: 6px;
}

.footer-nav-column a {
    color: var(--dark-500);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-nav-column a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-nav-column p {
    font-size: 14px;
    color: var(--dark-500);
}

.footer-contact-info {
    margin-top: 8px;
    font-weight: 500;
}

.footer-bottom {
    padding: 30px 0;
    font-size: 13px;
    color: var(--dark-500);
    border-top: 1px solid var(--light-200);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--dark-500);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--dark-900);
}

/* Animations / Scroll Reveal Support */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.reveal {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Delay modifiers */
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Tablet Layout (1024px and down) */
@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }
    
    .about-main-title {
        font-size: 38px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Mobile Navigation Toggle Show */
@media (max-width: 860px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
}

/* Small Screen Layout (640px and down) */
@media (max-width: 640px) {
    section {
        padding: 60px 0;
    }
    
    .about-main-title {
        font-size: 32px;
    }
    
    .about-lead {
        font-size: 18px;
    }
    
    .about-details-grid {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 24px 16px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}
