/* =====================================================
   ABOUT US – PREMIUM, CLEAN, VISIBLE (2025)
   ===================================================== */

.aboutus-page {
    --p: #0A1D56;
    --a: #00D4D4;
    --g: #f1c40f;
    --light-shadow: rgba(10,29,86,.1);
    --card-bg-light: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    /* Placeholder for dynamic body colors */
    /* background: var(--body_color_light);
    color: var(--text_color_light); */
}

html.dark .aboutus-page {
    /* Placeholder for dark mode colors */
    /* background: var(--body_color_dark);
    color: var(--text_color_dark); */
    --card-bg-light: #1a2332;
    --light-shadow: rgba(0,0,0,.3);
}

.aboutus-page .container {
    max-width: -webkit-fill-available;
    margin: 0;
    padding: 0;
}

/* TEXT JUSTIFICATION FIX: Only applying justification to narrative blocks */
.aboutus-page .sec .txt p,
.aboutus-page .sec .txt li,
.aboutus-page .highlight-text,
.aboutus-page .comparison-tagline {
    /* FIXED: Justification for main content */
    text-align: justify !important;
    line-height: 1.7 !important;
    margin-bottom: 10px !important;
    hyphens: auto;
    font-size: 1.04rem;
    color: #2d3748;
}

html.dark .aboutus-page .sec .txt p {
    color: #e2e8f0;
}

/* 🌟 NEW: SECTION HEADINGS (Classy & Visible) 🌟 */
.section-Title {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    letter-spacing: -1.5px;
    background: linear-gradient(90deg, var(--p) 0%, var(--a) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 1rem 0 1rem;
    position: relative;
    z-index: 2;
}

.section-Title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: var(--a);
    border-radius: 3px;
}

.elegant-title {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    letter-spacing: -1.5px;
    background: linear-gradient(90deg, var(--p) 0%, var(--a) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 1rem 0 1rem;
    position: relative;
    z-index: 2;
}

.elegant-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: var(--a);
    border-radius: 3px;
}

.elegant-title.subtle {
    font-size: 2.5rem !important;
    background: linear-gradient(90deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 🌟 FIXED: Sub-Headings (h2/h3 within sections) */
.inline-section-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--p);
    border-left: 8px solid var(--a);
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
    margin-top: 0rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

html.dark .inline-section-heading {
    color: white;
}

/* HERO */
.aboutus-page .hero {
    /* min-height: 60vh; */
    padding: 20px;
    background: linear-gradient(#b4ccff, #7d8fcf);
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.aboutus-page .hero h1 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.5;
    font-weight: 900;
}

.aboutus-page .cta {
    background: var(--a);
    color: var(--p);
    padding: 1rem 2.6rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,212,212,.35);
    transition: all .3s;
}

.aboutus-page .cta:hover {
    transform: translateY(-5px);
}

/* SECTIONS (SEC) */
.aboutus-page .sec {
    padding: 20px 2rem;
    display: flex;
    gap: 3.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.aboutus-page .sec.rev {
    flex-direction: row-reverse;
}

.aboutus-page .img {
    flex: 1;
    min-width: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 55px var(--light-shadow);
}

.aboutus-page .img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform .7s;
}

.aboutus-page .img:hover img {
    transform: scale(1.08);
}

.aboutus-page .txt {
    flex: 1.3;
    min-width: 350px;
}

/* CARDS (Why JobRinger) */
.aboutus-page .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
    margin: 2rem 0;
    padding: 0px 2rem;
}

.aboutus-page .card {
    background: var(--card-bg-light);
    padding: 1.8rem;
    border-radius: 20px;
    box-shadow: 0 10px 32px var(--light-shadow);
    border: 1.5px solid rgba(0,212,212,.15);
    text-align: center;
    transition: all .4s ease;
}

.aboutus-page .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 42px rgba(0,212,212,.2);
}

.aboutus-page .card i {
    font-size: 2.2rem;
    color: var(--a);
    margin-bottom: 0.8rem;
}

.aboutus-page .card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* FEATURE CARDS GRID (For Employers/Jobseekers) */
.aboutus-page .feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.aboutus-page .feature-cards-grid .card {
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px var(--light-shadow);
    transition: all .3s;
    border: 1px solid rgba(0,212,212,.1);
}

.aboutus-page .feature-cards-grid .card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.aboutus-page .feature-cards-grid .card p {
    /* FIXED: Better Feature Text Appearance */
    font-size: 0.9rem; 
    font-weight: 600; 
    line-height: 1.3;
    margin-bottom: 0;
    text-align: center !important; 
}

.aboutus-page .feature-cards-grid .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,212,212,.15);
}


/* GLOBE - MOVED TO RIGHT, TEXT TO LEFT */
.aboutus-page .globe-sec {
    padding: 2rem 0;
    /* background: linear-gradient(135deg, var(--p), #1e3a8a); */
    color: #2d3748;
}

.globe-padding {
    padding: 0 2.5rem;
}

.globe-title {
    font-size: 2.5rem !important;
    text-align: center;
    font-weight: 800;
    color: var(--g) !important;
    text-shadow: 0 3px 14px rgba(241,196,15,.4);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.aboutus-page .globe-sec .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    /* Desktop: Text on Left, Globe on Right (default row direction) */
    flex-direction: row-reverse; 
    margin-top:2rem;
}

.aboutus-page .globe-content {
    flex: 1.3; 
    min-width: 350px; 
    text-align: left !important; 
}

.aboutus-page .globe-wrapper {
    flex: 1;
    min-width: 320px;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, var(--p), #1e3a8a);;
    padding: 2rem 0rem;
    border-radius: 20px;
    margin-left: 2rem;
}

