/* ============================================
   GoDerme - Team Page Neutral Design
   Beautiful & Aesthetic Team Page
   ============================================ */

:root {
    --primary-color: #8B7D6B;
    --secondary-color: #C2A878;
    --accent-light: #F5F0E6;
    --text-dark: #5D534A;
    --white: #ffffff;
}

/* ============================================
   HERO SECTION
   ============================================ */

.page-team-neutral {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #F5F0E6 100%);
}

.team-hero-section {
    padding: 60px 0;
    margin-bottom: 80px;
}

.team-hero-section h2 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: 'Marcellus', serif;
    font-weight: 400;
}

.team-hero-section .lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ============================================
   VALUES SECTION
   ============================================ */

.team-values-section {
    margin-bottom: 100px;
}

.section-title-small {
    margin-bottom: 50px;
}

.section-title-small h3 {
    font-size: 16px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 15px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(139, 125, 107, 0.08);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(139, 125, 107, 0.18);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-light), #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.value-card:hover .value-icon i {
    color: white;
}

.value-card h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Marcellus', serif;
    font-weight: 600;
}

.value-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
    opacity: 0.85;
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */

.expertise-section {
    margin-bottom: 100px;
    padding: 80px 0;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(139, 125, 107, 0.12);
}

.section-title-left {
    margin-bottom: 30px;
}

.section-title-left h3 {
    font-size: 16px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title-left h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-family: 'Marcellus', serif;
    line-height: 1.3;
}

.expertise-content {
    padding-right: 40px;
}

.expertise-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
    opacity: 0.9;
}

.expertise-highlights {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.highlight-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--accent-light), #ffffff);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 125, 107, 0.15);
}

.highlight-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Marcellus', serif;
    margin-bottom: 8px;
    line-height: 1;
}

.highlight-label {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.4;
    opacity: 0.8;
}

/* Expertise Visual Grid */
.expertise-visual {
    padding-left: 20px;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.visual-item {
    background: linear-gradient(135deg, var(--accent-light), #ffffff);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.visual-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.visual-item:hover::before {
    opacity: 1;
}

.visual-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.visual-item span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.visual-item:hover i,
.visual-item:hover span {
    color: white;
}

.visual-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--secondary-color);
    box-shadow: 0 12px 30px rgba(139, 125, 107, 0.2);
}

/* Stagger animation effect */
.visual-item.item-1 { animation-delay: 0.1s; }
.visual-item.item-2 { animation-delay: 0.2s; }
.visual-item.item-3 { animation-delay: 0.3s; }
.visual-item.item-4 { animation-delay: 0.4s; }
.visual-item.item-5 { animation-delay: 0.5s; }
.visual-item.item-6 { animation-delay: 0.6s; }

/* ============================================
   APPROACH TIMELINE SECTION
   ============================================ */

.approach-section {
    margin-bottom: 100px;
}

.approach-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
}

/* Vertical line */
.approach-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Marcellus', serif;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(139, 125, 107, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(139, 125, 107, 0.4);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 30px 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(139, 125, 107, 0.08);
    transition: all 0.4s ease;
    border-left: 4px solid transparent;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(139, 125, 107, 0.15);
    border-left-color: var(--secondary-color);
}

.timeline-content h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: 'Marcellus', serif;
    font-weight: 600;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
    opacity: 0.9;
}

/* ============================================
   CTA SECTION
   ============================================ */

.team-cta-section {
    margin-top: 80px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 50px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(139, 125, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

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

.cta-content {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.cta-content h3 {
    font-size: 36px;
    color: white;
    font-family: 'Marcellus', serif;
    margin-bottom: 15px;
    font-weight: 400;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn-default {
    padding: 16px 40px;
    font-size: 16px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
    .page-team-neutral {
        padding: 60px 0;
    }

    .team-hero-section h2 {
        font-size: 36px;
    }

    .team-hero-section .lead-text {
        font-size: 18px;
    }

    .team-values-section {
        margin-bottom: 80px;
    }

    .expertise-section {
        margin-bottom: 80px;
        padding: 60px 30px;
    }

    .expertise-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .expertise-visual {
        padding-left: 0;
    }

    .section-title-left h2 {
        font-size: 32px;
    }

    .approach-section {
        margin-bottom: 80px;
    }

    .approach-timeline::before {
        left: 39px;
    }

    .timeline-number {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .cta-box {
        padding: 50px 30px;
    }

    .cta-content h3 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .team-hero-section {
        padding: 40px 0;
        margin-bottom: 60px;
    }

    .team-hero-section h2 {
        font-size: 28px;
    }

    .team-hero-section .lead-text {
        font-size: 16px;
    }

    .team-values-section {
        margin-bottom: 60px;
    }

    .value-card {
        padding: 30px 20px;
    }

    .value-icon {
        width: 70px;
        height: 70px;
    }

    .value-icon i {
        font-size: 28px;
    }

    .value-card h4 {
        font-size: 18px;
    }

    .value-card p {
        font-size: 14px;
    }

    .expertise-section {
        padding: 40px 20px;
        margin-bottom: 60px;
    }

    .section-title-left h2 {
        font-size: 26px;
    }

    .expertise-description {
        font-size: 15px;
    }

    .expertise-highlights {
        gap: 15px;
    }

    .highlight-item {
        padding: 15px;
        min-width: 120px;
    }

    .highlight-number {
        font-size: 36px;
    }

    .highlight-label {
        font-size: 12px;
    }

    .visual-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .visual-item {
        padding: 25px 15px;
    }

    .approach-section {
        margin-bottom: 60px;
    }

    .approach-timeline {
        padding-left: 0;
    }

    .approach-timeline::before {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin: 0 auto;
    }

    .timeline-content {
        padding: 25px 20px;
        border-left: none;
        border-top: 4px solid transparent;
    }

    .timeline-item:hover .timeline-content {
        transform: translateX(0) translateY(-5px);
        border-top-color: var(--secondary-color);
    }

    .timeline-content h4 {
        font-size: 20px;
    }

    .timeline-content p {
        font-size: 15px;
    }

    .cta-box {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .cta-content h3 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons .btn-default {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .page-team-neutral {
        padding: 40px 0;
    }

    .team-hero-section h2 {
        font-size: 24px;
    }

    .section-title-small h3 {
        font-size: 14px;
    }

    .section-title-left h3 {
        font-size: 14px;
    }

    .section-title-left h2 {
        font-size: 24px;
    }

    .expertise-section {
        border-radius: 16px;
    }

    .cta-content h3 {
        font-size: 22px;
    }

    .cta-content p {
        font-size: 15px;
    }
}

/* ============================================
   ANIMATION ENHANCEMENTS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wow.fadeInUp {
    animation-name: fadeInUp;
}

.wow.fadeInLeft {
    animation-name: fadeInLeft;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--secondary-color);
    color: white;
}

::-moz-selection {
    background: var(--secondary-color);
    color: white;
}
