/* Services Page Styles - Replicating Archesky Reference Design */

/* Override common layout constraint to allow full-width split-pane backgrounds */
.main-content {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure Poppins Font is enforced globally for the services elements */
.services-hero-section,
.services-hero-section * {
    font-family: 'Poppins', sans-serif !important;
}

/* Matching the Header and Footer width exactly */
.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    width: 100%;
}

/* Services Hero Section - Royal Blue Gradient Background matching About page CTA */
.services-hero-section {
    position: relative;
    background: #1359D6;
    padding: 5rem 0;
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: center;
}

/* Background ambient glows for a premium look */
.services-hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: transparent;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.services-hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: transparent;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.services-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr; /* Shifted ratio to give the left text more space */
    gap: 4rem; /* Balanced gap */
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Column: Typography & Text Highlights */
.hero-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-right: 1.5rem;
}

.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #bfdbfe;
    margin-bottom: 0.85rem;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.15rem); /* Increased size for premium grand look */
    font-weight: 850;
    line-height: 1.12; /* Elegant spacing */
    color: #ffffff; /* Premium white on blue background */
    letter-spacing: -0.025em; /* Relaxed letter spacing for mixed-case readability */
    margin-bottom: 1.5rem;
}

/* Light blue highlight for smart creative contrast */
.highlight-blue-light {
    color: #bfdbfe;
}

.hero-desc {
    font-size: 1.18rem; /* Increased size to match title */
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9); /* Premium high-legibility white text */
    max-width: 620px; /* Increased max width */
    margin-bottom: 2.75rem;
}

/* Stats Row under content */
.hero-stats-row {
    display: flex;
    gap: 4.5rem; /* Increased gap */
    border-top: 1.5px solid rgba(255, 255, 255, 0.15); /* Light border line */
    padding-top: 2.25rem;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2.65rem; /* Larger numbers */
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.875rem; /* Larger labels */
    color: #bfdbfe; /* Matching the soft blue highlight */
    font-weight: 600;
    text-transform: capitalize;
}

/* Right Column: Contact Form Card */
.hero-right-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Premium CSS Mobile Mockup Container */
.mobile-mockup {
    position: relative;
    width: 100%;
    max-width: 380px; /* Perfectly compact mobile mockup size */
    margin: 0 auto;
    background: #090d16; /* deep premium phone bezel color */
    border: 12px solid #0f172a; /* Outer border simulating physical phone frame */
    border-radius: 46px; /* Smooth rounded corners of a smartphone */
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4), /* drop shadow on backdrop */
        0 0 0 2px rgba(255, 255, 255, 0.08), /* fine glass glare line */
        inset 0 0 10px rgba(0, 0, 0, 0.8); /* inside physical bezel shadow */
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.mobile-mockup:hover {
    transform: translateY(-8px) rotate(-1deg) scale(1.01); /* dynamic 3D floating effect */
}

/* Phone physical buttons / glare effects */
.mobile-mockup::before {
    content: '';
    position: absolute;
    top: 100px;
    left: -15px; /* physical volume rocker button */
    width: 3px;
    height: 40px;
    background: #1e293b;
    border-radius: 2px 0 0 2px;
}

.mobile-mockup::after {
    content: '';
    position: absolute;
    top: 155px;
    left: -15px; /* secondary physical rocker button */
    width: 3px;
    height: 40px;
    background: #1e293b;
    border-radius: 2px 0 0 2px;
}

/* physical power button right side */
.mobile-power-btn {
    position: absolute;
    top: 120px;
    right: -15px;
    width: 3px;
    height: 50px;
    background: #1e293b;
    border-radius: 0 2px 2px 0;
    z-index: -1;
}

/* Dynamic Island / Notch at the top */
.mobile-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 24px;
    background: #000000;
    border-radius: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Micro physical speaker slit inside notch */
.mobile-notch::before {
    content: '';
    width: 40px;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
    opacity: 0.8;
}

/* Smartphone screen container - Light Theme */
.mobile-screen {
    position: relative;
    width: 100%;
    height: 590px; /* Increased height from 540px */
    background: #ffffff; /* pure white screen */
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Mobile status bar for time and connectivity - Dark text on Light Screen */
.mobile-status-bar {
    height: 38px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 1.75rem 4px 1.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #0f172a; /* Slate 900 */
    z-index: 15;
    pointer-events: none;
    user-select: none;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-icons svg {
    opacity: 0.85;
}

/* Content wrapper representing app viewport */
.mobile-app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem 1.5rem; /* tight margins fitting screen height */
    justify-content: center;
}

/* Home Indicator Bar at the bottom - Dark for Light Screen */
.mobile-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: rgba(15, 23, 42, 0.3); /* Dark indicator */
    border-radius: 2px;
    pointer-events: none;
}

