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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

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

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.6) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-buttons .btn {
    min-width: 280px;
    text-align: center;
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
    }
    100% {
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    }
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
    background: linear-gradient(135deg, #ff5252 0%, #ff7043 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-shadow: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: white;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border-color: white;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8f9fa;
}

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

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

.highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

/* Case Studies Section */
.case-studies {
    background: white;
}

.case-study {
    margin-bottom: 4rem;
    padding: 0;
    background: #f8f9fa;
    border-radius: 20px;
    border-left: 5px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

/* Case Study 1: Image-Content (default) - no changes needed */

/* Case Study 2: Content-Image */
.case-study:nth-child(3) {
    grid-template-columns: 1fr 1fr;
}

.case-study:nth-child(3) .case-study-image {
    order: 2;
}

.case-study:nth-child(3) .case-study-content {
    order: 1;
}

/* Case Study 3: Image-Content (back to default) */
.case-study:nth-child(4) {
    grid-template-columns: 1fr 1fr;
}

.case-study:nth-child(4) .case-study-image {
    order: 1;
}

.case-study:nth-child(4) .case-study-content {
    order: 2;
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-study-image {
    position: relative;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.case-study-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.case-study:hover .case-study-img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 3rem;
}

.case-study-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.case-study-subtitle {
    font-size: 1.25rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-description {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.case-study-details p {
    margin-bottom: 1.5rem;
    color: #444;
    line-height: 1.7;
}

.case-study-results {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.case-study-results li {
    margin-bottom: 1rem;
    color: #444;
    line-height: 1.6;
}

.case-study-outcome {
    font-weight: 600;
    color: #1a1a1a;
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

/* Highlights Section */
.highlights {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

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

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.highlight-label {
    font-size: 1rem;
    opacity: 0.9;
}

.toolkit {
    text-align: center;
}

.toolkit-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.toolkit-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.toolkit-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.toolkit-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* CTA Section */
.cta {
    background-image: url('./photos/Footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.cta-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin: 0 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #ccc;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.consulting-cta {
    padding-top: 2rem;
    border-top: 1px solid #333;
    max-width: 500px;
    margin: 0 auto;
}

.consulting-text {
    color: #ccc;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Footer - Using inline styles for reliability */

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fade in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        min-width: 250px;
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .case-study {
        grid-template-columns: 1fr;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    
    .case-study-image {
        min-height: 200px;
        order: -1;
        width: 100%;
    }
    
    .case-study-content {
        order: 1;
        width: 100%;
    }
    
    /* Mobile: All case studies show image first, content second for better readability */
    .case-study:nth-child(3) .case-study-image {
        order: -1;
    }
    
    .case-study:nth-child(3) .case-study-content {
        order: 1;
    }
    
    .case-study:nth-child(4) .case-study-image {
        order: -1;
    }
    
    .case-study:nth-child(4) .case-study-content {
        order: 1;
    }
    
    .case-study-content {
        padding: 2rem;
        margin: 0;
    }
    
    .case-study-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .case-study-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .case-study-description {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .toolkit-tags {
        gap: 0.5rem;
    }
    
    .toolkit-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        min-width: 200px;
        font-size: 0.9rem;
        padding: 0.9rem 1.2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .case-study-content {
        padding: 1.5rem;
    }
    
    .case-study-image {
        min-height: 150px;
    }
    
    .highlight-number {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    /* Footer styles handled by inline styles */
}
