/* CSS Reset & Variables */
:root {
    --bg-color: #F9FAFB;
    /* Light gray/off-white background */
    --text-main: #111827;
    /* Dark gray for main text */
    --text-muted: #6B7280;
    /* Muted gray for secondary text */
    --primary-color: #000000;
    /* Black for primary actions */
    --accent-color: #000000;
    /* Pure Black (Monochrome Luxury) */
    --accent-light: #F4F4F5;
    /* Light Gray Background */
    --white: #FFFFFF;
    --border-color: #E5E7EB;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    /* Increased for readability */
    font-size: 16px;
    /* Base size */
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    /* Sharper text */
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: inline-block;
    /* Helps with touch targets */
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(249, 250, 251, 0.95);
    /* Little more opaque for readability */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    padding: 8px 0;
    /* Touch area */
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px;
    /* Touch area padding */
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    min-height: 48px;
    /* Touch target minimum */
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-1px);
}

.btn-primary-small {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    min-height: 44px;
    /* Accessible touch */
    display: inline-flex;
    align-items: center;
}

.btn-primary-small:hover {
    background-color: #333;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: var(--white);
    border-color: var(--text-muted);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    background-color: var(--accent-light);
    color: #854D0E;
    /* Dark gold for text */
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.social-media-row {
    display: flex;
    flex-direction: column;
    /* Stack label on top */
    align-items: flex-start;
    gap: 12px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.social-label {
    font-size: 0.95rem;
    font-weight: 600;
    /* Bolder label */
    color: var(--text-main);
    margin-bottom: 4px;
}

.social-icons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    /* Ensure fit on small screens */
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    /* Slightly larger (was 40px) */
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    font-size: 1.4rem;
    /* Larger icon */
    transition: all 0.3s ease;
}

/* Premium Monochrome/Gold Hover Effect */
/* Removing separate brand colors for a unified professional look */

.social-icon:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    /* Gold border */
    background-color: var(--accent-color);
    /* Gold background */
    color: white;
    /* White icon */
    box-shadow: 0 5px 15px rgba(199, 169, 53, 0.2);
    /* Soft gold glow */
}

/* Specific overrides removed to maintain "Colorless/Modern" request */

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-xl);
    overflow: visible;
    /* changed to visible for floating card */
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.text-box {
    display: flex;
    flex-direction: column;
}

.text-box strong {
    font-size: 0.9rem;
    font-weight: 600;
}

.text-box span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Features Flexbox Layout */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Vertical Accordion Styles */
.expertise-accordion {
    display: flex;
    gap: 16px;
    height: 750px;
    /* Fixed height for the pillars */
    width: 100%;
    margin: 0 auto;
}

.accordion-panel {
    position: relative;
    flex: 1;
    /* All panels start equal/small */
    background-color: #E5E7EB;
    /* Gray background */
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically by default */
    align-items: center;
    padding: 24px;
}

.accordion-panel:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.accordion-panel.active {
    flex: 9;
    /* The active panel expands significantly */
    background-color: var(--accent-light);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
    cursor: default;
    justify-content: center;
    /* Keep centered */
    align-items: flex-start;
    /* Align text start for readability in expanded view */
}

/* Inactive State: Vertical Title */
.panel-inactive-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.accordion-panel.active .panel-inactive-content {
    opacity: 0;
    pointer-events: none;
}

.vertical-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
    white-space: nowrap;
    text-transform: uppercase;
}

/* Active State: Expanded Content */
.panel-active-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 32px 56px;

    /* Center Origin Animation Setup */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    /* Start smaller */
    filter: blur(10px);
    /* Start blurred */
    transform-origin: center center;
    /* Born from center */

    transition:
        opacity 0.5s ease,
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.5s ease;

    align-items: flex-start;
    text-align: left;
    height: 100%;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

/* Stagger Children for extra depth */
.panel-active-content h3,
.panel-active-content p {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
    transition: all 0.4s ease;
}

