/* ========================================
   Jamie White Commercial Real Estate
   Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #FF8C00;
    --color-primary-dark: #E67300;
    --color-secondary: #800080;
    --color-secondary-dark: #6A006A;
    --color-dark: #333333;
    --color-light: #F8F8F8;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-border: #E0E0E0;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(255, 140, 0, 0.3);
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-max: 1200px;
    --header-height: 80px;
    --header-height-sticky: 60px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Custom Text Selection */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

::-moz-selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

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

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
}

.btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
    color: var(--color-white);
}

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

.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    box-shadow: 0 0 20px rgba(128, 0, 128, 0.3);
    color: var(--color-white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background-color: var(--color-primary);
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-white);
    z-index: 100;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    height: var(--header-height-sticky);
    box-shadow: var(--shadow-md);
}

.header.scrolled .logo-text {
    display: none;
}

.header.scrolled .logo-icon {
    transform: scale(0.85);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    transition: transform var(--transition-medium);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    transition: opacity var(--transition-medium);
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: inline-flex;
    }
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition-medium);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 105;
    transition: right var(--transition-medium);
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-dark);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.mobile-menu-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: color var(--transition-fast);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: var(--color-primary);
}

.mobile-menu-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.mobile-menu-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: var(--color-light);
    border-radius: 8px;
    font-weight: 600;
    color: var(--color-dark);
    transition: all var(--transition-fast);
}

.mobile-menu-action:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* CTA Pulse Animation */
@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 140, 0, 0);
    }
}

.cta-pulse {
    animation: ctaPulse 2s infinite;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Welcome Section */
.welcome-section {
    background-color: var(--color-white);
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.welcome-content h2 {
    margin-bottom: 1.5rem;
}

.welcome-content p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.welcome-content .btn {
    margin-top: 1rem;
}

/* Services Section */
.services-section {
    background-color: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.services-cta {
    text-align: center;
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: var(--color-white);
}

.benefits-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--color-border);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.affiliations {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.affiliations h3 {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.affiliation-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.affiliation-logos img {
    max-height: 60px;
    width: auto;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.affiliation-logos img:hover {
    opacity: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

.cta-section .btn:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
    box-shadow: none;
}

/* ========================================
   Services Page Specific
   ======================================== */
.detailed-services-section {
    background-color: var(--color-white);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
}

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

@media (min-width: 768px) {
    .service-detail {
        grid-template-columns: 120px 1fr;
        gap: 3rem;
        align-items: start;
    }
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .service-detail-icon {
        margin: 0;
    }
}

.service-detail-icon img {
    max-width: 100%;
    max-height: 100%;
}

.service-detail-content h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.service-detail-content > p {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.service-detail-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.service-detail-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
}

.service-detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Process Section */
.process-section {
    background-color: var(--color-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.process-step::after {
    content: '';
    display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .process-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -1.5rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: var(--color-primary);
        display: block;
    }
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ========================================
   About Page Specific
   ======================================== */
.story-section {
    background-color: var(--color-white);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* Values Section */
.values-section {
    background-color: var(--color-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.value-card p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    background-color: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--color-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    margin-bottom: 0.25rem;
}

.team-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Affiliations Section */
.affiliations-section {
    background-color: var(--color-light);
}

.affiliations-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.affiliations-logos img {
    max-height: 80px;
    width: auto;
    transition: transform var(--transition-medium);
}

.affiliations-logos img:hover {
    transform: scale(1.1);
}

/* ========================================
   Contact Page Specific
   ======================================== */
.contact-info-section {
    background-color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-light);
    border-radius: 12px;
    transition: all var(--transition-medium);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.contact-card p,
.contact-card a {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.contact-card a {
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--color-primary);
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--color-light);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .form-container {
        padding: 2rem 1.5rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--color-dark);
}

.form-group .required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .contact-form .btn {
        width: 100%;
    }
}

/* Map Section */
.map-section {
    background-color: var(--color-white);
    padding-bottom: 0;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

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

.footer-col h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

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

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

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

.social-link svg {
    width: 20px;
    height: 20px;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-badges img {
    max-height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.trust-badges img:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

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

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

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }

.values-grid .value-card:nth-child(1) { transition-delay: 0s; }
.values-grid .value-card:nth-child(2) { transition-delay: 0.1s; }
.values-grid .value-card:nth-child(3) { transition-delay: 0.2s; }
.values-grid .value-card:nth-child(4) { transition-delay: 0.3s; }

.team-grid .team-card:nth-child(1) { transition-delay: 0s; }
.team-grid .team-card:nth-child(2) { transition-delay: 0.15s; }
.team-grid .team-card:nth-child(3) { transition-delay: 0.3s; }

.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .hero-bg {
        transform: none !important;
    }
    
    .service-card:hover,
    .value-card:hover,
    .team-card:hover {
        transform: none;
    }
    
    .cta-pulse {
        animation: none;
    }
    
    .progress-bar {
        display: none;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
