/*
Theme Name: RACKMED
Theme URI: https://rackmed.com
Author: Dr. Moisés Serrano
Author URI: https://rackmed.com
Description: RACKMED - Research Advancements in Clinical Knowledge and Medicine. Independent Clinical Informatics & Digital Health Research and Consulting Lab.
Version: 1.0
License: MIT
Text Domain: rackmed
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&display=swap");

:root {
    --font-family: "Inter", sans-serif;
    --primary: #2c3e50;
    --primary-dark: #1c3ab6;
    --primary-light: #e2f1ff;
    --accent: #348bab;
    --accent-dark: #256e87;
    --accent-light: #dff9f8;
    --success: #13d527;
    --success-dark: #00ae11;
    --success-light: #eafbe7;
    --secondary: #8f15d5;
    --secondary-dark: #6013c7;
    --secondary-light: #f4e5fa;
    --info: #15b2d5;
    --info-dark: #0f8ca8;
    --info-light: #e0f5fa;
    --caution: #dbbb25;
    --caution-dark: #d58f15;
    --caution-light: #fbf9e4;
    --error: #e6185e;
    --error-dark: #bf1257;
    --error-light: #fce4eb;
    --black: #1d1d1d;
    --dark-1: #2d2d2d;
    --dark-2: #4d4d4d;
    --dark-3: #6d6d6d;
    --gray-1: #8d8d8d;
    --gray-2: #adadad;
    --gray-3: #cdcdcd;
    --gray-4: #e0e0e0;
    --light-1: #efefef;
    --light-2: #f5f5f5;
    --light-3: #fafafa;
    --white: #ffffff;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    --gradient-1: linear-gradient(180deg, #155bd5 0%, #1c3ab6 100%);
    --gradient-2: linear-gradient(180deg, #155bd5 13.02%, #00d4d7 85.42%);
    --gradient-3: linear-gradient(180deg, #155bd5 0%, #8f15d5 100%);
    --gradient-4: linear-gradient(180deg, #155bd5 0%, #13d527 100%);
    --gradient-5: linear-gradient(180deg, #155bd5 0%, #15bbd5 100%);
    --gradient-6: linear-gradient(180deg, #155bd5 0%, #dbbb25 100%);
    --gradient-7: linear-gradient(180deg, #155bd5 0%, #e6185e 100%);
    --gradient-8: linear-gradient(180deg, #1c3ab6 0%, #00bac1 100%);
    --gradient-9: linear-gradient(180deg, #00d4d7 13.02%, #155bd5 85.42%);
    --shadow-1: 0px 0px 1px rgba(40, 41, 61, 0.08),
        0px 0.5px 2px rgba(96, 97, 112, 0.16);
    --shadow-2: 0px 0px 1px rgba(40, 41, 61, 0.04),
        0px 2px 4px rgba(96, 97, 112, 0.16);
    --shadow-3: 0px 0px 2px rgba(40, 41, 61, 0.04),
        0px 4px 8px rgba(96, 97, 112, 0.16);
    --shadow-4: 0px 2px 4px rgba(40, 41, 61, 0.04),
        0px 8px 16px rgba(96, 97, 112, 0.16);
    --shadow-5: 0px 2px 8px rgba(40, 41, 61, 0.04),
        0px 16px 24px rgba(96, 97, 112, 0.16);
    --shadow-6: 0px 2px 8px rgba(40, 41, 61, 0.08),
        0px 20px 32px rgba(96, 97, 112, 0.24);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.6;
    font-size: 16px;
}

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

a {
    display: inline-block;
}

a,
button,
a:hover,
a:focus,
input:focus,
textarea:focus,
button:focus {
    text-decoration: none;
    outline: none;
}

ul,
ol {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--black);
    margin: 0px;
}

h1,
.h1 { font-size: 2.75em; line-height: 1.25; }
h2,
.h2 { font-size: 2.25em; line-height: 1.25; }
h3,
.h3 { font-size: 1.75em; line-height: 1.25; }
h4,
.h4 { font-size: 1.5em; line-height: 1.25; }
h5,
.h5 { font-size: 1.25em; line-height: 1.25; }
h6,
.h6 { font-size: 0.875em; line-height: 1.25; }

.display-1 { font-size: 5.5em; line-height: 1.25; }
.display-2 { font-size: 4.75em; line-height: 1.25; }
.display-3 { font-size: 4em; line-height: 1.25; }
.display-4 { font-size: 3.25em; line-height: 1.25; }

p {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark-3);
    margin: 0px;
}

.text-small { font-size: 0.875em; line-height: 1.5; }
.text-lg { font-size: 1.15em; line-height: 1.5; }

.bg_cover {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.btn {
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.btn:hover { color: inherit; }
.btn:focus { box-shadow: none; outline: none; }

.btn.btn-lg { font-size: 1.15em; padding: 16px 24px; }
.btn.btn-sm { padding: 8px 16px; }
.btn.square { border-radius: 0px; }
.btn.semi-rounded { border-radius: 12px; }
.btn.rounded-full { border-radius: 50px; }

.btn.icon-left span,
.btn.icon-left i { margin-right: 8px; }

.btn.icon-right span,
.btn.icon-right i { margin-left: 8px; }

.btn.icon-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    line-height: 48px;
}

.btn.icon-btn.btn-lg {
    width: 56px;
    height: 56px;
    line-height: 56px;
}

.btn.icon-btn.btn-sm {
    width: 40px;
    height: 40px;
    line-height: 40px;
}

.primary-btn {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-2);
}

.active.primary-btn,
.primary-btn:hover,
.primary-btn:focus {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: var(--shadow-4);
}

.deactive.primary-btn {
    background: var(--gray-4);
    color: var(--dark-3);
    pointer-events: none;
}

.primary-btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.active.primary-btn-outline,
.primary-btn-outline:hover,
.primary-btn-outline:focus {
    background: var(--primary-dark);
    color: var(--white);
}

.deactive.primary-btn-outline {
    color: var(--dark-3);
    border-color: var(--gray-4);
    pointer-events: none;
}

.scroll-top {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #fff !important;
    border-radius: 0;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9;
    cursor: pointer;
    transition: all .3s ease-out 0s;
    border-radius: 5px;
}

.scroll-top:hover {
    box-shadow: 0 1rem 3rem rgba(35, 38, 45, 0.15) !important;
    transform: translate3d(0, -5px, 0);
    background-color: var(--dark-1);
}

.section-title-five {
    text-align: center;
    max-width: 550px;
    margin: auto;
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .section-title-five { margin-bottom: 45px; }
}

@media (max-width: 767px) {
    .section-title-five { margin-bottom: 35px; }
}

.section-title-five h6 {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 30px;
    padding: 8px 30px;
}

.section-title-five h2 { margin-bottom: 15px; }

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .section-title-five h2 {
        font-size: 2rem;
        line-height: 2.8rem;
    }
}

@media (max-width: 767px) {
    .section-title-five h2 {
        font-size: 1.5rem;
        line-height: 1.9rem;
    }
}

.section-title-five p { color: var(--dark-3); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #333333;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2d2d44;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    height: 100%;
}

.navbar-brand img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #348bab;
}


.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 0;
    margin-top: 60px;
}

.hero-image-container {
    width: 100%;
    height: 75vh;
    position: relative;
    overflow: hidden;
}

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

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 12, 18, 0.88) 0%, rgba(12, 18, 24, 0.82) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content .hero-rackmed {
    font-size: 0.75rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-content .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #cfcfcf;
}

.hero-rotating-phrase {
    font-size: 1.4rem;
    font-weight: 300;
    font-style: italic;
    opacity: 0.85;
    min-height: 2.5rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-rotating-phrase .phrase-text {
    display: inline-block;
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
}

.hero-rotating-phrase .phrase-text.fade-out {
    opacity: 0;
}

.hero-content .btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #348bab;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #348bab;
    width: auto;
}

.hero-content .btn-primary:hover {
    background: transparent;
    color: #348bab;
}

/* Color Bands */
.color-bands {
    display: flex;
    width: 100%;
    height: 16px;
}

