/* ===================================================================
   File: about-us.css
   Description: Page-specific styles for the AGOID INTERIOR About Us page.
   This file contains styles unique to about-us.html.
   =================================================================== */

/* --- 1. Page Hero Section --- */
.page-hero {
    padding: 140px 0 100px;
    background-image: linear-gradient(rgba(10, 10, 42, 0.88), rgba(10, 10, 42, 0.88)), url('../images/about/about-hero-bg.jpg'); /* Suggestion: Use a high-quality office or team photo */
    background-size: cover;
    background-position: center center;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.page-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-text);
}

.page-hero-content p {
    font-size: 1.2rem;
    color: var(--secondary-text);
    max-width: 750px;
    margin: 0 auto 30px;
}

.breadcrumbs {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-text);
}

.breadcrumbs a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-text);
    text-decoration: underline;
}

/* --- 2. Our Story Section --- */
.about-story-section {
    padding: 100px 0;
}
.about-story-section .about-image img {
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.section-tag {
    display: inline-block;
    color: var(--accent-pink);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.about-story-section .about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.about-story-section .about-content p {
    margin-bottom: 20px;
}

/* --- 3. Mission, Vision, Values Section (Guiding Principles) --- */
.mission-vision-section {
    background: var(--card-bg);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background: var(--dark-blue);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(51, 213, 229, 0.15);
}

.mission-card .icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.mission-card:hover .icon {
    transform: scale(1.1) rotate(-5deg);
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- 4. Who We Are / Culture & Creative Hub --- */
.workspace-section {
    background: var(--dark-blue); /* Slightly different from card-bg to stand out */
}
.workspace-section .section-title p {
    max-width: 800px;
}
.workspace-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}
.workspace-gallery .gallery-item {
    overflow: hidden;
    border-radius: 10px;
}
.workspace-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.workspace-gallery .gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- 6. Our Journey Timeline Section --- */
.our-journey-section {
    background-color: var(--card-bg);
}
.our-journey-section .process-timeline::after {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-pink));
}
.our-journey-section .step-number {
    color: var(--accent-pink);
    border-color: var(--accent-pink);
    font-size: 1.3rem;
    font-weight: 600;
}

/* --- 7. Awards & Partners Section --- */
.awards-partners-section .achievement-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}
.partners-container {
    text-align: center;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}
.partners-container h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary-text);
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
}
.partners-logos img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.75;
    transition: all 0.3s ease;
}
.partners-logos img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* --- 8. Press & Media Section (IMPROVED) --- */
.press-media-section {
    background: var(--dark-blue);
}
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
}
.press-logo-card {
    display: block;
    padding: 20px;
    text-align: center;
}
.press-logo-card img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    filter: grayscale(100%) brightness(1.5) contrast(0.8);
    opacity: 0.7;
    transition: all 0.4s ease;
}
.press-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- 9. CSR / Community Work Section --- */
.csr-section {
    background-color: var(--dark-blue);
}
.csr-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.csr-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}
.csr-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-text);
}
.csr-content ul {
    list-style: none;
    margin-top: 25px;
    margin-bottom: 35px;
}
.csr-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 1.05rem;
}
.csr-content ul li i {
    color: var(--accent-cyan);
    font-size: 1.3rem;
    margin-top: 5px;
    flex-shrink: 0;
    width: 25px;
    text-align: center;
}

