/* ===========================
   Blue Robin Partners - Styles
   Fresh, Professional, Airy Design
   =========================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Blue Robin Partners - MORE SATURATED */
    --blue-primary: #2E8BC0;      /* Deeper, more saturated blue */
    --blue-dark: #1A5F8A;         /* Richer dark blue */
    --blue-light: #4FA3D1;        /* Brighter light blue */
    --blue-vivid: #00A8CC;        /* More vivid cyan-blue */
    --orange: #FF8C42;            /* More saturated orange */
    --orange-dark: #E6772E;       /* Richer dark orange */
    --orange-light: #FFB380;      /* Brighter light orange */
    --mint: #5FD3BC;              /* More vibrant mint */
    --mint-light: #7DE5CF;        /* Brighter mint */
    --yellow: #FFD23F;            /* More saturated yellow */
    --purple: #8E44AD;            /* Deeper purple */
    --pink: #FF4D8C;              /* More saturated pink */
    --teal: #00BCD4;              /* Brighter teal */
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8FAFB;
    --gray-lighter: #F3F4F6;
    --gray-light: #E5E7EB;
    --gray: #6B7280;
    --gray-dark: #374151;
    --black: #1F2937;
    
    /* Gradients - MORE VIBRANT */
    --gradient-primary: linear-gradient(135deg, #2E8BC0 0%, #00A8CC 100%);
    --gradient-warm: linear-gradient(135deg, #FF8C42 0%, #FF4D8C 100%);
    --gradient-cool: linear-gradient(135deg, #5FD3BC 0%, #2E8BC0 100%);
    --gradient-sunset: linear-gradient(135deg, #FFD23F 0%, #FF8C42 50%, #FF4D8C 100%);
    --gradient-ocean: linear-gradient(135deg, #2E8BC0 0%, #00BCD4 50%, #5FD3BC 100%);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-primary: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Avenir', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-color: 0 20px 60px rgba(46, 139, 192, 0.25);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: var(--space-md);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--space-sm);
    color: var(--gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(66, 147, 208, 0.1);
}

@media (max-width: 768px) {
    .navbar {
        padding: var(--space-sm) 0;
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 80px;
    width: auto;
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--gray-dark);
    font-weight: 600;
    padding: var(--space-sm) var(--space-md);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--gradient-warm);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--gradient-warm);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(66, 147, 208, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(66, 147, 208, 0.45);
}

.btn-secondary {
    background: var(--gradient-warm);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(242, 151, 66, 0.35);
}

.btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(242, 151, 66, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
    position: relative;
}

.btn-outline::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
    z-index: 0;
}

.btn-outline:hover::after {
    opacity: 1;
}

.btn-outline:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 147, 208, 0.3);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.2rem;
    border-radius: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #E3F4FD 0%, #FFF9F0 50%, #F0F9F4 100%);
    padding: calc(var(--space-3xl) + 2rem) 0 var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 800px 600px at 90% 20%, rgba(255, 140, 66, 0.15), transparent),
        radial-gradient(ellipse 600px 500px at 10% 80%, rgba(95, 211, 188, 0.12), transparent),
        radial-gradient(ellipse 700px 550px at 50% 50%, rgba(46, 139, 192, 0.08), transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    color: var(--black);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title .accent {
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    
}

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

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--gray);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 450px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-md) var(--space-lg);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(66, 147, 208, 0.2);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.floating-card.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 209, 102, 0.1));
    border-left: 4px solid var(--orange);
}

.floating-card.card-2 {
    top: 48%;
    right: 5%;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(66, 147, 208, 0.1));
    border-left: 4px solid var(--blue-vivid);
}

.floating-card.card-3 {
    bottom: 18%;
    left: 15%;
    animation-delay: 3s;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(139, 200, 180, 0.1));
    border-left: 4px solid var(--mint);
}