.color-band {
    flex-grow: 1;
}

.color-band.band-0 { background: #bf0041; }
.color-band.band-1 { background: #003366; }
.color-band.band-2 { background: #005b99; }
.color-band.band-3 { background: #0080cc; }
.color-band.band-4 { background: #00aaff; }
.color-band.band-5 { background: #66ccff; }

/* Section Styles */
.section {
    padding: 0 0 6rem 0;
    width: 100%;
}

section#research {
    padding: 6rem 0;
}

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

.section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header .section-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 500;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 300px);
}

.card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: auto;
}

.btn-enroll {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: #348bab;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
}

.btn-enroll:hover {
    background: #256e87;
    color: white;
}

.btn-enroll-red {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: #bf0041;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
}

.btn-enroll-red:hover {
    background: #8a0030;
    color: white;
}

/* Consulting Section */
.consulting-grid {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 4rem;
    align-items: center;
}

.consulting-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.consulting-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.consulting-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    cursor: pointer;
}

.consulting-card span {
    font-weight: 600;
    color: var(--primary-color);
}

.consulting-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a202c;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.4;
    width: max-content;
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    margin-bottom: 0.5rem;
}

.consulting-card:hover::after {
    opacity: 1;
    visibility: visible;
}

.consulting-card.disabled {
    background: #f8f9fa;
    border: 2px dashed #cbd5e0;
    cursor: not-allowed;
}

