/* ========================================
   Professional Services Page Design
   ======================================== */

:root {
    --primary: #0c2f86;
    --primary-dark: #0a1f63;
    --primary-light: #1a4cbe;
    --accent: #64748b;
    --accent-dark: #475569;
    --text: #1b1f30;
    --text-light: #4a5163;
    --muted: #5f6475;
    --bg: #f5f7fb;
    --bg-light: #fafbfd;
    --card: #fff;
    --stroke: #e3e7ef;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, var(--primary-dark), var(--primary));
    --gradient-accent: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Cairo", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   Header & Navigation Styles
   ======================================== */

/* Old Header Styles - REMOVED (Using header.css instead) */

/* Hero Section */
.hero-services {
    position: relative;
    background: var(--gradient-primary);
    color: #fff;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.15;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation-delay: 3s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: center;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.badge-modern i {
    color: var(--accent);
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 900;
}

.hero-lead {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(100, 116, 139, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 22px;
    color: var(--accent);
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.hero-services-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.highlight-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(100, 116, 139, 0.4);
}

.highlight-icon i {
    font-size: 28px;
    color: #fff;
}

.highlight-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
}

.check-icon {
    width: 32px;
    height: 32px;
    background: rgba(100, 116, 139, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon i {
    color: var(--accent);
    font-size: 16px;
}

.highlight-text h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-head-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(12, 47, 134, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 12px;
}

.section-title.light {
    color: #fff;
}

.section-subtitle {
    font-size: 16px;
    color: var(--muted);
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.85);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card);
    border-radius: 20px;
    padding: 35px 28px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stroke);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-icon-wrapper.portfolio {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.service-icon-wrapper.design {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
}

.service-icon-wrapper.construction {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.service-icon-wrapper.marketing {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 10px 30px rgba(67, 233, 123, 0.3);
}

.service-icon-wrapper.operation {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 10px 30px rgba(250, 112, 154, 0.3);
}

.service-icon-wrapper.consulting {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    box-shadow: 0 10px 30px rgba(48, 207, 208, 0.3);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 36px;
    color: #fff;
}

.service-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(12, 47, 134, 0.08);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}

.service-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--stroke);
}

.service-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
}

.service-features .feature i {
    color: var(--accent);
    font-size: 14px;
}

/* Journey Timeline */
.journey-section {
    position: relative;
    padding: 80px 0;
    background: var(--gradient-primary);
    overflow: hidden;
}

.journey-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(100, 116, 139, 0.1), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05), transparent 40%);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 50px;
}

.timeline-item.left {
    text-align: left;
    padding-right: 40px;
    padding-left: 0;
}

.timeline-item.right {
    text-align: right;
    margin-right: 50%;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.timeline-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 10px 30px rgba(100, 116, 139, 0.4);
}

.timeline-item.left .timeline-number {
    left: 20px;
    right: auto;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: rgba(100, 116, 139, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.timeline-icon i {
    font-size: 28px;
    color: var(--accent);
}

.timeline-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* Packages */
.packages-section {
    padding: 80px 0;
    background: var(--card);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    position: relative;
    background: var(--bg-light);
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--stroke);
    transition: all 0.4s ease;
}

.package-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.package-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}

.featured-badge i {
    color: var(--accent);
}

.package-header {
    padding: 40px 30px 30px;
    text-align: center;
}

.package-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 15px 40px rgba(100, 116, 139, 0.4);
}

.package-card.featured .package-icon {
    background: rgba(255, 255, 255, 0.2);
}

.package-icon i {
    font-size: 38px;
    color: #fff;
}

.package-name {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(12, 47, 134, 0.1);
    color: var(--primary);
    border-radius: 16px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}

.package-card.featured .package-name {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.package-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 8px;
}

.package-card.featured .package-title {
    color: #fff;
}

.package-body {
    padding: 0 30px 30px;
}

.package-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.package-card.featured .package-description {
    color: rgba(255, 255, 255, 0.9);
}

.package-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.package-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    padding: 10px 14px;
    background: rgba(12, 47, 134, 0.05);
    border-radius: 10px;
}

.package-card.featured .package-features .feature-item {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.package-features .feature-item i {
    color: var(--accent);
}

.package-card.featured .package-features .feature-item i {
    color: #fff;
}

.package-footer {
    padding: 0 30px 30px;
}

.package-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 14px;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(12, 47, 134, 0.3);
}

.package-card.featured .package-btn {
    background: #fff;
    color: var(--primary);
}

.package-btn:hover {
    transform: translateY(-3px);
}

.package-btn i {
    transition: transform 0.3s ease;
}

.package-btn:hover i {
    transform: translateX(-5px);
}

/* CTA Section */
.cta-services-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(12, 47, 134, 0.05), rgba(100, 116, 139, 0.05));
}

.cta-services-content {
    text-align: center;
    padding: 60px 40px;
    background: var(--card);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--stroke);
}

.cta-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 20px 50px rgba(100, 116, 139, 0.4);
    animation: pulse 2s infinite;
}

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

.cta-icon-large i {
    font-size: 48px;
    color: #fff;
}

.cta-services-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 12px;
}

.cta-services-text {
    font-size: 17px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 30px;
}

.cta-services-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 10px 30px rgba(12, 47, 134, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
}

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

.btn-cta-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    margin-top: 40px;
    background: radial-gradient(120% 160% at 80% -10%, rgba(24, 90, 219, 0.12), transparent 55%),
                linear-gradient(135deg, #050c23, #0a1538 55%, #040817);
    color: #dfe5f5;
    padding: 44px 0 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #13224a;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(100, 116, 139, 0.16), transparent 28%, transparent 72%, rgba(100, 116, 139, 0.16));
    opacity: 0.4;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px 16px;
}

.brand-stack {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}

.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    padding: 10px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}

.footer-tagline {
    color: #9eb1d6;
    font-weight: 600;
    margin-top: 4px;
}

.footer-ribbon {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dfe5f5;
    font-weight: 700;
    margin-top: 12px;
}

.footer-ribbon .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.footer-title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 17px;
}

.footer-desc {
    margin: 0 0 10px;
    color: #9eb1d6;
    font-weight: 600;
}

.footer-links,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #dfe5f5;
    font-weight: 700;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact li {
    color: #c6d1e9;
    font-weight: 700;
}

.newsletter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.newsletter input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #1f2c54;
    background: rgba(12, 18, 40, 0.7);
    color: #fff;
}

.newsletter button {
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    background: var(--accent);
    color: #0f1c42;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(100, 116, 139, 0.25);
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #131f3f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #9eb1d6;
    font-weight: 700;
}

.social {
    display: inline-flex;
    gap: 8px;
}

.social a {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    color: #dfe5f5;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
    .timeline::before {
        right: 20px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        padding-right: 60px;
        padding-left: 0;
        margin-right: 0;
        text-align: right;
    }

    .timeline-number {
        right: -65px !important;
        left: auto !important;
    }
}

@media (max-width: 768px) {
    .hero-services {
        padding: 80px 0 60px;
    }

    .services-section,
    .journey-section,
    .packages-section {
        padding: 60px 0;
    }

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

    .package-card.featured {
        transform: scale(1);
    }

    .cta-services-buttons {
        flex-direction: column;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
    }
}
