/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6b7ae6;
    --dark-color: #1d2144;
    --light-color: #f5f8ff;
    --text-color: #4a5568;
    --white: #ffffff;
    --gray: #e2e8f0;
    --light-gray: #f7fafc;
    --success-color: #10b981;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 42px;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    margin-top: 65px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-color);
    margin-top: 25px;
    opacity: 0.8;
}

/* Main About Content */
.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

/* About Text */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.intro-block h3 {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-block p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Mission & Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.mv-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mv-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 20px;
}

.mv-card h4 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.mv-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Story Section */
.story-section h3 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.story-section > p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-color);
}

.milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.milestone {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.milestone:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.milestone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.milestone:hover::before {
    height: 100%;
}

.year {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.event {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.milestone p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

/* About Visuals */
.about-visuals {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
    transition: var(--transition);
}

.stat-label {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    margin: 0 auto;
}

/* Team Image */
.team-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 30px 25px;
    transform: translateY(100%);
    transition: var(--transition);
}

.team-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content {
    text-align: center;
}

.overlay-content i {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--white);
}

.overlay-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.overlay-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Values Section */
.values-section {
    margin-bottom: 80px;
}

.values-section h3 {
    text-align: center;
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 50px;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px 15px 0 0;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 32px;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: scale(1.1);
}

.value-card h4 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Why Choose Us Section */
.why-choose-section {
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 80px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-text h3 {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.reason {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.reason i {
    color: var(--success-color);
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.reason h5 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.reason p {
    color: var(--text-color);
    line-height: 1.6;
}

.why-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.expertise-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(74, 108, 247, 0.3);
}

.badge-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.badge-text {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

/* Technology Stack */
.tech-stack-section {
    text-align: center;
}

.tech-stack-section h3 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.tech-subtitle {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-category {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tech-category h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-item {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tech-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .intro-block h3 {
        font-size: 28px;
    }
    
    .why-choose-section {
        padding: 40px 30px;
    }
    
    .values-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .milestones {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .mv-card,
    .stat-card,
    .value-card,
    .tech-category {
        padding: 25px 20px;
    }
    
    .why-choose-section {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}