/* About Page Specific Styles */
/* This file contains styles only for the About page to avoid conflicts with the home page */

/* Ensure consistent body padding with home page */
.about-page body {
    padding-top: 80px !important;
}

/* Remove underlines from logo links */
.logo a,
.footer-logo a,
.logo a:hover,
.footer-logo a:hover {
    text-decoration: none !important;
}

.logo a h1,
.footer-logo a h1,
.logo a .tagline,
.footer-logo a .tagline {
    text-decoration: none !important;
}

/* About Hero Section */
.about-hero {
    position: relative;
    min-height: 35vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #4E1F00 0%, #74512D 100%);
    padding: 30px 0 20px;
}

.about-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M0,300 Q250,200 500,300 T1000,300 L1000,1000 L0,1000 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center bottom;
    background-size: cover;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(78, 31, 0, 0.9) 0%, 
        rgba(116, 81, 45, 0.8) 50%, 
        rgba(78, 31, 0, 0.9) 100%);
}

/* Override conflicting hero-content from main CSS */
.about-hero .hero-content {
    position: relative !important;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 22px auto;
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    align-items: initial !important;
}

.about-hero .hero-badge {
    background: rgba(254, 186, 23, 0.2);
    color: #FEBA17;
    padding: 12px 24px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.about-hero .hero-title {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.about-hero .highlight {
    color: #FEBA17;
    display: block;
}

.about-hero .hero-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
}

.about-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.about-hero .stat {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 186, 23, 0.2);
    transition: transform 0.3s ease;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    flex: 0 0 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    position: relative;
    box-sizing: border-box;
}

.about-hero .stat:hover {
    transform: translateY(-5px);
    background: rgba(254, 186, 23, 0.2);
}

.about-hero .stat-number-container {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin-bottom: 8px;
    min-height: 32px;
    min-width: 80px;
    position: relative;
}

.about-hero .stat-number {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: #FEBA17;
    transition: color 0.3s ease;
    line-height: 1;
    font-family: 'Inter', monospace;
    min-width: 48px;
    text-align: center;
}

.about-hero .stat-suffix {
    color: #FEBA17;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
}

.about-hero .stat-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.about-hero .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Our Story Section */
.our-story {
    padding: 80px 0;
    background: #F8F4E1;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
    margin-top: 20px;
    position: relative;
}

.story-text {
    flex: 1;
    min-width: 300px;
    padding-top: 40px;
}

.story-image {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: sticky;
    top: calc(50vh - 100px);
    height: fit-content;
    align-self: flex-start;
    margin-top: 40px;
}

.story-highlight {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    border-left: 5px solid #FEBA17;
}

.story-highlight h3 {
    color: #4E1F00;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.story-highlight .lead {
    font-size: 18px;
    line-height: 1.7;
    color: #74512D;
    margin: 0;
}

