/* ======================
   About Page Styles
   ====================== */

/* Hero styles are in shared-hero.css */

/* Our Story Section */
.about-story-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, white 0%, #f8fafc 100%);
}

.story-content {
    max-width: 56rem;
    margin: 0 auto;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}


.story-text p {
    margin: 0;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    border-left: 4px solid #14B8A6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05);
    transition: all 0.3s;
}

.story-text p:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1);
}

/* Why Choose Us Section - Enhanced */
.why-choose-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(5, 150, 105, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::before {
    background: linear-gradient(135deg, #14B8A6, #2DD4BF);
    opacity: 1;
}

.feature-card:hover {
    box-shadow: 0 20px 40px -12px rgba(5, 150, 105, 0.2);
    transform: translateY(-8px);
    border-color: rgba(5, 150, 105, 0.2);
}

.feature-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.icon-green {
    background: linear-gradient(135deg, #2DD4BF 0%, #14B8A6 100%);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.icon-purple {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    box-shadow: 0 8px 16px rgba(168, 85, 247, 0.3);
}

.icon-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    box-shadow: 0 8px 16px rgba(6, 182, 212, 0.3);
}

.icon-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.3);
}

.icon-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    box-shadow: 0 8px 16px rgba(236, 72, 153, 0.3);
}

.icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.feature-card:hover .feature-title {
    color: #14B8A6;
}

.feature-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.stats-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 56rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.stat:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #2DD4BF;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
}

/* Services Overview Section - Enhanced Modern Design */
.services-overview-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
}

.services-overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
}

.services-overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}

.service-overview-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.service-overview-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14B8A6, #2DD4BF);
    border-radius: 1.5rem 1.5rem 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-overview-card:hover::after {
    transform: scaleX(1);
}

.service-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(5, 150, 105, 0.2);
    border-color: rgba(5, 150, 105, 0.2);
}

.service-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-overview-card:hover .service-card-icon {
    transform: scale(1.1);
}

.service-card-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.service-overview-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.service-overview-card:hover .service-overview-title {
    color: #14B8A6;
}

.service-overview-text {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}

.services-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* ======================
   Industries We Serve Section
   ====================== */
.industries-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.industries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(20, 184, 166, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.industry-item,
.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.industry-item:hover,
.industry-card:hover {
    transform: translateY(-4px);
}

.industry-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #14B8A6 0%, #06B6D4 100%);
    margin-bottom: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(20, 184, 166, 0.25);
}

.industry-item:hover .industry-icon,
.industry-card:hover .industry-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.35);
}

.industry-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.industry-name,
.industry-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    transition: color 0.3s ease;
}

.industry-item:hover .industry-name,
.industry-card:hover .industry-title {
    color: #14B8A6;
}

.industry-description {
    display: none;
}

/* ======================
   CTA Section
   ====================== */
.cta-section {
    background: linear-gradient(to bottom right, #14B8A6, #0D9488);
    color: white;
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background-color: white;
    filter: blur(64px);
}

.shape-1 {
    top: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
}

.shape-2 {
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background-color: var(--brand-mint);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.625;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--brand-mint);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Active Nav Link */
.nav-link.active {
    color: #14B8A6;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #14B8A6;
    border-radius: 1px;
}

.mobile-menu-link.active {
    color: #14B8A6;
    font-weight: 700;
}

/* Responsive Design */
@media (min-width: 640px) {
    .services-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (min-width: 768px) {
    .about-hero .hero-title {
        font-size: 3.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid-full {
        grid-template-columns: repeat(4, 1fr);
    }

    .story-text {
        font-size: 1.1875rem;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .about-hero {
        padding: 6rem 0;
    }

    .about-hero .hero-title {
        font-size: 4rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-overview-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1280px) {
    .about-hero .hero-title {
        font-size: 4.5rem;
    }

    .industries-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
}