/* Card Status Badge at the top - Light theme blue */
.card-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(19, 89, 214, 0.05); /* light royal blue tint */
    border: 1px solid rgba(19, 89, 214, 0.15);
    color: #1359D6;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.62rem;
    font-weight: 700;
    margin: 0 auto 0.65rem auto;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    width: max-content;
}

/* Pulsing Cyan Dot */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: #1359D6;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    box-shadow: 0 0 6px rgba(19, 89, 214, 0.4);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1359D6;
    border-radius: 50%;
    animation: badge-pulse 2s infinite ease-in-out;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.form-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a; /* Dark text */
    margin-bottom: 0.2rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.form-subtitle {
    font-size: 0.78rem;
    color: #475569; /* Slate 600 */
    margin-bottom: 1.25rem;
    text-align: center;
    line-height: 1.35;
}

.form-group-item {
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.form-group-item label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #475569; /* Slate 600 label */
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.95rem;
    color: #94a3b8; /* gray placeholder icon */
    pointer-events: none;
    transition: all 0.2s ease;
    width: 14px;
    height: 14px;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    height: 40px; /* Slightly taller to fit screen scale */
    padding: 0 1rem 0 2.35rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #0f172a; /* Dark text */
    background: #f8fafc; /* light gray input fill */
    border: 1px solid #cbd5e1; /* light gray border */
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
}

/* Custom select arrow - Royal Blue */
.input-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.input-wrapper select option {
    background-color: #ffffff; /* White background for select options */
    color: #0f172a;
}

.input-wrapper input::placeholder {
    color: #94a3b8;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: #1359D6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(19, 89, 214, 0.12);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper select:focus + .input-icon {
    color: #1359D6;
}

/* Premium Royal Blue Button with high contrast */
.submit-form-btn {
    width: 100%;
    height: 42px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    background: #1359D6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 6px 15px rgba(19, 89, 214, 0.2);
    transition: all 0.3s ease;
    margin-top: 0.4rem;
}

.submit-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(19, 89, 214, 0.35);
    background: #d65b47;
}

.submit-form-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(19, 89, 214, 0.15);
}

.submit-form-btn svg {
    transition: transform 0.2s ease;
}

.submit-form-btn:hover svg {
    transform: translateX(4px);
}

/* Trust footer at the bottom of the card */
.card-trust-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9; /* light border */
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    color: #64748b; /* slate gray */
    font-weight: 600;
}

.trust-item svg {
    color: #1359D6; /* royal blue icon */
    flex-shrink: 0;
}

.trust-separator {
    color: #cbd5e1;
    font-size: 0.65rem;
}



/* Responsiveness */
@media (max-width: 1024px) {
    .services-hero-section {
        padding: 5rem 0;
    }
    .services-hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero-left-col {
        align-items: center;
        text-align: center;
        padding-right: 0;
    }
    .hero-title {
        text-align: center;
    }
    .hero-desc {
        text-align: center;
        margin: 0 auto 2.25rem auto;
    }
    .hero-stats-row {
        justify-content: center;
        max-width: 500px;
        margin: 0 auto;
    }
    .hero-right-col {
        justify-content: center;
    }
    .mobile-mockup {
        margin: 0 auto;
    }
    .overlap-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-hero-section {
        padding: 4rem 0;
    }
    .hero-stats-row {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .stat-number {
        font-size: 1.85rem;
    }
    .overlap-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .mobile-mockup {
        max-width: 340px; /* Scale down mockup for smaller screens */
        border: 8px solid #0f172a; /* Thinner bezel */
        border-radius: 36px;
    }
    .mobile-screen {
        height: 500px; /* Shorter screen height */
        border-radius: 28px;
    }
    .mobile-notch {
        width: 90px;
        height: 20px;
        top: 8px;
    }
    .mobile-status-bar {
        height: 32px;
        padding: 0 1.25rem 2px 1.25rem;
    }
    .mobile-app-content {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    .form-title {
        font-size: 1.15rem;
    }
    .form-subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }
    .form-group-item {
        margin-bottom: 0.6rem;
    }
    .input-wrapper input,
    .input-wrapper select {
        height: 34px;
        font-size: 0.78rem;
        padding: 0 0.75rem 0 2rem;
    }
    .input-icon {
        left: 0.75rem;
        width: 12px;
        height: 12px;
    }
    .submit-form-btn {
        height: 36px;
        font-size: 0.8rem;
    }
    .card-trust-footer {
        margin-top: 0.75rem;
        padding-top: 0.6rem;
    }
    .trust-item {
        font-size: 0.6rem;
    }
}

/* ==========================================================================
   Services Catalog Grid Layout & Premium Cards
   ========================================================================== */

.services-catalog-section {
    padding: 8.5rem 0;
    background-color: #fafaf8; /* Premium off-white soft page background */
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    position: relative;
    z-index: 10;
}

/* Center header styling */
.services-catalog-section .about-center-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
}

