/* ==============================================
          About Us Page Specific Styles
          ============================================== */

/* --- General Section Styling --- */
.page-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-family: 'PinarBold', sans-serif;
        font-size: 2.5rem;
        color: var(--text-color);
        margin-bottom: 15px;
    }

    .section-title p {
        font-size: 1.1rem;
        color: var(--dark-gray-color);
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.8;
    }

/* --- Hero Section --- */
.about-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #34A853 0%, #1A73E8 100%);
    color: #ffffff;
    text-align: center;
}

    .about-hero h1 {
        font-family: 'PinarBold', sans-serif;
        font-size: 3.2rem;
        color: #ffffff;
        margin-bottom: 15px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .about-hero p {
        font-size: 1.2rem;
        opacity: 0.95;
        max-width: 800px;
        margin: 0 auto;
    }

/* ==============================================
           REVISED TIMELINE STYLES (BASED ON FEEDBACK)
           ============================================== */
.new-timeline-wrapper {
    font-family: 'PinarRegular', sans-serif;
}

.new-timeline-container {
    position: relative;
    margin: 0 auto;
}

    /* The vertical line - Made slightly darker for better visibility */
    .new-timeline-container::after {
        content: '';
        position: absolute;
        width: 5px; /* Slightly thicker */
        background: linear-gradient(to bottom, var(--primary-color), var(--success-color)); /* Gradient background */
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -2.5px; /* Adjust for thickness */
        z-index: 1;
    }

/* Timeline Item Container */
.new-timeline-item {
    padding: 20px 0; /* Increased padding for more vertical space */
    position: relative;
    width: 100%;
    display: flex;
    align-items: center; /* Vertically align items */
}

    /* The circular icon on the timeline - Centered vertically */
    .new-timeline-item .item-icon {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); /* Perfect vertical and horizontal centering */
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #fff;
        border: 3px solid; /* Color will be set by modifier class */
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        transition: transform 0.3s ease, border-color 0.3s ease; /* Added transition */
    }

        .new-timeline-item .item-icon:hover {
            transform: translate(-50%, -50%) scale(1.1); /* Scale on hover */
        }

/* The card content - Increased margin for more space from the icon */
.new-timeline-content {
    width: calc(50% - 55px); /* 50% minus new padding and icon radius */
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    display: flex;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease; /* Added transitions */
}

    .new-timeline-content:hover {
        transform: translateY(-5px); /* Lift effect on hover */
        box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Enhanced shadow on hover */
    }

/* Positioning items left and right */
.new-timeline-item.item-left {
    justify-content: flex-start;
}

.new-timeline-item.item-right {
    justify-content: flex-end;
}

.new-timeline-item.item-left .new-timeline-content {
    margin-left: 55px; /* Increased margin */
    border-right: 4px solid; /* Colored border on the right */
}

.new-timeline-item.item-right .new-timeline-content {
    margin-right: 55px; /* Increased margin */
    border-left: 4px solid; /* Colored border on the left */
}

/* Content inside the card */
.card-text-content {
    padding: 20px;
    flex-grow: 1;
}

    .card-text-content h4 {
        font-family: 'PinarBold', sans-serif;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .card-text-content p {
        font-size: 0.95rem;
        line-height: 1.7;
        color: var(--dark-gray-color);
    }

/* Date section with abstract pattern */
.card-date-content {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 120px;
    text-align: center;
    position: relative; /* Needed for pseudo-element */
    overflow: hidden; /* Needed for pseudo-element */
    flex-shrink: 0; /* Prevent shrinking */
}
    /* Abstract pattern pseudo-element */
    .card-date-content::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -50px;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
        transition: transform 0.5s ease;
    }

.new-timeline-content:hover .card-date-content::before {
    transform: scale(1.5);
}

/* Alternating layout for card content */
.new-timeline-item.item-right .new-timeline-content {
    flex-direction: row-reverse;
}

/* Color modifiers */
.color-purple .item-icon {
    border-color: #8e44ad;
    color: #8e44ad;
}

.color-purple .card-date-content {
    background-color: #8e44ad;
}

.new-timeline-item.item-left.color-purple .new-timeline-content {
    border-right-color: #8e44ad;
}

.new-timeline-item.item-right.color-purple .new-timeline-content {
    border-left-color: #8e44ad;
}

.color-blue .item-icon {
    border-color: #2980b9;
    color: #2980b9;
}

.color-blue .card-date-content {
    background-color: #2980b9;
}

.new-timeline-item.item-left.color-blue .new-timeline-content {
    border-right-color: #2980b9;
}

