/* ------------------------------------------------------------------- */
/* ------------------------ About Page Styles ----------------------- */
/* ------------------------------------------------------------------- */

/* Hero Carousel Section - Reusing services carousel structure */
.servicesimageouterdiv {
    position: relative;
    overflow: hidden;
}

.servicesimageinnerdiv {
    height: 50vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

/* About Carousel Slides */
.services-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1s ease-in-out, opacity 0.5s ease-in-out;
    z-index: 0;
}

.services-carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
    transition: transform 1s ease-in-out, opacity 0.5s ease-in-out;
}

.services-carousel-slide.immediate-visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: none !important;
}

.services-carousel-slide.prev {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 0;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 141, 0.5) 0%, rgba(0, 31, 84, 0.6) 100%);
    z-index: 2;
}

.servicesoverlaydiv {
    width: 100%;
    height: 50vh;
    min-height: 400px;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    z-index: 3;
    background: transparent;
}

.servicesOverlayContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center;
    justify-content: center;
}

.servicesheading {
    color: white;
    font-size: 55px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Poppins', sans-serif;
}

#servicesoverlaySlogan {
    width: 75vw;
    max-width: 900px;
    font-size: 25px;
    text-align: center;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', sans-serif;
}

/* Responsive styles for about carousel */
@media (max-width: 1024px) {
    .servicesimageinnerdiv, .servicesoverlaydiv {
        height: 45vh;
        min-height: 350px;
    }

    .servicesheading {
        font-size: 42px;
    }

    #servicesoverlaySlogan {
        font-size: 20px;
        width: 85vw;
    }
}

@media (max-width: 768px) {
    .servicesimageinnerdiv, .servicesoverlaydiv {
        height: 40vh;
        min-height: 300px;
    }

    .servicesheading {
        font-size: 32px;
    }

    #servicesoverlaySlogan {
        font-size: 16px;
        width: 90vw;
    }
}

@media (max-width: 480px) {
    .servicesimageinnerdiv, .servicesoverlaydiv {
        height: 35vh;
        min-height: 250px;
    }

    .servicesheading {
        font-size: 24px;
        margin-bottom: 15px;
    }

    #servicesoverlaySlogan {
        font-size: 14px;
        width: 95vw;
        line-height: 1.4;
    }
}

.aboutHeroStats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark Mode Styles */
body.dark .services-overlay {
    background: var(--heroOverlay) !important;
}

body.dark .servicesheading {
    color: var(--hero-text-primary) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

body.dark #servicesoverlaySlogan {
    color: var(--hero-text-secondary) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

body.dark .aboutHeroStats {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark .aboutStatNumber,
body.dark .aboutStatLabel {
    color: var(--hero-text-primary) !important;
}

body.dark .aboutStatDivider {
    background: rgba(255, 255, 255, 0.2) !important;
}

body.dark .aboutContentSection {
    background: var(--about-bg) !important;
}

/* Mission & Vision Cards Dark Mode */
body.dark .missionCard,
body.dark .visionCard {
    background: var(--values-cards-bg) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

body.dark .missionCard:hover,
body.dark .visionCard:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body.dark .missionCard h2,
body.dark .visionCard h2 {
    color: var(--values-cards-text) !important;
}

body.dark .missionCard p,
body.dark .visionCard p {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.dark .missionIcon,
body.dark .visionIcon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    color: var(--icon-primary) !important;
}

/* Who We Are Section Dark Mode */
body.dark .aboutWhoWeAre {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
}

body.dark .whoWeAreContent h2 {
    color: var(--values-cards-text) !important;
}

body.dark .whoWeAreContent p {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.dark .featureItem {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.dark .featureItem i {
    color: #4ade80 !important;
}

/* Our Values Section Dark Mode */
body.dark .aboutOurValues h2 {
    color: var(--values-cards-text) !important;
}

body.dark .valueCard {
    background: var(--values-cards-bg) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
}

body.dark .valueCard:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body.dark .valueCard i {
    color: var(--values-cards-text) !important;
}

body.dark .valueCard h3 {
    color: var(--values-cards-text) !important;
}

body.dark .valueCard p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Why Choose Us Section Dark Mode */
body.dark .aboutWhyChooseUs {
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.8) 100%) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(76, 175, 80, 0.1) !important;
}

body.dark .aboutWhyChooseUs h2 {
    color: var(--values-cards-text) !important;
}

body.dark .whyChooseCard {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: inset 0 0 0 1px rgba(76, 175, 80, 0.08) !important;
}

body.dark .whyChooseCard:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(76, 175, 80, 0.15), inset 0 0 0 1px rgba(76, 175, 80, 0.2) !important;
}

body.dark .whyChooseCard h3 {
    color: var(--hero-text-primary) !important;
}

body.dark .whyChooseCard p {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.dark .whyChooseNumber {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.dark .whyChooseCard:hover .whyChooseNumber {
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.4) !important;
}

/* Section Separators */
.aboutContentSection > div:not(:last-child)::after {
    content: '';
    display: block;
    width: 80%;
    height: 1px;
    background: rgba(0, 51, 141, 0.2);
    margin: 40px auto;
    border-radius: 1px;
}

body.dark .aboutContentSection > div:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Footer Separator Line */
.aboutContentSection::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 51, 141, 0.3), transparent);
    margin-top: 80px;
    position: relative;
}

