/* Services Redesign - More Dynamic Layout */

/* Hero Section with Floating Shapes */
.services-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding: 100px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 50%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #F7931E 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
}

/* USP Flow */
.usp-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.usp-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    min-width: 220px;
    transition: all 0.3s ease;
}

.usp-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.usp-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.usp-item:hover .usp-icon {
    transform: scale(1.1) rotate(10deg);
}

.usp-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.usp-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.flow-arrow {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(10px);
        opacity: 1;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* Service Section - Alternating Layout */
.service-section {
    padding: 100px 0;
    position: relative;
}

.service-section.bg-light {
    background: #f8f9fc;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-layout.image-right {
    direction: ltr;
}

.service-layout.image-right .service-visual {
    order: 2;
}

.service-layout.image-right .service-content {
    order: 1;
}

/* Service Visual with Decorations */
.service-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.service-main-icon {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Geometric Decorations */
.visual-decoration {
    position: absolute;
    border-radius: 20px;
    z-index: 5;
}

.deco-digital-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
    top: 10%;
    left: 5%;
    transform: rotate(15deg);
    animation: rotate 20s linear infinite;
}

.deco-digital-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    opacity: 0.1;
    bottom: 15%;
    right: 10%;
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.deco-design-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    opacity: 0.1;
    top: 15%;
    right: 5%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

.deco-design-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f5576c 0%, #F7931E 100%);
    opacity: 0.15;
    bottom: 10%;
    left: 8%;
    transform: rotate(45deg);
    animation: rotate 15s linear infinite reverse;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 15;
    animation: badgeFloat 3s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 20%;
    right: 5%;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    bottom: 25%;
    right: 10%;
    animation-delay: 1s;
}

.floating-badge.badge-3 {
    top: 50%;
    left: 0%;
    animation-delay: 2s;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Service Content */
.service-content {
    padding: 20px 0;
}

.service-header {
    margin-bottom: 40px;
}

.service-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Montserrat', sans-serif;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.service-intro {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

/* Sub Services Grid */
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.sub-service-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.sub-service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sub-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.sub-service-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.sub-service-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Service CTA Group */
.service-cta-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.service-cta-group.centered {
    justify-content: center;
}

/* Project Management - Centered Layout */
.service-pm {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.service-layout-centered {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.service-header-centered {
    margin-bottom: 60px;
}

.service-header-centered .service-label {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.service-header-centered .service-title {
    justify-content: center;
    color: #fff;
}

.service-header-centered .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.service-header-centered .service-intro {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* PM Visual with Orbit */
.pm-visual-center {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 60px;
}

.pm-main-icon {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    animation: iconFloat 4s ease-in-out infinite;
}

.pm-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.orbit-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.orbit-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* PM Features Grid */
.pm-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.pm-feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.pm-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.pm-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

.pm-feature h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.pm-feature p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Why Section */
.why-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.section-header.white .section-title,
.section-header.white .section-subtitle {
    color: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.why-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 auto 25px;
}

.why-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.why-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .service-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-layout.image-right .service-visual,
    .service-layout.image-right .service-content {
        order: initial;
    }

    .service-title {
        font-size: 2.5rem;
    }

    .pm-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .service-title {
        font-size: 2rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .sub-services-grid {
        grid-template-columns: 1fr;
    }

    .service-cta-group {
        flex-direction: column;
    }

    .pm-features-grid {
        grid-template-columns: 1fr;
    }

    .floating-badge {
        display: none;
    }
}
