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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Custom Properties */
:root {
    --primary-blue: #164e63;
    --accent-teal: #0891b2;
    --warm-orange: #ea580c;
    --neutral-100: #f8fafc;
    --neutral-200: #e2e8f0;
    --neutral-800: #1e293b;
    --gradient-primary: linear-gradient(135deg, #164e63 0%, #0891b2 100%);
    --gradient-warm: linear-gradient(45deg, #ea580c 0%, #f97316 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--neutral-800);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width 0.3s ease;
}

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

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--neutral-800);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Hero Section - Diagonal Split */
.hero {
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-content {
    flex: 1;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
    color: white;
    /* clip-path: polygon(0 0, 85% 0, 75% 100%, 0 100%); */
    position: relative;
}

.hero-text {
    max-width: 600px;
    margin-left: 10%;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.8s;
}

.cta-button {
    background: var(--warm-orange);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 1.1s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

.hero-image {
    flex: 1;
    background: url('images/banner.jpg') center/cover;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 78, 99, 0.1);
}

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

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Services Section - Floating Cards */
.services {
    padding: 6rem 2rem;
    background: var(--neutral-100);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, white, var(--neutral-100));
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title p {
    font-size: 1.2rem;
    color: #64748b;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    cursor: pointer;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    left: 100%;
}

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

.service-card:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}

.service-card:nth-child(even) {
    animation: float 6s ease-in-out infinite reverse;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-warm);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.service-card.expanded .service-details {
    max-height: 300px;
    margin-top: 1rem;
    opacity: 1;
}

.service-details p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #475569;
}

.service-price {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Process Wheel Section */
.process {
    padding: 6rem 2rem;
    background: white;
    position: relative;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.process-wheel {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 4rem auto;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: var(--shadow-soft);
}

.process-step {
    position: absolute;
    width: 100px;
    height: 100px;
    background: white;
    border: 3px solid var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.process-step:hover {
    transform: scale(1.1) translate(0, 0);
    box-shadow: 0 15px 30px rgba(8, 145, 178, 0.3);
    border-color: var(--warm-orange);
}

.step-content {
    text-align: center;
    color: var(--primary-blue);
}

.step-number {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.step-text {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Position steps around the circle */
.process-step-1 { top: 0; left: 50%; transform: translateX(-50%); }
.process-step-2 { top: 13%; right: 2%; }
.process-step-3 { bottom: 25%; right: 0; }
.process-step-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.process-step-5 { bottom: 25%; left: 0; }
.process-step-6 { top: 13%; left: 0; }

.process-description {
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.process-description h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.process-description p {
    color: #64748b;
    line-height: 1.6;
}

/* Pain Points Flip Cards */
.pain-points {
    padding: 6rem 2rem;
    background: var(--neutral-100);
}

.pain-points-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 250px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.flip-card-front {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.flip-card-back {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    transform: rotateY(180deg);
}

.flip-card-front h3,
.flip-card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.flip-card-front p,
.flip-card-back p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Timeline Section */
.timeline {
    padding: 6rem 2rem;
    background: white;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 200px;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 54%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 54%;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--warm-orange);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--accent-teal);
    z-index: 10;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Testimonials Carousel */
.testimonials {
    padding: 6rem 2rem;
    background: var(--primary-blue);
    color: white;
    overflow: hidden;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover;
    opacity: 0.1;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonials-track {
    display: flex;
    animation: slide 30s infinite linear;
    gap: 2rem;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: 400px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--neutral-100);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.contact-form h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    height: 50px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--neutral-800);
    color: white;
    padding: 3rem 2rem 1rem;
}

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

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-teal);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-teal);
}

.footer-section p {
    color: #e2e8f0;
    line-height: 1.6;
}

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

.social-link {
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--neutral-800);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
    margin-right: 2rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-btn.accept {
    background: var(--accent-teal);
    color: white;
}

.cookie-btn.accept:hover {
    background: #0369a1;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn.decline:hover {
    background: white;
    color: var(--neutral-800);
}

/* Counter Animation */
.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--warm-orange);
    display: inline-block;
}

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

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

/* Loading animation for delayed elements */
.fade-in[data-delay="100"] { transition-delay: 0.1s; }
.fade-in[data-delay="200"] { transition-delay: 0.2s; }
.fade-in[data-delay="300"] { transition-delay: 0.3s; }
.fade-in[data-delay="400"] { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text {
        margin-left: 5%;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .process-wheel {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        box-shadow: var(--shadow-soft);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        flex-direction: column;
        height: auto;
    }

    .hero-content {
        clip-path: none;
        padding: 6rem 2rem 2rem;
    }

    .hero-text {
        margin-left: 0;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        min-height: 300px;
    }

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

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

    .process-wheel {
        width: 300px;
        height: 300px;
    }

    .wheel-center {
        width: 100px;
        height: 100px;
        font-size: 1rem;
    }

    .process-step {
        width: 80px;
        height: 80px;
    }

    .flip-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        padding: 2rem;
        text-align: left;
        margin-left: 60px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .testimonial-card {
        min-width: 300px;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }

    .cookie-content {
        margin-right: 0;
    }

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

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem 1rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .process-wheel {
        width: 250px;
        height: 250px;
    }
}


.text-wrapper h2, .text-wrapper h3{
    margin-top: 20px;
    margin-bottom: 10px;
}

.text-wrapper h1{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}
.text-wrapper h2{
    font-size: 1.5rem;
}

.text-wrapper{
    margin: 30px auto;
    max-width: 1200px;
    padding: 20px;
}
.text-wrapper ul{
    list-style: initial!important;
}

.text-wrapper p{
    margin-bottom: 10px;
}