/* Landing Page Styles for M3D-Print */

/* ===== GENERAL SECTION STYLES ===== */
.section-title-container {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-divider {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

/* ===== HERO SECTION ===== */
.fullscreen-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../images/Assets/home.webp');
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero h2 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap; /* For mobile responsiveness */
}

.primary-btn, .secondary-btn {
    min-width: 160px;
    width: 180px;
    height: 50px;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.primary-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* Christmas Hero Button - Webshop */
.christmas-hero-btn {
    background: linear-gradient(135deg, #c41e3a 0%, #165b33 100%) !important;
    background-size: 200% 200% !important;
    color: white !important;
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.3) !important;
    animation: gradientShift 4s ease infinite, textGlow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.christmas-hero-btn:hover {
    background: linear-gradient(135deg, #c41e3a 0%, #165b33 100%) !important;
    background-size: 200% 200% !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(196, 30, 58, 0.4) !important;
}

/* Animated gradient keyframes for webshop button */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Text glow animation for webshop button */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 
                     0 0 25px rgba(255, 255, 255, 0.5);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    margin: 0 auto;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Touch finger for mobile devices */
.touch-finger {
    display: none; /* Hidden by default, shown on mobile */
    animation: fingerBounceSync 2s infinite; /* Synchronized animation */
    margin: 0 auto;
    text-align: center;
}

.touch-finger .material-icons {
    font-size: 32px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: block;
    line-height: 1;
}

/* Default: Show mouse on desktop */
.mouse {
    display: block;
}

.touch-finger {
    display: none;
}

.arrow-container {
    margin-top: 5px;
    text-align: center;
}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Finger bounce animation for mobile - synchronized with mouse/arrow */
@keyframes fingerBounceSync {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* ===== FEATURES SECTION ===== */
#features {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f8ff;
    border-radius: 50%;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-icon .material-icons {
    font-size: 40px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.alternate-section {
    padding: 5rem 0; /* Match other sections - no horizontal padding */
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Add horizontal padding to inner container */
}

.service-card {
    display: flex;
    margin-bottom: 5rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5rem;
}

.service-card.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1,175,254,0.3) 0%, rgba(1,136,194,0.3) 100%);
}

.service-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.content-divider {
    height: 3px;
    width: 50px;
    background: var(--primary-color);
    margin: 0 auto 1.5rem;
}

.service-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.highlight-text {
    color: var(--secondary-color);
    font-weight: 600;
}

.service-features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.service-features li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.service-features li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-btn {
    display: block;
    align-self: center;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 180px;
    margin: 1.5rem auto 0;
    text-align: center;
}

.service-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.modeling-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.tool-badge {
    background: #f0f8ff;
    color: var(--secondary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    display: inline-block;
}

/* ===== ORDER PROCESS SECTION ===== */
#order {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.process-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 60px;
    height: calc(100% - 120px);
    width: 4px;
    background: var(--primary-color);
    opacity: 0.3;
    border-radius: 2px;
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(1,175,254,0.3);
    z-index: 2;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-number:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.step-content {
    margin-left: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex-grow: 1;
}

/* No hover effect in original version */

.step-icon {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* No hover effect on icon */

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.step-feature {
    background: linear-gradient(to right, #f0f8ff, #e6f2ff);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid rgba(1,175,254,0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.step-feature:hover {
    background: linear-gradient(to right, #e6f2ff, #d9ebff);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.08);
    display: inline-block;
}

.order-section-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.order-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.order-form-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.order-form-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 2rem;
}

.order-form-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#order-form {
    padding: 2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1,175,254,0.2);
    outline: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 2px dashed #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: #f0f8ff;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.upload-text {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.upload-formats {
    font-size: 0.8rem;
    color: #888;
}

input[type="file"] {
    display: none;
}

.animated-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.animated-button:hover {
    background: var(--secondary-color);
}

/* ===== ABOUT SECTION ===== */
#about {
    background: #f9f9f9;
    padding: 5rem 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    flex: 1;
    text-align: center;
}

/* Mission and Founder Container - Side by Side */
.mission-founder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.mission-section {
    text-align: center;
    margin-bottom: 0; /* Remove bottom margin when side by side */
}

.mission-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.mission-content {
    max-width: 100%; /* Allow full width in grid */
    margin: 0;
}

.mission-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%; /* Match founder section height */
}

.mission-icon {
    flex: none;
}

.mission-icon img {
    width: 150px;
    height: 112px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.mission-text {
    flex: 1;
    text-align: left;
    width: 100%;
}

.mission-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== REVIEWS SECTION ===== */
#reviews {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.testimonials-container {
    text-align: center;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    height: 320px;
    margin-bottom: 1rem;
    margin: 0 auto 1rem;
    max-width: 900px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    width: 100%;
}

.testimonial-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    flex-grow: 1;
    text-align: left;
    padding: 0 15px;
}

.testimonial-quote {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.author-title {
    font-size: 0.9rem;
    color: #888;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.prev-btn, .next-btn {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.prev-btn:hover, .next-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
}

/* Contact section for contact.html page - matches order form styling */
#contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 5rem 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-info {
    flex: 1 1 350px;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-method {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-method h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-method p {
    color: #555;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--secondary-color);
}

.note-title {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.note-text {
    text-align: center;
    color: #555;
}

.contact-form-container {
    flex: 1 1 450px;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-color);
}

/* ===== ORDER CTA SECTION ===== */
.order-cta-container {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(1, 175, 254, 0.05);
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.order-cta-text {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* ===== FOUNDER SECTION ===== */
.founder-section {
    margin: 0; /* Remove margin when in grid */
    text-align: center;
}

.founder-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.founder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%; /* Match mission section height */
}

.founder-image {
    flex: none;
}

.founder-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.founder-bio {
    flex: 1;
    text-align: left;
    width: 100%;
}

.founder-bio h4 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.founder-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.founder-bio p {
    line-height: 1.7;
    color: #555;
}

@media (max-width: 768px) {
    .founder-content {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-bio {
        text-align: center;
    }
    
    /* Stack mission and founder sections on mobile */
    .mission-founder-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-text {
        text-align: center;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
      .service-card, .service-card.reverse {
        flex-direction: column;
        margin: 0 auto 3rem auto; /* Center the cards */
        max-width: 95%; /* Prevent cards from hitting edges */
    }
    
    .service-image {
        min-height: 300px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .step-number {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin: 0 auto 1.5rem;
    }
    
    .step-content {
        margin-left: 0;
        flex-direction: column;
    }
    
    .step-icon {
        width: 100%;
        height: auto;
        min-height: 120px;
        padding: 1.5rem;
    }
    
    /* No step-text-content in original version */
    
    .step-features {
        justify-content: center;
    }
    
    .step-content {
        margin-top: 1rem;
    }
    
    .timeline-line {
        display: none;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
      /* Reduce padding on mobile */
    .alternate-section {
        padding: 3rem 0; /* Match reduced mobile padding */
    }
    
    .service-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .fullscreen-hero {
        height: calc(100vh - 80px);
        min-height: calc(100vh - 80px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
      .hero-text-wrapper {
        width: 100%;
        padding: 20px;
        text-align: center;
    }
    
    /* Switch to touch finger on mobile/tablet */
    .mouse {
        display: none;
    }
    
    .touch-finger {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        margin: 0 auto;
    }
    
    .testimonials-carousel {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .fullscreen-hero {
        height: calc(100vh - 70px);
        min-height: calc(100vh - 70px);
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 0 10px;
    }
      .hero-text-wrapper {
        padding: 15px;
    }    /* Ensure touch finger is shown on small mobile */
    .mouse {
        display: none;
    }
    
    .touch-finger {
        display: block;
    }
    
    .touch-finger .material-icons {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-top: 1.5rem;
        width: 100%;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 250px;
        min-width: auto;
        padding: 14px 20px;
        font-size: 15px;
        margin: 0 auto;
    }
    
    .service-card, .service-card.reverse {
        margin: 0 auto 2rem auto;
        max-width: 98%;
    }
}

/* Enhanced centering for contact section on larger screens */
@media (min-width: 1200px) {
    .contact-container {
        justify-content: center;
        align-items: flex-start;
    }
    
    .contact-info,
    .contact-form-container {
        max-width: 500px;
    }
}

.contact-info, .contact-form-container {
    text-align: center;
}

/* Additional centering and visibility fixes */
.contact-container {
    text-align: center;
}

.contact-info, .contact-form-container {
    text-align: center;
}

/* Ensure about section text is visible */
.mission-text, .founder-bio {
    color: var(--text-color);
    opacity: 1;
}

.mission-text p, .founder-bio p {
    color: #555;
    opacity: 1;
    visibility: visible;
}

/* Fallback to ensure text is always visible - override animation opacity for text content */
.mission-section .mission-text,
.founder-section .founder-bio,
.mission-text p,
.founder-bio p,
.founder-bio h4,
.founder-role {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure the sections themselves can animate but text inside is always visible */
.mission-section.animate-in .mission-text,
.founder-section.animate-in .founder-bio {
    opacity: 1 !important;
}
