/* ==========================================================================
   HOME PAGE STYLES
   ========================================================================== */

/* --- HERO CAROUSEL --- */
.carousel-section { padding: 50px 0; background-color: #f4f4f4; overflow: hidden; text-align: center; width: 100%; opacity:0; animation: fadeUp 2s ease-out forwards; transform-origin:center bottom; }
.myHeroSwiper { width: 100%; padding-top: 20px; padding-bottom: 50px; margin-left: auto; margin-right: auto; }

.myHeroSwiper .swiper-slide {
    background-position: center; background-size: cover; width: 600px; height: 450px;
    opacity: 0.4; filter: blur(4px); transform: scale(0.85); transition: all 0.4s ease;
    border-radius: 15px; overflow: hidden; position: relative; box-sizing: border-box;
}
.slide-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.myHeroSwiper .swiper-slide-active { opacity: 1; filter: blur(0); transform: scale(1); z-index: 10; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

.slide-caption {
    position: absolute; bottom: 0; left: 0; right: 0; width: auto; padding: 30px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center;
    opacity: 0; transition: opacity 0.4s ease; z-index: 20;
}
.myHeroSwiper .swiper-slide-active .slide-caption { opacity: 1; }
.slide-caption h3 { margin: 0 0 8px 0; font-size: 35px; font-weight: 700; color: white; text-transform: uppercase; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); width: 100%; text-align: center; }
.slide-caption p { margin: 0; font-size: 22px; color: rgba(255, 255, 255, 0.9); line-height: 1.4; text-align: center; }
.swiper-pagination-bullet-active { background-color: #051937 !important; }

/* --- HOME: ABOUT US --- */
.about-us-section { padding: 80px 5%; background-color: #ffffff; }
.about-container { display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; }
.about-image-wrapper { flex: 1; height: 450px; border-radius: 150px 0 150px 0; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.4); opacity: 0; transform: translate3d(0,60px,0); transition: all 1.5s ease-out; transition-delay:0.2s; }
.about-image { width: 100%; height: 100%; object-fit: cover; }
.about-content { flex: 1; opacity: 0; transform: translate3d(0,60px,0); transition: all 1.5s ease-out; transition-delay:0.2s; }
.about-heading { font-size: 36px; font-weight: 900; color: #051937; margin-bottom: 25px; position: relative; }
.about-heading::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 120px; height: 4px; background: linear-gradient(to right, #051937, #00b4d8); border-radius: 2px; }
.about-text { font-size: 16px; line-height: 1.6; color: #555; margin-bottom: 35px; }
.btn-orange { display: inline-flex; padding: 0; justify-content: center; align-items: center; width: 60px; height: 60px; background: linear-gradient(to right, #051937, #00b4d8); color: white; font-weight: 700; text-decoration: none; border-radius: 30px; transition: all 0.3s ease; font-size: 28px ; box-shadow: 0 5px 15px rgba(0, 180, 216, 0.4); }
.btn-orange:hover { filter: brightness(1.2); transform: translateY(-3px) scale(1.1); }

/* --- HOME: TEAM SECTION (Vertical) --- */
.team-section { padding: 80px 5%; background-color: #f9f9f9; }
.team-container { max-width: 1200px; margin: 0 auto; }
.section-title.center-text { text-align: center; font-size: 32px; color: #051937; margin-bottom: 60px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card { display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translate3d(0, 60px, 0); transition: all 0.8s ease-out; }
.team-image-wrapper { width: 100%; height: 320px; position: relative; margin-bottom: 25px; overflow: hidden; box-shadow: 0 15px 25px rgba(0,0,0,0.1); transition: transform 0.3s ease; border-radius: 40px 40px 120px 40px; }
.gradient-blue-bg { background: linear-gradient(to bottom, #051937, #00b4d8); }
.team-card:hover .team-image-wrapper { transform: translateY(-10px); }
.team-image { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transform: scale(1.7); }
.floating-label { position: absolute; top: 40px; left: -10px; background-color: #051937; color: white; padding: 8px 15px; font-size: 12px; font-weight: 700; text-transform: uppercase; border-radius: 4px; transform: rotate(-5deg); box-shadow: 3px 3px 10px rgba(0,0,0,0.2); z-index: 2; }
.team-card-content { width: 100%; text-align: left; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-20px); transition: all 0.5s ease; padding: 0 10px; }
.team-card:hover .team-card-content { max-height: 300px; opacity: 1; transform: translateY(0); padding-top: 15px; }
.team-card-content h3 { font-size: 20px; font-weight: 900; color: #051937; margin: 0 0 5px 0; text-transform: uppercase; letter-spacing: 1px; }
.team-card-content p { font-size: 14px; color: #666; line-height: 1.5; margin-bottom: 15px; }
.member-name { font-size: 20px; font-weight: 700; color:#696969; margin: 0 0 10px 0; text-transform: capitalize; margin-bottom: 2px; }
.member-class { font-size: 14px; color: #666; font-style: italic; margin-bottom: 15px; margin-top: 0; line-height: 1.4; font-weight: 500; }
.read-more-btn { display: inline-block; font-size: 13px; font-weight: 700; color: #00b4d8; text-decoration: none; text-transform: uppercase; transition: all 0.3s ease; }
.read-more-btn:hover { color: #051937; padding-left: 5px; }
.reveal-visible { opacity: 1 !important; transform: translate3d(0,0,0) !important; }
.team-card:nth-child(1) { transition-delay: 0.1s; }
.team-card:nth-child(2) { transition-delay: 0.3s; }
.team-card:nth-child(3) { transition-delay: 0.5s; }
.team-card:nth-child(4) { transition-delay: 0.7s; }

/* --- HOME: MESSAGE SECTION --- */
.message-slider-section { background-color: #0a0e17; padding: 100px 5%; color: #ffffff; overflow: hidden; position: relative; }
.message-container { display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.message-image-col { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; min-height: 500px; }
.person-image { position: relative; width: 350px; height: 480px; object-fit: cover; object-position: top center; border-radius: 100px; z-index: 5; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.blob-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1.2); width: 400px; height: 400px; z-index: 2; opacity: 0.2; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; animation: blobMover 20s linear infinite; }
@keyframes blobMover { 0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(-50%, -50%) rotate(0deg) scale(1.2); } 50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(-50%, -50%) rotate(360deg) scale(1.2); } }
.floating-bubble { position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; color: white; box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3); z-index: 3; }
.bubble-1 { width: 100px; height: 100px; top: 50px; left: 0; }
.bubble-2 { width: 80px; height: 80px; bottom: 80px; right: 20px; }
.bubble-number { font-size: 24px; font-weight: 900; }
.bubble-text { font-size: 12px; }
.message-content-col { flex: 1.2; }
.section-tag { display: block; font-size: 14px; font-weight: 700; color: #00b4d8; letter-spacing: 2px; margin-bottom: 15px; text-transform: uppercase; }
.message-heading { font-size: 42px; font-weight: 900; margin-bottom: 10px; }
.person-name { font-size: 20px; font-weight: 700; color: #00b4d8; margin-bottom: 30px; }
.message-text { font-size: 16px; line-height: 1.8; color: #a0a0a0; margin-bottom: 40px;  }
.contact-info-block { margin-bottom: 40px; }
.contact-label { font-weight: 700; display: block; margin-bottom: 5px; }
.contact-detail { color: #a0a0a0; margin: 0; }
.button-group { display: flex; gap: 20px; }
.message-pagination .swiper-pagination-bullet { background: #a0a0a0; opacity: 0.5; }
.message-pagination .swiper-pagination-bullet-active { background: #00b4d8; opacity: 1; }
.messageSwiper { padding-bottom: 60px !important; }
.message-pagination { bottom: 0 !important; left: 0; width: 100%; text-align: center; }

/* --- ANIMATION KEYFRAMES --- */
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0,60px,0); } 100% { opacity: 1; transform: translate3d(0,0,0); } }

/* --- HOME PAGE MOBILE ADJUSTMENTS --- */
@media (max-width: 992px) { 
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    
    .message-container { flex-direction: column; text-align: center; gap: 30px; width: 100%; }
    .message-image-col { min-height: 350px; margin-bottom: 60px; width: 100%; display: flex; justify-content: center; align-items: center; position: relative; }
    .person-image { width: 280px; height: 380px; max-width: 80%; margin: 0 auto; opacity: 1 !important; filter: blur(0) !important; transform: scale(1) !important; }
    .blob-bg { width: 300px; height: 300px; max-width: 90%; left: 50%; transform: translate(-50%, -50%) scale(1); }
    .message-heading { font-size: 32px; }
    .button-group { justify-content: center; }
}

@media (max-width: 768px) {
    /* Hero Swiper */
    .myHeroSwiper { padding-left: 0 !important; padding-right: 0 !important; }
    .myHeroSwiper .swiper-slide { width: 85% !important; height: 350px; padding: 0 10px; box-sizing: border-box; opacity: 0.4; transform: scale(1); transition: opacity 0.3s ease; }
    .myHeroSwiper .swiper-slide-active { opacity: 1; z-index: 10; filter: blur(0) !important; transform: scale(1.1); }
    .slide-caption h3 { font-size: 18px; }
    .slide-caption p { font-size: 12px; }

    /* About */
    .about-container { flex-direction: column; gap: 40px; }
    .about-image-wrapper { width: 100%; height: 350px; border-radius: 100px 0 100px 0; }
    .about-heading { font-size: 28px; }
    .about-heading::after { width: 80px; height: 3px; }

    /* Team */
    .team-section { padding:40px 20px; }
    .team-grid { grid-template-columns: 1fr; gap: 30px; }
    .team-card { max-width: 280px; margin: 0 auto; }
    .member-name { font-size: 15px; }
    .section-title.center-text { font-size: 26px; margin-bottom: 40px; }
    .team-image-wrapper { height: auto !important; border-radius: 30px 30px 150px 30px; margin-bottom: 15px; }
    .team-image { height: auto !important; width: 100%; object-fit: cover; object-position: top center; }
    .team-card-content { max-height: none !important; opacity: 1 !important; transform: none !important; padding-top: 10px !important; }
    .team-card-content h3 { font-size: 18px; margin-bottom: 5px; }
    .team-card-content p { font-size: 13px; line-height: 1.4; }
    .floating-label { font-size: 10px; padding: 5px 15px; top: 20px; }
}
