/* ===================================
   Google Fonts Import
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;1,300;1,400&family=Roboto+Condensed:ital,wght@1,300;1,400&display=swap');

/* ===================================
   CSS Reset and Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Dark Mode (Default) */
    --primary-color: #0D9CAF;
    --primary-dark: #105B75;
    --bg-dark: #1D1D1D;
    --bg-darker: #1D1D1D;
    --bg-card: #2a2a2a;
    --text-light: #E9E9E9;
    --text-gray: #C8CBCD;
    --accent-gradient: linear-gradient(135deg, #0D9CAF 0%, #105B75 100%);

    /* Fluid Spacing Scale */
    --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    --space-sm: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
    --space-md: clamp(2rem, 1.8rem + 1vw, 3rem);
    --space-lg: clamp(4rem, 3.6rem + 2vw, 6rem);
    --space-xl: clamp(6rem, 5.4rem + 3vw, 9rem);
}

/* Light Mode Colors */
[data-theme="light"] {
    --primary-color: #0D9CAF;
    --primary-dark: #105B75;
    --bg-dark: #FFFFFF;
    --bg-darker: #F5F5F5;
    --bg-card: #FFFFFF;
    --text-light: #1D1D1D;
    --text-gray: #4A4A4A;
    --accent-gradient: linear-gradient(135deg, #0D9CAF 0%, #105B75 100%);
}

/* System preference detection */
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --primary-color: #0D9CAF;
        --primary-dark: #105B75;
        --bg-dark: #FFFFFF;
        --bg-darker: #F5F5F5;
        --bg-card: #FFFFFF;
        --text-light: #1D1D1D;
        --text-gray: #4A4A4A;
        --accent-gradient: linear-gradient(135deg, #0D9CAF 0%, #105B75 100%);
    }
}

html {
    scroll-behavior: smooth;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-light);
}

/* Accessible Focus Styles */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    font-weight: 600;
    text-decoration: none;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 1.35rem + 0.75vw, 2rem); }
