@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Soft Pastel Color Palette (softened purple tones) */
    --primary: #8C7BF0;
    /* softer purple */
    --primary-light: #B9A6F8;
    /* lighter stop */
    --primary-lighter: #DCCFFB;
    --primary-lightest: #F3F0FF;
    --accent: #FFB3D9;
    --bg-dark: #1a1a1a;
    --bg-darker: #0f0f0f;
    --bg-cream: #FFFACD;
    --bg-light-cream: #FFF9E6;
    --text-dark: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #666666;
    --text-light: #999999;
    --border: #FFB3D9;
    --border-dark: var(--primary);
    --card-bg: #FFF9E6;
    --card-hover: #FFE5E5;
}

body {
    font-family: 'Sora', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: white;
}

/* Ensure primary site headings are consistently black for clarity
   Footer headings keep their own color via more specific selectors. */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #1a1a1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    position: absolute;
    left: 0px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 72px;
}

.mobile-menu-btn {
    position: absolute;
    right: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Sora', sans-serif;
}

.cta-nav:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(123, 104, 238, 0.25);
}

/* Mobile menu button - hidden by default */
.mobile-menu-btn {
    display: none;
}

/* Hero Section - Professional Modern Design */
.hero {
    min-height: 100vh;
    background: #ffffff;
    padding: 140px 80px 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-gradient {
    /* removed the split-right gradient so hero remains a single consistent background */
    display: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
    gap: 80px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
    letter-spacing: -2px;
}

.hero-highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #666666;
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 100;
    padding: 0;
    margin-top: 12px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 36px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Sora', sans-serif;
    position: relative;
    z-index: 101;
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 18px 36px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Sora', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 101;
    pointer-events: auto;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    padding: 0;
    animation: float 6s ease-in-out infinite;
    box-shadow: none;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

/* Ensure embedded Lottie SVG fills the container and blends with hero background */
.hero-main-image svg,
#lottie-animation svg {
    width: 100% !important;
    height: 100% !important;
}

#lottie-animation {
    width: 100%;
    height: 100%;
}

/* Responsive Updates */
@media (max-width: 1400px) {
    .hero-visual {
        margin-right: -20px;
    }

    .creative-showcase {
        width: 650px;
        height: 650px;
        transform: scale(1);
    }
}