.aboutus-page .globe {
    width: 340px;
    height: 340px;
     /* background: url('../images/11444549.png') center/cover no-repeat;  */
     /* width: 100px;
  height: 100px; */
  background: url(https://img.freepik.com/free-photo/global-globalization-world-map-environmental-concservation-concept_53876-124164.jpg?semt=ais_hybrid&w=740&q=80);
  /* border-radius: 50%; */
  background-size: 680px;
  box-shadow: inset 16px 0 40px 3px rgb(0, 0, 0), inset -3px 0 6px 2px rgba(255, 255, 255, 0.2);
    /* background-size: 195%; */
    border-radius: 50%;
    position: relative;
    /* animation: spin 40s linear infinite; */
    animation: rotate 8s linear infinite;
    /* box-shadow: inset 0 0 60px rgba(0,0,0,.7), 0 0 80px rgba(0,212,212,.6); */
    border: 12px solid rgba(0,212,212,.45);
}

.aboutus-page .globe:hover {
    transform: scale(1.05);
}

/* .dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--g);
    border-radius: 50%;
    box-shadow: 0 0 18px var(--g);
    animation: pulse 2.4s infinite;
} */

@keyframes pulse {
    50% {
        transform: scale(1.6);
        opacity: .75;
    }
}

@keyframes rotate {
  from {
    background-position-x: 0px;
  }
  to {
    background-position-x: 680px;
  }
}


/* @keyframes spin {
    to {
        transform: rotate(360deg);
    }
} */

/* MARQUEE */
.aboutus-page .marquee {
    background: rgba(0,212,212,.45);
    padding: 10px 0;
    overflow: hidden;
    margin: 12px 0;
    border-radius: 10px;
    backdrop-filter: blur(6px);
}

.aboutus-page .marquee span {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 75s linear infinite;
    font-size: 1rem;
    font-weight: 600;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* INDUSTRIES */
.aboutus-page .industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.aboutus-page .industry-card {
    background: var(--card-bg-light);
    padding: 1rem;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 6px 20px var(--light-shadow);
    font-weight: 500;
    font-size: 0.9rem;
    border-left: 4px solid var(--a);
    transition: all .35s;
}

.aboutus-page .industry-card:hover {
    background: var(--a);
    color: white;
    transform: translateY(-4px);
}

/* FUNCTIONAL AREAS – BIG & CLEAN FLIP */
.flip-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 1rem !important;
    padding: 3rem 1rem !important;
    perspective: 1400px;
}

.flip-card {
    height: 90px !important;
    position: relative;
    transform-style: preserve-3d;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(10,29,86,.1) !important;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.flip-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,212,212,.2) !important;
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem !important;
    text-align: center;
    padding: 0.6rem !important;
    line-height: 1.4;
}

.flip-front {
    background: #ffffff;
    color: var(--p);
    border: 2px solid var(--a);
}

.flip-back {
    background: var(--a);
    color: white;
    transform: rotateY(180deg);
}

/* COMPARISON */
.aboutus-page .comp {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--p), #1e3a8a);
    color: white;
    text-align: center;
}

.aboutus-page .table {
    display: grid;
    grid-template-columns: 2.6fr 1fr 1fr;
    gap: 1rem;
    max-width: 960px;
    margin: 3rem auto;
}

h2.highlight {
    font-weight: 700;
    font-size: 1.5rem;
}

.aboutus-page .cell {
    padding: 1.3rem;
    background: rgba(255,255,255,.13);
    border-radius: 14px;
    backdrop-filter: blur(6px);
}

.aboutus-page .cell:first-child {
    background: rgba(0,212,212,.25);
    font-weight: 700;
}

/* LEADERSHIP SECTION STYLES */
.leader-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 10px solid var(--a);
    box-shadow: 0 20px 50px rgba(0,212,212,.4);
}
.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-2025 {
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(10,29,86,.1);
    transition: transform 0.6s;
    cursor: pointer;
}
.flip-card-2025:hover {
    transform: rotateY(180deg);
}
.flip-card-2025 .flip-front,
.flip-card-2025 .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1rem;
}
.flip-card-2025 .flip-front {
    background: white;
    color: var(--p);
    border: 2px solid var(--a);
}
.flip-card-2025 .flip-back {
    background: var(--a);
    color: white;
    transform: rotateY(180deg);
    font-size: 3rem;
    font-weight: 800;
}

/* MOBILE RESPONSIVE ENHANCEMENTS */
@media (max-width: 1024px) {
    .aboutus-page .sec .img {
        min-width: 100%;
    }
    .aboutus-page .sec .txt {
        min-width: 100%;
    }
    .aboutus-page .globe-sec .container {
        /* On tablets/smaller screens, stack it vertically, text first, then globe */
        flex-direction: column;
        gap: 2rem;
    }
    .aboutus-page .globe-content {
        min-width: 100%;
        text-align: center !important;
    }
    .aboutus-page .globe-wrapper {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .aboutus-page .hero h1 {
        font-size: 3.8rem; 
    }
    .aboutus-page .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    .section-Title, .elegant-title {
        font-size: 2.8rem !important;
        margin: 4rem 0 2rem;
    }
    .elegant-title.subtle {
        font-size: 2.5rem !important;
    }
    .inline-section-heading {
        font-size: 1.8rem; 
    }
    .aboutus-page .globe {
        width: 280px;
        height: 280px;
        border-width: 8px;
    }
    .aboutus-page .table {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 0 0.5rem;
    }
    .aboutus-page .cell {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }
    .flip-wall {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 2rem 1rem !important;
    }
    .flip-card {
        height: 90px !important;
    }
    .leader-photo {
        width: 160px;
        height: 160px;
        border-width: 6px;
    }
}