body.dark .aboutContentSection::after {
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.3), transparent) !important;
}

.aboutStatItem {
    text-align: center;
}

.aboutStatNumber {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.aboutStatLabel {
    font-size: clamp(14px, 1.5vw, 18px);
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
}

.aboutStatDivider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

/* About Content Section */
.aboutContentSection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Mission & Vision */
.aboutMissionVision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.missionCard,
.visionCard {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 51, 141, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.missionCard:hover,
.visionCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 51, 141, 0.15);
}

.missionIcon,
.visionIcon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgb(0, 51, 141) 0%, rgb(8, 37, 88) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 32px;
}

.missionCard h2,
.visionCard h2 {
    font-size: 28px;
    font-weight: 700;
    color: rgb(0, 51, 141);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.missionCard p,
.visionCard p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-family: 'Inter', sans-serif;
}

/* Who We Are */
.aboutWhoWeAre {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(0, 51, 141, 0.05) 0%, rgba(8, 37, 88, 0.05) 100%);
    border-radius: 20px;
}

.whoWeAreContent h2 {
    font-size: 36px;
    font-weight: 700;
    color: rgb(0, 51, 141);
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

.whoWeAreContent p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.whoWeAreFeatures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.featureItem {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: rgb(0, 51, 141);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.featureItem i {
    color: #4CAF50;
    font-size: 20px;
}

.whoWeAreImage {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.whoWeAreImageContent {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.whoWeAreImageContent:hover {
    transform: scale(1.05);
}

.aboutImagePlaceholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(0, 51, 141) 0%, rgb(8, 37, 88) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Our Values */
.aboutOurValues {
    margin-bottom: 80px;
}

.aboutOurValues h2 {
    font-size: 36px;
    font-weight: 700;
    color: rgb(0, 51, 141);
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Poppins', sans-serif;
}

.valuesGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.valueCard {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 51, 141, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valueCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 51, 141, 0.15);
}

.valueCard i {
    font-size: 48px;
    color: rgb(0, 51, 141);
    margin-bottom: 20px;
}

.valueCard h3 {
    font-size: 22px;
    font-weight: 700;
    color: rgb(0, 51, 141);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.valueCard p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    font-family: 'Inter', sans-serif;
}

/* Why Choose Us */
.aboutWhyChooseUs {
    padding: 60px 40px;
    background: linear-gradient(135deg, rgb(0, 51, 141) 0%, rgb(8, 37, 88) 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 51, 141, 0.2), inset 0 0 0 2px rgba(76, 175, 80, 0.15);
}

.aboutWhyChooseUs::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #4CAF50 50%, transparent 100%);
    opacity: 0.5;
    border-radius: 0 20px 20px 0;
}

.aboutWhyChooseUs h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Poppins', sans-serif;
}

.whyChooseGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.whyChooseCard {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(76, 175, 80, 0.1);
}

.whyChooseCard::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #4CAF50 50%, transparent 100%);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.whyChooseCard:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 51, 141, 0.3), 0 0 30px rgba(76, 175, 80, 0.2), inset 0 0 0 1px rgba(76, 175, 80, 0.3);
}

.whyChooseCard:hover::after {
    opacity: 0.8;
    width: 4px;
    background: linear-gradient(180deg, #4CAF50 0%, #00E5FF 50%, #4CAF50 100%);
}

.whyChooseNumber {
    font-size: 48px;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.whyChooseNumber::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #00E5FF);
    transition: width 0.3s ease;
    opacity: 0;
}

.whyChooseCard:hover .whyChooseNumber::after {
    width: 100%;
    opacity: 1;
}

.whyChooseCard:hover .whyChooseNumber {
    opacity: 0.5;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.whyChooseCard h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.whyChooseCard h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, #4CAF50 70%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 2px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.whyChooseCard:hover h3::before {
    opacity: 1;
    width: 5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, #4CAF50 70%, rgba(255, 255, 255, 0.5) 100%);
}

.whyChooseCard p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
    font-family: 'Inter', sans-serif;
    position: relative;
    transition: all 0.3s ease;
}

.whyChooseCard p::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(76, 175, 80, 0.3) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whyChooseCard:hover p::before {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .aboutMissionVision {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .aboutWhoWeAre {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }

    .valuesGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .whyChooseGrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .aboutHeroSection {
        min-height: 400px;
        padding: 60px 20px;
    }

    .aboutHeroStats {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .aboutStatDivider {
        width: 60px;
        height: 1px;
    }

    .aboutContentSection {
        padding: 50px 15px;
    }

    .missionCard,
    .visionCard {
        padding: 30px;
    }

    .whoWeAreFeatures {
        grid-template-columns: 1fr;
    }

    .valuesGrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aboutWhyChooseUs {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .aboutHeroTitle {
        font-size: 28px;
    }

    .aboutHeroSubtitle {
        font-size: 16px;
    }

    .missionCard h2,
    .visionCard h2,
    .whoWeAreContent h2,
    .aboutOurValues h2,
    .aboutWhyChooseUs h2 {
        font-size: 24px;
    }

    .missionCard,
    .visionCard,
    .valueCard,
    .whyChooseCard {
        padding: 25px;
    }
}

