/* ================================================
   AGNOSTIC BRIDGE SERVICES - Main Stylesheet
   ================================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --color-primary:       #009B8D;
    --color-primary-dark:  #00857A;
    --color-primary-light: #00B8A9;
    --color-secondary:     #0077B6;
    --color-accent:        #00B0F0;
    --color-dark:          #1A1A2E;
    --color-text:          #333333;
    --color-text-light:    #6B7280;
    --color-white:         #FFFFFF;
    --color-bg-light:      #F5F7FA;
    --color-bg-dark:       #0F1B2D;
    --color-logo-blue:     #0033CC;
    --color-border:        #E5E7EB;

    /* Gradients */
    --gradient-primary:    linear-gradient(135deg, #009B8D 0%, #0077B6 100%);
    --gradient-hero:       linear-gradient(160deg, #009B8D 0%, #006994 50%, #0077B6 100%);
    --gradient-dark:       linear-gradient(135deg, #1A1A2E 0%, #0F1B2D 100%);

    /* Typography */
    --font-heading:        'Montserrat', sans-serif;
    --font-body:           'Inter', sans-serif;

    /* Spacing */
    --space-xs:   0.5rem;
    --space-sm:   1rem;
    --space-md:   1.5rem;
    --space-lg:   2rem;
    --space-xl:   3rem;
    --space-2xl:  4rem;
    --space-3xl:  5rem;
    --space-section: 5rem;

    /* Layout */
    --container-max:       1200px;
    --header-height:       80px;
    --border-radius:       8px;
    --border-radius-lg:    16px;
    --border-radius-full:  9999px;

    /* Shadows */
    --shadow-sm:   0 2px 4px rgba(0,0,0,0.06);
    --shadow-md:   0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg:   0 8px 24px rgba(0,0,0,0.12);
    --shadow-card: 0 4px 16px rgba(0,0,0,0.08);

    /* Transitions */
    --transition-fast:  0.2s ease;
    --transition-base:  0.3s ease;
    --transition-slow:  0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: var(--space-section) 0;
}

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

.section--gradient {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.section--dark {
    background: var(--gradient-dark);
    color: var(--color-white);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section__header h2 {
    margin-bottom: var(--space-sm);
}

.section__header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.section--gradient .section__header h2,
.section--gradient .section__header p,
.section--dark .section__header h2,
.section--dark .section__header p {
    color: var(--color-white);
}

.section--gradient .section__header p,
.section--dark .section__header p {
    opacity: 0.9;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

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

.btn--outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.btn--white:hover {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all var(--transition-base);
    background: transparent;
}

.site-header.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition-base);
}

/* On transparent header (hero pages): make gray logo white */
.site-header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

/* On scrolled header (white bg): darken the gray logo for better contrast */
.site-header.scrolled .logo img {
    filter: brightness(0.3);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.main-nav__link:hover,
.main-nav__link--active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.site-header.scrolled .main-nav__link {
    color: var(--color-text);
}

.site-header.scrolled .main-nav__link:hover,
.site-header.scrolled .main-nav__link--active {
    color: var(--color-primary);
    background: var(--color-bg-light);
}

.main-nav__link .fa-chevron-down {
    font-size: 0.625rem;
    transition: transform var(--transition-fast);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.main-nav__item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown__link {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--color-text);
    font-size: 0.875rem;
    border-radius: calc(var(--border-radius) - 2px);
    transition: all var(--transition-fast);
}

.dropdown__link:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

/* Header CTA */
.header-cta {
    margin-left: 1rem;
}

.site-header:not(.scrolled) .header-cta {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.site-header:not(.scrolled) .header-cta:hover {
    background: transparent;
    color: var(--color-white);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.site-header.scrolled .hamburger,
.site-header.scrolled .hamburger::before,
.site-header.scrolled .hamburger::after {
    background: var(--color-dark);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }

/* Hamburger animation */
.nav-open .hamburger {
    background: transparent;
}

.nav-open .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background: var(--color-dark);
}

.nav-open .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
    background: var(--color-dark);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 176, 240, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 51, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: var(--color-white);
}

.hero__title {
    color: var(--color-white);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    opacity: 0.6;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Decorative shapes */
.hero__shapes {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    pointer-events: none;
    overflow: hidden;
}

.hero__shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--color-white);
}

.hero__shapes .shape--1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.hero__shapes .shape--2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: 15%;
}

.hero__shapes .shape--3 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 5%;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    position: relative;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    background: var(--gradient-hero);
    color: var(--color-white);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(0, 176, 240, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero__content {
    position: relative;
    z-index: 1;
}

.page-hero__title {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    opacity: 0.85;
}

.breadcrumb a {
    color: var(--color-white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
    color: var(--color-white);
}

.breadcrumb span {
    opacity: 0.6;
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-card);
    border-top: 4px solid transparent;
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--color-accent);
}

.service-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: var(--border-radius-lg);
    font-size: 1.75rem;
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.service-card__text {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.service-card__link {
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.service-card__link i {
    transition: transform var(--transition-fast);
}

.service-card__link:hover i {
    transform: translateX(4px);
}

/* --- About Teaser (Two column) --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.two-col__text h2 {
    margin-bottom: var(--space-md);
}

.two-col__text p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.check-list {
    margin-bottom: var(--space-lg);
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
}

.check-list li i {
    color: var(--color-primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.two-col__image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.two-col__image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

.image-placeholder {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.125rem;
    opacity: 0.8;
}

/* --- Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-item__label {
    font-size: 0.9375rem;
    opacity: 0.85;
    color: var(--color-white);
}

/* --- Partners --- */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
}

.partner-logo {
    height: 40px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all var(--transition-base);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- CTA Section --- */
.cta-section {
    padding: var(--space-3xl) 0;
    background: var(--gradient-primary);
    text-align: center;
    color: var(--color-white);
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-section p {
    opacity: 0.9;
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Service Detail (alternating blocks) --- */
.service-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
    border-bottom: none;
}

.service-block__content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.service-block__content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.feature-list {
    margin-bottom: var(--space-md);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.375rem 0;
    color: var(--color-text);
    font-size: 0.9375rem;
}

.feature-list li i {
    color: var(--color-primary);
    font-size: 0.75rem;
}

/* --- Features Grid (individual service pages) --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.feature-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
    font-size: 1.375rem;
    color: var(--color-primary);
}

.feature-card__title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-card__text {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

/* --- About Page: Mission/Vision/Values --- */
.mvv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.mvv-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.mvv-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
    color: var(--color-white);
    font-size: 1.5rem;
}

.mvv-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.mvv-card__text {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.team-card {
    text-align: center;
}

.team-card__avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius-full);
    margin: 0 auto var(--space-sm);
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-text-light);
    overflow: hidden;
}

.team-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.team-card__role {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.team-card__social a {
    color: var(--color-text-light);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.team-card__social a:hover {
    color: var(--color-primary);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

/* Form */
.contact-form {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
}

.contact-form h3 {
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.375rem;
}

.form-group label .required {
    color: #EF4444;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 155, 141, 0.15);
}

.form-control::placeholder {
    color: var(--color-text-light);
    opacity: 0.6;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-error {
    font-size: 0.8125rem;
    color: #EF4444;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .form-control {
    border-color: #EF4444;
}

.form-group.error .form-error {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-info__card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
}

.contact-info__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    color: var(--color-white);
    flex-shrink: 0;
}

.contact-info__label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-bottom: 0.125rem;
}

.contact-info__value {
    font-weight: 500;
    color: var(--color-dark);
}

.contact-info__social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.contact-info__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.contact-info__social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Map placeholder */
.map-placeholder {
    background: var(--color-bg-light);
    border-radius: var(--border-radius-lg);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 1rem;
    margin-top: var(--space-2xl);
}

/* --- Form Success Message --- */
.form-success {
    display: none;
    text-align: center;
    padding: var(--space-2xl);
}

.form-success.active {
    display: block;
}

.form-success i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.form-success h3 {
    margin-bottom: var(--space-xs);
}

.form-success p {
    color: var(--color-text-light);
}

/* --- Footer --- */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-3xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.footer-col__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-about .logo {
    margin-bottom: var(--space-sm);
}

.footer-about .logo img {
    height: 48px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.footer-contact li i {
    color: var(--color-primary);
    margin-top: 0.2rem;
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    opacity: 0.6;
    text-align: center;
}

/* --- Related Services --- */
.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-white  { color: var(--color-white); }
.mb-0   { margin-bottom: 0; }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }

/* ================================================
   RESPONSIVE BREAKPOINTS
   ================================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .mvv-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

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

    .service-block {
        grid-template-columns: 1fr 1fr;
    }

    .service-block:nth-child(even) .service-block__image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile only (< 1024px) */
@media (max-width: 1023px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--header-height) + var(--space-sm)) var(--space-md) var(--space-md);
        box-shadow: -4px 0 24px rgba(0,0,0,0.15);
        transition: right var(--transition-base);
        overflow-y: auto;
    }

    .nav-open .main-nav {
        right: 0;
    }

    .main-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav__link {
        color: var(--color-text);
        padding: 0.75rem 1rem;
        border-radius: var(--border-radius);
    }

    .main-nav__link:hover,
    .main-nav__link--active {
        background: var(--color-bg-light);
        color: var(--color-primary);
    }

    /* Mobile dropdown */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 var(--space-sm);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }

    .dropdown.open {
        max-height: 300px;
    }

    .header-cta {
        margin: var(--space-sm) 0 0;
        width: 100%;
        text-align: center;
    }

    /* Mobile overlay backdrop */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-open .nav-overlay {
        display: block;
    }
}

/* Bounce animation for scroll indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}