.services-catalog-section .about-center-header .section-title {
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.services-catalog-section .about-center-header .section-desc-center {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.7;
}

.services-grid-catalog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

/* Premium Card Layout */
.catalog-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.catalog-card:hover {
    transform: translateY(-8px);
}

/* Hover glowing shadows & border indicators */
.catalog-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
}

.catalog-card.card-brand:hover,
.catalog-card.card-tech:hover {
    border-color: rgba(19, 89, 214, 0.45);
    box-shadow: 0 20px 40px rgba(19, 89, 214, 0.08);
}
.catalog-card.card-growth:hover {
    border-color: rgba(87, 143, 229, 0.45);
    box-shadow: 0 20px 40px rgba(87, 143, 229, 0.08);
}
.catalog-card.card-creative:hover {
    border-color: rgba(30, 41, 59, 0.4);
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.08);
}


/* Category Badge Pills */
.category-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid transparent;
}

.badge-brand {
    background: rgba(19, 89, 214, 0.05);
    color: #1359D6;
    border-color: rgba(19, 89, 214, 0.12);
}

.badge-tech {
    background: rgba(19, 89, 214, 0.05);
    color: #1359D6;
    border-color: rgba(19, 89, 214, 0.12);
}

.badge-growth {
    background: rgba(87, 143, 229, 0.05);
    color: #578FE5;
    border-color: rgba(87, 143, 229, 0.12);
}

.badge-creative {
    background: rgba(19, 89, 214, 0.15);
    color: #1e293b;
    border-color: rgba(19, 89, 214, 0.35);
}

/* Icon wraps */
.catalog-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-card:hover .catalog-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.wrap-brand,
.wrap-tech {
    background: rgba(19, 89, 214, 0.04);
    color: #1359D6;
    border-color: rgba(19, 89, 214, 0.1);
}

.wrap-growth {
    background: rgba(87, 143, 229, 0.04);
    color: #578FE5;
    border-color: rgba(87, 143, 229, 0.1);
}

.wrap-creative {
    background: rgba(19, 89, 214, 0.2);
    color: #1e293b;
    border-color: rgba(19, 89, 214, 0.4);
}

.catalog-card:hover .wrap-brand,
.catalog-card:hover .wrap-tech {
    background: #1359D6;
    color: #ffffff;
    border-color: #1359D6;
}

.catalog-card:hover .wrap-growth {
    background: #578FE5;
    color: #ffffff;
    border-color: #578FE5;
}

.catalog-card:hover .wrap-creative {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* Titles & descriptions */
.catalog-card .service-card-title {
    font-size: 1.3rem;
    font-weight: 750;
    color: #0f172a;
    margin-bottom: 0.85rem;
    letter-spacing: -0.015em;
}

.catalog-card .service-card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
}

/* Feature bullets list */
.catalog-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.catalog-features-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: #475569;
    font-weight: 500;
}

.catalog-features-list svg {
    color: #10b981; /* Green checkmarks */
    flex-shrink: 0;
}

/* Card action button */
.catalog-card-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    background: transparent;
    color: #0f172a;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto; /* Pushes to bottom */
}

.catalog-card-btn svg {
    transition: transform 0.2s ease;
}

.catalog-card-btn:hover svg {
    transform: translateX(4px);
}

.btn-brand:hover,
.btn-tech:hover {
    background: #1359D6;
    color: #ffffff;
    border-color: #1359D6;
    box-shadow: 0 8px 20px rgba(19, 89, 214, 0.2);
}

.btn-growth:hover {
    background: #578FE5;
    color: #ffffff;
    border-color: #578FE5;
    box-shadow: 0 8px 20px rgba(87, 143, 229, 0.2);
}

.btn-creative:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

/* Responsive grid overrides */
@media (max-width: 1200px) {
    .services-grid-catalog {
        gap: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .services-grid-catalog {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-catalog-section {
        padding: 6rem 0;
    }
    .services-grid-catalog {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .catalog-card {
        padding: 2.5rem 1.75rem;
    }
}

