
.main-wrapper {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

#hero ,#philosophy ,#timeline ,#culture ,#services ,#process{
    min-height: 100%;
    width: 100%;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;    
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#hero {
    background: linear-gradient(135deg, #2a3038 0%, #3d4350 100%);
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23948979" opacity="0.1"/></svg>') repeat;
    opacity: 0.5;
    animation: float 20s infinite linear;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

.hero-content {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #DFD0B8;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.mission-text {
    font-size: 1.5rem;
    color: #948979;
    line-height: 2;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.6s; }
.stat-item:nth-child(2) { animation-delay: 0.8s; }
.stat-item:nth-child(3) { animation-delay: 1s; }

.stat-number1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #DFD0B8;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #948979;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#philosophy {
    background: linear-gradient(135deg, #DFD0B8 0%, #948979 100%);
}

.section-titles {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: #222831;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-titles::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #393E46;
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(57, 62, 70, 0.1);
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(34, 40, 49, 0.2);
    background: rgba(255, 255, 255, 0.8);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #393E46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(10deg);
    background: #222831;
}

.value-icon svg {
    width: 40px;
    height: 40px;
    fill: #DFD0B8;
}

.value-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #222831;
    margin-bottom: 20px;
}

.value-text {
    font-size: 1.1rem;
    color: #393E46;
    line-height: 1.8;
    font-weight: 400;
}

/* Team Section - Dark */
#team {
    background: linear-gradient(135deg, #393E46 0%, #222831 100%);
}

#team .section-titles {
    color: #DFD0B8;
}

#team .section-titles::after {
    background: #948979;
}

.department-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 15px 35px;
    background: transparent;
    border: 2px solid #948979;
    color: #948979;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #948979;
    color: #222831;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(148, 137, 121, 0.3);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    background: rgba(223, 208, 184, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.9);
    border: 2px solid rgba(148, 137, 121, 0.2);
}

.team-card.visible {
    opacity: 1;
    transform: scale(1);
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(223, 208, 184, 0.2);
    border-color: #948979;
}

.team-photo {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #948979 0%, #393E46 100%);
    position: relative;
    overflow: hidden;
}

.team-photo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(223, 208, 184, 0.3);
}

.team-info {
    padding: 30px;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #DFD0B8;
    margin-bottom: 8px;
}

.team-title {
    font-size: 1rem;
    color: #948979;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-dept {
    font-size: 0.9rem;
    color: #948979;
    opacity: 0.7;
    margin-bottom: 15px;
}

.team-bio {
    font-size: 1rem;
    color: #DFD0B8;
    line-height: 1.6;
    opacity: 0.8;
}

#differentiation {
    background: linear-gradient(135deg, #948979 0%, #DFD0B8 100%);
}

.comparison-table {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 30px;
    border-bottom: 2px solid rgba(57, 62, 70, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-40px);
}

.comparison-row.visible {
    opacity: 1;
    transform: translateX(0);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: rgba(255, 255, 255, 0.8);
}

.comparison-feature {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222831;
    display: flex;
    align-items: center;
    gap: 15px;
}

.comparison-us,
.comparison-others {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.comparison-us {
    color: #393E46;
}

.comparison-others {
    color: #948979;
    opacity: 0.6;
}

.check-icon {
    width: 30px;
    height: 30px;
    background: #393E46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 16px;
    height: 16px;
    fill: #DFD0B8;
}

.cross-icon {
    width: 30px;
    height: 30px;
    background: rgba(148, 137, 121, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cross-icon svg {
    width: 16px;
    height: 16px;
    fill: #948979;
}

#timeline {
    background: linear-gradient(135deg, #222831 0%, #393E46 100%);
}

#timeline .section-titles {
    color: #DFD0B8;
}

#timeline .section-titles::after {
    background: #948979;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #393E46;
    border-radius: 2px;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, #948979 0%, #DFD0B8 100%);
    transition: height 1s ease;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    padding: 35px;
    background: rgba(223, 208, 184, 0.1);
    border-radius: 20px;
    border: 2px solid rgba(148, 137, 121, 0.2);
    transition: all 0.4s ease;
    position: relative;
    margin-left: 20px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 32px;
    width: 20px;
    height: 20px;
    background: rgba(223, 208, 184, 0.1);
    border-left: 2px solid rgba(148, 137, 121, 0.2);
    border-bottom: 2px solid rgba(148, 137, 121, 0.2);
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    border-color: #948979;
    box-shadow: 0 15px 40px rgba(148, 137, 121, 0.2);
    background: rgba(223, 208, 184, 0.15);
}

.timeline-item:hover .timeline-content::before {
    border-color: #948979;
    background: rgba(223, 208, 184, 0.15);
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 20px;
    width: 60px;
    height: 60px;
    background: #393E46;
    border: 4px solid #948979;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 0 rgba(148, 137, 121, 0.4);
}

.timeline-item.visible .timeline-dot {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(148, 137, 121, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(148, 137, 121, 0);
    }
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2) rotate(360deg);
    background: #948979;
    border-color: #DFD0B8;
}

