/**
 * About Us Page - Modern Animated Design
 * Colors: #d84315, #ffab40, #ff5722, #fff, #fafafa, #3e2723, #8d6e63
 * Inspired by Google & WhatsApp animations
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Forum", serif;
    background: #fafafa;
    color: #3e2723;
    overflow-x: hidden;
}

/* ===================================
   HERO SECTION WITH ANIMATED BACKGROUND
   =================================== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.top-navbar .logo {
    flex-shrink: 0;
}

.top-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.top-navbar .nav-link {
    color: #3e2723;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.top-navbar .nav-link:hover {
    background: #fafafa;
    color: #d84315;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #d84315 0%, #ff5722 50%, #ffab40 100%);
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Floating Om Symbol */
.floating-om {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('../Assets/om.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -55%) scale(1.1) rotate(5deg);
    }
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: drift 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ffab40, transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ff5722, transparent);
    bottom: 10%;
    right: 10%;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #d84315, transparent);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(50px, -30px);
    }

    50% {
        transform: translate(-30px, 50px);
    }

    75% {
        transform: translate(30px, 30px);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Forum', serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 40px;
}

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator .material-icons {
    font-size: 48px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

/* ===================================
   FADE-IN ANIMATIONS
   =================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 0.8s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Animation Delays */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

.delay-6 {
    animation-delay: 1.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   SECTION COMMON STYLES
   =================================== */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

.section-title {
    font-family: 'Forum', serif;
    font-size: 48px;
    font-weight: 700;
    color: #d84315;
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

/* ===================================
   MISSION SECTION
   =================================== */
.mission-section {
    background: #fff;
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, #d84315, #ff5722);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(216, 67, 21, 0.3);
}

.om-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.mission-text {
    font-size: 20px;
    line-height: 1.8;
    color: #3e2723;
    font-weight: 300;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
    background: #fafafa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(62, 39, 35, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d84315, #ff5722, #ffab40);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.1), rgba(255, 87, 34, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #d84315, #ff5722);
    transform: rotate(5deg) scale(1.1);
}

.feature-icon .material-icons {
    font-size: 40px;
    color: #d84315;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon .material-icons {
    color: #fff;
}

.om-ai-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(23%) sepia(84%) saturate(2527%) hue-rotate(5deg) brightness(91%) contrast(95%);
    transition: all 0.4s ease;
}

.feature-card:hover .om-ai-icon {
    filter: brightness(0) invert(1);
}

.feature-title {
    font-family: 'Forum', serif;
    font-size: 24px;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 16px;
}

.feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: #8d6e63;
    margin-bottom: 24px;
}

.feature-stats {
    display: flex;
    gap: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Forum', serif;
    font-size: 28px;
    font-weight: 700;
    color: #d84315;
}

.stat-label {
    font-size: 12px;
    color: #8d6e63;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================
   VALUES SECTION
   =================================== */
.values-section {
    background: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-card {
    position: relative;
    padding: 40px 30px;
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
    border-radius: 16px;
    border-left: 4px solid #ffab40;
    transition: all 0.4s ease;
}

.value-card:hover {
    border-left-color: #d84315;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(62, 39, 35, 0.1);
}

.value-number {
    font-family: 'Forum', serif;
    font-size: 64px;
    font-weight: 700;
    color: rgba(216, 67, 21, 0.1);
    line-height: 1;
    margin-bottom: 20px;
}

.value-title {
    font-family: 'Forum', serif;
    font-size: 24px;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 16px;
}

.value-description {
    font-size: 16px;
    line-height: 1.6;
    color: #8d6e63;
}

/* ===================================
   JOURNEY TIMELINE
   =================================== */
.journey-section {
    background: #fafafa;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #d84315, #ff5722, #ffab40);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-dot {
    position: absolute;
    left: -48px;
    top: 0;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 4px solid #ffab40;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.timeline-dot.active {
    border-color: #d84315;
    box-shadow: 0 0 0 8px rgba(216, 67, 21, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(216, 67, 21, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(216, 67, 21, 0);
    }
}

.timeline-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(62, 39, 35, 0.08);
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(62, 39, 35, 0.12);
}

.timeline-item:hover .timeline-dot {
    border-color: #d84315;
    transform: scale(1.3);
}

.timeline-title {
    font-family: 'Forum', serif;
    font-size: 24px;
    font-weight: 700;
    color: #d84315;
    margin-bottom: 12px;
}

.timeline-description {
    font-size: 16px;
    line-height: 1.6;
    color: #8d6e63;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    position: relative;
    padding: 120px 40px;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d84315 0%, #ff5722 50%, #ffab40 100%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(10deg);
    }
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
}

.cta-title {
    font-family: 'Forum', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: "Forum", serif;
}

.cta-btn.primary {
    background: #fff;
    color: #d84315;
}

.cta-btn.primary:hover {
    background: #fafafa;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ===================================
   DEVELOPER SECTION
   =================================== */
.developer-section {
    background: #fff;
}

.developer-content {
    max-width: 900px;
    margin: 0 auto;
}

.developer-header {
    text-align: center;
    margin-bottom: 60px;
}

.developer-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #d84315, #ff5722);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(216, 67, 21, 0.3);
}

.developer-icon .material-icons {
    font-size: 50px;
    color: #fff;
}

.developer-subtitle {
    font-size: 18px;
    color: #8d6e63;
    font-weight: 300;
    margin-top: 16px;
}

.developer-card {
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(62, 39, 35, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.developer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #d84315, #ff5722, #ffab40);
}

.developer-card:hover {
    border-color: rgba(216, 67, 21, 0.2);
    box-shadow: 0 20px 60px rgba(62, 39, 35, 0.15);
    transform: translateY(-5px);
}

.developer-info {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(216, 67, 21, 0.1);
}

.developer-avatar {
    flex-shrink: 0;
}

.developer-avatar .material-icons {
    font-size: 100px;
    color: #d84315;
    transition: all 0.3s ease;
}

.developer-card:hover .developer-avatar .material-icons {
    color: #ff5722;
    transform: scale(1.05);
}

.developer-details {
    flex: 1;
}

.developer-name {
    font-family: 'Forum', serif;
    font-size: 36px;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 12px;
}

.developer-role {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #d84315;
    font-weight: 500;
}

.developer-role .material-icons {
    font-size: 24px;
}

.developer-vision {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.05), rgba(255, 87, 34, 0.05));
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    border-left: 4px solid #ffab40;
    transition: all 0.3s ease;
}

.developer-vision:hover {
    border-left-color: #d84315;
    transform: translateX(5px);
}

.vision-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(216, 67, 21, 0.2);
}