h4 { font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    background-color: var(--bg-darker);
    padding: 1rem 0;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(13, 156, 175, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.logo img {
    display: block;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.logo:hover img {
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu > li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(13, 156, 175, 0.1);
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-card);
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0;
    z-index: 1000;
}

/* Create invisible bridge to prevent gap hover issues */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 0;
    text-align: left;
    width: 100%;
}

.dropdown-menu a:hover {
    background-color: rgba(13, 156, 175, 0.2);
}

.dropdown > a::after {
    content: " ▾";
    font-size: 0.8em;
    margin-left: 0.25rem;
}

/* ===================================
   Theme Toggle
   =================================== */

.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background-color: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.theme-toggle:hover {
    border-color: var(--text-light);
}

.theme-toggle-slider {
    width: 22px;
    height: 22px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

[data-theme="light"] .theme-toggle-slider {
    transform: translateX(28px);
}

.theme-toggle-icon {
    font-size: 14px;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    background-color: var(--bg-darker);
    padding: var(--space-lg) 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-logo svg {
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.3rem;
    color: var(--primary-color);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-family: 'Oxygen', sans-serif;
    font-weight: 300;
    font-size: 1.8rem;
    color: var(--text-gray);
    letter-spacing: 0.2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-tagline {
    font-family: 'Oxygen', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    color: var(--text-gray);
    letter-spacing: 0.05rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-top: 1rem;
}

/* ===================================
   Page Header
   =================================== */

.page-header {
    background: var(--accent-gradient);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-family: 'Oxygen', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   About Section
   =================================== */

.about-section {
    padding: var(--space-lg) 0;
    background-color: var(--bg-dark);
}

.about-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
    padding: var(--space-lg) 0;
    background-color: var(--bg-darker);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.services-grid .service-card {
    flex: 0 1 calc(33.333% - 2rem);
    min-width: 300px;
    max-width: 400px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(13, 156, 175, 0.3);
    border-color: var(--primary-color);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ===================================
   Service Detail Pages
   =================================== */

.service-detail-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.service-intro h2 {
    margin-bottom: 1.5rem;
}

.service-intro p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.service-offerings {
    display: grid;
    gap: 3rem;
}

.offering-card {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.offering-icon {
    margin-bottom: 1.5rem;
}

.offering-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.offering-card > p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    color: var(--text-gray);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.feature-list li:before {
    content: "▸";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ===================================
   Process Section
   =================================== */

.process-section {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.process-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background-color: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===================================
   Why Choose Us Section
   =================================== */

.why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.why-choose-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-item {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background: var(--accent-gradient);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   Buttons
   =================================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    min-height: 44px;
    min-width: 44px;
    position: relative;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 156, 175, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(13, 156, 175, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Loading State */
.btn-primary.loading,
.btn-secondary.loading {
    color: transparent;
    pointer-events: none;
}

.btn-primary.loading::after,
.btn-secondary.loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 3px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   Contact Page
   =================================== */

.contact-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form-container > p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    background-color: var(--bg-card);
    border: 2px solid transparent;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-light);
    padding: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(13, 156, 175, 0.05);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    grid-column: 1 / -1;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: rgba(13, 156, 175, 0.2);
    color: var(--primary-color);
    display: block;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    display: block;
}

.recaptcha-notice {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: var(--text-gray);
    text-align: center;
    margin-top: 1rem;
    opacity: 0.8;
}

.recaptcha-notice a {
    color: var(--primary-color);
    text-decoration: underline;
}

.recaptcha-notice a:hover {
    color: var(--text-light);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: rgba(13, 156, 175, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(13, 156, 175, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    box-shadow:
        0 8px 32px rgba(13, 156, 175, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-info-card::before {
    display: none;
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-info-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

.contact-info-card strong {
    color: var(--text-light);
}

.contact-info-card a {
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: var(--text-light);
    text-shadow: 0 0 12px rgba(13, 156, 175, 0.5);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    background: rgba(13, 156, 175, 0.25);
    border-color: rgba(13, 156, 175, 0.5);
    box-shadow:
        0 16px 48px rgba(13, 156, 175, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-logo {
    display: none;
}

@media (max-width: 768px) {
    .contact-info-container {
        grid-template-columns: 1fr;
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--text-gray);
    letter-spacing: 0.1rem;
}

/* ===================================
   Map Section
   =================================== */

.map-section {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.map-link {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(13, 156, 175, 0.3);
}

.map-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 156, 175, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.map-link:hover .map-overlay {
    background: rgba(13, 156, 175, 0.2);
}

.map-overlay-text {
    background: rgba(29, 29, 29, 0.9);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.map-link:hover .map-overlay-text {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="light"] .map-overlay-text {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
}

.map-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ===================================
   Footer - 2026 Design
   =================================== */

.footer {
    background: linear-gradient(180deg, var(--bg-darker) 0%, rgba(13, 156, 175, 0.05) 100%);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer .container {
    max-width: 1200px;
}

/* Footer Brand Section */
.footer-brand {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(13, 156, 175, 0.15);
}

.footer-logo-img {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-tagline {
    font-family: 'Oxygen', sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 300;
    letter-spacing: 0.02rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col {
    text-align: center;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-align: center;
}

.footer-col ul {
    list-style: none;
    text-align: center;
}

.footer-col ul li {
    margin-bottom: 0.875rem;
    text-align: center;
}

.footer-col a {
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Footer Contact List */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.footer-contact-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-contact a {
    color: var(--text-gray);
}

.footer-contact a:hover {
    color: var(--primary-color);
    transform: none;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(13, 156, 175, 0.15);
    font-size: 0.875rem;
    color: var(--text-gray);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal a {
    color: var(--text-gray);
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-legal a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-divider {
    color: var(--primary-color);
    opacity: 0.5;
}

/* Footer Responsive */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-brand {
        margin-bottom: 2.5rem;
        padding-bottom: 2rem;
    }

    .footer-logo-img {
        height: 55px;
    }

    .footer-tagline {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .footer-col:last-child {
        grid-column: auto;
    }

    .footer-col,
    .footer-col h4,
    .footer-col ul,
    .footer-col ul li {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-col a:hover {
        transform: none;
    }
}

/* ===================================
   Animated Equation (i + o + systems = IO)
   =================================== */

/* ===================================
   Hero Logo
   =================================== */

.hero-logo {
    position: relative;
    max-width: 100%;
    overflow: visible;
}

.hero-logo img {
    max-width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: fadeInDown 1s ease-out both;
}

/* Fallback for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-logo img {
        animation: none;
        opacity: 1;
    }
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Liquid Glass Design (Apple-inspired)
   =================================== */

/* Glass morphism base effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .glass-effect {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Apply glass effect to navbar */
.navbar {
    background: rgba(29, 29, 29, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Glass effect for cards */
.service-card,
.offering-card,
.benefit-item,
.process-step {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .service-card,
[data-theme="light"] .offering-card,
[data-theme="light"] .benefit-item,
[data-theme="light"] .process-step {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Contact info cards use glassmorphism effect */
[data-theme="light"] .contact-info-card {
    background: rgba(13, 156, 175, 0.1);
    border: 1px solid rgba(13, 156, 175, 0.2);
    box-shadow:
        0 8px 32px rgba(13, 156, 175, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .contact-info-card:hover {
    background: rgba(13, 156, 175, 0.18);
    border-color: rgba(13, 156, 175, 0.4);
}

/* Enhanced hover states for glass cards */
.service-card:hover,
.offering-card:hover,
.benefit-item:hover,
.process-step:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 12px 40px rgba(13, 156, 175, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(13, 156, 175, 0.3);
}

/* Glass dropdown menu */
.dropdown-menu {
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
}

[data-theme="light"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Glass buttons */
.btn-primary {
    background: linear-gradient(135deg, rgba(13, 156, 175, 0.9), rgba(16, 91, 117, 0.9));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 4px 16px rgba(13, 156, 175, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(13, 156, 175, 1), rgba(16, 91, 117, 1));
    box-shadow:
        0 8px 24px rgba(13, 156, 175, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Glass hero section */
.hero {
    background: linear-gradient(180deg, var(--bg-darker) 0%, rgba(13, 156, 175, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(13, 156, 175, 0.08) 0%,
        transparent 50%
    );
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Glass footer */
.footer {
    background: linear-gradient(180deg, rgba(29, 29, 29, 0.95) 0%, rgba(29, 29, 29, 1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .footer {
    background: linear-gradient(180deg, rgba(245, 245, 245, 0.95) 0%, rgba(245, 245, 245, 1) 100%);
}

/* Smooth transitions for theme changes */
.navbar,
.service-card,
.offering-card,
.benefit-item,
.process-step,
.dropdown-menu,
.btn-primary,
.btn-secondary,
.hero,
.footer {
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card {
    transition:
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease;
}

/* Accent glow on primary elements */
.service-card:hover .service-icon svg,
.offering-card:hover .offering-icon svg {
    filter: drop-shadow(0 0 8px rgba(13, 156, 175, 0.6));
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid .service-card {
        flex: 0 1 calc(50% - 1.5rem);
        min-width: 280px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 700px) {
    .services-grid .service-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-darker);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu > li {
        margin: 1rem 0;
        width: 100%;
        display: block;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: rgba(13, 156, 175, 0.1);
        margin-top: 0.5rem;
        transform: none;
        left: auto;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-logo img {
        max-width: 90%;
        height: auto;
    }

    .hero {
        min-height: 50vh;
        padding: var(--space-md) 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .service-card,
    .offering-card,
    .process-step,
    .benefit-item {
        padding: 1.5rem;
    }
}