.new-timeline-item.item-right.color-blue .new-timeline-content {
    border-left-color: #2980b9;
}

.color-green .item-icon {
    border-color: #27ae60;
    color: #27ae60;
}

.color-green .card-date-content {
    background-color: #27ae60;
}

.new-timeline-item.item-left.color-green .new-timeline-content {
    border-right-color: #27ae60;
}

.new-timeline-item.item-right.color-green .new-timeline-content {
    border-left-color: #27ae60;
}

.color-orange .item-icon {
    border-color: #f39c12;
    color: #f39c12;
}

.color-orange .card-date-content {
    background-color: #f39c12;
}

.new-timeline-item.item-left.color-orange .new-timeline-content {
    border-right-color: #f39c12;
}

.new-timeline-item.item-right.color-orange .new-timeline-content {
    border-left-color: #f39c12;
}

.color-red .item-icon {
    border-color: #c0392b;
    color: #c0392b;
}

.color-red .card-date-content {
    background-color: #c0392b;
}

.new-timeline-item.item-left.color-red .new-timeline-content {
    border-right-color: #c0392b;
}

.new-timeline-item.item-right.color-red .new-timeline-content {
    border-left-color: #c0392b;
}

/* Responsive Design for Timeline */
@media (max-width: 992px) {
    .new-timeline-container::after {
        left: 25px; /* Move line to the left */
        margin-left: 0;
    }

    .new-timeline-item {
        padding: 10px 0;
        padding-left: 70px; /* Make space for line and icon */
        width: 100%;
        align-items: flex-start;
    }
        /* Adjust horizontal connector for mobile */
        .new-timeline-item::before {
            left: 25px; /* Aligns with vertical line */
            width: 45px; /* Fixed length for mobile */
            margin-left: 0;
            transform: translateY(-50%);
        }

        .new-timeline-item.item-left::before {
            right: auto; /* Override desktop positioning */
        }

        .new-timeline-item.item-right::before {
            left: 25px; /* Keep it on the left for all items on mobile */
            margin-left: 0;
        }

        .new-timeline-item .item-icon {
            left: 25px; /* Align icon with the line */
            top: 20px; /* Position icon near the top of the card */
            transform: translateX(-50%); /* Only horizontal centering */
        }

    .new-timeline-content {
        width: 100%;
        margin: 0 !important;
        border-left: 4px solid; /* Ensure border is always on the left for mobile */
        border-right: none !important; /* Remove right border for mobile */
    }
    /* Ensure mobile specific border colors */
    .new-timeline-item.color-purple .new-timeline-content {
        border-left-color: #8e44ad;
    }

    .new-timeline-item.color-blue .new-timeline-content {
        border-left-color: #2980b9;
    }

    .new-timeline-item.color-green .new-timeline-content {
        border-left-color: #27ae60;
    }

    .new-timeline-item.color-orange .new-timeline-content {
        border-left-color: #f39c12;
    }

    .new-timeline-item.color-red .new-timeline-content {
        border-left-color: #c0392b;
    }

    .new-timeline-item.item-right .new-timeline-content {
        flex-direction: row; /* Keep content direction normal on mobile */
    }
}
/* --- END OF NEW TIMELINE STYLES --- */


/* --- Stats Section --- */
.stats-section {
    background-color: var(--light-gray-color);
}

.hero-numbers-card {
    background-color: var(--component-bg-color);
    border: 1px solid var(--medium-gray-color);
    border-radius: 12px;
    padding: 40px;
}

    .hero-numbers-card .numbers-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }

    .hero-numbers-card .number-item {
        text-align: center;
    }

        .hero-numbers-card .number-item .svg-icon {
            font-size: 40px;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

    .hero-numbers-card .number-item-value {
        font-family: 'PinarBold', sans-serif;
        font-size: 2.8rem;
        color: var(--text-color);
    }

    .hero-numbers-card .number-item-label {
        font-size: 1.1rem;
        color: var(--dark-gray-color);
    }
    /* NEW: Added description for stats */
    .hero-numbers-card .number-item-description {
        font-size: 0.9rem;
        color: var(--dark-gray-color);
        margin-top: 5px;
        line-height: 1.5;
    }

/* --- Team Section --- */
.team-section {
    background-color: #fff;
}

.team-category-title {
    text-align: center;
    font-family: 'PinarBold', sans-serif;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 50px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

    .team-category-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        height: 4px;
        background-color: var(--primary-color);
        border-radius: 2px;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center;
}

.team-card {
    background-color: var(--component-bg-color);
    border-radius: 12px;
    text-align: right;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.09);
    overflow: hidden;
    position: relative;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

    .team-card:hover {
        transform: translateY(-10px);
    }

.team-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.team-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 20px;
}

