/* =========================================================
   ASIARAC — About Us: Our Team  |  Minimalist Light Theme
========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; list-style: none; text-decoration: none; scroll-behavior: smooth; }
html { overflow-x: hidden; }

:root {
    --navy-dark:   #0a1628;
    --navy-medium: #1a2d4a;
    --navy-light:  #2d4466;
    --gold:        #d4af37;
    --gold-light:  #f4d774;
    --gold-dark:   #b8941f;
    --white:       #ffffff;
    --black:       #000000;
    --gray-light:  #e5e5e5;
    --off-white:   #f8f7f4;
    --section-alt: #f0f2f5;
    --text-muted:  #5a6a7e;
    --p-font:      0.95rem;
}

body { background: var(--off-white); color: var(--navy-dark); overflow-x: hidden; }

/* ── HEADER ── */
header { position: fixed; width: 100%; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 12px 5%; background: var(--navy-dark); border-bottom: 2px solid rgba(212,175,55,.25); transition: all .4s; }
.logo img { max-width: 160px; width: 100%; height: auto; object-fit: contain; transition: transform .3s; }
.logo:hover img { transform: scale(1.04); }
.navlist { display: flex; align-items: center; }
.navlist a { display: inline-block; font-size: .82rem; color: rgba(255,255,255,.88); margin: 0 18px; padding: 4px 0; border-bottom: 2px solid transparent; text-decoration: none; transition: all .25s; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }
.navlist a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.navlist .dropdown-menu { background: var(--navy-dark); border: 1px solid rgba(212,175,55,.25); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.navlist .dropdown-menu .dropdown-item { font-family: 'Montserrat', sans-serif; font-size: .82rem; color: rgba(255,255,255,.85); padding: .55rem 1.4rem; transition: all .25s; }
.navlist .dropdown-menu .dropdown-item:hover { background: rgba(212,175,55,.1); color: var(--gold); padding-left: 1.8rem; }
.nav-content { display: flex; align-items: center; }
.nav-content button:hover { transform: translateY(-2px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; font-size: .8rem; font-weight: 700; letter-spacing: 1.5px; transition: all .25s; border: none; cursor: pointer; text-transform: uppercase; }
.btn-whatsapp { background: #25d366; color: #fff !important; border-radius: 50px; box-shadow: 0 3px 12px rgba(37,211,102,.35); }
.btn-whatsapp:hover { background: #128c7e; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.45); color: #fff !important; }
.btn-whatsapp i { margin-right: 7px; font-size: 16px; }

h2 { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--navy-dark); margin-bottom: .5rem; }
h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--gold); margin: 10px auto 0; border-radius: 2px; }
.center-text { text-align: center; }
.center-text h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--navy-dark); margin-top: 20px; margin-bottom: 16px; }

section { padding: 80px 5%; }
.hero { position: relative; width: 100%; height: 75vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(180deg, rgba(10,22,40,.85), rgba(26,45,74,.65)), url(../img/team-02.jpg) no-repeat center center; background-size: cover; margin-top: 66px; }
.hero-text h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem,6vw,4.5rem); font-weight: 700; color: var(--white); margin: 10px 0 20px; line-height: 1.2; }
.hero-text h4 { font-size: .78rem; color: var(--gold); letter-spacing: 4px; text-transform: uppercase; margin: 120px 0 16px; }
.hero-text p { font-size: 1.2rem; color: rgba(255,255,255,.85); margin-bottom: 28px; }

