:root {
    /* Core Branding Colors */
    --primary: #84bcdd;
    --primary-dark: #2c7bac;
    --primary-light: #A3D4EE;
    --secondary: #00E5D4;
    --accent: #FFC107;
    --dark: #000000;
    --light: #FFFFFF;
    --bg-light: #f1f2f4;
    --bg-white: #ffffff;

    /* Text Colors */
    --text-dark: #212121;
    --text-main: #424242;
    --text-medium: #555555;
    --text-light: #757575;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-white: #ffffff;
    --heading-color: var(--text-white);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #84bcdd 0%, #6BA4C5 100%);
    --gradient-secondary: linear-gradient(90deg, #212121 0%, #424242 100%);
    --gradient-hero: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-cta: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-blue: linear-gradient(135deg, #3949ab, #5c6bc0);

    /* Layout & Spacing */
    --container-max-width: 1400px;
    --section-padding-large: 100px 0;
    --section-padding-medium: 80px 0;
    --section-padding-small: 50px 0;

    /* UI Elements */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-full: 50px;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* ===== CUSTOM STYLES FOR MOBILE APP PAGE ===== */

/* Hero Section */
.mobile-hero {
    background: url('/static/assets/hero.jpeg') center 40% / cover no-repeat;
    color: var(--text-white);
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
}

.mobile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

/* Dark overlay for better text readability */
.mobile-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}


.mobile-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.mobile-hero-badge i {
    color: #ffffff !important;
}

.mobile-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-white) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInDown 0.8s ease-out;
    position: relative;
    z-index: 10;
}

.highlight-text {
    color: var(--text-white);
}

.mobile-hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-white) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 10;
}

/* Mobile Device Visualization - Commented Out
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    background: #1c1c1c;
    border-radius: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.phone-screen {
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    bottom: 20px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.app-icon i {
    font-size: 2.5rem;
    color: #764ba2;
}

.floating-app {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 70px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: float-app 6s ease-in-out infinite;
}

.floating-app i {
    font-size: 1.5rem;
    color: #3949ab;
}

.floating-app span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #333;
}

.floating-app-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.floating-app-2 {
    top: 40%;
    right: -40px;
    animation-delay: 2s;
}

.floating-app-3 {
    bottom: 20%;
    left: -20px;
    animation-delay: 4s;
}

@keyframes float-app {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
} */

/* Service Cards */
/* .mobile-service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 5px solid #84bcdd;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.mobile-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3949ab, #5c6bc0);
    opacity: 0;
     transition: transform 0.5s ease;
}

.mobile-service-card:hover::before {
    transform: scaleX(1);
}

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

.mobile-service-icon {
   font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: #1c316b;
    color: white;
    box-shadow: 0 10px 20px rgba(92, 143, 214, 0.2);
} */

/* Mobile Development Service Cards - Matching Web Development Style */
.mobile-service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    height: 100%;
}

/* Top colored line on hover */
.mobile-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3949ab, #5c6bc0);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    opacity: 1;
}

.mobile-service-card:hover::before {
    transform: scaleX(1);
}

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

/* Icon styling */
.mobile-service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(92, 107, 192, 0.1), rgba(57, 73, 171, 0.1));
    color: #5c6bc0;
    box-shadow: 0 10px 20px rgba(92, 107, 192, 0.2);
    position: relative;
    z-index: 1;
}

/* Title styling */
.mobile-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a2980;
    font-weight: 600;
}

/* Description text */
.mobile-service-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Tech stack styling */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #eee;
}

.tech-stack span {
    background: #eef7ff;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #1a2980;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-stack span:hover {
    background: #1a2980;
    color: white;
    transform: translateY(-2px);
}

/* Services Section Styling */
.services-section {
    padding: var(--section-padding-medium);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
    font-weight: 700;
}

