/* Services Page Styles */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.services-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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.services-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-subtitle {
    font-family: 'GeoCaps', sans-serif;
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* page-like entrance animation */
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.7s ease-out 0.2s both;
}

.services-hero-title {
    font-family: 'Big', sans-serif;
    font-size: 48px;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.2;
    /* page-like entrance animation */
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.7s ease-out 0.35s both;
}

.services-hero-description {
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    color: var(--white);
    line-height: 1.6;
    opacity: 0.9;
    /* page-like entrance animation */
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.7s ease-out 0.5s both;
}

/* Services Main Section */
.services-main {
    padding: 80px 0;
    background-color: var(--light-color);
    position: relative;
}

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

/* Enhanced Service Card Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Card Main - Enhanced Design */
.service-card-main {
    background: var(--white);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* entrance animation */
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    animation: slideUpScale 0.8s ease-out 0.9s both;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    max-width: none;
    margin: 0;
}

.service-card-main:nth-child(2) {
    animation-delay: 1.1s;
}

.service-card-main:nth-child(3) {
    animation-delay: 1.3s;
}

.service-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #e67e22, var(--primary-color));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s ease;
    animation: gradientShift 3s ease-in-out infinite;
}

.service-card-main::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(252, 182, 78, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card-main:hover,
.service-card-main:focus-within {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 24px 64px rgba(252, 182, 78, 0.25);
    border-color: var(--primary-color);
}

.service-card-main:hover::before,
.service-card-main:focus-within::before {
    transform: scaleX(1);
}

.service-card-main:hover::after,
.service-card-main:focus-within::after {
    opacity: 1;
}

.service-card-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.service-icon-main {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(252, 182, 78, 0.3);
}

.service-icon-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    transition: all 0.4s ease;
}

.service-icon-main::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card-main:hover .service-icon-main {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 32px rgba(252, 182, 78, 0.4);
}

.service-card-main:hover .service-icon-main::after {
    transform: translateX(100%);
}

.service-icon-main i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.service-card-main:hover .service-icon-main i {
    transform: scale(1.1);
}

.service-icon-main.web-dev::before {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
}

.service-icon-main.mobile::before {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
}

.service-icon-main.ai::before {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
}

.service-card-header h2 {
    font-family: 'Big', sans-serif;
    font-size: 32px;
    color: var(--secondary-color);
    margin: 0;
    transition: color 0.3s ease;
    position: relative;
}

.service-card-main:hover .service-card-header h2 {
    color: var(--primary-color);
}

.service-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.service-card-content p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--secondary-color);
    margin-bottom: 30px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    flex-grow: 1;
    text-align: center;
}

.service-card-main:hover .service-card-content p {
    opacity: 1;
}

/* Service CTA - Enhanced */
.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(252, 182, 78, 0.3);
    align-self: center;
    margin-top: auto;
    min-width: 160px;
}

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

.service-cta:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(252, 182, 78, 0.4);
}

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

.service-cta i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.service-cta:hover i {
    transform: translateX(6px) scale(1.1);
}

/* Services CTA Section */
.services-cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c2c2c 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.services-cta-section::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"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

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

.services-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.services-cta-content h2 {
    font-family: 'Big', sans-serif;
    font-size: 36px;
    color: var(--white);
    margin-bottom: 20px;
    /* entrance animation */
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.7s ease-out 0.2s both;
}

.services-cta-content p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.6;
    /* entrance animation */
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.7s ease-out 0.35s both;
}

.services-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(252, 182, 78, 0.3);
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
    /* entrance animation */
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.7s ease-out 0.5s both;
}

.services-cta-button:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(252, 182, 78, 0.4);
}

.services-cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.services-cta-button:hover i {
    transform: translateX(6px);
}

/* Service Detail Pages */
.service-detail-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.mobile-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
}

.ai-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
}

.service-detail-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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.service-detail-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.service-detail-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.service-detail-hero-icon i {
    font-size: 50px !important;
    line-height: 1;
    transform: translateY(2px);
}

.service-detail-hero-title {
    font-family: 'Big', sans-serif;
    font-size: 48px;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.2;
    /* entrance animation */
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.7s ease-out 0.35s both;
}

.service-detail-hero-description {
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    color: var(--white);
    line-height: 1.6;
    opacity: 0.9;
    /* entrance animation */
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.7s ease-out 0.5s both;
}

.service-detail-hero-icon {
    /* entrance animation */
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.7s ease-out 0.2s both;
}

/* Service Detail Content */
.service-detail-content {
    padding: 80px 0;
    background-color: var(--white);
}

.service-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-detail-main h2 {
    font-family: 'Big', sans-serif;
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.service-detail-main h3 {
    font-family: 'Big', sans-serif;
    font-size: 24px;
    color: var(--secondary-color);
    margin: 40px 0 20px;
}

.service-detail-main p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 20px;
    opacity: 0.8;
}