/* Mobile menu */
.toggle_btn { display: none; cursor: pointer; font-size: 1.4rem; color: var(--gold); }
.dropdown_bar_menu { display: none; flex-direction: column; background: var(--navy-dark); position: absolute; top: 100%; right: 0; width: 100%; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 999; }
.dropdown_bar_menu li { padding: .9rem 1.2rem; border-bottom: 1px solid rgba(212,175,55,.12); text-align: center; }
.dropdown_bar_menu li a { color: rgba(255,255,255,.88); }
.dropdown_bar_menu li:hover { background: rgba(212,175,55,.08); }
.dropdown_bar_menu.open { display: flex; }
.submenu { list-style: none; padding: 0; margin: 0; display: none; position: absolute; left: 0; top: 100%; background: var(--navy-dark); border: 1px solid rgba(212,175,55,.2); border-radius: 8px; z-index: 999; }
.submenu li { padding: .6rem 1.4rem; white-space: nowrap; }
.has-submenu:hover .submenu { display: block; }
.whatsapp-btn { display: none; }
@media (max-width: 768px) { .navlist { display: none; } .toggle_btn { display: block; } .nav-content { display: none; } .whatsapp-btn { display: block; } .submenu { position: static; } }

/* ── TEAM INTRO ── */
.intro-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 72px 5%; background: var(--white); }
.intro-text { flex: 1; padding: 20px; max-width: 600px; }
.intro-text h1 { font-family: 'Cormorant Garamond', serif; color: var(--navy-dark); font-weight: 700; text-transform: uppercase; font-size: 2.2rem; margin-bottom: .8rem; }
.intro-text p { color: var(--text-muted); text-align: justify; font-size: .95rem; line-height: 1.85; }
.intro-marquee { flex: 1; overflow: hidden; position: relative; width: 100%; max-width: 600px; height: 400px; border-radius: 14px; }
.marquee-content { display: flex; animation: carouselMove 30s ease-in-out infinite; }
@keyframes carouselMove { 0% { transform: translateX(0); } 14% { transform: translateX(-100%); } 28% { transform: translateX(-200%); } 42% { transform: translateX(-300%); } 57% { transform: translateX(-400%); } 71% { transform: translateX(-500%); } 85% { transform: translateX(-600%); } 100% { transform: translateX(0); } }
.intro-marquee img { width: 100%; height: auto; object-fit: cover; flex-shrink: 0; margin: 0 5px; border-radius: 14px; }
@media (max-width: 1024px) { .intro-container { flex-direction: column; align-items: center; } .intro-text { max-width: 90%; text-align: center; } .intro-marquee { max-width: 90%; margin-top: 20px; } }

/* ── TRAINER CAROUSEL ── */
.carousel-container { max-width: 1400px; margin: 0 auto; position: relative; text-align: center; padding: 72px 5%; background: var(--section-alt); border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); }
.carousel { display: flex; justify-content: space-between; align-items: center; overflow: hidden; position: relative; width: 100%; padding: 0 70px; }
.carousel-item { display: none; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; padding: 20px; }
.carousel-item:first-child { display: flex; }
.carousel-item.active { display: flex; }
.trainer-info { width: 60%; text-align: left; padding-right: 20px; }
.trainer-name { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--navy-dark); }
.trainer-designation { font-size: 1rem; color: var(--gold-dark); margin-bottom: 10px; font-weight: 600; }
.trainer-description { font-size: .95rem; line-height: 1.85; color: var(--text-muted); }
.trainer-image { width: 40%; text-align: center; }
.trainer-image img { max-width: 100%; height: auto; border-radius: 14px; box-shadow: 0 12px 36px rgba(10,22,40,.12); }

/* Thumbnails */
.thumbnail-container { margin-top: 20px; display: flex; justify-content: center; gap: 10px; }
.thumbnail { width: 56px; height: 56px; border-radius: 50%; cursor: pointer; object-fit: cover; opacity: 0.55; transition: all .25s; border: 3px solid transparent; }
.thumbnail.active-thumbnail { border-color: var(--gold); opacity: 1; box-shadow: 0 0 12px rgba(212,175,55,.4); }
.thumbnail:hover { transform: scale(1.1); opacity: .85; }

/* Carousel Controls */
.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); background: var(--navy-dark); color: var(--white); border: none; cursor: pointer; font-size: 1.3rem; width: 46px; height: 46px; border-radius: 50%; z-index: 10; transition: all .25s; }
.carousel-control:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-50%) scale(1.08); }
.carousel-control.prev { left: 10px; }
.carousel-control.next { right: 10px; }

