/* ==========================================================================
   Vibrace Web and Mobile Apps Development Custom Styles
   ========================================================================== */
:root {
    --wma-primary: #1F3D83;      /* Vibrace Blue */
    --wma-primary-light: #2a52b0;
    --wma-accent: #2AC59F;       /* Vibrace Green */
    --wma-accent-light: #3be0b8;
    --wma-dark: #0F172A;
    --wma-gray-800: #1E293B;
    --wma-gray-600: #475569;
    --wma-gray-200: #E2E8F0;
    --wma-bg-light: #F8FAFC;
    --wma-white: #FFFFFF;
    --wma-radius-md: 12px;
    --wma-radius-lg: 24px;
    --wma-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --wma-shadow-md: 0 10px 25px -5px rgba(31, 61, 131, 0.1);
    --wma-shadow-lg: 0 20px 40px -10px rgba(31, 61, 131, 0.15);
    --wma-font-heading: 'Poppins', sans-serif;
    --wma-font-body: 'Nunito', sans-serif;
    --wma-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 
  Reset default theme page-header and content wrapper constraints on this template.
  This allows our custom layout to stretch full-width and not conflict with theme padding.
*/
body.page-template-page-web-mobile-development .page-header,
body.page-template-page-web-mobile-development .breadcrumb-wrapper,
body.page-id-635 .page-header,
body.page-id-635 .breadcrumb-wrapper {
    display: none !important;
}

body.page-template-page-web-mobile-development #content.site-content,
body.page-id-635 #content.site-content {
    padding: 0 !important;
    max-width: 100% !important;
}

body.page-template-page-web-mobile-development #content .container,
body.page-id-635 #content .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

body.page-template-page-web-mobile-development .content-grid,
body.page-id-635 .content-grid {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

body.page-template-page-web-mobile-development #primary,
body.page-id-635 #primary {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

body.page-template-page-web-mobile-development #secondary,
body.page-id-635 #secondary {
    display: none !important;
}

/* Page Wrapper */
.wma-page-wrapper {
    font-family: var(--wma-font-body);
    color: var(--wma-gray-600);
    background-color: var(--wma-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.wma-page-wrapper * {
    box-sizing: border-box;
}

.wma-page-wrapper h1,
.wma-page-wrapper h2,
.wma-page-wrapper h3,
.wma-page-wrapper h4 {
    font-family: var(--wma-font-heading);
    color: var(--wma-primary);
    font-weight: 700;
    margin-top: 0;
}

.wma-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.wma-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.wma-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--wma-accent);
    border-radius: 2px;
}

.wma-section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: var(--wma-gray-600);
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.wma-hero {
    position: relative;
    padding: 120px 0;
    background-color: var(--wma-primary);
    overflow: hidden;
    color: var(--wma-white);
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.wma-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(31,61,131,0.95) 0%, rgba(42,197,159,0.85) 100%);
    z-index: 1;
}

.wma-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.wma-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.wma-hero-content h1 {
    font-size: 3.5rem;
    color: var(--wma-white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.wma-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* ==========================================================================
   2. Web & Mobile Solutions (Split Layout)
   ========================================================================== */
.wma-solutions {
    padding: 100px 0;
    background: var(--wma-white);
}

.wma-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.wma-split-image {
    position: relative;
    border-radius: var(--wma-radius-lg);
    overflow: hidden;
    box-shadow: var(--wma-shadow-lg);
}

.wma-split-image img {
    width: 100%;
    display: block;
    transition: var(--wma-transition);
}

.wma-split-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.wma-split-content p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

/* ==========================================================================
   3. What We Build
   ========================================================================== */
.wma-what-we-build {
    padding: 100px 0;
    background: var(--wma-bg-light);
}

.wma-build-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.wma-build-card {
    background: var(--wma-white);
    border-radius: var(--wma-radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--wma-shadow-sm);
    transition: var(--wma-transition);
    border: 1px solid var(--wma-gray-200);
}

.wma-build-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--wma-shadow-md);
    border-color: var(--wma-accent);
}

.wma-build-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(31, 61, 131, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wma-primary);
    transition: var(--wma-transition);
}

.wma-build-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.wma-build-card:hover .wma-build-icon {
    background: var(--wma-accent);
    color: var(--wma-white);
}

.wma-build-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.wma-build-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   4. Development Journey (Timeline)
   ========================================================================== */
.wma-journey {
    padding: 100px 0;
    background: var(--wma-white);
}

.wma-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 60px;
}

