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

:root {
    --primary-color: #000000;
    --primary-dark: #1a1a1a;
    --secondary-color: #333333;
    --dark-bg: #000000;
    --dark-surface: #1a1a1a;
    --light-text: #ffffff;
    --gray-text: #666666;
    --accent-gradient: linear-gradient(135deg, #000000 0%, #333333 100%);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

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

.nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000000;
    transition: var(--transition);
}

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

.nav-link:hover {
    color: #666666;
}

.nav-link.cta-btn {
    background: #000000;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    color: white;
}

.nav-link.cta-btn::after {
    display: none;
}

.nav-link.cta-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #000000;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.05);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0.02);stop-opacity:1" /></linearGradient></defs><circle cx="100" cy="100" r="80" fill="url(%23grad)"/><circle cx="900" cy="400" r="120" fill="url(%23grad)"/><circle cx="600" cy="200" r="100" fill="url(%23grad)"/></svg>');
    opacity: 0.3;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
}

.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInLeft 1s ease;
}

.hero-logo-large {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(255, 255, 255, 0.3));
}

.hero-content {
    position: relative;
    text-align: left;
    color: white;
    padding: 2rem;
    animation: slideInRight 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: black;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* Services Section */
.services {
    padding: 8rem 0 10rem 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    padding-bottom: 2rem;
    opacity: 1 !important;
    transform: none !important;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid #e5e5e5;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.service-description {
    color: #64748b;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-description {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 12px;
    border: 2px solid #e5e5e5;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.1));
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: var(--dark-bg);
    color: white;
}

.portfolio .section-title,
.portfolio .section-subtitle {
    color: white;
}

.portfolio .section-subtitle {
    opacity: 0.8;
}

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

.portfolio-item {
    background: var(--dark-surface);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: #000000;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

/* Overlay scuro sopra l'immagine */
.portfolio-item .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    background: rgba(0, 0, 0, 0.55);
}

/* Tags centrati sopra l'overlay */
.portfolio-item .portfolio-tags {
    position: relative;
    z-index: 1;
    justify-content: center;
    margin-top: 0;
    gap: 0.6rem;
}

.portfolio-item .tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}


/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f5f5f5;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #64748b;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

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

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

.footer-text {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--dark-surface);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: var(--transition);
}

.social-link:hover {
    background: #333333;
    transform: translateY(-3px);
}

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

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border: 2px solid var(--dark-surface);
    border-radius: 8px;
    background: var(--dark-surface);
    color: white;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #ffffff;
}

