/* Common/shared styles moved to `css/common.css` */

/* About Content Section */
.about-content {
    padding: 80px 0;
    background: #fff;
}

.content-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.content-images {
    flex: 1;
    position: relative;
}

.main-image {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.image-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-top: 4px solid #ba5717;
    border-left: 4px solid #ba5717;
    z-index: 2;
}

.main-img {
    width: 100%;
    height: 450px;
    background: url('../assets/about us/About main.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.main-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.secondary-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    z-index: 1;
}

.secondary-img {
    width: 100%;
    height: 220px;
    background: url('../assets/about us/About secondary.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.secondary-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.content-text {
    flex: 1;
}

.content-text h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #2c2c2c;
}

.content-text > p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
}

.feature-point {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.check-icon {
    width: 40px;
    height: 40px;
    background: #ba5717;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 18px;
}

.feature-point h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c2c2c;
}

.feature-point p {
    color: #666;
    line-height: 1.8;
}

.btn-read-more {
    background: #ba5717;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-read-more:hover {
    background: #a04a12;
}

/* About Section Blocks */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-section.alt-bg {
    background: #2c2c2c;
    position: relative;
}

.about-section.alt-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.about-section.alt-bg .container {
    position: relative;
    z-index: 1;
}

.about-section.alt-bg .section-title h2 {
    color: #FFF8E7;
}

.about-section.alt-bg .title-underline {
    background: #f2a84e;
}

.about-section.alt-bg .section-content p {
    color: #e8e8e8;
}

.about-section.alt-bg .section-content p:last-child {
    margin-bottom: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: bold;
    color: #2c2c2c;
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #ba5717;
    margin: 0 auto;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.expertise-intro {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
}

.expertise-list {
    max-width: 800px;
    margin: 0 auto 30px;
}

.expertise-list .feature-point {
    margin-bottom: 20px;
}

.expertise-list .feature-point p {
    margin-bottom: 0;
}

.expertise-note {
    text-align: center;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* Why Shivtech Static Grid */

.why-static-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-card.why-card-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: whyCardAppear 0.6s ease forwards;
}

@keyframes whyCardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-card {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ba5717 0%, #f2a84e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    margin: 0 auto 25px;
}

.why-card h4 {
    font-size: 20px;
    color: #2c2c2c;
    margin-bottom: 15px;
}

.why-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

.company-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.company-logos img {
    height: 80px;
    width: 70px;
    object-fit: contain;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.company-logos img:hover {
    transform: scale(1.05);
}

/* Vision Mission Promise */
.vmp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vmp-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.vmp-card:hover {
    border-color: #ba5717;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.vmp-icon {
    width: 60px;
    height: 60px;
    background: #ba5717;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 25px;
}

.vmp-card h3 {
    font-size: 24px;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.vmp-card p,
.vmp-card li {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.vmp-card ul {
    list-style: none;
    padding: 0;
}

.vmp-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.vmp-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ba5717;
}

.promise-tagline {
    font-weight: bold;
    color: #ba5717 !important;
    font-size: 18px !important;
    margin-bottom: 15px !important;
}

/* Statistics Banner */
.stats-banner {
    margin-bottom: 80px;
    background: #ba5717;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path fill="%23ffffff" fill-opacity="0.05" d="M0,100 Q300,50 600,100 T1200,100 L1200,200 L0,200 Z"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.stats-banner .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    color: #fff;
    position: relative;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.3);
}

/* Expert Team Section */
.expert-team {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: bold;
    color: #2c2c2c;
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #ba5717;
    margin: 0 auto;
}

.team-carousel {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: #2c2c2c;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.3s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #ba5717;
    color: #fff;
}

.team-members {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.team-member {
    text-align: center;
    flex: 1;
    max-width: 300px;
}

.member-image {
    position: relative;
    margin-bottom: 20px;
}

.member-placeholder {
    width: 100%;
    padding-top: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.member-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.member1 {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.member2 {
    background: linear-gradient(135deg, #ba5717 0%, #f2a84e 100%);
}

.member3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.member-social {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #ba5717;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.member-social:hover {
    background: #a04a12;
}

.team-member h4 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #2c2c2c;
}

.team-member p {
    color: #ba5717;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #2c2c2c;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: #ba5717;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    border-radius: 4px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.footer-column p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    color: #ccc;
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #ba5717;
}

.footer-bottom {
    background: linear-gradient(135deg, #ba5717 0%, #f2a84e 100%);
    padding: 25px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-contact {
    display: flex;
    gap: 30px;
    color: #fff;
}

.footer-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom p {
    color: #fff;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .why-carousel-slide {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .content-wrapper {
        flex-direction: column;
    }
    
    .secondary-image {
        position: relative;
        width: 100%;
        margin-top: 20px;
    }
    
    .why-carousel-slide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* common.css handles contact bar + nav mobile */
    
    /* Ensure intro images are visible on mobile */
    .main-img,
    .secondary-img {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* On small screens, keep the secondary image in normal flow */
    .content-images {
        width: 100%;
    }

    .secondary-image {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 20px;
    }

    .main-img,
    .secondary-img {
        display: block;
    }

    .hero-content h1 {
        font-size: 32px;
    }
    
    .content-text h2 {
        font-size: 32px;
    }
    
    .stats-banner .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .vmp-grid {
        grid-template-columns: 1fr;
    }

    .why-static-grid {
        grid-template-columns: 1fr;
    }
    
    .why-card {
        padding: 25px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    /* common.css handles contact bar mobile */
}