.wma-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--wma-gray-200);
    z-index: 1;
}

.wma-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.wma-step-marker {
    width: 60px;
    height: 60px;
    background: var(--wma-white);
    border: 3px solid var(--wma-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--wma-primary);
    transition: var(--wma-transition);
}

.wma-step:hover .wma-step-marker {
    background: var(--wma-accent);
    border-color: var(--wma-accent);
    color: var(--wma-white);
    transform: scale(1.15);
}

.wma-step h4 {
    font-size: 1.1rem;
    margin: 0;
    transition: var(--wma-transition);
}

.wma-step:hover h4 {
    color: var(--wma-accent);
}

/* ==========================================================================
   5. Web Development
   ========================================================================== */
.wma-web-dev {
    padding: 100px 0;
    background: var(--wma-bg-light);
}

.wma-web-dev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.wma-web-card {
    border-radius: var(--wma-radius-md);
    overflow: hidden;
    box-shadow: var(--wma-shadow-md);
    position: relative;
}

.wma-web-card img {
    width: 100%;
    display: block;
    transition: transform 0.8s ease;
}

.wma-web-card:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   6. Mobile App Development
   ========================================================================== */
.wma-mobile-dev {
    padding: 100px 0;
    background: var(--wma-white);
}

.wma-mobile-visuals {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.wma-mobile-img {
    width: 40%;
    border-radius: var(--wma-radius-lg);
    box-shadow: var(--wma-shadow-lg);
    transition: var(--wma-transition);
}

.wma-mobile-img:hover {
    transform: translateY(-15px);
}

.wma-mobile-delay {
    margin-top: 60px;
}

/* ==========================================================================
   7. UI/UX & Digital Experience
   ========================================================================== */
.wma-ui-ux {
    padding: 100px 0;
    background: var(--wma-bg-light);
}

.wma-ui-ux-image {
    border-radius: var(--wma-radius-lg);
    overflow: hidden;
    box-shadow: var(--wma-shadow-lg);
}

.wma-ui-ux-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.wma-ui-ux-image:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   8. Why Choose Vibrace
   ========================================================================== */
.wma-benefits {
    padding: 100px 0;
    background: var(--wma-white);
}

.wma-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.wma-benefit-item {
    background: var(--wma-white);
    padding: 40px 25px;
    border-radius: var(--wma-radius-md);
    text-align: center;
    box-shadow: var(--wma-shadow-sm);
    border: 1px solid var(--wma-gray-200);
    transition: var(--wma-transition);
}

.wma-benefit-item:hover {
    box-shadow: var(--wma-shadow-md);
    transform: translateY(-8px);
}

.wma-benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(42, 197, 159, 0.1);
    color: var(--wma-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--wma-transition);
}

.wma-benefit-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.wma-benefit-item:hover .wma-benefit-icon {
    background: var(--wma-primary);
    color: var(--wma-white);
}

.wma-benefit-item h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.wma-benefit-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   9. CTA Section
   ========================================================================== */
.wma-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--wma-primary) 0%, var(--wma-accent) 100%);
    text-align: center;
    color: var(--wma-white);
}

.wma-cta h2 {
    color: var(--wma-white);
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.wma-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    background: var(--wma-white);
    color: var(--wma-primary);
    font-family: var(--wma-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: var(--wma-transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.wma-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: var(--wma-bg-light);
    color: var(--wma-primary-light);
}

/* ==========================================================================
   10. FAQ Section
   ========================================================================== */
.wma-faq {
    padding: 100px 0;
    background: var(--wma-bg-light);
}

.wma-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.wma-faq-item {
    background: var(--wma-white);
    border: 1px solid var(--wma-gray-200);
    border-radius: var(--wma-radius-md);
    margin-bottom: 15px;
    overflow: hidden;
}

.wma-faq-question {
    padding: 24px;
    cursor: pointer;
    font-family: var(--wma-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--wma-primary);
    position: relative;
    transition: var(--wma-transition);
}

.wma-faq-question:hover {
    background: var(--wma-bg-light);
}

.wma-faq-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--wma-accent);
}

.wma-faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.wma-faq-item.active .wma-faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 400px;
}