.service-detail-main ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-detail-main ul li {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Tech Stack */
.tech-stack {
    margin: 40px 0;
}

.tech-category {
    margin-bottom: 30px;
}

.tech-category h4 {
    font-family: 'Big', sans-serif;
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Ubuntu', sans-serif;
}

/* Service Detail Sidebar */
.service-detail-sidebar {
    position: sticky;
    top: 100px;
}

.service-benefits {
    background: var(--light-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.service-benefits h3 {
    font-family: 'Big', sans-serif;
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 2px;
    width: 20px;
}

.benefit-item h4 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.benefit-item p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: var(--secondary-color);
    opacity: 0.7;
    line-height: 1.5;
}

.service-cta-sidebar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c2c2c 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.service-cta-sidebar h3 {
    font-family: 'Big', sans-serif;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
}

.service-cta-sidebar p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.5;
}

.service-cta-sidebar-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Ubuntu', sans-serif;
}

.service-cta-sidebar-button:hover {
    color: var(--white);
}

.service-cta-sidebar-button i {
    margin-left: 10px;
}

/* Service CTA Section - Mobile Only */
.service-cta-mobile {
    display: none;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c2c2c 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}

.service-cta-mobile h3 {
    font-family: 'Big', sans-serif;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
}

.service-cta-mobile p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.5;
}

.service-cta-mobile-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Ubuntu', sans-serif;
}

.service-cta-mobile-button:hover {
    color: var(--white);
}

.service-cta-mobile-button i {
    margin-left: 10px;
}

/* Service Process */
.service-process {
    padding: 80px 0;
    background: var(--light-color);
}

.service-process-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-process h2 {
    font-family: 'Big', sans-serif;
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
}

.process-steps-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.process-step-detailed {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    /* entrance animation */
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.7s ease-out 0.2s both;
}

.process-step-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #e67e22);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.process-step-detailed:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 48px rgba(252, 182, 78, 0.18);
    border-color: var(--primary-color);
}

.process-step-detailed:hover::before {
    transform: scaleX(1);
}