/* --- 10. Call to Action Section --- */
.cta-section {
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
    padding: 80px 0;
    text-align: center;
}
.cta-content h2 {
    font-size: 2.8rem;
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 15px;
}
.cta-content p {
    color: var(--dark-blue);
    max-width: 650px;
    margin: 0 auto 35px;
    opacity: 0.9;
    font-size: 1.1rem;
}
.cta-content .btn {
    background: var(--primary-text);
    color: var(--dark-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 15px 35px;
    font-size: 1.1rem;
}
.cta-content .btn:hover {
    background: var(--dark-blue);
    color: var(--primary-text);
}

/* --- Responsive Overrides for About Us Page --- */
@media (max-width: 992px) {
    .csr-grid {
        grid-template-columns: 1fr;
    }
    .csr-image {
        order: -1;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    .page-hero-content p {
        font-size: 1rem;
    }
    .about-story-section .about-content h2,
    .csr-content h3 {
        font-size: 1.8rem;
    }
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .mission-card {
        padding: 30px 20px;
    }
    .partners-logos {
        gap: 30px 40px;
    }
    .partners-logos img {
        max-height: 40px;
    }
    .cta-content p {
        font-size: 1rem;
    }
    .cta-content .btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

/* --- 5. Interactive Team Section --- */
.team-card {
    position: relative;
    overflow: hidden; /* Important for overlay */
}

.team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 42, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-card-overlay {
    opacity: 1;
}

.team-card-overlay p {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-bottom: 20px;
}

.btn-view-profile {
    padding: 8px 18px;
    font-size: 0.9rem;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-profile:hover {
    background: var(--accent-cyan);
    color: var(--dark-blue);
}

/* Team Modal Styles */
.team-modal-container {
    max-width: 600px;
    text-align: center;
}
.team-modal-content img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--accent-cyan);
    margin-bottom: 20px;
}
.team-modal-content h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}
.team-modal-content p {
    color: var(--accent-cyan);
    margin-bottom: 20px;
}
.team-modal-content hr {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 20px;
}
#team-modal-details {
    text-align: left;
}
#team-modal-details h4 {
    font-size: 1.1rem;
    color: var(--primary-text);
    margin-top: 15px;
    margin-bottom: 5px;
}
#team-modal-details p {
    font-size: 0.95rem;
    color: var(--secondary-text);
    margin-bottom: 0;
}
.clients-container {
    text-align: center;
    margin-top: 80px;
}
.clients-container h4 {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 40px;
}
/* --- Animated Stats Section --- */
.stats-section {
    background-color: var(--dark-blue);
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 5px;
}
.stat-item p {
    font-size: 1rem;
    color: var(--secondary-text);
}

/* --- 5. Interactive Journey Timeline --- */
.timeline-item-clickable .step-content {
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.timeline-item-clickable:hover .step-content {
    background-color: var(--dark-blue);
    border-color: var(--accent-cyan);
}
.timeline-item-clickable:hover .step-number {
    transform: translateY(-50%) scale(1.1);
    background-color: var(--accent-pink);
    border-color: var(--primary-text);
    color: var(--primary-text);
}

/* Journey Modal Styles */
.journey-modal-container {
    max-width: 800px;
    padding: 0;
    overflow: hidden;
}
.journey-modal-content {
    display: flex;
}
.journey-modal-content img {
    width: 45%;
    object-fit: cover;
}
.journey-modal-text {
    width: 55%;
    padding: 40px;
}
#journey-modal-year {
    font-size: 1rem;
}
#journey-modal-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-text);
}
#journey-modal-details {
    color: var(--secondary-text);
    line-height: 1.8;
}

/* Responsive for Journey Modal */
@media (max-width: 768px) {
    .journey-modal-content {
        flex-direction: column;
    }
    .journey-modal-content img, .journey-modal-text {
        width: 100%;
    }
}

/* --- Behind The Scenes Gallery --- */
.bts-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.bts-gallery-grid a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}
.bts-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.bts-gallery-grid a:hover img {
    transform: scale(1.1);
}
.bts-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 10, 42, 0.9), transparent);
    padding: 30px 20px 20px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

/* --- Join Our Team CTA --- */
.join-team-cta {
    text-align: center;
    padding: 60px 0;
    background: var(--card-bg);
}
.join-team-cta h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.join-team-cta p {
    max-width: 500px;
    margin: 0 auto 25px;
    color: var(--secondary-text);
}

/* --- About Us Buttons Wrapper --- */
.about-buttons-wrapper {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ===================================================
   CSS IMPROVEMENTS & ADDITIONS (Append at the end)
   =================================================== */

/* Making modals scrollable on small screens if content overflows */
.team-modal-container, .journey-modal-container {
    max-height: 90vh;
    overflow-y: auto;
}

/* Better responsive journey modal */
@media (max-width: 768px) {
    .journey-modal-text {
        padding: 25px;
    }
    #journey-modal-title {
        font-size: 1.5rem;
    }
}

/* Added for clarity in the Why Choose Us table */
.why-agoid-table-section .comparison-table td .fa-check-circle {
    color: #2ecc71; /* Green check */
    font-size: 1.2rem;
}
.why-agoid-table-section .comparison-table td .fa-times-circle {
    color: #e74c3c; /* Red cross */
    font-size: 1.2rem;
}
.why-agoid-table-section .comparison-table td {
    vertical-align: middle;
}