@media (max-width: 1200px) {
    .hero-container {
        gap: 50px;
    }

    .hero-content {
        max-width: 550px;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-visual {
        margin-right: 0;
    }

    .creative-showcase {
        width: 550px;
        height: 550px;
    }
}

@media (max-width: 968px) {
    .hero {
        padding: 120px 40px 60px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-container {
        max-width: 450px;
        height: 450px;
        padding: 40px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 24px 50px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 16px 24px;
    }

    .hero-image-container {
        max-width: 100%;
        height: 350px;
        padding: 30px;
    }
}

/* Founders Scribble Underline */
.founders-text {
    position: relative;
    display: inline-block;
}

.founders-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #FFB3D9;
    border-radius: 2px;
}

/* Services Section */
.services {
    padding: 80px 40px;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a; /* force section headings to black for consistency */
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.7;
}

/* New Services Grid - 3 Column Layout */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Service Card - Interactive Expand/Collapse */
.service-card-new {
    background: var(--bg-light-cream);
    border: 1px solid #e0e8e5;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(47, 93, 84, 0.06);
    overflow: hidden;
    cursor: pointer;
    width: 280px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Hide description and learn more by default */
.service-card-new p,
.service-card-new .service-learn-more {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Hover state - expand card */
.service-card-new:hover {
    width: 320px;
    height: 240px;
    background: var(--bg-light-cream);
    border: 2px solid #2F5D54;
    box-shadow: 0 12px 32px rgba(47, 93, 84, 0.15);
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
    padding: 32px 28px;
}

/* Show content on hover */
.service-card-new:hover p,
.service-card-new:hover .service-learn-more {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Icon rotation on hover */
.service-card-new:hover .service-icon-wrapper svg {
    transform: rotate(360deg);
    transition: transform 0.4s ease;
}

/* Badge color change on hover */
.service-card-new:hover .service-badge {
    background: #E8F07B;
    color: #2F5D54;
}

/* Learn more link styling */
.service-learn-more {
    display: inline-block;
    margin-top: 16px;
    color: #2F5D54;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-learn-more:hover {
    color: #3A7266;
    transform: translateX(4px);
}

/* Service Icon Wrapper */
.service-icon-wrapper {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-icon-wrapper svg {
    transition: transform 0.3s ease;
}



/* Service Badge - Teal Circle */
.service-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--primary);
    color: var(--bg-cream);
    font-size: 1.25rem;
    font-weight: 700;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(1, 62, 55, 0.3);
}

/* Service Card Title */
.service-card-new h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Service Card Description */
.service-card-new p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

/* Responsive for Services */
@media (max-width: 968px) {
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-card-new {
        padding: 32px 24px;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 640px) {
    .services-grid-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-new {
        padding: 28px 24px;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .service-badge {
        width: 42px;
        height: 42px;
        font-size: 1.125rem;
        top: 20px;
        right: 20px;
    }
}

/* Portfolio Section */
.portfolio-preview {
    padding: 80px 40px;
    background: white;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 80px;
}

.portfolio-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.portfolio-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    font-weight: 300;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    position: relative;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 32px 24px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.portfolio-overlay p {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 300;
}

.portfolio-cta {
    text-align: center;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 100px 40px;
    background: white;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.features-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Feature Card Color Variants */
.feature-purple {
    background: linear-gradient(135deg, #E8E4F3 0%, #F5F3FA 100%);
}

.feature-purple:hover {
    background: linear-gradient(135deg, #DED8EB 0%, #EBE8F5 100%);
}

.feature-pink {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFF0F0 100%);
}

.feature-pink:hover {
    background: linear-gradient(135deg, #FFD6D6 0%, #FFE5E5 100%);
}

.feature-yellow {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF0 100%);
}

.feature-yellow:hover {
    background: linear-gradient(135deg, #FFF4D6 0%, #FFF9E6 100%);
}

.feature-green {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F1 100%);
}

.feature-green:hover {
    background: linear-gradient(135deg, #D4EDD6 0%, #E8F5E9 100%);
}

.feature-orange {
    background: linear-gradient(135deg, #FFE8D9 0%, #FFF3E9 100%);
}

.feature-orange:hover {
    background: linear-gradient(135deg, #FFD9C2 0%, #FFE8D9 100%);
}

.feature-blue {
    background: linear-gradient(135deg, #E3F2FD 0%, #F0F7FD 100%);
}

.feature-blue:hover {
    background: linear-gradient(135deg, #D1E7FB 0%, #E3F2FD 100%);
}

.feature-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-illustration {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.feature-illustration img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-illustration img {
    transform: scale(1.15) translateY(-8px);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

/* Responsive Design for Features */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 20px;
    }

    .features-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        min-height: 280px;
        padding: 30px;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .feature-illustration {
        padding: 20px;
    }

    .feature-illustration img {
        width: 150px;
        height: 150px;
    }
}

/* About Section */
.about {
    padding: 80px 40px;
    background: linear-gradient(135deg, #E3F2FD 0%, #F0F7FD 100%);
    border-left: none;
}

.about .container {
    max-width: 1200px;
    /* Controls the width */
    margin: 0 auto;
    /* Centers it with equal space on both sides */
    padding: 0 40px;
    /* Equal padding left and right */
}

.about-content {
    width: 100%;
}

.about-text {
    width: 100%;
}

.about-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.about-text h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: left;
    font-size: 1.0625rem;
}


.about-stats {
    display: flex;
    gap: 48px;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat p {
    font-size: 0.9375rem;
    color: var(--text-gray);
    font-weight: 300;
}

.about-image-frame {
    background: white;
    border-radius: 50%;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.06);
}

/* Contact Section */
.contact {
    padding: 100px 40px;
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F1 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-info>p {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 48px;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(34, 34, 34, 0.08);
    border: 2px solid #1a1a1a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 0.9375rem;
    transition: all 0.3s;
    background: white;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.form-group textarea {
    resize: vertical;
}

.btn-primary.full-width {
    width: 100%;
    margin-top: 12px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 80px 40px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.footer-column ul li {
    margin-bottom: 0;
}

.footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s;
    font-weight: 300;
}

.footer-column ul li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #999999;
    font-size: 0.875rem;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 968px) {

    .hero-container,
    .services-grid-new,
    .portfolio-grid,
    .about-content,
    .contact-wrapper,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 60px;
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 48px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .creative-showcase {
        width: 400px;
        height: 400px;
        margin: 0 auto;
    }

    .nav-links {
        display: none;
    }

    .container,
    .nav-container {
        padding: 0 24px;
    }

    .hero {
        padding: 100px 24px 80px;
    }

    .services,
    .portfolio-preview,
    .about,
    .contact {
        padding: 60px 24px;
    }

    .creative-showcase {
        margin-top: 40px;
        width: 700px;
        height: 700px;
        padding: 35px;
    }

    .tech-heading {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .floating-elements {
        gap: 20px;
    }

    .floating-element {
        width: 60px;
        height: 60px;
    }

    .doodle-elements {
        opacity: 0.7;
    }
}

/* Standard desktop screens */
@media (min-width: 768px) and (max-width: 1439px) {
    .hero-buttons {
        gap: 20px;
        margin-top: 16px;
        position: relative;
        z-index: 10;
    }

    .btn-primary {
        min-width: 180px;
        padding: 16px 32px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        z-index: 10;
        display: inline-block;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Large desktop screens */
@media (min-width: 1440px) {
    .hero-buttons {
        gap: 20px;
        margin-top: 16px;
    }

    .btn-primary {
        padding: 16px 36px;
        font-size: 18px;
        min-width: 180px;
        position: relative;
        z-index: 10;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 16px 24px;
    }

    .creative-showcase {
        margin-top: 30px;
        text-align: center;
        width: 450px;
        height: 450px;
        padding: 28px;
    }

    .tech-heading {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .floating-elements {
        gap: 15px;
        justify-content: center;
    }

    .floating-element {
        width: 50px;
        height: 50px;
    }

    .doodle-elements {
        opacity: 0.5;
    }

    .founders-text::after {
        height: 3px;
        bottom: -8px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--border);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-body {
    padding: 30px;
}

.modal-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.modal-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.modal-details h3,
.modal-process h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.modal-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-features li:last-child {
    border-bottom: none;
}

.modal-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.process-step {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.process-step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 12px;
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.modal-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.modal-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Sora', sans-serif;
}

.modal-btn.btn-primary {
    background: var(--primary);
    color: white;
}

.modal-btn.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 74, 0.25);
}

.modal-btn.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.modal-btn.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

/* Modal Mobile Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px 20px 15px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-description {
        font-size: 1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .modal-cta {
        flex-direction: column;
    }

    .modal-btn {
        width: 100%;
    }
}

/* ============================================
   PORTFOLIO SECTION - FULL-WIDTH SCROLL REVEAL
   Inspired by MetaLab with Coral/Peach Theme
   ============================================ */

/* Portfolio Grid - Full-Width Rows Stacked */
.portfolio-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Portfolio Section - Each Project in One Full Row */
.portfolio-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.portfolio-section:nth-child(odd) {
    background: linear-gradient(135deg, #FFE8D9 0%, #FFF3E9 100%);
}

.portfolio-section:nth-child(even) {
    background: linear-gradient(135deg, #E8E4F3 0%, #F5F3FA 100%);
}

/* Project Container - Content and Image Side by Side */
.portfolio-project {
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    opacity: 1;
    transition: opacity 0.6s ease-out;
}

/* Project Content - Left Side */
.portfolio-content {
    flex: 1;
    max-width: 500px;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease-out;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Header Section */
.portfolio-header-section {
    text-align: left;
    margin-bottom: 5px;
}

.portfolio-featured-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Description */
.portfolio-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Technology Stack - Horizontal Layout Below Description */
.portfolio-tech-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.portfolio-tech-stack span {
    background: rgba(47, 93, 84, 0.08);
    color: var(--text-gray);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(47, 93, 84, 0.1);
}

.portfolio-tech-stack span:hover {
    background: var(--primary);
    color: var(--bg-cream);
    border-color: var(--primary);
}

/* Project Mockup - Right Side */
.portfolio-mockup {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

/* Show image on hover */
.portfolio-section:hover .portfolio-mockup,
.portfolio-project:hover .portfolio-mockup {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.portfolio-mockup-wrapper {
    position: relative;
    filter: drop-shadow(0 10px 30px rgba(47, 93, 84, 0.15));
    transition: all 0.5s ease;
}

.portfolio-section:hover .portfolio-mockup-wrapper,
.portfolio-project:hover .portfolio-mockup-wrapper {
    filter: drop-shadow(0 15px 40px rgba(47, 93, 84, 0.25));
}

.portfolio-image-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.portfolio-device-image {
    max-width: 280px;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.5s ease;
}

/* Smaller image for ClientHub */
.clienthub-image {
    max-height: 380px;
}

/* Alternating Row Backgrounds */
.portfolio-grid .portfolio-section:nth-child(1) {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFF0F0 100%);
}

.portfolio-grid .portfolio-section:nth-child(2) {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF0 100%);
}

.portfolio-grid .portfolio-section:nth-child(3) {
    background: linear-gradient(135deg, #E8E4F3 0%, #F5F3FA 100%);
}

/* Responsive Design */
@media (max-width: 968px) {
    .portfolio-section {
        padding: 60px 40px;
    }

    .portfolio-project {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }

    .portfolio-content {
        max-width: 100%;
    }

    .portfolio-mockup {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .portfolio-title {
        font-size: 28px;
    }

    .portfolio-device-image {
        max-height: 380px;
    }
}

@media (max-width: 640px) {
    .portfolio-section {
        padding: 50px 25px;
    }

    .portfolio-title {
        font-size: 24px;
    }

    .portfolio-description {
        font-size: 13px;
    }

    .portfolio-tech-stack span {
        font-size: 12px;
    }

    .portfolio-device-image {
        max-height: 320px;
    }
}

/* Enhanced About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    width: 100%;
}

.about-text {
    width: 100%;
    text-align: left;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Enhanced Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
}

.contact-details-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.contact-item-horizontal {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #252525 0%, #1a1a1a 100%);
    border-radius: 12px;
    border: 1px solid #404040;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lightest);
    border-radius: 12px;
}

.contact-text h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-text p,
.contact-text a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #404040;
}

.contact-form h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-top: 16px;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .contact-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }

    .contact-details-horizontal {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 30px 0;
    }

    .contact-item-horizontal {
        padding: 16px;
    }

    .contact-form-wrapper {
        padding: 30px;
        margin: 0;
    }
}

/* Footer Enhancements */
.footer-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-contact p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-main {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        margin-top: 16px;
        padding-top: 16px;
    }
}

/* Form Message Styles */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.form-message-success {
    background: rgba(67, 233, 123, 0.15);
    border: 1px solid rgba(67, 233, 123, 0.4);
    color: #1a7a3e;
}

.form-message-error {
    background: rgba(255, 107, 74, 0.15);
    border: 1px solid rgba(255, 107, 74, 0.4);
    color: #c93d1f;
}

/* View More Projects Button */
.view-more-projects-container {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.view-more-projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 18px 36px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 93, 84, 0.2);
    font-family: 'Sora', sans-serif;
}

.view-more-projects-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 104, 238, 0.3);
}

.view-more-projects-btn svg {
    transition: transform 0.3s ease;
}

.view-more-projects-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive Design for View More Button */
@media (max-width: 768px) {
    .view-more-projects-container {
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .view-more-projects-btn {
        padding: 16px 30px;
        font-size: 1rem;
    }
}

/* View More Projects Text Link */
.view-more-text {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Sora', sans-serif;
    border-bottom: 2px solid transparent;
}

.view-more-text:hover {
    color: var(--primary-light);
    border-bottom-color: var(--primary-light);
}

/* Projects Page Styles */
.projects-header {
    padding: 100px 40px 60px;
    background: white;
    text-align: center;
}

.projects-header .section-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #5E4DB2;
    letter-spacing: -0.5px;
}

.projects-header .section-header p {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   ANIMATED SERVICES SECTION - How We Help You
   ============================================ */

.services-animated {
    padding: 100px 60px;
    background: linear-gradient(135deg, #E8E4F3 0%, #E8F5E9 100%);
    position: relative;
    overflow: hidden;
}

.services-animated-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header-animated {
    text-align: center;
    margin-bottom: 80px;
}

.services-main-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.services-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 400;
}

/* Services Grid - 2x2 Layout */
.services-grid-animated {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Card - Expandable on Hover */
.service-card-animated {
    background: white;
    border: 2px solid #E8F07B;
    border-radius: 16px;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card-animated:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(232, 240, 123, 0.3);
    background: rgba(255, 255, 255, 0.95);
    min-height: 280px;
    border-color: var(--primary);
}

.service-card-animated.hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(232, 240, 123, 0.3);
    background: rgba(255, 255, 255, 0.95);
    min-height: 280px;
    border-color: var(--primary);
}

/* Service Content */
.service-card-content {
    position: relative;
    z-index: 2;
}

/* Icon - Hidden by Default */
.service-icon {
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.service-card-animated:hover .service-icon {
    opacity: 1;
    transform: translateY(0);
}

/* Service Title */
.service-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card-animated:hover .service-title {
    font-size: 28px;
}

/* Description - Hidden by Default */
.service-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease 0.2s;
    margin-bottom: 0;
}

.service-card-animated:hover .service-description {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 25px;
}

.service-description p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Learn More Link - Hidden by Default */
.service-learn-more {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.3s;
    border-bottom: 2px solid transparent;
}

.service-card-animated:hover .service-learn-more {
    opacity: 1;
    transform: translateY(0);
}

.service-learn-more:hover {
    border-bottom-color: var(--primary);
}

/* Service Number Badge */
.service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--bg-light-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    z-index: 1;
    transition: all 0.5s ease;
}

.service-card-animated:hover .service-number {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(47, 93, 84, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid-animated {
        gap: 25px;
    }

    .service-card-animated {
        padding: 40px 35px;
    }

    .services-main-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .services-animated {
        padding: 80px 30px;
    }

    .services-grid-animated {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-main-title {
        font-size: 36px;
    }

    .service-card-animated {
        min-height: 160px;
    }

    .service-card-animated:hover {
        min-height: 350px;
    }

    .service-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .services-animated {
        padding: 60px 20px;
    }

    .services-main-title {
        font-size: 28px;
    }

    .services-subtitle {
        font-size: 16px;
    }

    .service-card-animated {
        padding: 30px 25px;
    }

    .service-title {
        font-size: 24px;
    }

    .service-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}