.team-card-info {
    flex-grow: 1;
}

.team-card h5 {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 5px 0;
}

.team-card .team-member-handle {
    font-size: 1rem;
    color: var(--dark-gray-color);
}

.team-card-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary-color);
    margin-bottom: 25px;
    flex-grow: 1;
}

.team-card-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--medium-gray-color);
    margin-top: auto;
}

.team-card-stat-item .stat-value {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.2rem;
    display: block;
}

.team-card-stat-item .stat-label {
    font-size: 0.8rem;
    color: var(--dark-gray-color);
}

/* --- Honors Section --- */
.honors-section {
    background-color: #f8f9fa;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.honor-item {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .honor-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .honor-item .svg-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .honor-item h4 {
        font-family: 'PinarBold', sans-serif;
        font-size: 1.2rem;
        margin: 0;
        color: var(--text-color);
    }

    .honor-item.startup .svg-icon {
        color: #F9AB00;
    }

    .honor-item.hackathon .svg-icon {
        color: #D93025;
    }

    .honor-item.guild .svg-icon {
        color: #4285F4;
    }

    .honor-item.license .svg-icon {
        color: #34A853;
    }

/* NEW: Customers/Trust Section */
.customers-section {
    background-color: var(--component-bg-color);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
}

    .customers-grid .customer-logo-card {
        background-color: #fff;
        border: 1px solid var(--medium-gray-color);
        border-radius: var(--border-radius);
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100px; /* Fixed height for consistency */
        box-shadow: 0 1px 5px rgba(0,0,0,0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .customers-grid .customer-logo-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .customers-grid .customer-logo-card img {
            max-width: 100%;
            max-height: 70px; /* Constrain image height within the card */
            object-fit: contain;
            opacity: 0.8;
            transition: opacity 0.2s ease;
        }

        .customers-grid .customer-logo-card:hover img {
            opacity: 1;
        }

/* --- CTA Section (Join Us) --- */
.join-us-cta {
    background: linear-gradient(135deg, #34A853 0%, #1A73E8 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

    .join-us-cta h2 {
        font-size: 2.5rem;
        color: #fff;
        margin-bottom: 15px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .join-us-cta p {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 30px;
    }

/* NEW: Glassy Button Style (Copied from contact-us.html) */
.btn-glass-effect {
    font-size: 1.2rem;
    padding: 35px 40px;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    border-radius: 16px; /* Rounded corners for the glassy look */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    backdrop-filter: blur(5px); /* The main blur effect */
    -webkit-backdrop-filter: blur(5px); /* For Safari browser compatibility */
    border: 1px solid rgba(255, 255, 255, 0.3); /* A light border to define the edge */
    color: #ffffff; /* Ensuring text is white and readable */
    text-shadow: 0 1px 2px rgba(0,0,0,0.2); /* Text shadow for better legibility */
    transition: background 0.3s; /* Smooth transition for hover effect */
}

    .btn-glass-effect:hover {
        background: rgba(255, 255, 255, 0.35); /* Slightly more opaque on hover */
    }

/* NEW: Vision and Mission Section Styles */
.vision-mission-section {
    background-color: var(--light-gray-color); /* A subtle background */
}

.vm-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Auto-fit to max 3 columns */
    gap: 30px;
    margin: 0 auto;
}

.vm-card {
    background-color: var(--component-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .vm-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.vm-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    /* Specific colors for new cards */
    .vm-icon-wrapper.blue-gradient {
        background: linear-gradient(135deg, #1A73E8 0%, #4285F4 100%);
    }

    .vm-icon-wrapper.green-gradient {
        background: linear-gradient(135deg, #34A853 0%, #4CAF50 100%);
    }

    .vm-icon-wrapper.purple-gradient {
        background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    }

    .vm-icon-wrapper.orange-gradient {
        background: linear-gradient(135deg, #f39c12 0%, #f9ab00 100%);
    }

    .vm-icon-wrapper.red-gradient {
        background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    }

    .vm-icon-wrapper.gray-gradient {
        background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
    }


.vm-text-content h3 {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.vm-text-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-gray-color);
}

/* Responsive adjustments for this section if needed */
@media (min-width: 992px) { /* For desktop and larger screens, ensure 3 columns */
    .vm-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .honors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vm-cards-container {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
}