.newsletter-form button {
    padding: 0.8rem;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-surface);
    color: var(--gray-text);
}

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

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
    100% {
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-logo-container {
        display: flex;
    }

    .hero-logo-large {
        max-width: 80%;
        height: auto;
    }

    .hero-content {
        text-align: center;
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

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

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

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-logo-large {
        max-width: 90%;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   MULTI-PAGE STYLES
   ======================================== */

/* Page Header */
.page-header {
    padding: 10rem 0 4rem;
    background: #ffffff;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Page */
.services-page {
    padding: 4rem 0 6rem;
    background: #ffffff;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0 0.5rem 1.8rem;
    position: relative;
    color: #64748b;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

/* About Page Styles */
.about-intro {
    padding: 4rem 0 6rem;
    background: #ffffff;
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-text {
    opacity: 0;
}

.about-intro-text.animate {
    animation: slideInLeft 0.8s ease forwards;
}

.about-intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.about-intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.about-intro-image {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.about-intro-image.animate {
    animation: slideInRight 0.8s ease forwards;
    animation-delay: 0.2s;
}

.about-intro-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.1));
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background: #f5f5f5;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid #e5e5e5;
    opacity: 0;
}

.mission-card.animate-left {
    animation: slideInLeft 0.8s ease forwards;
    animation-play-state: paused;
}

.mission-card.animate-right {
    animation: slideInRight 0.8s ease forwards;
    animation-delay: 0.2s;
    animation-play-state: paused;
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #000000;
}

.mission-card p {
    line-height: 1.8;
    color: #64748b;
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: #ffffff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.value-card {
    padding: 2.5rem;
    background: #f5f5f5;
    border-radius: 12px;
    border: 2px solid #e5e5e5;
    transition: var(--transition);
    opacity: 0;
}

.value-card.animate-left {
    animation: slideInLeft 0.8s ease forwards;
    animation-play-state: paused;
}

.value-card.animate-right {
    animation: slideInRight 0.8s ease forwards;
    animation-play-state: paused;
}

.value-card.animate-left:nth-child(1),
.value-card.animate-right:nth-child(2) {
    animation-delay: 0.1s;
}

.value-card.animate-left:nth-child(3),
.value-card.animate-right:nth-child(4) {
    animation-delay: 0.2s;
}

.value-card.animate-left:nth-child(5) {
    animation-delay: 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #000000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

.value-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Stats Alternative */
.stats-section-alt {
    padding: 4rem 0;
    background: #000000;
}

.stats-grid-alt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item-alt {
    text-align: center;
}

.stat-number-alt {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label-alt {
    display: block;
    color: #999999;
    font-size: 1rem;
}

/* Portfolio Page */
.portfolio-page {
    padding: 4rem 0 6rem;
    background: #f5f5f5;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #f5f5f5;
    color: #000000;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #e5e5e5;
}

/* Contact Page */
.contact-page {
    padding: 4rem 0 6rem;
    background: #ffffff;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #000000;
}

.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    cursor: pointer;
}

.checkbox-label a {
    color: #000000;
    text-decoration: underline;
}

/* Homepage Styles */
.services-preview {
    padding: 6rem 0;
    background: #ffffff;
}

/* Keyframes for slide animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-preview .section-header,
.services-preview .section-header * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.services-preview .section-title,
.services-preview .section-subtitle {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.services-preview .service-card-preview {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

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

.service-card-preview {
    text-align: center;
    padding: 2rem;
    opacity: 0;
}

.service-card-preview:nth-child(1) {
    animation: slideInLeft 0.8s ease forwards;
    animation-delay: 0.2s;
}

.service-card-preview:nth-child(2) {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.service-card-preview:nth-child(3) {
    animation: slideInRight 0.8s ease forwards;
    animation-delay: 0.6s;
}

.service-card-preview h3 {
    font-size: 1.4rem;
    margin: 1rem 0;
    color: #000000;
}

.service-card-preview p {
    color: #64748b;
    line-height: 1.7;
}

.about-preview {
    padding: 6rem 0;
    background: #f5f5f5;
}

.about-preview-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-preview-text {
    opacity: 0;
    animation: slideInLeft 0.8s ease forwards;
    animation-delay: 0.3s;
}

.about-preview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.about-preview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.about-preview-image {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: slideInRight 0.8s ease forwards;
    animation-delay: 0.5s;
}

.about-preview-image img {
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.1));
}

.stats-section {
    padding: 4rem 0;
    background: #000000;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item-home {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item-home:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item-home:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item-home:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item-home:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-number-home {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label-home {
    display: block;
    color: #999999;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

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

/* Responsive adjustments for multi-page */
@media (max-width: 968px) {
    .page-header {
        padding: 8rem 0 3rem;
    }

    .about-intro-content,
    .about-preview-content {
        grid-template-columns: 1fr;
    }

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

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

/* Clients Section */
.clients-section {
    padding: 5rem 0;
    background: #f8f8f8;
    overflow: hidden;
}

.clients-grid {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.clients-grid:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-width: 200px;
    transition: all 0.3s ease;
    min-height: 120px;
    border: 3px solid #000000;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.client-logo:hover {
    border-color: #333333;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.client-logo img {
    max-width: 90%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* Service Detail Sections */
.process-section {
    padding: 6rem 0;
    background: #ffffff;
}

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

.process-step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #f5f5f5;
    border-radius: 16px;
    border: 2px solid #e5e5e5;
    transition: var(--transition);
    opacity: 0;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: #000000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    opacity: 0.2;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

.process-step p {
    color: #64748b;
    line-height: 1.7;
}

.tools-section {
    padding: 6rem 0;
    background: #f5f5f5;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.tool-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid #e5e5e5;
    transition: var(--transition);
    opacity: 0;
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: #000000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tool-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.tool-card p {
    color: #64748b;
    line-height: 1.8;
}

.approach-section {
    padding: 6rem 0;
    background: #ffffff;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.approach-card {
    background: #f5f5f5;
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid #e5e5e5;
    transition: var(--transition);
    opacity: 0;
}

.approach-card:hover {
    transform: translateY(-10px);
    border-color: #000000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.approach-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.approach-card p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.approach-card p:last-child {
    margin-bottom: 0;
}

.social-approach-section {
    padding: 6rem 0;
    background: #f5f5f5;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.approach-step-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid #e5e5e5;
    transition: var(--transition);
    opacity: 0;
}

.approach-step-card:hover {
    transform: translateY(-10px);
    border-color: #000000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.approach-step-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.approach-step-card p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.approach-step-card p:last-child {
    margin-bottom: 0;
}

.branding-section {
    padding: 6rem 0;
    background: #ffffff;
}

.branding-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.branding-card {
    background: #f5f5f5;
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid #e5e5e5;
    transition: var(--transition);
    opacity: 0;
}

.branding-card:hover {
    transform: translateY(-10px);
    border-color: #000000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.branding-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.branding-card p {
    color: #64748b;
    line-height: 1.8;
}

@media (max-width: 968px) {
    .approach-grid,
    .branding-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .stats-grid-alt {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .services-grid-preview {
        grid-template-columns: 1fr;
    }

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

    .client-logo {
        min-height: 100px;
        padding: 1.5rem;
    }

    .client-logo span {
        font-size: 0.9rem;
    }

    .branding-content {
        grid-template-columns: 1fr;
    }

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