/* ===================================================
   FEATURE: STICKY SUB-NAVIGATION
   =================================================== */

.about-us-submenu {
    position: sticky;
    top: 65px; /* Adjust this value based on your main header's height */
    background-color: rgba(10, 10, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 998; /* Below main header (1000) but above content */
    border-bottom: 1px solid var(--border-color);
    transition: top 0.3s ease;
}

.submenu-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto; /* For mobile responsiveness */
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar on desktop */
.submenu-links::-webkit-scrollbar {
    display: none;
}

.submenu-link {
    display: block;
    padding: 15px 20px;
    color: var(--secondary-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s ease;
}

.submenu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.submenu-link:hover,
.submenu-link.active {
    color: var(--primary-text);
}

.submenu-link.active::after {
    width: 60%;
}

/* Responsive adjustments for the submenu on smaller screens */
@media (max-width: 992px) {
    .about-us-submenu {
        top: 55px; /* Adjust for smaller header on mobile */
    }
    .submenu-links {
        justify-content: flex-start; /* Allow scrolling from the left */
    }
    .submenu-link {
        padding: 12px 15px;
    }
}

/* ===================================================
   FEATURE: INTERACTIVE PHILOSOPHY CARD HOVER
   =================================================== */

.philosophy-card {
    min-height: 300px; /* Set a minimum height for consistency */
}

.philosophy-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.philosophy-card:hover .philosophy-details {
    max-height: 150px; /* Adjust based on your content length */
    opacity: 1;
}

.philosophy-details p {
    margin-top: 15px;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.philosophy-details p strong {
    color: var(--accent-pink);
}

/* ===================================================
   FEATURE: FOUNDER'S NOTE & VIDEO
   =================================================== */

.founder-note-section {
    background-color: var(--dark-blue);
    padding: 100px 0;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.founder-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.founder-image-wrapper img {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    width: 80px;
    height: 80px;
    background-color: rgba(232, 73, 232, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    border: 3px solid #fff;
    margin-bottom: 10px;
}

.play-button span {
    background-color: rgba(10, 10, 42, 0.7);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.founder-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.founder-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--secondary-text);
    line-height: 1.9;
    border-left: 3px solid var(--accent-cyan);
    padding-left: 25px;
}

.founder-signature {
    margin-top: 30px;
}
.founder-signature h3 {
    font-size: 1.5rem;
    font-family: 'Brush Script MT', cursive; /* A nice signature font */
    color: var(--primary-text);
}
.founder-signature p {
    color: var(--secondary-text);
}

/* Responsive for Founder's Note */
@media (max-width: 992px) {
    .founder-grid {
        grid-template-columns: 1fr;
    }
    .founder-image-wrapper {
        margin-bottom: 40px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 768px) {
    .founder-content h2 {
        font-size: 2rem;
    }
}

/* ===================================================
   FEATURE: ANIMATED PROCESS INFOGRAPHIC
   =================================================== */

.our-process-section {
    background-color: var(--card-bg);
}

.process-infographic {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.process-line {
    position: absolute;
    left: 50px;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-pink), var(--accent-cyan));
    border-radius: 2px;
}

.process-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 50px;
    min-height: 100px;
}

.process-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    background-color: var(--dark-blue);
    border: 4px solid var(--accent-pink);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--accent-pink);
    transition: all 0.3s ease;
}

.process-item:hover .process-icon {
    background-color: var(--accent-pink);
    color: #fff;
    transform: scale(1.1);
}

.process-content {
    background-color: var(--dark-blue);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}
.process-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Staggered animation for fade-in */
.process-item.fade-in:nth-child(2) { transition-delay: 0.2s; }
.process-item.fade-in:nth-child(3) { transition-delay: 0.4s; }
.process-item.fade-in:nth-child(4) { transition-delay: 0.6s; }
.process-item.fade-in:nth-child(5) { transition-delay: 0.8s; }

/* Responsive for Process Infographic */
@media (max-width: 768px) {
    .process-line { left: 30px; }
    .process-item { padding-left: 90px; }
    .process-icon { width: 60px; height: 60px; font-size: 1.8rem; }
}