/* Read More */
.hidden-text { display: none; }
.short { display: block; }
.read-more-btn { margin-top: 12px; padding: 10px 24px; font-size: .8rem; font-weight: 700; color: var(--white); background: var(--navy-dark); border: 2px solid var(--navy-dark); border-radius: 50px; cursor: pointer; transition: all .25s; text-transform: uppercase; }
.read-more-btn:hover { background: transparent; color: var(--navy-dark); transform: translateY(-2px); }

@media (max-width: 767px) { .carousel-item { flex-direction: column; text-align: center; } .trainer-info { width: 100%; padding: 0 15px; } .trainer-image { width: 100%; margin-top: 15px; } .thumbnail { width: 40px; height: 40px; } }

/* ── TEAM CARDS ── */
.card-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 10px 5% 72px; background: var(--white); }
@media (max-width: 991px) { .card-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .card-container { grid-template-columns: 1fr; } }

.card { background: var(--off-white); border: 1px solid var(--gray-light); box-shadow: 0 2px 10px rgba(0,0,0,.05); max-width: 300px; margin: 10px auto; text-align: center; padding: 1rem; border-radius: 14px; transition: all .25s; height: auto; cursor: pointer; }
.card:hover { transform: translateY(-8px); box-shadow: 0 16px 36px rgba(10,22,40,.1); border-color: var(--gold); }
.card img { border-radius: 10px; }
.card h1 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; margin: 10px 0 5px; color: var(--navy-dark); }
.card p { font-size: .88rem; margin: 5px 0; color: var(--text-muted); }
.title { color: var(--gold-dark); font-size: .88rem; font-weight: 600; }

/* ── FOOTER ── */
footer { background: var(--navy-dark); padding: 4rem 5% 2rem; color: rgba(255,255,255,.7); border-top: 2px solid rgba(212,175,55,.2); width: 100%; }
.footer-container { display: flex; justify-content: space-around; align-items: flex-start; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.footer-col { flex: 1; margin: 1rem; max-width: 280px; }
.footer-col .material-symbols-outlined { font-size: 18px; margin-right: 8px; color: var(--gold); }
.footer-col h4 { font-size: .85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.2rem; color: var(--white); }
.footer-col .dropdown > a::after { content: " ▾"; font-size: .7rem; }
.footer-col .dropdown:hover > a::after { content: " ▴"; }
.footer-col .dropdown .sub-links { display: none; padding-left: 16px; }
.footer-col .dropdown:hover .sub-links { display: block; }
.footer-col p, .footer-col ul, .footer-col li { margin: .45rem 0; font-size: .88rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col a { color: rgba(255,255,255,.65); transition: color .25s; }
.footer-col a:hover { color: var(--gold); }
.social-links { display: flex; gap: .8rem; margin-top: 1.2rem; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(212,175,55,.35); transition: all .25s; }
.social-links a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.social-links img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(212,175,55,.15); display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.footer-bottom p { color: rgba(255,255,255,.45); font-size: .82rem; margin: .3rem 0; }

@media (max-width: 768px) { .hero { height: auto; padding: 120px 5% 60px; } .hero-text h1 { font-size: 2.4rem; } .footer-container { flex-direction: column; } }
@media (max-width: 576px) { .hero-text h1 { font-size: 2rem; } }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff; border-radius: 50px;
    padding: 13px 22px;
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .82rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 16px rgba(37,211,102,.45);
    transition: all .25s; z-index: 9999; text-decoration: none;
    animation: waPulse 2.2s ease-in-out infinite;
}
.whatsapp-float i { font-size: 1.25rem; }
.whatsapp-float:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 8px 28px rgba(37,211,102,.65); animation: none; }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.35); }
    50%       { box-shadow: 0 4px 16px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}