.services-section .lead {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Row and column spacing */
.row.g-4 {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.row.g-4>.col-md-6,
.row.g-4>.col-lg-4 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Animation for cards when they appear */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.mobile-service-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Staggered animation for cards */
.row .col-md-6.col-lg-4:nth-child(1) .mobile-service-card {
    animation-delay: 0.1s;
}

.row .col-md-6.col-lg-4:nth-child(2) .mobile-service-card {
    animation-delay: 0.2s;
}

.row .col-md-6.col-lg-4:nth-child(3) .mobile-service-card {
    animation-delay: 0.3s;
}

.row .col-md-6.col-lg-4:nth-child(4) .mobile-service-card {
    animation-delay: 0.4s;
}

.row .col-md-6.col-lg-4:nth-child(5) .mobile-service-card {
    animation-delay: 0.5s;
}

.row .col-md-6.col-lg-4:nth-child(6) .mobile-service-card {
    animation-delay: 0.6s;
}

/* Responsive adjustments */


/* CTA Section */
.mobile-cta {
    padding: var(--section-padding-large);
    background: var(--gradient-cta);
    text-align: center;
}

.mobile-cta h2 {
    color: var(--text-white);
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
}

.mobile-cta p {
    color: #ffffff;
    opacity: 0.9;
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #84bcdd;
    font-size: 16px;
    margin: 0 10px;
}

.cta-btn.primary {
    background: var(--primary);
    color: var(--text-white);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--primary);
}

.cta-btn.primary:hover {
    background: transparent;
    color: #84bcdd;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(132, 188, 221, 0.3);
}

.cta-btn.secondary:hover {
    background: #84bcdd;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(132, 188, 221, 0.3);
}


.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.tech-stack span {
    background: #eef7ff;
    color: #3949ab;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #dbeafe;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.benefit-card:hover {
    background: rgba(132, 188, 221, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: #e2e8f0;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3949ab, #5c6bc0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

/* Process Timeline */
.process-section {
    padding: var(--section-padding-small);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.process-timeline {

    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #3949ab;
    transform: translateX(-50%);
}

.process-step {
    position: relative;
    margin-bottom: 3rem;
    width: 45%;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 4rem;
}

.process-step:nth-child(even) {
    left: 55%;
    padding-left: 4rem;
}

.step-marker {
    position: absolute;
    top: 0;
    width: 30px;
    height: 30px;
    background: white;
    border: 3px solid #3949ab;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(57, 73, 171, 0.1);
}

.process-step:nth-child(odd) .step-marker {
    right: -16px;
}

.process-step:nth-child(even) .step-marker {
    left: -16px;
}

/* Case Studies */
.case-study-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.case-study-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.case-study-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

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

.case-study-metrics {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #e2e8f0;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3949ab;
    display: block;
    line-height: 1;
}

/* FAQ */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2980;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #3949ab;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 0 1.8rem 1.8rem;
    max-height: 500px;
}

/* Final CTA */
.final-cta-section {
    background: linear-gradient(110deg, #2c7bac96 20%, #84bcdd 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.mobile-final-cta {
    background: linear-gradient(135deg, #3949ab 0%, #5c6bc0 100%);
    color: white;
}

/* Buttons */
.mobile-primary-btn {
    background: linear-gradient(135deg, #1a2980 0%, #84bcdd 100%) !important;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 10px 30px rgba(132, 188, 221, 0.4);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mobile-primary-btn i {
    color: #ffffff !important;
}

.mobile-primary-btn:hover {
    background: linear-gradient(135deg, #84bcdd 0%, #22577A 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(132, 188, 221, 0.3);
    color: #fff;
}

.mobile-secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
    color: white;
}

/* Responsive Adjustments */

@media (max-width: 768px) {
    .mobile-hero {
        background: url('/static/assets/Snapchat-1933929992.jpeg') no-repeat center 40%;
        background-size: cover;
        min-height: 95vh;
        padding: 180px 0 100px;
        text-align: center;
        position: relative;
    }

    .mobile-hero-title {
        font-size: 2.5rem;
    }

    .mobile-hero-subtitle {
        font-size: 1.1rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
        margin-top: 2rem;
    }

    .floating-app {
        display: none;
        /* Hide floating apps on mobile */
    }

    .mobile-service-card {
        padding: 2rem 1.5rem;
    }

    .mobile-service-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .mobile-service-card h3 {
        font-size: 1.3rem;
    }

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

    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 70px !important;
        padding-right: 2rem !important;
    }

    .process-step:nth-child(odd) .step-marker,
    .process-step:nth-child(even) .step-marker {
        left: 21px;
        right: auto;
    }
}

@media (max-width: 576px) {
    .mobile-hero-title {
        font-size: 2rem;
    }

    .mobile-hero-badge {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .case-study-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Hero Text Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

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

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