/* =========================
   COLOR VARIABLES
   ========================= */
:root {
    --brand-navy: #1a2a40;
    --brand-teal: #008080;
    --bg-cream: #fdfaf5;
    --text-main: #2d2d2d;
    --text-muted: #555555;
    --border-light: #dddddd;
    --white: #ffffff;
    --link-hover: #006666;
}

/* =========================
   RESET & GLOBAL
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-cream);
}

img {
    max-width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--brand-navy);
}

h2 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--brand-navy);
}

h3 {
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--brand-navy);
}

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

/* =========================
   LAYOUT
   ========================= */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 70px 30px;
}

section {
    margin-bottom: 60px;
}

/* =========================
   HEADER / NAV
   ========================= */
header {
    background-color: var(--white);
    padding: 18px 40px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: var(--brand-navy);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.logo span {
    color: var(--brand-teal);
}

nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

nav a {
    color: var(--brand-navy);
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--brand-teal);
}

/* =========================
   LANGUAGE SWITCHER
   ========================= */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 6px 12px;
    color: var(--brand-navy);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal);
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-arrow {
    font-size: 9px;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.lang-btn.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    min-width: 155px;
    z-index: 200;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.lang-dropdown.open {
    display: block;
}

.lang-dropdown form {
    margin: 0;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    color: var(--brand-navy);
    background: transparent;
    border: none;
    text-align: left;
    transition: background 0.15s ease;
}

.lang-option:hover {
    background: var(--bg-cream);
}

.lang-option.active {
    color: var(--brand-teal);
}

.lang-name {
    flex: 1;
}

.lang-check {
    font-size: 11px;
    color: var(--brand-teal);
    opacity: 0;
}

.lang-option.active .lang-check {
    opacity: 1;
}

/* =========================
   HERO SECTION
   ========================= */
.hero-section {
    background-color: var(--brand-navy);
    color: var(--white);
    text-align: center;
    padding: 90px 40px 80px;
}

.hero-section h1 {
    color: var(--white);
    max-width: 720px;
    margin: 0 auto 20px;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 128, 128, 0.25);
    color: #7dd9d9;
    border: 1px solid rgba(0, 128, 128, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* =========================
   BUTTONS
   ========================= */
button:not(.lang-btn):not(.lang-option):not(.db-hamburger),
.button-link {
    display: inline-block;
    background-color: var(--brand-teal);
    color: var(--white);
    text-align: center;
    border: none;
    padding: 13px 26px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

button:not(.lang-btn):not(.lang-option):hover,
.button-link:hover {
    background-color: var(--link-hover);
    color: var(--white);
}

.button-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.cta-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================
   VALUE SECTION
   ========================= */
.value-section {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

/* =========================
   SERVICES GRID
   ========================= */
.services-preview h2 {
    text-align: center;
    margin-bottom: 10px;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--white);
    padding: 36px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-teal);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-teal);
}

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

.service-icon {
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.service-card p {
    margin-bottom: 0;
}

/* =========================
   ABOUT PREVIEW
   ========================= */
.about-preview {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.credential-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.credential {
    background: #f0f7f7;
    color: var(--brand-teal);
    border: 1px solid #c8e6e6;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px 24px;
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--brand-navy);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    margin-bottom: 0;
}

/* =========================
   ABOUT HERO (other pages)
   ========================= */
.about-hero {
    margin-bottom: 80px;
    padding: 60px 0;
    border-bottom: 2px solid var(--border-light);
}

.title-about {
    margin-bottom: 30px;
}

/* =========================
   PILLARS GRID
   ========================= */
.pillars-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pillar {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease;
}

.pillar h3 {
    color: var(--brand-teal);
    border-bottom: 2px solid var(--bg-cream);
    padding-bottom: 10px;
}

/* =========================
   LISTS & INFO COLUMNS
   ========================= */
.info-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 80px;
}

.info-columns > section {
    flex: 1;
    min-width: 300px;
}

ul {
    list-style: none;
    padding-left: 20px;
}

ul li {
    padding: 12px 0;
    margin-bottom: 10px;
    position: relative;
    color: var(--text-muted);
}

.info-columns ul li::before {
    content: "•";
    color: var(--brand-teal);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.pillar ul li::before {
    content: "→";
    position: absolute;
    left: -20px;
    color: var(--brand-teal);
    font-weight: bold;
}

/* =========================
   FORMS
   ========================= */
.contact-form-section {
    max-width: 600px;
    margin: 0 auto 80px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--brand-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-teal);
}

/* =========================
   CTA SECTION
   ========================= */
.cta-section {
    background: var(--brand-teal);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 0;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 480px;
    margin: 0 auto 28px;
}

.cta-section .button-link {
    background: var(--white);
    color: var(--brand-teal);
}

.cta-section .button-link:hover {
    background: var(--bg-cream);
    color: var(--link-hover);
}

.cta-section .button-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.cta-pt {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 14px;
    margin-bottom: 0;
}

/* =========================
   FOOTER
   ========================= */
footer {
    text-align: center;
    padding: 36px 20px;
    background-color: var(--brand-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    margin-bottom: 6px;
}

footer p:first-child {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

footer a {
    color: #7dd9d9;
}

footer a:hover {
    color: var(--white);
}

/* =========================
   PROFILE IMAGE
   ========================= */
.about-image-container {
    position: relative;
    display: inline-block;
}

.profile-img {
    width: 100%;
    max-width: 400px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 5px solid var(--brand-teal);
    box-shadow: 20px 20px 60px rgba(26, 42, 64, 0.1);
    transition: all 0.5s ease-in-out;
}

.profile-img:hover {
    border-radius: 50%;
    transform: scale(1.02) rotate(2deg);
    box-shadow: 10px 10px 40px rgba(0, 128, 128, 0.2);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 14px;
        padding: 16px 20px;
    }

    nav {
        justify-content: center;
        gap: 18px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero-section {
        padding: 60px 24px 50px;
    }

    .about-preview {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 28px;
    }

    .cta-section {
        padding: 44px 24px;
    }

    .container {
        padding: 50px 20px;
    }

    .lang-dropdown {
        right: auto;
        left: 0;
    }
}

/* =========================
   INNER PAGE ENHANCEMENTS
   ========================= */

/* Hero spacing tweak for inner pages */
.hero-section {
    margin-bottom: 40px;
}

/* Lead text (used in About page) */
.lead-text {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 500;
}

/* About image wrapper (clean alignment) */
.about-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Improve spacing inside about sections */
.about-preview p {
    max-width: 520px;
}

/* Slightly tighter cards on inner pages */
.services-preview .service-card {
    padding: 30px;
}

/* Optional highlight card (if you want to emphasize one later) */
.highlighted-card {
    border: 2px solid var(--brand-teal);
    box-shadow: 0 10px 25px rgba(0, 128, 128, 0.08);
}

/* Contact form improvements */
.contact-form-section h2 {
    margin-bottom: 10px;
}

.contact-form-section p {
    margin-bottom: 25px;
}

/* Better button spacing inside forms */
.contact-form button {
    margin-top: 10px;
    width: 100%;
}

/* Info text inside forms */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* CTA section spacing consistency */
.cta-section {
    margin-top: 60px;
}

/* Lists inside about/services sections */
.about-preview ul {
    margin-top: 15px;
}

.about-preview ul li {
    padding: 8px 0;
}

/* Mobile polish */
@media (max-width: 768px) {
    .hero-section {
        margin-bottom: 30px;
    }

    .about-preview p {
        max-width: 100%;
    }

    .contact-form button {
        width: 100%;
    }
}