/* ==============================
   VARIABLES
============================== */
:root {
    --primary-dark: #0a1f44;
    --primary-blue: #1e4ae9;
    --primary-light: #4d7cf0;
    --secondary-teal: #14b8a6;
    --dark-gray: #1e293b;
    --light-gray: #f8fafc;
    --medium-gray: #5c646e;
    --border-gray: #d1d5db;
}

/* ==============================
   GLOBAL
============================== */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.75;
    color: var(--dark-gray);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* ==============================
   NAVBAR
============================== */
.navbar {
    background-color: rgba(10, 31, 68, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: white !important;
    letter-spacing: -0.5px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--secondary-teal) !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==============================
   HERO
============================== */
.hero, .about-hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 180px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero::before, .about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(30,74,233,.2), transparent 50%);
}

.hero {
    background: 
        linear-gradient(rgba(10,31,68,0.92), rgba(10,31,68,0.92)),
        url('../img/career_quiz_1.jpg') no-repeat center center;
    background-size: cover;
}


.about-hero {
    background:
        linear-gradient(rgba(10,31,68,.92), rgba(10,31,68,.92)),
        url('../img/cover.jpg');
}

.hero-title, .about-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-subtitle, .about-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.hero-badge {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* ==============================
   SECTIONS
============================== */
.section {
    padding: 110px 0;
}

.section-light {
    background: var(--light-gray);
}

.section-dark {
    background: var(--primary-dark);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
}

/* ==============================
   CARDS
============================== */
.service-card, .mission-vision .mission-card, .mission-vision .vision-card,
.value-card, .team-card, .approach-step {
    border-radius: 16px;
    background: white;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: all 0.3s ease;
}

.service-card:hover,
.value-card:hover,
.team-card:hover,
.approach-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
    border-color: var(--secondary-teal);
}

.card-icon, .value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.card-icon { background-color: rgba(20,184,166,0.1); color: var(--secondary-teal); }
.value-icon { background-color: rgba(20,184,166,0.1); color: var(--secondary-teal); }
.vision-card .card-icon { background-color: rgba(30,74,233,0.1); color: var(--primary-blue); }

/* ==============================
   STATS
============================== */
.stats-section {
    background: white;
    padding: 80px 0;
    margin-top: -60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
}

.stat-label {
    color: var(--medium-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ==============================
   IMAGES
============================== */
.platform-img, .story-img, .team-img img {
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
    transition: transform 0.5s ease;
}

.platform-img:hover, .story-img:hover, .team-img img:hover {
    transform: scale(1.05);
}

/* ==============================
   TIMELINE / STORY
============================== */
.story-timeline {
    position: relative;
    padding-left: 4rem; /* Increased from 2rem to 4rem for spacing */
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 20px; /* aligned with the circle center */
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary-teal), var(--primary-blue));
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-year {
    position: absolute;
    left: 0; /* aligns left edge with timeline line */
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.timeline-content {
    margin-left: 70px; /* Add space so text doesn’t touch the circle */
}

.timeline-content h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--medium-gray);
    margin-bottom: 0;
}



/* ==============================
   TEAM
============================== */

/* Team Card Container */
.team-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    text-align: center;
}

/* Hover Effect */
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Team Image */
.team-img {
    padding-top: 2rem;
}
.team-img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s;
}
.team-card:hover .team-img img {
    transform: scale(1.05);
}

/* Team Info */
.team-info {
    padding: 2rem;
    text-align: center;
}
.team-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.team-role {
    color: var(--secondary-teal);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.team-bio {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Social Icons */
.team-social a {
    display: inline-block;
    color: var(--secondary-teal);
    font-size: 1.2rem;
    margin: 0 0.3rem;
    transition: color 0.3s, transform 0.3s;
}
.team-social a:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .team-card {
        margin-bottom: 2rem;
    }
    .team-img img {
        width: 120px;
        height: 120px;
    }
}


/* ==============================
   APPROACH / CTA
============================== */
.approach-section .accordion-button {
    background-color: white;
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    border: 1px solid var(--border-gray);
}
.approach-section .accordion-button:not(.collapsed) {
    background-color: rgba(20,184,166,0.05);
    color: var(--secondary-teal);
    border-color: var(--secondary-teal);
}
.approach-step { display: flex; align-items: center; padding: 1.5rem; position: relative; }
.step-number { font-size: 2.5rem; font-weight: 800; color: var(--secondary-teal); margin-right: 1.5rem; opacity: 0.3; }



/* ==============================
   FOOTER
============================== */
footer {
    background-color: #0d1a2a; /* Dark, elegant navy */
    color: #ffffff;
    padding: 80px 0 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer a:hover {
    color: #4dabf7; /* Softer blue on hover */
    transform: translateY(-2px);
}

footer .footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

footer .footer-brand:hover {
    color: #4dabf7;
}

footer h5 {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

footer p, footer span {
    color: #cfd8dc; /* Soft gray text for readability */
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul li a {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #cfd8dc;
}

footer ul li a:hover {
    color: #4dabf7;
}

footer .social-links a {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-align: center;
    margin-right: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

footer .social-links a:hover {
    background-color: #4dabf7;
    color: #ffffff;
    transform: scale(1.1);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

footer .text-muted {
    color: #cfd8dc !important;
}

footer .row p a {
    color: #cfd8dc;
}

footer .row p a:hover {
    color: #4dabf7;
}


/* ==============================
   ANIMATION
============================== */
.fade-in { opacity: 0; transform: translateY(30px); transition: 0.8s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 992px) {
    .hero, .about-hero { padding: 150px 0 100px; background-attachment: scroll; }
    .hero-title, .about-hero .hero-title { font-size: 2.8rem; }
    .stat-number { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .hero-title, .about-hero .hero-title { font-size: 2.3rem; }
    .story-timeline { padding-left: 1.5rem; }
    .timeline-year { left: -1.75rem; width: 40px; height: 40px; font-size: 0.8rem; }
}

@media (max-width: 576px) {
    .hero-title, .about-hero .hero-title { font-size: 2rem; }
    .hero-subtitle, .about-hero .hero-subtitle { font-size: 1.1rem; }
}
