@charset "utf-8";

:root {
    --primary-color: #0052d9; /* Tech Blue */
    --primary-dark: #003cab;
    --secondary-color: #1a202c;
    --text-main: #1d2129;
    --text-regular: #4e5969;
    --text-light: #86909c;
    --bg-light: #f2f3f5;
    --white: #ffffff;
    --border-color: #e5e6eb;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 32px rgba(0, 82, 217, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Section Common */
.section-py {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-regular);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.about-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../../images/about/about.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.65), rgba(255,255,255,0.55));
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 56px;
    color: #24313F;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(36,49,63,0.75);
    font-weight: 400;
    max-width: 720px;
    margin: 12px auto 30px;
    line-height: 1.6;
}

.hero-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.hero-btn-primary {
    background: #2F6FED;
    color: #FFFFFF;
    border: 1px solid #2A62D4;
    box-shadow: 0 6px 16px rgba(47,111,237,0.25);
}

.hero-btn-primary:hover {
    background: #2A62D4;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.hero-btn-outline {
    background: #F5F7FA;
    color: #394A5A;
    border: 1px solid #E1E6EE;
}

.hero-btn-outline:hover {
    background: #ECEFF4;
    color: #24313F;
    transform: translateY(-2px);
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.intro-section {
    background: #fff;
    position: relative;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text-content {
    padding-right: 20px;
}

.intro-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.intro-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.3;
}

.intro-desc {
    font-size: 16px;
    color: var(--text-regular);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.intro-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.intro-image-wrapper:hover img {
    transform: scale(1.03);
}

.intro-stats-card {
    position: absolute;
    bottom: -30px;
    left: 40px;
    background: #fff;
    padding: 24px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.stats-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 82, 217, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stats-info h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1;
}

.stats-info span {
    font-size: 14px;
    color: var(--text-light);
}

/* ==========================================================================
   Values Section
   ========================================================================== */
.values-section {
    background: #f7f9fc;
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 82, 217, 0.1);
}

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

.value-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #f2f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-regular);
    transition: var(--transition);
}

.value-card:hover .value-icon-box {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}

.value-card:hover .value-icon-box i {
    transform: rotateY(-180deg); /* Keep icon upright */
}

.value-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.value-text {
    font-size: 14px;
    color: var(--text-regular);
    line-height: 1.6;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .about-hero {
        height: 400px;
    }
    .hero-title {
        font-size: 42px;
    }
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .intro-stats-card {
        display: none; /* Hide floating card on tablet/mobile for simplicity */
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-py {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
}