.consulting-card.disabled span {
    color: #a0aec0;
}

.consulting-card.disabled .coming-soon {
    display: block;
    font-size: 0.75rem;
    color: #e53e3e;
    font-weight: 600;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.consulting-card.disabled::after {
    background: #718096;
}

.consulting-image img {
    width: 100%;
    border-radius: 8px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.6fr 1.5fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.founder-card {
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.founder-card>div:first-child {
    flex-shrink: 0;
}

.founder-card>div:first-child img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.founder-card h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.founder-card .founder-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.founder-card .founder-title {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-light);
}

.founder-card .founder-soc {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 0;
}

.contact-wrapper {
    padding: 0 0 6rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item .info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.contact-info-item .info p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.contact-info-item .info a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.contact-info-item .info a:hover {
    color: var(--accent);
}

.contact-form-container {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
    margin-bottom: 1rem;
}

.contact-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.subject-wrapper {
    position: relative;
    flex: 1;
}

.subject-wrapper input {
    width: 100%;
    padding-right: 35px;
}

.btn-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.btn-clear:hover {
    color: #bf0041;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-clear-form {
    background: transparent;
    color: var(--text-muted);
    padding: 1rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-form:hover {
    border-color: #bf0041;
    color: #bf0041;
}

#result-message {
    display: none;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.form-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

/* Footer */
.footer {
    background: #ffffff;
    color: var(--text-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 44px;
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.footer h5 {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-location p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top:hover {
    opacity: 1;
    background: var(--accent-dark);
}

/* Responsive */
@media (max-width: 1200px) {
    .navbar .container,
    .section .container,
    .contact-grid,
    .footer .container {
        padding: 0 2rem;
    }

    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        color: #1a202c;
    }

    .nav-menu a:hover {
        color: #348bab;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-image-container {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.25rem;
        letter-spacing: 3px;
    }

    .hero-content .hero-subtitle {
        font-size: 0.875rem;
        letter-spacing: 2px;
    }

    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 1rem;
    }

    .consulting-grid {
        grid-template-columns: 1fr;
    }

    .consulting-image {
        order: -1;
    }

    .consulting-cards {
        grid-template-columns: 1fr;
    }
}