.accordion-panel.active .panel-active-content {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    /* Full size */
    filter: blur(0);
    /* Focused */
    transition-delay: 0.1s;
    /* Start slight after panel expands */
}

/* Children Reveal */
.accordion-panel.active .panel-active-content h3 {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition-delay: 0.2s;
}

.accordion-panel.active .panel-active-content p {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition-delay: 0.3s;
}

.panel-active-content h3 {
    font-size: 2.2rem;
    /* Larger title for hierarchy */
    margin-bottom: 20px;
    font-weight: 800;
    /* Bolder */
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.panel-active-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    /* Larger body text */
    line-height: 1.8;
    /* Relaxed reading rhythm */
    max-width: 650px;
    letter-spacing: 0.01em;
    /* Better legibility */
}


/* About Section Redesign - Geometric Elegance */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    display: block;
    position: relative;
    padding: 100px 40px;
    /* More breathing room */
}

/* 1. Geometric Pattern Background (Subtle Dot Grid) */
.about-container::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: radial-gradient(#d1c4e9 1px, transparent 1px);
    background-size: 24px 24px;
    /* Grid spacing */
    opacity: 0.4;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    /* Fade out edges */
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* 2. Watermark "R" - Refined */
.about-container::after {
    content: 'R';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 20rem;
    /* Slightly smaller for balance */
    font-weight: 700;
    color: var(--accent-dark);
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
}

/* Clean up old brush strokes/blobs */
.about-text::before,
.about-text::after {
    display: none;
}

/* 3. Text Container - Elegant Frame */
.about-text {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px;
    border: 1px solid rgba(199, 169, 53, 0.2);
    /* Very subtle gold border */
    background: rgba(255, 255, 255, 0.9);
    /* High opacity for crispness */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    /* Elevated feel */
    border-radius: 4px;
    /* Sharp, professional corners */
}

/* Inner Decorative Frame (Double Border Effect) */
.about-text::before {
    display: block;
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(199, 169, 53, 0.1);
    pointer-events: none;
    z-index: 1;
}

/* Corner Accents (Gold) */
.about-text::after {
    display: block;
    content: '';
    position: absolute;
    inset: -1px;
    /* Match outer border */
    border: 1px solid transparent;
    border-radius: 4px;

    /* Create corners using gradients */
    background:
        linear-gradient(to right, var(--accent-light) 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, var(--accent-light) 2px, transparent 2px) 0 0,
        linear-gradient(to left, var(--accent-light) 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, var(--accent-light) 2px, transparent 2px) 100% 0,
        linear-gradient(to right, var(--accent-light) 2px, transparent 2px) 0 100%,
        linear-gradient(to top, var(--accent-light) 2px, transparent 2px) 0 100%,
        linear-gradient(to left, var(--accent-light) 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, var(--accent-light) 2px, transparent 2px) 100% 100%;

    background-repeat: no-repeat;
    background-size: 20px 20px;
    /* Size of the corner accents */
    pointer-events: none;
    z-index: 2;
}

/* Typography Adjustments */
.about-text h2 {
    font-size: 3rem;
    /* Restrained elegance */
    margin-bottom: 40px;
    line-height: 1.2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.highlight-name {
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.02em;
    color: var(--text-main);
    display: inline-block;
    position: relative;
    font-size: 3rem;
    text-shadow: none;
    /* Clean text */
}

.highlight-question {
    font-family: var(--font-sans);
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    /* Spaced out */
    font-size: 0.9rem;
    color: var(--accent-dark);
    order: -1;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

/* Decorative vertical line between header and text */
.highlight-name::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-light);
    margin: 32px auto 0;
    border-radius: 2px;
}

/* Remove old decoration */
.highlight-question::after {
    display: none;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.15rem;
    line-height: 1.8;
    position: relative;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Stylized first paragraph */
.about-text p:first-of-type {
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 400;
    /* Regular weight for cleaner look */
    font-family: 'Playfair Display', serif;
    /* Match header for lead-in */
    font-style: italic;
    margin-bottom: 32px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Quote Card Redesign - Integrated */
.quote-card {
    background: rgba(255, 255, 255, 0.8);
    /* Semi-transparent */
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    box-shadow: var(--shadow-lg);
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    color: var(--accent-color);
    opacity: 0.15;
    font-family: serif;
    line-height: 1;
}

.quote-card p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-main);
    z-index: 1;
    position: relative;
    text-align: center;
    margin-bottom: 0;
}

/* Contact Section Redesign */
.relative-container {
    position: relative;
    z-index: 1;
}

/* Background blob for Contact */
.relative-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--accent-light);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
}

