$secondary-navy: #042461; $accent-blue: #5AB2FF; $btn-color: linear-gradient(135deg, $secondary-navy, $accent-blue); $Navbg: #012840; $hover-text: #667eea; $box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5); $btn-shadow: 100px 0px 41px -10px rgba(255, 187.99999999999997, 0, 0) inset; $heading-font: "Oleo Script", system-ui; .staff-hero { // position: relative; width: 100%; height: 100; min-height: 500px; .staff-hero-content { color: $Navbg; .staff-title { font-size: 3rem; font-weight: 700; margin-bottom: 20px; } .staff-desc { font-size: 1.1rem; line-height: 1.6; } } } $secondary-navy: #042461; $accent-blue: #5AB2FF; $btn-color: linear-gradient(135deg, $secondary-navy, $accent-blue); $Navbg: #012840; $heading-font: "Oleo Script", system-ui; .staff-service { background: #DDE6F5 url("./images/white-9.png") no-repeat center/cover; position: relative; .staff-heading { font-family: $heading-font; font-size: 2.5rem; color: $Navbg; margin-bottom: 10px; } .staff-subtitle { color: #555; max-width: 700px; margin: 0 auto 20px; font-size: 1rem; } .staff-btn { background: $btn-color; color: #fff; padding: 12px 30px; border-radius: 30px; font-weight: 600; transition: 0.3s; &:hover { background: $accent-blue; transform: translateY(-2px); } } .staff-subheading { font-size: 2.5rem; font-weight: 700; color: $secondary-navy; font-family: $heading-font; } .staff-subdesc { color: #777; margin-bottom: 40px; } .staff-card { background: $Navbg; border-radius: 12px; padding: 40px 25px 30px; text-align: left; position: relative; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; height: 100%; // ✅ all cards equal height &:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); } // Decorative borders &::before, &::after { content: ""; position: absolute; border: 2px solid $accent-blue; opacity: 0.2; transition: 0.3s; } &::before { top: 0; left: 0; width: 40%; height: 40%; border-right: none; border-bottom: none; } &::after { bottom: 0; right: 0; width: 40%; height: 40%; border-left: none; border-top: none; } &:hover::before, &:hover::after { opacity: 0.8; } // Step number with bg circle .staff-step { position: absolute; top: -14px; right: 0px; font-size: 1.5rem; font-weight: 700; color: white; z-index: 2; &::before { content: ""; position: absolute; top: -8px; left: -9px; width: 50px; height: 50px; background: $btn-color; border-radius: 50%; z-index: -1; } } .staff-card-title { font-size: 1.3rem; font-weight: 600; color: white; margin-bottom: 15px; font-family: $heading-font; } .staff-card-text { font-size: 0.95rem; color: white; line-height: 1.5; } } } .staff-slider { background: white; position: relative; .staff-heading { font-family: $heading-font; font-size: 2.2rem; color: $Navbg; margin-bottom: 30px; } .slider-wrapper { overflow: hidden; position: relative; } .slider-track { display: flex; transition: transform 0.8s ease-in-out; will-change: transform; } .staff-slide { min-width: 500px; // padding: 20px; perspective: 2000px; // ✅ enable 3D } .staff-card { background: $Navbg; border-radius: 15px; padding: 40px 25px; text-align: center; position: relative; height: 100%; box-shadow: 0 6px 18px rgba(0,0,0,0.1); transition: transform 0.6s ease, box-shadow 0.3s ease; transform: translate3d(0px, 0px, -100px) rotateX(0deg) rotateY(30deg) scale(1); // transform: translate3d(0px, 0px, -100px) rotateX(0deg) rotateY(0deg) scale(0.95); &:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.2); } .staff-step { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; font-weight: 700; color: white; z-index: 2; &::before { content: ""; position: absolute; top: -10px; left: -10px; width: 50px; height: 50px; background: $accent-blue; border-radius: 50%; opacity: 0.15; z-index: -1; } } .staff-card-title { font-size: 1.4rem; font-weight: 600; color: white; margin-bottom: 15px; } .staff-card-text { font-size: 1rem; color: #eaeaea; line-height: 1.6; } } .slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: $btn-color; border: none; color: #fff; font-size: 1.8rem; border-radius: 50%; width: 45px; height: 45px; cursor: pointer; z-index: 10; transition: 0.3s; &:hover { background: $accent-blue; } } .prev { left: 15px; } .next { right: 15px; } } // faq scss /* ==== Theme Vars (Technical Force) ==== */ $secondary-navy: #042461; $accent-blue: #5AB2FF; $btn-color: linear-gradient(135deg, $secondary-navy, $accent-blue); $Navbg: #012840; $hover-text: #667eea; $heading-font: "Oleo Script", system-ui; /* ==== FAQ Section ==== */ .tf-faq-section { background: #DDE6F5; } .tf-faq-title { font-family: $heading-font; color: $Navbg; font-size: 2rem; margin: 0 0 6px; } .tf-faq-sub { color: #5b6678; margin: 0; } /* Image side */ .tf-faq-image-wrap { position: relative; .tf-faq-image { width: 100%; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.10); } .tf-faq-shape { position: absolute; content: ""; display: block; right: -16px; bottom: -16px; width: 38%; height: 38%; border-radius: 24px; background: #fff; opacity: 0.7; filter: blur(2px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); } } /* Accordion */ .tf-faq-accordion { .tf-faq-item { background: $Navbg; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); margin-bottom: 14px; overflow: hidden; border: 1px solid rgba(90,178,255,0.18); position: relative; /* decorative angle borders */ &::before, &::after { content: ""; position: absolute; width: 34%; height: 34%; border: 2px solid $accent-blue; opacity: 0.22; pointer-events: none; transition: opacity .25s ease; } &::before { top: 0; left: 0; border-right: none; border-bottom: none; } &::after { bottom: 0; right: 0; border-left: none; border-top: none; } &.active { box-shadow: 0 10px 22px rgba(0,0,0,0.10); &::before, &::after { opacity: 0.5; } } } .tf-faq-trigger { width: 100%; display: flex; align-items: center; gap: 12px; justify-content: space-between; background: transparent; border: 0; padding: 18px 20px; text-align: left; cursor: pointer; span { color: white; font-weight: 700; font-size: 1rem; line-height: 1.3; } .tf-faq-icon { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 38px; background: $btn-color; position: relative; transition: transform .3s ease; box-shadow: 0 6px 16px rgba(0,0,0,0.12); /* plus/minus using pseudo */ &::before, &::after { content: ""; position: absolute; background: #fff; border-radius: 2px; } &::before { width: 16px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); } &::after { width: 2px; height: 16px; top: 50%; left: 50%; transform: translate(-50%, -50%); } } } .tf-faq-item.active .tf-faq-icon { transform: rotate(180deg); /* minus only (hide vertical bar) */ &::after { opacity: 0; } } .tf-faq-content { display: none; padding: 0 20px 18px; p { color: white; margin: 0; line-height: 1.6; } } } /* CTA */ .tf-faq-cta { background: $btn-color; color: #fff; border-radius: 30px; padding: 12px 24px; font-weight: 700; border: none; box-shadow: 0 10px 24px rgba(0,0,0,0.12); transition: .25s ease; &:hover { transform: translateY(-2px); background: $accent-blue; color: #fff; } } /* Responsive tweaks */ @media (max-width: 991.98px) { .tf-faq-shape { display: none; } }