/* ============================================
   ABOUT US PAGE STYLES
   Amaravati Constructions
   Colors: Primary #13467B, Secondary #D51820
   ============================================ */

/* Override body padding from main style.css (sticky contact strip not on this page) */
body {
    padding-bottom: 0 !important;
}

/* Ensure header matches homepage exactly */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(19, 70, 123, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    height: 110px;
}

.logo img {
    max-height: 92px;
}

/* Override .text-gold to red branding on about page */
.text-gold {
    color: var(--secondary-color) !important;
}

/* --- Hero Banner --- */
.about-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(19, 70, 123, 0.88) 0%,
        rgba(15, 57, 100, 0.75) 50%,
        rgba(213, 24, 32, 0.45) 100%
    );
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.08);
}

.about-hero-title {
    font-family: var(--font-family);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.about-hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* --- Company Introduction --- */
.about-intro {
    background-color: var(--white);
    padding-top: 32px; /* 60% reduced from 80px */
    padding-bottom: 80px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.intro-content .subheading {
    display: block;
    margin-bottom: 12px;
}

.intro-content .section-title {
    margin-bottom: 30px;
}

.intro-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 18px;
}

.intro-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.intro-text:last-child {
    margin-bottom: 0;
}

/* Stats Cards Grid */
.intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid rgba(19, 70, 123, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-card-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-family: var(--font-family);
}

.stat-card-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-line {
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* --- Vision & Mission Section --- */
.vm-section {
    padding: 50px 0 100px; /* 50% reduced top padding */
    background-color: var(--bg-color);
}

.vm-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    margin-bottom: 100px;
}

.vm-block:last-child {
    margin-bottom: 0;
}

/* Image Wrapper */
.vm-image-wrapper {
    position: relative;
    height: 100%;
}

.vm-image-inner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.vm-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.vm-image-inner:hover .vm-image {
    transform: scale(1.03);
}

.vm-image-accent {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 120px;
    height: 120px;
    border: 4px solid var(--primary-color);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
}

.vm-accent-red {
    border-color: var(--secondary-color);
    bottom: auto;
    top: -15px;
    right: auto;
    left: -15px;
}

/* Content */
.vm-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(19, 70, 123, 0.08), rgba(19, 70, 123, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vm-icon-red {
    background: linear-gradient(135deg, rgba(213, 24, 32, 0.08), rgba(213, 24, 32, 0.15));
    color: var(--secondary-color);
}

.vm-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.vm-label-red {
    color: var(--secondary-color);
}

.vm-title {
    font-family: var(--font-family);
    font-size: 34px;
    font-weight: 600;
    color: var(--primary-color-dark);
    line-height: 1.25;
    margin-bottom: 20px;
}

.vm-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 28px;
}

/* Vision/Mission Points */
.vm-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vm-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.5;
}

.vm-points li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #28a745; /* green checkmark */
}

.vm-points li:last-child {
    margin-bottom: 0;
}

/* --- Core Values --- */
.values-section {
    background-color: var(--white);
    padding-top: 32px; /* 60% reduced from 80px */
    padding-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    border: 1px solid rgba(19, 70, 123, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.value-card:hover::after {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(19, 70, 123, 0.1);
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(19, 70, 123, 0.06), rgba(19, 70, 123, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: var(--white);
    transform: scale(1.1);
}

.value-title {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color-dark);
    margin-bottom: 12px;
}

.value-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- CTA Section --- */
.about-cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        var(--primary-color-dark) 0%,
        var(--primary-color) 60%,
        #1a5a9e 100%
    );
    overflow: hidden;
}

.about-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 0;
}

.about-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.about-cta-title {
    font-family: var(--font-family);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin: 12px 0 20px;
    line-height: 1.2;
}

.about-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-cta-btn {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color-dark);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991px) {
    /* Hero */
    .about-hero {
        height: 400px;
    }

    .about-hero-title {
        font-size: 40px;
    }

    .about-hero-subtitle {
        font-size: 16px;
    }

    /* Intro */
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Vision & Mission */
    .vm-section {
        padding: 70px 0;
    }

    .vm-block {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 70px;
    }

    .vm-mission .vm-content {
        order: 1;
    }

    .vm-mission .vm-image-wrapper {
        order: 2;
    }

    .vm-image {
        height: 350px;
    }

    .vm-title {
        font-size: 28px;
    }

    /* Values */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA */
    .about-cta-section {
        padding: 70px 0;
    }

    .about-cta-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    /* Hero */
    .about-hero {
        height: 350px;
    }

    .about-hero-badge {
        font-size: 11px;
        letter-spacing: 2px;
        padding: 6px 18px;
    }

    .about-hero-title {
        font-size: 30px;
    }

    .about-hero-subtitle {
        font-size: 14px;
    }

    /* Intro */
    .intro-stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 22px 16px;
    }

    .stat-card-number {
        font-size: 28px;
    }

    /* Vision & Mission */
    .vm-section {
        padding: 50px 0;
    }

    .vm-block {
        gap: 30px;
        margin-bottom: 50px;
    }

    .vm-image {
        height: 260px;
    }

    .vm-title {
        font-size: 24px;
    }

    .vm-text {
        font-size: 14px;
    }

    .vm-points li {
        font-size: 14px;
    }

    .vm-image-accent {
        display: none;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 28px 20px;
    }

    /* CTA */
    .about-cta-section {
        padding: 50px 0;
    }

    .about-cta-title {
        font-size: 26px;
    }

    .about-cta-text {
        font-size: 14px;
    }

    .about-cta-btn {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}