.contact-card-glass {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    min-height: 550px;
}

/* Info Panel (Left) */
.contact-info-panel {
    flex: 1;
    background: var(--text-main);
    color: var(--white);
    padding: 48px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Decorative circles on info panel */
.contact-info-panel::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.contact-info-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.contact-info-panel p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.icon-circle-sm {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--white);
}

.info-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.social-links-contact {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-links-contact a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links-contact a:hover {
    background: var(--white);
    color: var(--text-main);
}

/* Form Panel (Right) */
.contact-form-panel {
    flex: 1.5;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 24px;
}

.form-group {
    position: relative;
    width: 100%;
}

/* Floating Labels Logic */
.form-group.floating input,
.form-group.floating textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-main);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    /* Reset */
}

.form-group.floating label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group.floating input:focus,
.form-group.floating textarea:focus,
.form-group.floating input:not(:placeholder-shown),
.form-group.floating textarea:not(:placeholder-shown) {
    border-bottom-color: var(--text-main);
}

.form-group.floating input:focus~label,
.form-group.floating textarea:focus~label,
.form-group.floating input:not(:placeholder-shown)~label,
.form-group.floating textarea:not(:placeholder-shown)~label {
    top: -12px;
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: 600;
}

.btn-submit {
    background: var(--text-main);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    align-self: flex-start;
    align-self: flex-start;
    min-width: 180px;
}

/* Validation Styles */
.form-group.error input,
.form-group.error textarea {
    border-bottom-color: #ef4444;
    /* Red error */
}

/* Error Message */
.form-group .error-message {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 0.75rem;
    color: #ef4444;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-group.error .error-message {
    opacity: 1;
}

.form-group.error label {
    color: #ef4444 !important;
}

