/* ============================================================
   about.css – Bina Enterprises About Page Styles (FULL UPDATED)
   ============================================================ */

/* Hero Section */
.about-hero {
    text-align: center;
    padding: 40px 0 20px;
}
.about-hero h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #f97316, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.about-hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}

/* About Grid */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 3rem 0;
    align-items: center;
}
.about-text {
    flex: 1;
    min-width: 280px;
}
.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, #fff, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.about-text p {
    color: #cbd5e6;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.about-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.stat-box {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 120px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: 0.3s;
}
.stat-box:hover {
    transform: translateY(-5px);
    border-color: #f97316;
    background: rgba(249,115,22,0.1);
}
.stat-box h3 {
    font-size: 2.2rem;
    color: #f97316;
}

/* ===== UPDATED: About Image – Never overflows ===== */
.about-image {
    flex: 1;
    text-align: center;
    min-width: 200px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

/* Real image inside About section */
.about-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Fallback for Font Awesome icon (if you ever use it) */
.about-image i {
    font-size: 8rem;
    color: #f97316;
    filter: drop-shadow(0 0 20px rgba(249,115,22,0.4));
}

/* Team Section */
.team-section {
    margin: 4rem 0;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #fff, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
}
.team-card {
    background: rgba(20,30,55,0.55);
    backdrop-filter: blur(18px);
    border-radius: 40px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.15);
    width: 100%;
    max-width: 360px;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.3);
}
.team-card:hover {
    transform: translateY(-8px);
    border-color: #f97316;
    box-shadow: 0 28px 40px -12px rgba(249,115,22,0.3);
}

/* Profile Picture – Round & Fixed */
.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: rgba(255,255,255,0.05);
    border: 4px solid #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.profile-pic img:not([src]), 
.profile-pic img[src=""], 
.profile-pic img[src*="error"] {
    display: none;
}
.profile-pic .fallback-icon {
    font-size: 4rem;
    color: #f97316;
}

.team-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
}
.designation {
    color: #f97316;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
.bio {
    color: #cbd5e6;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
}
.social-icons a {
    color: #cbd5e6;
    font-size: 1.3rem;
    transition: 0.2s;
}
.social-icons a:hover {
    color: #f97316;
    transform: scale(1.1);
}

/* Features Section (Why Choose Us) */
.features-section {
    margin: 4rem 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: rgba(20,30,55,0.55);
    backdrop-filter: blur(18px);
    border-radius: 40px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
    transition: 0.4s;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: #f97316;
    box-shadow: 0 28px 40px -12px rgba(249,115,22,0.3);
}

/* Font Awesome icon fallback */
.feature-card i {
    font-size: 2.8rem;
    color: #facc15;
    margin-bottom: 1rem;
}

/* ===== NEW: Real image icons for Feature Cards ===== */
.feature-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem auto;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}
.feature-card p {
    color: #cbd5e6;
}

/* 3D Button */
.btn-3d {
    background: linear-gradient(95deg, #f97316, #ea580c);
    border: none;
    padding: 10px 32px;
    border-radius: 60px;
    font-weight: 600;
    color: white;
    box-shadow: 0 5px 15px rgba(249,115,22,0.4);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}
.btn-3d:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(249,115,22,0.6);
    background: linear-gradient(95deg, #ff841f, #f96510);
}

/* Container */
.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ===== RESPONSIVE (Mobile & Tablet) ===== */
@media (max-width: 768px) {
    .about-hero h1 { font-size: 2rem; }
    .about-grid { flex-direction: column; text-align: center; }
    .about-stats { justify-content: center; }
    .team-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .profile-pic { width: 120px; height: 120px; }
    
    /* Make images smaller on mobile */
    .about-image img {
        max-height: 280px;
    }
    .feature-icon {
        width: 60px;
        height: 60px;
    }
}