/*  CSS Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --gold-color: #f1c40f;
    --text-dark: #2d3748;
    --text-light: #718096;
    --background-light: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gold: linear-gradient(135deg, #f1c40f, #f39c12);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.8)),
        url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.6s;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--gold-color);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--background-light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.testimonial-content {
    position: relative;
    margin-bottom: 30px;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    color: var(--text-dark);
    padding-left: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.client-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.client-details p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.client-industry span {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Industries Section */
.industries-section {
    padding: 100px 0;
    background: var(--white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.industry-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.industry-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.6s ease;
}

.industry-card:hover::before {
    left: 0;
}

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

.industry-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.industry-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.industry-card p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.client-count {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Clients Section */
.clients-section {
    padding: 100px 0;
    background: var(--background-light);
}

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

.client-logo {
    background: var(--white);
    padding: 40px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
}

.client-logo.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

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

.logo-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.logo-placeholder span {
    font-weight: 600;
    font-size: 0.9rem;
}

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

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.8;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 500;
}

.cta-feature i {
    color: var(--gold-color);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

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

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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animations */
.testimonials-grid .testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonials-grid .testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonials-grid .testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.industries-grid .industry-card:nth-child(1) {
    animation-delay: 0.1s;
}

.industries-grid .industry-card:nth-child(2) {
    animation-delay: 0.2s;
}

.industries-grid .industry-card:nth-child(3) {
    animation-delay: 0.3s;
}

.industries-grid .industry-card:nth-child(4) {
    animation-delay: 0.4s;
}

.industries-grid .industry-card:nth-child(5) {
    animation-delay: 0.5s;
}

.industries-grid .industry-card:nth-child(6) {
    animation-delay: 0.6s;
}

.industries-grid .industry-card:nth-child(7) {
    animation-delay: 0.7s;
}

.industries-grid .industry-card:nth-child(8) {
    animation-delay: 0.8s;
}

.clients-grid .client-logo:nth-child(1) {
    animation-delay: 0.1s;
}

.clients-grid .client-logo:nth-child(2) {
    animation-delay: 0.2s;
}

.clients-grid .client-logo:nth-child(3) {
    animation-delay: 0.3s;
}

.clients-grid .client-logo:nth-child(4) {
    animation-delay: 0.4s;
}

.clients-grid .client-logo:nth-child(5) {
    animation-delay: 0.5s;
}

.clients-grid .client-logo:nth-child(6) {
    animation-delay: 0.6s;
}

.clients-grid .client-logo:nth-child(7) {
    animation-delay: 0.7s;
}

.clients-grid .client-logo:nth-child(8) {
    animation-delay: 0.8s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2.4rem;
    }

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

    .testimonials-grid,
    .industries-grid,
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

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

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonials-grid,
    .industries-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
    }

    .client-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

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

    .testimonial-card,
    .industry-card,
    .client-logo {
        padding: 30px 20px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {
    .hero-section {
        background: white !important;
        color: black !important;
        height: auto;
        min-height: auto;
    }

    .btn {
        display: none;
    }

    .cta-section {
        background: white !important;
        color: black !important;
    }

    .stat-number {
        color: black !important;
    }
}