/* services section */

/* ===== AI Hierarchy Section ===== */
#ai-hierarchy {
    padding: 6rem 1rem;
    background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
    font-family: sans-serif;
    overflow: hidden;
    border-radius: 20px;
}

#ai-hierarchy .container {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
}

/* Heading */
#ai-hierarchy h2 {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.25rem;
    background-image: linear-gradient(90deg, #ffffff, #dcd4d4);
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 8px rgba(0,0,0,0.08);
    animation: glowPulse 4s ease-in-out infinite;
}

#ai-hierarchy p {
    text-align: center;
    font-size: 1.125rem;
    color: #ffffff;
    max-width: 48rem;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

#ai-hierarchy b {
    font-weight: 600;
    color: #dcd8d8;
}

/* Flex Layout */
#ai-hierarchy .flex-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

/* Glass Card Base */
.glass-card {

    width: 100%;
    max-width: 500px;
    transition: transform 0.9s ease, box-shadow 0.5s ease;
}

/* Image Card Inner */
.glass-card .image-inner {
    padding: 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.glass-card .image-inner img {
    width: 100%;
    border-radius: 12px;
    transform: scale(1.2);
    transform-origin: center center;
    transition: transform 0.6s ease;
}

/* Text Card Inner */
.glass-card .text-inner {
    padding: 2rem;
    border-radius: 20px;
    background: rgba(97, 90, 90, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.glass-card .text-inner h3 {
    /* font-size: 1.6rem; */
    margin-bottom: 1.25rem;
  /* background: linear-gradient(to bottom, #e0e0e0, #9e9e9e); */
    /* Soft shadow */
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); */

    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    /* margin-bottom: 25px; */
    text-shadow: 0 2px 6px rgba(138, 129, 129, 0.684);
}

/* List Styling */
.glass-card .text-inner ul {
    color: #ffffff;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item {
    transition: color 0.3s ease;
}

/* Hover Effects from JS (duplicate in CSS for safety) */
.glass-card:hover {
    transform: scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.list-item:hover {
    color: #ae9af6;
}

/* Glow Animation */
@keyframes glowPulse {
    0%, 100% { text-shadow: 0 3px 8px rgba(0,0,0,0.08); }
    50% { text-shadow: 0 4px 12px rgba(0,0,0,0.15); }
}



/* ======================================= */
/*  CEO Section */
.founder-message {
    max-width: 1100px;
    margin: 60px auto;
    font-family: 'Segoe UI', sans-serif;
    padding: 35px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
}

.founder-message:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.founder-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 25px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.founder-text {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 300;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.founder-name {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    color: #ffd700;
    letter-spacing: 1px;
}

.founder-role {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-style: italic;
}



/* ================================================================ */

/* organizational flow */

/* Container */
.org-flow-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 35px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    color: #fff;

    /* Animation on load */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideIn 0.8s ease-out forwards;
}

/* Container hover */
.org-flow-container:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

/* Heading */
.org-flow-heading {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Image wrapper */
.org-flow-image-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

/* Image with pop-in & smooth hover */
.org-flow-image {
    max-width: 90%;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transform: scale(1) translateY(0);
    cursor: pointer;
    animation: popIn 0.8s ease-out forwards;
    transition: transform 0.6s ease-in-out, box-shadow 0.6s ease-in-out;
}

.org-flow-image:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25),
                0 0 15px rgba(255,255,255,0.15);
}

/* List layout */
.org-flow-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* List items */
.org-flow-list li {
    background: rgba(255,255,255,0.08);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.org-flow-list li:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Hidden details */


.org-flow-list li.active .details {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes popIn {
    from { transform: scale(0.95) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