.step-number-detailed {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-content-detailed h3 {
    font-family: 'Big', sans-serif;
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.step-content-detailed p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: var(--secondary-color);
    opacity: 0.7;
    line-height: 1.5;
}

/* Enhanced Animations */
@keyframes slideUpScale {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Responsive Design - Enhanced */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 20px;
        max-width: 1000px;
    }
    
    .service-card-main {
        padding: 25px;
        min-height: 340px;
        transition: all 0.3s ease;
    }
    
    .service-card-main:hover {
        transform: translateY(-5px);
    }
    
    .service-card-header h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .service-icon-main {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .service-card-content p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Services page specific styles */

@media (max-width: 1400px) {
    /* Mobile responsive styles */
    
    
    .services-hero {
        padding: 110px 0 60px; /* extra top space under fixed navbar */
        min-height: 50vh;
    }
    .services-hero-subtitle { margin-bottom: 22px; }
    .services-hero-title { line-height: 1.3; margin-bottom: 24px; }
    .services-hero-description { line-height: 1.7; margin-bottom: 28px; }
    
    .service-detail-hero-container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .service-detail-hero-title {
        font-size: 2.2rem;
        line-height: 1.25;
        margin-bottom: 22px;
    }
    
    .service-detail-hero-description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 28px;
    }
    
    .service-detail-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    
    .service-detail-hero-icon i {
        font-size: 2.8rem !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 0 15px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card-main {
        padding: 25px 20px;
        margin: 0;
        min-height: 300px;
        border-radius: 15px;
        transition: all 0.3s ease;
    }
    
    .service-card-main:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }
    
    .service-card-header h2 {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .service-icon-main {
        width: 65px;
        height: 65px;
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .service-card-content p {
        font-size: 14px;
        line-height: 1.65;
        text-align: center;
        margin-bottom: 26px;
    }
    
    .service-cta {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 130px;
        border-radius: 20px;
    }
    
    /* Service Detail Content Mobile */
    .service-detail-content {
        padding: 50px 0;
    }
    
    .service-detail-container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-detail-sidebar {
        position: static;
        order: 2;
    }
    
    .service-benefits {
        display: none;
    }
    
    .service-cta-sidebar {
        display: none;
    }
    
    .service-cta-mobile {
        display: block;
        margin: 40px 15px;
    }
    
    .service-detail-main h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .service-detail-main h3 {
        font-size: 1.3rem;
        margin: 20px 0 12px;
    }
    
    .service-detail-main p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .service-detail-main ul {
        margin: 15px 0;
        padding-left: 20px;
    }
    
    .service-detail-main li {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    
    .tech-stack {
        gap: 20px;
        margin-top: 30px;
    }
    
    .tech-category h4 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .tech-items {
        gap: 10px;
    }
    
    .tech-item {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Mobile responsive styles */
    
    .services-hero {
        padding: 115px 0 64px; /* extra top space on small phones */
        min-height: 50vh;
    }
    
    .service-detail-hero-container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .service-detail-hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    .service-detail-hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .service-detail-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    
    .service-detail-hero-icon i {
        font-size: 2.8rem !important;
    }
    
    .services-grid {
        padding: 0 10px;
        gap: 20px;
        max-width: 100%;
    }
    
    .service-card-main {
        padding: 25px 20px;
        margin: 0;
        border-radius: 18px;
        min-height: 320px;
    }
    
    .service-card-main:hover {
        transform: translateY(-5px);
    }
    
    .service-card-header h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .service-icon-main {
        width: 65px;
        height: 65px;
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .service-card-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .service-cta {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 130px;
        border-radius: 20px;
    }
    
    /* Service Detail Content Small Mobile */
    .service-detail-content {
        padding: 50px 0;
    }
    
    .service-detail-container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-detail-sidebar {
        position: static;
        order: 2;
    }
    
    .service-benefits {
        display: none;
    }
    
    .service-cta-sidebar {
        display: none;
    }
    
    .service-cta-mobile {
        display: block;
        margin: 30px 15px;
    }
    
    .service-detail-main h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .service-detail-main h3 {
        font-size: 1.3rem;
        margin: 20px 0 12px;
    }
    
    .service-detail-main p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .service-detail-main ul {
        margin: 12px 0;
        padding-left: 18px;
    }
    
    .service-detail-main li {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 6px;
    }
    
    .tech-stack {
        gap: 15px;
        margin-top: 25px;
    }
    
    .tech-category h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .tech-items {
        gap: 8px;
    }
    
    .tech-item {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* Web Development Process Section - Matching Main Page */
.process {
    padding: 250px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.process::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23Fcb64e" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.process .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-family: 'GeoCaps', 'Ubuntu', sans-serif;
    position: relative;
    z-index: 2;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    z-index: 2;
}

/* Connecting zigzag lines */
.process-steps::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 100px;
    right: 100px;
    height: 4px;
    background: repeating-linear-gradient(
        45deg,
        var(--primary-color) 0px,
        var(--primary-color) 20px,
        #e09c3b 20px,
        #e09c3b 40px
    );
    border-radius: 2px;
    z-index: 2;
    animation: zigzag 2s linear infinite;
}

@keyframes zigzag {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 0;
    }
}

.step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 3;
    flex: 1;
    max-width: 250px;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #e09c3b);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(252,182,78,0.3);
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(252,182,78,0.4);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 4;
}

.step h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'GeoCaps', 'Ubuntu', sans-serif;
}

.step p {
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Responsive Design for Process Section */
@media (max-width: 1200px) {
    .process-steps {
        justify-content: center;
        gap: 40px;
    }
    
    .step {
        flex: 0 1 calc(33.333% - 30px);
        min-width: 250px;
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 1400px) {
    .process {
        padding: 150px 0;
    }
    
    .process .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 20px;
    }
    
    .step {
        flex: none;
        width: 100%;
        max-width: 350px;
        min-width: auto;
    }
    
    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step h3 {
        font-size: 1.1rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .process {
        padding: 100px 0;
    }
    
    .process .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .step {
        padding: 25px 15px;
        max-width: 300px;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step h3 {
        font-size: 1rem;
    }
    
    .step p {
        font-size: 0.85rem;
    }
}

/* iPhone 12 Pro and similar devices (390px width) */
@media (max-width: 390px) {
    .services-hero {
        padding: 120px 0 50px; /* ensure clear separation from navbar */
        min-height: 45vh;
    }
    
    .service-detail-hero-container {
        padding: 0 12px;
    }
    
    .service-detail-hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    .service-detail-hero-description {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .service-detail-hero-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .service-detail-hero-icon i {
        font-size: 2.5rem !important;
    }
    
    .services-grid {
        padding: 0 8px;
        gap: 15px;
        max-width: 320px;
    }
    
    .service-card-main {
        padding: 20px 15px;
        margin: 0;
        border-radius: 16px;
        min-height: 300px;
    }
    
    .service-card-header h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .service-icon-main {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .service-card-content p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 18px;
    }
    
    .service-cta {
        padding: 8px 20px;
        font-size: 13px;
        min-width: 120px;
        min-height: 36px;
        border-radius: 18px;
    }
    
    /* Service Detail Content iPhone 12 Pro */
    .service-detail-content {
        padding: 40px 0;
    }
    
    .service-detail-container {
        padding: 0 12px;
    }
    
    .service-detail-main h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .service-detail-main h3 {
        font-size: 1.2rem;
        margin: 20px 0 10px;
    }
    
    .service-detail-main p {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .service-detail-main ul {
        margin: 12px 0;
        padding-left: 18px;
    }
    
    .service-detail-main li {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .tech-stack {
        gap: 15px;
        margin-top: 25px;
    }
    
    .tech-category h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .tech-items {
        gap: 8px;
    }
    
    .tech-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* iPhone 12 Pro Touch Optimizations */
@media (max-width: 390px) and (hover: none) and (pointer: coarse) {
    .service-card-main {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .service-card-main:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .service-cta {
        min-height: 40px;
        touch-action: manipulation;
    }
    
    .service-cta:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* Services page specific mobile styles */