.om-small {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(23%) sepia(84%) saturate(2527%) hue-rotate(5deg) brightness(91%) contrast(95%);
}

.vision-content {
    flex: 1;
}

.vision-title {
    font-family: 'Forum', serif;
    font-size: 20px;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 8px;
}

.vision-text {
    font-size: 18px;
    color: #d84315;
    font-weight: 500;
    line-height: 1.6;
}

.developer-message {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid rgba(216, 67, 21, 0.1);
    position: relative;
}

.developer-message::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Forum', serif;
    font-size: 80px;
    color: rgba(216, 67, 21, 0.1);
    line-height: 1;
}

.message-text {
    font-size: 16px;
    line-height: 1.8;
    color: #3e2723;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.developer-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #d84315, #ff5722);
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(216, 67, 21, 0.3);
    transition: all 0.3s ease;
}

.developer-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(216, 67, 21, 0.4);
}

.developer-badge .material-icons {
    font-size: 20px;
}

/* ===================================
   FOOTER
   =================================== */
.about-footer {
    background: #3e2723;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-container {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline-dot {
        left: -38px;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .floating-om {
        width: 400px;
        height: 400px;
    }

    /* Mobile Navbar Fixes */
    .top-navbar-container {
        height: 60px;
        padding: 0 !important;
    }

    .top-navbar .logo img {
        height: 35px !important;
    }

    .top-navbar .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }

    /* Mobile Hero Section Fixes */
    .hero-section {
        margin-top: 60px;
        height: calc(100vh - 60px);
        min-height: 500px;
    }

    /* Developer Section Mobile */
    .developer-card {
        padding: 30px 20px;
    }

    .developer-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .developer-name {
        font-size: 28px;
    }

    .developer-role {
        justify-content: center;
        font-size: 16px;
    }

    .developer-vision {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .developer-message {
        padding: 20px;
    }

    .message-text {
        font-size: 14px;
    }

    .developer-badge {
        font-size: 13px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .mission-text {
        font-size: 16px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* ===================================
   SCROLL ANIMATIONS (Intersection Observer)
   =================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}