.btn-submit:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Responsiveness for Contact */
@media (max-width: 768px) {
    .contact-card-glass {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 24px;
    }

    .contact-info-panel {
        padding: 32px;
    }

    .contact-form-panel {
        padding: 32px;
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px;
    background-color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.footer-left h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-left p {
    color: var(--text-muted);
}

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

.footer-links a {
    color: var(--text-main);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    padding-top: 32px;
}

/* Responsive */
/* Responsive Optimization */

/* Tablet Landscape & Portrait (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    /* Hero Reordering Logic (Applied to Tablet too) */
    .hero-container {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        /* Reset grid */
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        display: contents;
        /* Grid/Flex hack for reordering */
    }

    /* 1. Subtitle (Badge) */
    .hero-content .badge {
        order: 1;
        align-self: center;
        /* Center badge */
        margin-bottom: 24px;
    }

    /* 2. Photo */
    .hero-image-wrapper {
        order: 2;
        margin-top: 0;
        margin-bottom: 32px;
    }

    /* 3. Title */
    .hero-title {
        order: 3;
        font-size: 3rem;
        /* Tablet size */
        line-height: 1.2;
        margin-bottom: 16px;
    }

    /* 4. Description */
    .hero-subtitle {
        order: 4;
        font-size: 1.1rem;
        padding: 0;
        margin-bottom: 24px;
        max-width: 80%;
        /* Limit width on tablet */
        margin-left: auto;
        margin-right: auto;
    }

    /* 5. Buttons */
    .hero-buttons {
        order: 5;
        justify-content: center;
        margin-bottom: 32px;
    }

    /* 6. Socials - Centered on Tablet/Mobile */
    .social-media-row {
        order: 6;
        align-items: center;
        /* Center horizontally in column mode */
        text-align: center;
        width: 100%;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .about-text h2 {
        align-items: center;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 0;
        /* Override previous margin since order handles it */
    }

    /* Contact Section: Form above Info */
    .contact-card-glass {
        flex-direction: column-reverse;
        /* Reverses order: Form (top), Info (bottom) */
        min-height: auto;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 40px;
    }

    .contact-info-panel {
        text-align: center;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        /* Separator */
    }

    .social-links-contact {
        justify-content: center;
    }

    .info-item {
        justify-content: center;
    }

    /* Expertise Section: Vertical Stack (Promoted from Mobile) */
    .expertise-accordion {
        flex-direction: column;
        height: auto;
        gap: 16px;
    }

    .accordion-panel {
        flex: none;
        width: 100%;
        height: 72px;
        /* Comfortable touch target */
        padding: 0 24px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .panel-inactive-content {
        position: static;
        transform: none;
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        height: 100%;
        padding: 0;
    }

    .vertical-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.2rem;
        white-space: nowrap;
        margin-left: 16px;
    }

    .accordion-panel.active {
        flex: none;
        height: auto;
        min-height: 250px;
    }

    .accordion-panel.active .panel-inactive-content {
        display: none;
    }

    .accordion-panel.active .panel-active-content {
        position: relative;
        visibility: visible;
        opacity: 1;
        padding: 24px 0;
        transform: none;
    }

    .panel-active-content h3 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .panel-active-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {

    /* Hero Styles inherited from 900px reordering, just adjust sizes */

    /* 3. Title Mobile Size */
    .hero-title {
        font-size: 2rem;
        /* Reduced from 2.5rem/2.75rem */
    }

    /* 4. Description Mobile Size */
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 24px;
    }

    /* 5. Buttons Mobile Stack */
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        /* Full width */
        margin: 0 auto;
        margin-bottom: 32px;
    }

    /* Mobile Optimization Standards */
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 40px 0;
    }

    /* Hero */
    /* Remove padding from container to eliminate gap */
    .hero-container {
        padding-top: 0;
    }

    .hero {
        padding: 90px 0 30px;
        /* Increased slightly from 70px as requested */
    }

    .hero-content .badge {
        margin-bottom: 2px !important;
        /* Reduced space between badge and photo further */
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        /* Slightly smaller */
        font-size: 0.95rem;
    }

    /* About Section */
    .about-text {
        padding: 30px 20px;
        /* Reduced padding */
    }

    .about-text h2 {
        font-size: 2rem;
        /* Reduced */
    }

    .highlight-name {
        font-size: 2rem;
        /* Reduced */
    }

    .about-text p {
        font-size: 0.95rem;
        /* Reduced */
        line-height: 1.6;
    }

    /* Contact Section */
    .contact-form-panel {
        padding: 24px 20px;
        /* Reduced */
    }

    .contact-info-panel {
        padding: 24px 20px;
        /* Reduced */
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 8px;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    /* Contact Info Grid Layout - 3 Columns */
    .info-items {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
        align-items: start;
    }

    /* Reset 3rd item span - now handled by grid-template-columns */
    .info-item:nth-child(3) {
        grid-column: auto;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 4px;
        width: 100%;
        overflow: hidden;
        /* Prevent spillover */
    }

    .info-item h4 {
        font-size: 0.85rem;
    }

    .info-item p {
        font-size: 0.75rem;
        line-height: 1.25;
        word-break: break-all;
        overflow-wrap: break-word;
        /* Ensure wrapping */
    }

    .icon-circle-sm {
        min-width: 40px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-left {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    /* FIX: Horizontal Overflow caused by floating-card */
    .hero-image-wrapper {
        overflow: hidden;
        /* Prevent spillover */
        margin-bottom: 0;
    }

    .floating-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: -20px;
        transform: translateY(0);
        animation: none;
        /* Disable float animation on mobile if it causes issues */
        background: var(--white);
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        box-shadow: var(--shadow-md);
        z-index: 5;
    }
}

@media (max-width: 600px) {

    /* General Typography */
    html {
        font-size: 15px;
        /* Slight base reduction */
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .nav-links {
        display: none;
    }

    /* Accordion styles inherited from 900px, just tweak sizing if needed */
    .accordion-panel {
        padding: 0 16px;
        height: 64px;
    }

    .panel-active-content {
        padding: 20px 0;
    }

    /* Modal Mobile */
    .modal-container {
        width: 95%;
        max-height: 85vh;
    }

    .modal-overlay {
        padding: 12px;
    }

    /* Footer Mobile Stack */
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        width: 100%;
    }
}

/* 4. HOVER REVEAL INTERACTION */

.image-card {
    position: relative;
    overflow: hidden;
    /* Contain the blur and overlay */
    background: #000;
    /* Dark background for when image fades */
}

/* Base Image State */
.hero-img {
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
    width: 100%;
    display: block;
}

/* Hover State: Blur & Fade Image */
.image-card:hover .hero-img {
    opacity: 0.85;
    /* Much brighter (was 0.4) */
    filter: blur(4px) grayscale(20%);
    /* Lighter blur, less grayscale */
    transform: scale(1.05);
    /* Slight zoom */
}

/* Overlay Card (Hidden by default) */
.hover-card-overlay {
    position: absolute;
    inset: 0;
    /* Full cover */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    /* Let clicks pass through initially */
    transition: opacity 0.5s ease 0.1s;
    /* Slight delay before appearing */
    z-index: 10;
    padding: 24px;
    text-align: center;

    /* Glassmorphism Background to Ensure Readability on Brighter Image */
    background: rgba(0, 0, 0, 0.35);
    /* Semi-transparent dark overlay */
    backdrop-filter: blur(2px);
    /* Extra frost effect */
}

/* Reveal Card on Hover */
/* Reveal Card on Hover (Desktop) */
@media (hover: hover) {
    .image-card:hover .hover-card-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Reveal Card on Click (Mobile/Active State) */
.image-card.active .hover-card-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Card Content Styling */
.card-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s;
}

.image-card:hover .card-content-center {
    transform: translateY(0);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 4px;
}

.card-content-center h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.card-divider {
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    margin: 8px 0;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.detail-row i {
    color: var(--accent-light);
    font-size: 1.1rem;
}

.card-watermark {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 6rem;
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(-15deg);
    pointer-events: none;
}

/* Icons styling */
.social-reveal-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.social-reveal-btn:hover {
    transform: scale(1.1);
}

.social-reveal-btn.whatsapp {
    background-color: #25D366;
}

.social-reveal-btn.css-icon {
    background-color: var(--text-main);
}

/* 3. INTERACTION: ONLY FOR TABLET & MOBILE */
@media (max-width: 900px) {
    .floating-card.card-1 {
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* Expand on active (click) or hover (some tablets with mouse) */
    .floating-card.card-1:hover,
    .floating-card.card-1.active {
        max-height: 140px;
        /* Expand height */
        padding-bottom: 16px;
        transform: translateY(-5px);
        /* Lift slightly */
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .floating-card.card-1:hover .card-socials-reveal,
    .floating-card.card-1.active .card-socials-reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    padding: 20px;
    /* Add padding for mobile to prevent edge touching */
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: var(--white);
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    /* Don't be taller than 80% of screen */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    animation: modalSlideIn 0.3s ease forwards;
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--text-main);
    background-color: var(--bg-color);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.6;
}

.modal-body h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

/* Contact Success Message */
.contact-success-message {
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.contact-success-message.hidden {
    display: none;
}

.contact-success-message h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 20px 0 10px;
}

.contact-success-message p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 400px;
}

/* Checkmark Animation (Reused from Randevu) */
.success-animation {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--accent-color);
    /* Updated to match site accent */
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--white);
    /* Checkmark color */
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0px 0px 0px var(--accent-color);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 50px var(--accent-color);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}