.card-icon {
    font-size: 2.2rem;
    width: 55px;
    height: 55px;
    background: var(--gradient-warm);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(242, 151, 66, 0.4);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.floating-card.card-2 .card-icon {
    background: var(--gradient-primary);
    box-shadow: 0 8px 25px rgba(66, 147, 208, 0.4);
}

.floating-card.card-3 .card-icon {
    background: var(--gradient-cool);
    box-shadow: 0 8px 25px rgba(139, 200, 180, 0.4);
}

.card-text {
    font-weight: 700;
    color: var(--blue-dark);
    font-size: 1.05rem;
}

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

/* Services Overview */
.services-overview {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    color: var(--black);
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.service-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 24px;
    border: 2px solid rgba(66, 147, 208, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-ocean);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(66, 147, 208, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 60px rgba(66, 147, 208, 0.25);
    border-color: var(--blue-vivid);
}

.service-card:nth-child(1) {
    background: linear-gradient(145deg, #ffffff 0%, rgba(66, 147, 208, 0.02) 100%);
}

.service-card:nth-child(1)::before {
    background: var(--gradient-primary);
}

.service-card:nth-child(2) {
    background: linear-gradient(145deg, #ffffff 0%, rgba(242, 151, 66, 0.02) 100%);
}

.service-card:nth-child(2)::before {
    background: var(--gradient-warm);
}

.service-card:nth-child(2):hover {
    border-color: var(--orange);
    box-shadow: 0 25px 60px rgba(242, 151, 66, 0.25);
}

.service-card:nth-child(3) {
    background: linear-gradient(145deg, #ffffff 0%, rgba(139, 200, 180, 0.02) 100%);
}

.service-card:nth-child(3)::before {
    background: var(--gradient-cool);
}

.service-card:nth-child(3):hover {
    border-color: var(--mint);
    box-shadow: 0 25px 60px rgba(139, 200, 180, 0.25);
}

.service-card:nth-child(4) {
    background: linear-gradient(145deg, #ffffff 0%, rgba(255, 209, 102, 0.02) 100%);
}

.service-card:nth-child(4)::before {
    background: var(--gradient-sunset);
}

.service-card:nth-child(4):hover {
    border-color: var(--pink);
    box-shadow: 0 25px 60px rgba(255, 107, 157, 0.25);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    color: var(--blue-primary);
}

.service-icon svg {
    width: 56px;
    height: 56px;
    stroke-width: 2;
}

.service-card:nth-child(2) .service-icon {
    color: var(--orange);
}

.service-card:nth-child(3) .service-icon {
    color: var(--mint);
}

.service-card:nth-child(4) .service-icon {
    color: var(--pink);
}

.service-card:hover .service-icon {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 10px 20px rgba(66, 147, 208, 0.3));
}

.service-card:nth-child(2):hover .service-icon {
    filter: drop-shadow(0 10px 20px rgba(242, 151, 66, 0.4));
}

.service-card:nth-child(3):hover .service-icon {
    filter: drop-shadow(0 10px 20px rgba(139, 200, 180, 0.4));
}

.service-card:nth-child(4):hover .service-icon {
    filter: drop-shadow(0 10px 20px rgba(255, 107, 157, 0.4));
}

.service-card h3 {
    color: var(--blue-dark);
    margin-bottom: var(--space-sm);
    transition: color 0.3s ease;
    font-weight: 700;
    font-size: 1.4rem;
}

.service-card:nth-child(2):hover h3 {
    color: var(--orange);
}

.service-card:nth-child(3):hover h3 {
    color: var(--mint);
}

.service-card:nth-child(4):hover h3 {
    color: var(--pink);
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
}

.services-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, rgba(91, 164, 207, 0.05) 0%, rgba(139, 200, 180, 0.05) 100%);
    padding: var(--space-3xl) 0;
}

.why-us-content {
    max-width: 900px;
    margin: 0 auto;
}

.why-us-text h2 {
    margin-bottom: var(--space-xl);
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.benefit-item {
    display: flex;
    gap: var(--space-md);
    background: var(--white);
    padding: var(--space-md);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.benefit-icon {
    font-size: 2rem;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(242, 151, 66, 0.4);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

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

.benefit-item:nth-child(even) .benefit-icon {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    box-shadow: 0 6px 20px rgba(66, 147, 208, 0.4);
}

.benefit-item h3 {
    color: var(--blue-dark);
    margin-bottom: var(--space-xs);
    font-size: 1.25rem;
}

.benefit-item p {
    color: var(--gray);
}

.why-us-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.stat-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(66, 147, 208, 0.12);
    border: 2px solid rgba(66, 147, 208, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-ocean);
}

.stat-card:nth-child(1)::before {
    background: var(--gradient-primary);
}

.stat-card:nth-child(2)::before {
    background: var(--gradient-warm);
}

.stat-card:nth-child(3)::before {
    background: var(--gradient-sunset);
}

.stat-card:hover {
    transform: translateX(15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(66, 147, 208, 0.25);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    
}

.stat-card:nth-child(1) .stat-number {
    background: var(--gradient-primary);
    
}

.stat-card:nth-child(2) .stat-number {
    background: var(--gradient-warm);
    
}

.stat-card:nth-child(3) .stat-number {
    background: var(--gradient-sunset);
    
}

.stat-label {
    color: var(--gray-dark);
    font-weight: 700;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-ocean);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
    padding: calc(var(--space-3xl) + 1rem) 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -25%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatOrb 12s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.2) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatOrb 15s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--blue-primary);
    font-weight: 800;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: var(--gradient-sunset);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--gray-light);
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-md);
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-description {
    color: var(--gray-light);
    line-height: 1.7;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section ul li a {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--blue-primary);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-icon {
    font-size: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-md);
    text-align: center;
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    h1 { font-size: 2rem; }
    .hero-title { font-size: 2.5rem; }
    
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* ===========================
   Services Page Styles
   =========================== */

.page-header {
    background: linear-gradient(135deg, #E8F4F9 0%, #FFF4E8 100%);
    padding: calc(var(--space-3xl) + 1rem) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 600px 400px at 80% 30%, rgba(46, 139, 192, 0.12), transparent),
        radial-gradient(ellipse 500px 350px at 20% 70%, rgba(255, 140, 66, 0.1), transparent);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    font-weight: 800;
    background: var(--gradient-ocean);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 5s ease infinite;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

.service-detail {
    padding: var(--space-3xl) 0;
}

.service-detail.alt-bg {
    background: linear-gradient(135deg, rgba(91, 164, 207, 0.03) 0%, rgba(139, 200, 180, 0.03) 100%);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
}

.service-badge {
    display: inline-block;
    background: var(--gradient-sunset);
    
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 25px rgba(242, 151, 66, 0.4);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.service-badge:hover {
    transform: scale(1.05);
}

.service-detail-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.lead {
    font-size: 1.25rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.feature-list {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.feature-list li {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-light);
}

.check-icon {
    min-width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(242, 151, 66, 0.3);
}

.feature-list li:nth-child(even) .check-icon {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    box-shadow: 0 4px 12px rgba(66, 147, 208, 0.3);
}

.feature-list strong {
    display: block;
    color: var(--blue-dark);
    margin-bottom: var(--space-xs);
    font-size: 1.125rem;
}

.feature-list p {
    color: var(--gray);
    margin: 0;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.step {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.step-number {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(242, 151, 66, 0.3);
}

.step:nth-child(even) .step-number {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    box-shadow: 0 4px 15px rgba(66, 147, 208, 0.3);
}

.step-content h4 {
    color: var(--blue-dark);
    margin-bottom: var(--space-xs);
}

.step-content p {
    color: var(--gray);
    margin: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.process-item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 2px solid var(--gray-light);
    text-align: center;
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    color: var(--blue-primary);
}

.process-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 2;
}

.process-item:nth-child(2) .process-icon {
    color: var(--orange);
}

.process-item:nth-child(3) .process-icon {
    color: var(--mint);
}

.process-item:nth-child(4) .process-icon {
    color: var(--pink);
}

.process-item h4 {
    color: var(--blue-dark);
    margin-bottom: var(--space-xs);
}

.process-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tech-badge {
    background: rgba(91, 164, 207, 0.1);
    color: var(--blue-dark);
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--blue-primary);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.platform-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 2px solid var(--gray-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-primary), var(--orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.platform-card:hover {
    border-color: var(--orange);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(242, 151, 66, 0.25);
}

.platform-card:nth-child(even):hover {
    border-color: var(--blue-primary);
    box-shadow: 0 15px 40px rgba(66, 147, 208, 0.25);
}

.platform-card h4 {
    color: var(--blue-dark);
    margin-bottom: var(--space-xs);
    transition: color 0.3s ease;
}

.platform-card:hover h4 {
    color: var(--orange);
}

.platform-card:nth-child(even):hover h4 {
    color: var(--blue-primary);
}

.platform-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.sidebar-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 16px;
    border: 2px solid var(--gray-light);
    margin-bottom: var(--space-md);
}

.sidebar-card h4 {
    color: var(--blue-dark);
    margin-bottom: var(--space-md);
}

.simple-list {
    list-style: none;
}

.simple-list li {
    padding: var(--space-xs) 0;
    color: var(--gray);
    position: relative;
    padding-left: var(--space-md);
}

.simple-list li::before {
    content: '•';
    color: var(--blue-primary);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: var(--white);
    border: none;
}

.cta-card h4 {
    color: var(--white);
}

.cta-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-md);
}

.cta-card .btn-primary {
    background: var(--white);
    color: var(--blue-primary);
    width: 100%;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(91, 164, 207, 0.1) 0%, rgba(139, 200, 180, 0.1) 100%);
}

.result-stat {
    text-align: center;
    padding: var(--space-md) 0;
}

.result-stat:not(:last-child) {
    border-bottom: 1px solid var(--gray-light);
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: var(--space-xs);
}

.result-label {
    color: var(--gray-dark);
    font-weight: 600;
}

/* ===========================
   About Page Styles
   =========================== */

.about-intro {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-text h2 {
    margin-bottom: var(--space-md);
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.value-item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 2px solid var(--gray-light);
}

.value-item h3 {
    color: var(--blue-dark);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.value-icon {
    font-size: 1.5rem;
}

.team-section {
    background: linear-gradient(135deg, rgba(91, 164, 207, 0.03) 0%, rgba(139, 200, 180, 0.03) 100%);
    padding: var(--space-3xl) 0;
}

.team-intro {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.team-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--gray-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-primary), var(--orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(66, 147, 208, 0.2);
    border-color: var(--blue-primary);
}

.team-card:nth-child(odd):hover {
    box-shadow: 0 15px 40px rgba(242, 151, 66, 0.2);
    border-color: var(--orange);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto var(--space-md);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(66, 147, 208, 0.3);
}

.team-card:nth-child(odd) .team-avatar {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 8px 25px rgba(242, 151, 66, 0.3);
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
}

.team-card h3 {
    color: var(--blue-dark);
    margin-bottom: var(--space-xs);
}

.team-role {
    color: var(--blue-primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.team-card:nth-child(odd) .team-role {
    color: var(--orange);
}

.team-card p {
    color: var(--gray);
}

/* ===========================
   Contact Page Styles
   =========================== */

.contact-section {
    padding: var(--space-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-info-section h2 {
    margin-bottom: var(--space-md);
}

.contact-info-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-method {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 2px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.contact-method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-method h3 {
    color: var(--blue-dark);
    margin-bottom: var(--space-xs);
    font-size: 1.125rem;
}

.contact-method a {
    color: var(--blue-primary);
    font-weight: 600;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 16px;
    border: 2px solid var(--gray-light);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    color: var(--gray-dark);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group.required label::after {
    content: ' *';
    color: var(--orange);
}

/* Responsive for Services, About, Contact */
@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Value Icons on About Page */
.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-xs);
    color: var(--blue-primary);
}

.value-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.value-item:nth-child(even) .value-icon {
    color: var(--orange);
}

/* Team Avatar SVGs */
.team-avatar svg {
    width: 48px;
    height: 48px;
    stroke: white;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .service-detail-content h2 {
        font-size: 2rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Jira Services - Additional Styles */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.challenge-item {
    background: rgba(255, 107, 157, 0.05);
    padding: var(--space-md);
    border-radius: 12px;
    border-left: 3px solid var(--pink);
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.framework-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.framework-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 16px;
    border: 2px solid rgba(66, 147, 208, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.framework-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(66, 147, 208, 0.2);
    border-color: var(--blue-primary);
}

.framework-card:nth-child(1) {
    border-top: 4px solid var(--blue-primary);
}

.framework-card:nth-child(2) {
    border-top: 4px solid var(--orange);
}

.framework-card:nth-child(3) {
    border-top: 4px solid var(--mint);
}

.framework-card h4 {
    color: var(--blue-dark);
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.framework-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.outcome-item {
    color: var(--gray-dark);
    font-size: 0.95rem;
    padding: var(--space-xs);
}

@media (max-width: 1024px) {
    .challenge-grid,
    .outcomes-grid {
        grid-template-columns: 1fr;
    }
    
    .framework-cards {
        grid-template-columns: 1fr;
    }
}