.wma-faq-item.active .wma-faq-question::after {
    content: '-';
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .wma-build-grid, .wma-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wma-hero-content h1 { font-size: 2.5rem; }
    .wma-section-title { font-size: 2rem; }
    
    .wma-split-grid { grid-template-columns: 1fr; }
    
    .wma-timeline {
        flex-direction: column;
        margin-top: 40px;
    }
    .wma-timeline::before {
        left: 45px;
        top: 0;
        bottom: 0;
        width: 2px;
        height: 100%;
    }
    .wma-step {
        display: flex;
        align-items: center;
        text-align: left;
        margin-bottom: 30px;
        width: 100%;
    }
    .wma-step-marker {
        margin: 0 20px 0 0;
    }

    .wma-web-dev-grid { grid-template-columns: 1fr; }
    .wma-mobile-visuals { flex-direction: column; }
    .wma-mobile-img { width: 80%; }
    .wma-mobile-delay { margin-top: 20px; }
}


/* AUTOMATED RESPONSIVE FIXES */
@media (max-width: 1024px) {
    .wma-build-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .wma-benefits-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    img { max-width: 100% !important; height: auto !important; object-fit: cover; }
    .wma-split-grid { grid-template-columns: 1fr !important; }
    .wma-build-grid { grid-template-columns: 1fr !important; }
    .wma-web-dev-grid { grid-template-columns: 1fr !important; }
    .wma-benefits-grid { grid-template-columns: 1fr !important; }
    .wma-build-icon { flex-direction: column !important; }
    .wma-timeline { flex-direction: column !important; }
    .wma-step-marker { flex-direction: column !important; }
    .wma-benefit-icon { flex-direction: column !important; }
    body, html { overflow-x: hidden !important; }
    .container, .vb-page-container { padding-left: 15px !important; padding-right: 15px !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
    * { box-sizing: border-box !important; }
}


/* TIGHTEN MOBILE SCROLLING */
@media (max-width: 768px) {
    .vb-process-container, .vb-process-steps { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 1.5rem !important; }
    .vb-process-icon, .vb-process-num { width: 50px !important; height: 50px !important; font-size: 1.2rem !important; margin: 0 auto 0.5rem !important; border-width: 2px !important; }
    .vb-process-step { max-width: 100% !important; padding: 0 !important; }
    .vb-strength-card, .vb-value-content, .vb-wedo-card { padding: 1.5rem 1rem !important; }
    .vb-strength-icon, .vb-wedo-icon { font-size: 1.8rem !important; margin-bottom: 0.5rem !important; }
    .vb-strengths-grid, .vb-values-grid { gap: 1rem !important; }
    h3, h4 { margin-bottom: 0.25rem !important; }
    .vb-why-section, .vb-tech-.vb-values-section, .vb-strengths-.vb-process-section, .vb-about-.vb-wedo-section { padding: 30px 15px !important; }
}


/* AGGRESSIVE MOBILE SPACE REDUCTION */
@media (max-width: 768px) {
    .wma-hero,
    .wma-solutions,
    .wma-what-we-build,
    .wma-journey,
    .wma-web-dev,
    .wma-mobile-dev,
    .wma-ui-ux,
    .wma-benefits,
    .wma-cta,
    .wma-faq,
    .vb-strength-card, .vb-value-content, .vb-wedo-card {
        padding: 30px 15px !important;
    }
    .wma-section-subtitle,
    .wma-timeline,
    .wma-mobile-delay,
    .vb-process-icon, .vb-process-num,
    .vb-strength-icon, .vb-wedo-icon {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
    .wma-split-grid,
    .wma-build-grid,
    .wma-web-dev-grid,
    .wma-mobile-visuals,
    .wma-benefits-grid,
    .vb-process-container, .vb-process-steps {
        gap: 1rem !important;
    }
    .vb-section-header, .vb-wedo-header, .vb-strengths-header, .vb-process-header { text-align: center !important; margin-bottom: 2rem !important; }
    h1, h2 { text-align: center !important; }
    p { text-align: center !important; }
    .vb-process-step, .vb-wedo-card, .vb-strength-card, .vb-service-card { text-align: center !important; align-items: center !important; }
    .vb-process-icon, .vb-wedo-icon, .vb-strength-icon { margin: 0 auto 1rem auto !important; }
}


/* CENTER FOOTER MOBILE */
@media (max-width: 768px) {
    footer, .site-footer, .footer-widgets, .widget { text-align: center !important; }
    footer ul, .widget ul, footer li, .widget li { text-align: center !important; justify-content: center !important; align-items: center !important; }
    .widget_nav_menu li { display: block !important; }
    .widget_nav_menu a { display: inline-block !important; }
    .widget_custom_html a, .widget_text a { display: inline-block !important; margin: 0 5px !important; }
}