.story-points {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.story-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.story-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.point-icon {
    background: linear-gradient(135deg, #FEBA17, #FFD700);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(254, 186, 23, 0.3);
}

.point-content h4 {
    color: #4E1F00;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.point-content p {
    color: #74512D;
    line-height: 1.6;
    margin: 0;
}

/* Our Values Section */
.about-page .our-values {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-page .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Enhanced Value Cards */
.about-page .value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%; /* Equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-page .value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FEBA17, #FFD700);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-page .value-card:hover::before {
    transform: scaleX(1);
}

.about-page .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: #FEBA17;
}

.about-page .value-icon {
    background: linear-gradient(135deg, #4E1F00, #74512D);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(78, 31, 0, 0.3);
    transition: all 0.3s ease;
}

.about-page .value-card:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(78, 31, 0, 0.4);
}

.card-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.value-stat {
    background: linear-gradient(135deg, #FEBA17, #FFD700);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(254, 186, 23, 0.3);
}

/* Enhanced Process Timeline */
.about-page .process-step {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.about-page .process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-page .process-step.active {
    background: linear-gradient(135deg, #FEBA17, #FFD700);
    color: white;
}

.about-page .process-step.active .step-number {
    background: white;
    color: #4E1F00;
}

.about-page .step-number {
    background: linear-gradient(135deg, #4E1F00, #74512D);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.step-features {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(254, 186, 23, 0.1);
    color: #4E1F00;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-page .process-step.active .feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Enhanced Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.advantage-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.advantage-item.featured {
    background: linear-gradient(135deg, #4E1F00, #74512D);
    color: white;
    transform: scale(1.05);
}

.advantage-item.featured .advantage-icon {
    background: white;
    color: #4E1F00;
}

.advantage-item:not(.featured):hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: #FEBA17;
}

.advantage-icon {
    background: linear-gradient(135deg, #FEBA17, #FFD700);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(254, 186, 23, 0.3);
    transition: all 0.3s ease;
}

.advantage-stats {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.advantage-item:not(.featured) .advantage-stats {
    border-top-color: #eee;
}

.stat-highlight {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #FEBA17;
    margin-bottom: 5px;
}

.advantage-item.featured .stat-highlight {
    color: white;
}

.stat-detail {
    font-size: 14px;
    opacity: 0.8;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #F8F4E1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.member-photo {
    height: 200px;
    background: linear-gradient(135deg, #4E1F00, #74512D);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.photo-placeholder {
    color: white;
    font-size: 60px;
    opacity: 0.8;
}

.member-info {
    padding: 30px;
}

.member-info h3 {
    color: #4E1F00;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.member-title {
    color: #FEBA17;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-description {
    color: #74512D;
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-credentials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.credential {
    background: #F8F4E1;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 13px;
    color: #4E1F00;
    display: flex;
    align-items: center;
    gap: 8px;
}

.credential i {
    color: #FEBA17;
}

/* Enhanced CTA Section */
.about-page .cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #4E1F00 0%, #74512D 100%);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="100" fill="rgba(255,255,255,0.05)"/><circle cx="800" cy="300" r="150" fill="rgba(255,255,255,0.03)"/><circle cx="500" cy="700" r="200" fill="rgba(255,255,255,0.04)"/></svg>') no-repeat center;
    background-size: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
}

.about-page .cta-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.about-page .cta-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.about-page .cta-content h2 {
    font-size: 48px;
    margin-bottom: 25px;
    font-weight: 700;
    color: white;
}

.about-sec-h2{
    margin-top: 80px;
}
.cta-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
}

.cta-stat {
    text-align: center;
}

.cta-stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #FEBA17;
    margin-bottom: 8px;
}

.cta-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.about-page .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Reset conflicting styles from main styles.css */

/* Override hero-content styles that are causing spacing issues */
.about-page .hero-content {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    align-items: initial !important;
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 16px auto auto;
}

/* Override any grid layouts from main CSS */
.about-page .about-content,
.about-page .contact-content {
    display: block !important;
    grid-template-columns: none !important;
}

/* Override hero background and overlay conflicts */
.about-hero .hero-background,
.about-hero .hero-overlay {
    display: block !important;
}

/* Override button spacing conflicts */
.about-page .btn + .btn {
    margin-left: 0 !important;
    margin-top: 0 !important;
}

/* Override any padding conflicts */
.about-page .hero {
    padding: 0 !important;
}

/* Override section padding conflicts */
.about-page .about,
.about-page .services,
.about-page .results,
.about-page .testimonials,
.about-page .contact {
    padding: 0 !important;
}

/* Override image placeholder conflicts */
.about-page .image-placeholder {
    background: linear-gradient(135deg, #74512D, #4E1F00) !important;
    color: white !important;
    padding: 3rem !important;
    border-radius: 10px !important;
    text-align: center !important;
    width: 100% !important;
    height: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Override highlight item conflicts */
.about-page .highlight-item {
    display: flex !important;
    gap: 1rem !important;
    align-items: flex-start !important;
}

/* Override highlight icon conflicts */
.about-page .highlight-icon {
    background: linear-gradient(135deg, #FEBA17, #74512D) !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    flex-shrink: 0 !important;
}

/* Override stat conflicts */
.about-page .stat {
    text-align: center !important;
    padding: 15px 20px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(254, 186, 23, 0.2) !important;
    transition: transform 0.3s ease !important;
    min-width: 110px !important;
    flex: 0 1 auto !important;
}


/* Override service card conflicts that might interfere */
.about-page .service-card,
.about-page .result-card,
.about-page .testimonial-card {
    background: white !important;
    padding: 2rem !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 15px rgba(78, 31, 0, 0.1) !important;
    transition: transform 0.3s ease !important;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-page body {
        padding-top: 100px !important;
    }
    
    .about-hero {
        min-height: 50vh;
        padding: 40px 0 20px;
    }
    
    .about-hero .hero-title {
        font-size: 32px;
    }
    
    .about-hero .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .about-hero .stat {
        min-width: 140px;
        max-width: 140px;
        flex: 0 0 140px;
    }
    
    .about-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .story-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .story-image {
        flex: none;
        width: 100%;
    }
    
    .story-highlight {
        padding: 30px 20px;
    }
    
    .story-point {
        padding: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-item.featured {
        transform: none;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-page .cta-content h2 {
        font-size: 36px;
    }
    
    .about-page .process-step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .step-features {
        justify-content: center;
    }
    
    /* Values Grid Responsive */
    .about-page .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-page .value-card {
        padding: 30px 20px;
    }
    
    /* Story Section Mobile */
    .story-image {
        position: static !important;
        flex: 1;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 45vh;
        padding: 30px 0 15px;
    }
    
    .about-hero .hero-title {
        font-size: 26px;
    }
    
    .about-hero .hero-description {
        font-size: 15px;
    }
    
    .about-hero .stat {
        min-width: 130px;
        max-width: 130px;
        flex: 0 0 130px;
        padding: 12px 15px;
    }
    
    .about-hero .stat-number {
        font-size: 24px;
        min-width: 60px;
    }
    
    .about-hero .stat-suffix {
        font-size: 24px;
    }
    
    .about-hero .stat-label {
        font-size: 11px;
    }
    
    /* Values Grid Mobile */
    .about-page .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
    .about-hero {
        min-height: 40vh;
        padding: 35px 0 25px;
    }
    
    .about-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .about-hero .hero-stats {
        gap: 1rem;
    }
}

/* Moving Tags Section - Home Page Style */
.moving-tags-section {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    border-top: 1px solid rgba(254, 186, 23, 0.3);
    border-bottom: 1px solid rgba(254, 186, 23, 0.3);
    min-height: 120px;
}

.tags-wrapper {
    position: relative;
    z-index: 1;
}

.tags-row {
    display: flex;
    animation: tickerMove 40s linear infinite;
    white-space: nowrap;
    width: max-content;
    margin-bottom: 14px;
}

.tags-row:last-child {
    margin-bottom: 0;
}

.tags-row[data-direction="left"] {
    animation-name: tickerMove;
}

.tags-row[data-direction="right"] {
    animation-name: tickerMoveReverse;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(254, 186, 23, 0.9);
    color: #4E1F00;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.tag-item i {
    font-size: 1rem;
}

/* Keyframes for animations */
@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes tickerMoveReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .moving-tags-section {
        padding: 1.2rem 0;
        min-height: 100px;
    }
    
    .tag-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .tags-row {
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    .moving-tags-section {
        padding: 1rem 0;
        min-height: 90px;
    }
    
    .tag-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .tags-row {
        animation-duration: 25s;
    }
}

/* Our Story Section */