.timeline-dot svg {
    width: 30px;
    height: 30px;
    fill: #DFD0B8;
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-dot svg {
    transform: scale(1.1);
}

.timeline-year {
    font-size: 2.5rem;
    font-weight: 700;
    color: #948979;
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: #948979;
    transition: width 0.5s ease;
}

.timeline-item:hover .timeline-year::after {
    width: 100%;
}

.timeline-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #DFD0B8;
    margin-bottom: 15px;
    line-height: 1.3;
}

.timeline-text {
    font-size: 1.05rem;
    color: #948979;
    line-height: 1.8;
}

#culture {
    background: linear-gradient(135deg, #DFD0B8 0%, #948979 100%);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.culture-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(57, 62, 70, 0.1);
}

.culture-card.visible {
    opacity: 1;
    transform: scale(1);
}

.culture-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(34, 40, 49, 0.15);
}

.culture-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #393E46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.culture-card:hover .culture-icon-wrapper {
    transform: rotate(15deg) scale(1.1);
}

.culture-icon-wrapper svg {
    width: 35px;
    height: 35px;
    fill: #DFD0B8;
}

.culture-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #222831;
    margin-bottom: 20px;
}

.culture-text {
    font-size: 1.1rem;
    color: #393E46;
    line-height: 1.8;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: inherit;
    opacity: 0.8;
    max-width: 700px;
    margin: -50px auto 60px;
    line-height: 1.8;
}

#services {
    background: linear-gradient(135deg, #2a3038 0%, #3d4350 100%);
}

#services .section-titles {
    color: #DFD0B8;
}

#services .section-titles::after {
    background: #948979;
}

#services .section-subtitle {
    color: #948979;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: rgba(223, 208, 184, 0.08);
    padding: 50px 35px;
    border-radius: 25px;
    border: 2px solid rgba(148, 137, 121, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    overflow: hidden;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #948979 0%, #DFD0B8 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: #948979;
    box-shadow: 0 25px 70px rgba(148, 137, 121, 0.25);
    background: rgba(223, 208, 184, 0.12);
}

.service-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(148, 137, 121, 0.2);
    line-height: 1;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-number {
    color: rgba(148, 137, 121, 0.4);
    transform: scale(1.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(148, 137, 121, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: #948979;
    transform: rotate(360deg) scale(1.1);
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: #DFD0B8;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #DFD0B8;
    margin-bottom: 20px;
}

.service-description {
    font-size: 1rem;
    color: #948979;
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 0.95rem;
    color: #948979;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    opacity: 0.9;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #948979;
    font-weight: 600;
}

#process {
    background: linear-gradient(135deg, #e8dcc8 0%, #a89985 100%);
}

#process .section-titles {
    color: #222831;
}

#process .section-titles::after {
    background: #3d4350;
}

#process .section-subtitle {
    color: #3d4350;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    align-items: center;
    margin-top: 80px;
}

.process-step {
    margin:auto;
    background: rgba(255, 255, 255, 0.6);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s ease;
    border: 2px solid rgba(57, 62, 70, 0.1);
    grid-column: span 2;
    opacity: 0;
    transform: scale(0.9);
    backdrop-filter: blur(10px);
}

.process-step.visible {
    opacity: 1;
    transform: scale(1);
}

.process-step:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(34, 40, 49, 0.15);
    border-color: #3d4350;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background: #3d4350;
    color: #DFD0B8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.process-step:hover .process-step-number {
    transform: scale(1.2);
    background: #2a3038;
}

.process-step-title {
    white-space: nowrap;
    overflow: hidden;
    font-size: clamp(1rem, 4vw, 1.4rem);
    font-weight: 600;
    color: #222831;
    margin-bottom: 15px;
    max-width: 100%;
    display: block;
}

.process-step-text {
    font-size: 1rem;
    color: #3d4350;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 5.1em;
    max-height: 8.5em;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 0.6;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .mission-text {
        font-size: 1.1rem;
    }
    
    .stats-grid,
    .values-grid,
    .team-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-titles {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin: -30px auto 40px;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .timeline-container {
        padding-left: 50px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-dot {
        left: -25px;
        width: 50px;
        height: 50px;
    }
    
    .timeline-dot svg {
        width: 24px;
        height: 24px;
    }
    
    .timeline-content {
        margin-left: 15px;
        padding: 25px;
    }
    
    .timeline-content::before {
        left: -18px;
        top: 26px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-year {
        font-size: 2rem;
    }
    
    .timeline-title {
        font-size: 1.3rem;
    }
    
    .timeline-text {
        font-size: 0.95rem;
    }
    
    .timeline-item {
        margin-bottom: 40px;
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 2fr;
    }
    
    .process-step {
        grid-column: span 1;
    }
    
    .process-arrow {
        grid-column: span 1;
        transform: rotate(90deg);
    }
    
    section {
        padding: 60px 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .values-grid,
    .team-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: 4fr;
    }
    
    .process-step {
        grid-column: span 1;
    }
    
    .process-arrow {
        grid-column: span 1;
        transform: rotate(90deg);
    }
}