/* =========================================================
   HOME.CSS — Homepage Sections (Mission, Vision, Cards, CEO)
   Sixmoons Corporate Theme
========================================================= */

/* ---------------------------------------------------------
   SECTION BASIC SPACING
--------------------------------------------------------- */

.section-white {
    padding: 100px 0;
    background: #ffffff;
}

.section-split {
    padding: 110px 0;
    background: #f7f9fc;
}

/* ---------------------------------------------------------
   SECTION TITLES
--------------------------------------------------------- */

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--sm-blue-dark);
    position: relative;
    padding-left: 14px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 28px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--sm-blue), var(--sm-gold));
}

.section-title.text-center::before {
    left: 50%;
    transform: translateX(-50%);
    top: -12px;
    width: 40px;
    height: 4px;
}

.section-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--sm-muted);
    max-width: 900px;
}


/* ---------------------------------------------------------
   SECTION BLOCK (Who We Are)
--------------------------------------------------------- */

.section-block {
    background: #ffffff;
    border-radius: var(--sm-radius-lg);
    padding: 40px 36px;
    box-shadow: var(--sm-shadow-soft);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.section-block::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 86, 209, 0.08), transparent 70%);
}

.section-block:hover {
    transform: translateY(-6px);
    box-shadow: var(--sm-shadow-strong);
    border-color: #cbd5f5;
}


/* ---------------------------------------------------------
   MISSION & VISION SPLIT CARDS
--------------------------------------------------------- */

.section-split .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.split-card {
    background: #ffffff;
    border-radius: var(--sm-radius-lg);
    padding: 40px 36px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--sm-shadow-soft);
    transition: 0.3s ease;
    position: relative;
}

.split-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sm-shadow-strong);
    border-color: #cbd5f5;
}

.split-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0,86,209,0.08), transparent 70%);
    border-radius: 50%;
}

@media (max-width: 991px) {
    .section-split .container {
        grid-template-columns: 1fr;
    }
}


/* ---------------------------------------------------------
   HOME SERVICES GRID (3 columns)
--------------------------------------------------------- */

.services-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border-radius: var(--sm-radius-md);
    padding: 28px 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(148,163,184,0.15);
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 18px 45px rgba(0,0,0,0.15);
    border-color: rgba(0,86,209,0.45);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sm-blue-dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    color: var(--sm-muted);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* ---------------------------------------------------------
   IDENTITY CARDS (Mission / Vision / Values)
--------------------------------------------------------- */

.identity-card {
    background: #ffffff;
    padding: 32px 26px;
    border-radius: 16px;
    border-left: 5px solid #0056d1;
    border-right: 5px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
    position: relative;
}

.identity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.14);
    border-right-color: #f2b41b;
}

.identity-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #003c99;
    margin-bottom: 12px;
}

.identity-card p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   TIMELINE
--------------------------------------------------------- */

.timeline-section {
    padding: 100px 0;
    background: #ffffff;
}

.timeline {
    border-left: 3px solid #0056d1;
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: #0056d1;
    border-radius: 50%;
    box-shadow: 0 0 0 6px #e4edff;
}

.timeline-item .year {
    font-size: 20px;
    font-weight: 700;
    color: #003c99;
}


/* ---------------------------------------------------------
   WHY CHOOSE US — CARDS
--------------------------------------------------------- */

.why-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 26px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.14);
    border-color: #cbd5f5;
}

.why-card::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0,86,209,0.07), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: 0.3s;
}

.why-card:hover::after {
    opacity: 1;
}


/* ---------------------------------------------------------
   CEO SECTION
--------------------------------------------------------- */

.ceo-section {
    padding: 110px 0;
    background: #ffffff;
}

.ceo-image-box {
    padding: 6px;
    border-radius: 50%;
    border: 4px solid #0056d1;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    display: inline-block;
}

.ceo-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.ceo-name {
    font-size: 22px;
    font-weight: 700;
    color: #003c99;
    margin-top: 18px;
}

.ceo-title {
    font-size: 14px;
    color: #6b7280;
}

.ceo-text {
    font-size: 17px;
    line-height: 1.8;
    color: #4a4a4a;
}


/* ---------------------------------------------------------
   LEADERSHIP SECTION
--------------------------------------------------------- */

.leadership-section {
    padding: 110px 0;
}

.leader-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 26px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 55px rgba(0,0,0,0.15);
}

.leader-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0056d1;
}


/* ---------------------------------------------------------
   GSAP ENTRY EFFECTS
--------------------------------------------------------- */

[data-anim] {
    opacity: 0;
    transform: translateY(60px);
}

[data-anim*="fade-left"] { transform: translateX(-50px); }
[data-anim*="fade-right"] { transform: translateX(50px); }
[data-anim*="fade-scale"] { transform: scale(0.92); }


/* ---------------------------------------------------------
   FLOATING ANIMATION
--------------------------------------------------------- */

.floating-card {
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}
