/* ==========================================================================
   StudyBuddy About Page Modern Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #f15a24;
    --secondary-color: #ff8c00;
    --dark-color: #1a1a2e;
    --text-color: #4a4a4a;
    --text-muted: #555555;
    --bg-light: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-hover: 0 15px 45px 0 rgba(31, 38, 135, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
    --font-main: 'Poppins', sans-serif;
}

.about-page-wrapper {
    font-family: var(--font-main);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typography Overrides - Significantly Increased Size */
.about-page-wrapper h1, 
.about-page-wrapper h2, 
.about-page-wrapper h3, 
.about-page-wrapper h5 {
    font-family: var(--font-main);
    font-weight: 700;
    color: var(--dark-color);
}

.about-page-wrapper p {
    font-size: 1.35rem; /* Drastically increased font size */
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 25px;
}

/* Hero Section */
.about-hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a2a4a 100%);
    color: white;
    text-align: center;
    overflow: hidden;
    margin-bottom: 60px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(241,90,36,0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    animation: float 8s infinite alternate;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,140,0,0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    animation: float 10s infinite alternate-reverse;
}

.about-hero-content {
    position: relative;
    z-index: 10;
}

.about-hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #ffe0d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.about-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    padding: 12px 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.about-breadcrumb li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.about-breadcrumb li a:hover {
    color: white;
}

.about-breadcrumb li.active {
    color: var(--primary-color);
}

.about-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 15px;
    color: rgba(255,255,255,0.5);
}

/* Introduction Section */
.intro-section {
    padding: 70px 0;
}

.intro-text-box {
    padding-right: 50px;
}

.intro-text-box h5 {
    color: var(--primary-color);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(241, 90, 36, 0.1);
    border-radius: 30px;
}

.intro-text-box h2 {
    font-size: 3.5rem;
    line-height: 1.25;
    margin-bottom: 30px;
}

/* Single Relevant Image */
.intro-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transition: transform 0.4s ease;
}

.intro-image-wrapper:hover {
    transform: translateY(-10px);
}

.intro-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Glassmorphism Cards Area */
.values-area {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #eef2f5 100%);
    position: relative;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.glass-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

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

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(241,90,36,0.1) 0%, rgba(255,140,0,0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 36px;
    transition: all 0.4s ease;
}

.glass-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: rotateY(360deg);
}

.glass-card h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* Team Sections */
.team-section {
    padding: 80px 0;
}

.team-section.bg-light {
    background-color: var(--bg-light);
}

.team-card-wrapper {
    display: flex;
    justify-content: center;
}

.profile-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.4s ease;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.profile-image-wrap {
    width: 35%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.profile-image-inner {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid white;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    width: 65%;
    padding: 50px;
}

.profile-info h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.profile-role {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
    display: inline-block;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.05); }
}

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

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

/* Responsive */
@media (max-width: 991px) {
    .about-hero h1 { font-size: 3.5rem; }
    .intro-text-box { padding-right: 0; margin-bottom: 40px; }
    
    .profile-card {
        flex-direction: column;
        max-width: 700px;
    }
    .profile-image-wrap {
        width: 100%;
        padding: 50px 20px 30px;
    }
    .profile-info {
        width: 100%;
        padding: 40px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .about-hero { padding: 100px 0 80px; }
    .about-hero h1 { font-size: 2.8rem; }
    .intro-text-box h2 { font-size: 2.5rem; }
    .glass-card { margin-bottom: 30px; }
    .about-page-wrapper p { font-size: 1.2rem; }
}
