llhd/wwwroot/webnew/css/Index.css

739 lines
11 KiB
CSS

/* HERO */
.hero-slider {
position: relative;
overflow: hidden;
border-radius: 20px;
margin: 20px;
}
.hero-wrapper {
display: flex;
transition: transform 0.6s ease;
}
.hero-slide {
min-width: 100%;
height: 500px;
display: flex;
align-items: center;
padding: 40px;
color: white;
}
.hero-content h1 {
font-size: 32px;
font-weight: bold;
}
.hero-content p {
margin: 10px 0 20px;
opacity: 0.9;
}
.hero-content .btn {
background: white;
color: #2563eb;
}
.hero-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
border: none;
background: rgba(255,255,255,0.2);
color: white;
font-size: 24px;
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
}
.hero-btn.prev {
left: 15px;
}
.hero-btn.next {
right: 15px;
}
.hero-dots {
position: absolute;
bottom: 15px;
width: 100%;
text-align: center;
}
.hero-dots span {
display: inline-block;
width: 8px;
height: 8px;
margin: 0 4px;
background: rgba(255,255,255,0.5);
border-radius: 50%;
cursor: pointer;
}
.hero-dots .active {
background: white;
}
.hero-logo {
background: #ffffff;
padding: 5px 2px;
border-radius: 10px;
display: inline-flex;
align-items: center;
gap: 5px;
box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.hero-logo img {
height: 30px;
margin-right: 10px;
}
/*Layanan*/
.service-card {
position: relative;
height: 300px;
border-radius: 20px;
overflow: hidden;
color: white;
cursor: pointer;
}
.service-bg {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
transition: transform 0.5s ease;
}
.service-overlay {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.4);
transition: 0.3s ease;
}
.service-content {
position: relative;
z-index: 2;
padding: 20px;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.service-list {
opacity: 0;
transform: translateY(10px);
transition: 0.3s ease;
font-size: 12px;
margin-top: auto;
}
.service-card:hover .service-bg {
transform: scale(1.1);
}
.service-card:hover .service-overlay {
background: rgba(0,0,0,0.6);
}
.service-card:hover .service-list {
opacity: 1;
transform: translateY(0);
}
/*About*/
.about-video {
border-radius: 20px;
overflow: hidden;
background: black;
}
.about-video iframe {
width: 100%;
height: 350px;
}
.badge-about {
display: inline-block;
padding: 6px 14px;
border-radius: 999px;
border: 1px solid #3b82f6;
color: #3b82f6;
font-size: 12px;
margin-bottom: 10px;
}
.about-logo img {
height: 30px;
margin-right: 10px;
}
.about-item {
display: flex;
align-items: center;
gap: 10px;
}
.about-item i {
width: 40px;
height: 40px;
background: #f1f5f9;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.section-about .btn {
border-radius: 999px;
}
/*Data Capaian*/
.section-capaian {
padding: 60px 0;
background-color: #EAF1FF;
}
.capaian-header {
display: flex;
align-items: center;
text-align: center;
margin-bottom: 50px;
color: #718096;
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
.capaian-header hr {
flex-grow: 1;
border: none;
border-top: 1px solid #cbd5e0;
margin: 0 20px;
opacity: 0.5;
}
.card-body {
margin-left: 50px;
margin-right: 50px;
}
.stat-number {
font-size: 4rem;
font-weight: 800;
color: #1a202c;
line-height: 1;
margin-bottom: 15px;
}
.stat-desc {
color: #4a5568;
font-size: 0.9rem;
font-weight: 500;
line-height: 1.5;
max-width: 80%;
margin: 0 auto;
}
.text-column {
display: flex;
align-items: baseline;
justify-content: center;
gap: 6px;
}
/*Kompetensi Kami*/
.swiper {
padding: 20px;
}
.swiper-wrapper {
transition-timing-function: linear !important;
}
.swiper-slide {
width: 280px !important;
}
.card-custom {
position: relative;
border-radius: 20px;
overflow: hidden;
cursor: pointer;
}
.card-custom img {
width: 100%;
height: 350px;
object-fit: cover;
transition: 0.4s ease;
filter: brightness(0.7);
}
.top-content {
position: absolute;
top: 20px;
left: 20px;
display: flex;
align-items: center;
gap: 12px;
color: white;
}
.icon {
background: white;
color: white;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.title {
margin: 0;
font-weight: 600;
font-size: 15px;
color: rgba(255,255,255,0.95);
text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.overlay {
position: absolute;
inset: 0;
padding: 20px;
z-index: 2;
}
.overlay-hover {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.75);
color: white;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
opacity: 0;
transform: translateY(20px);
transition: 0.4s ease;
z-index: 3;
}
.overlay-hover ul {
padding-left: 18px;
font-size: 14px;
}
.card-custom:hover img {
transform: scale(1.1);
}
.card-custom:hover .overlay-hover {
opacity: 1;
transform: translateY(0);
}
.card-custom:hover .overlay {
opacity: 0;
}
.swiper-wrapper {
transition-timing-function: linear !important;
}
/* pause */
.mySwiper.pause .swiper-wrapper {
transition-property: none !important;
}
/*Infografis*/
.infographic-wrapper {
max-width: 900px;
margin: 0 auto;
}
.infographic-img {
width: 100%;
}
/*Tahapan Pengujian*/
.sticky-title {
position: sticky;
margin-top: 50px;
}
.stepper {
position: relative;
padding-left: 30px;
}
.stepper::before {
content: "";
position: absolute;
left: 10px;
top: 0;
width: 2px;
height: 100%;
background: #ddd;
}
.step {
position: relative;
margin-bottom: 50px;
}
.step-dot {
position: absolute;
left: -2px;
width: 20px;
height: 20px;
background: #0d6efd;
border-radius: 50%;
}
.step-content {
padding-left: 30px;
}
.step-content h5 {
margin-bottom: 5px;
font-weight: 600;
}
.timeline-section {
padding: 80px 0;
}
.timeline-left {
position: sticky;
top: 200px;
}
.timeline-left h4 {
font-weight: 500;
color: #1b2b44;
}
.timeline-wrapper {
background: white;
border-radius: 25px;
padding: 40px;
}
.timeline-item {
display: flex;
gap: 25px;
position: relative;
}
.timeline-line {
position: relative;
width: 40px;
flex-shrink: 0;
}
.timeline-line::before {
content: "";
position: absolute;
left: 50%;
top: 0;
width: 3px;
height: 100%;
background: #cbd5e1;
transform: translateX(-50%);
}
.timeline-line span {
position: absolute;
left: 50%;
top: 0;
transform: translate(-50%, 0);
background: #1e5bd8;
color: #fff;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
z-index: 2;
}
.timeline-content {
padding-bottom: 40px;
}
.timeline-content h5 {
font-weight: 600;
margin-bottom: 10px;
}
.timeline-content p {
color: #555;
line-height: 1.6;
}
.timeline-item:last-child .timeline-line::before {
height: 0;
}
/*Berita*/
.featured-img {
width: 100%;
height: 320px;
object-fit: cover;
border-radius: 12px;
}
.landing-item {
gap: 12px;
}
.landing-img {
width: 90px;
height: 70px;
object-fit: cover;
border-radius: 10px;
flex-shrink: 0;
}
.landing-title {
font-size: 14px;
font-weight: 600;
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
/*Mitra Kami*/
.mitra {
overflow: hidden;
}
.logo-slider {
display: flex;
flex-direction: column;
gap: 30px;
}
.logo-track {
display: flex;
width: max-content;
}
.logo-group {
display: flex;
gap: 60px;
margin-right: 60px;
}
.logo-group img {
height: 40px;
object-fit: contain;
opacity: 0.8;
transition: 0.3s;
}
.logo-group img:hover {
opacity: 1;
transform: scale(1.05);
}
.move-right {
animation: scrollRight 50s linear infinite;
}
.move-left {
animation: scrollLeft 50s linear infinite;
}
@keyframes scrollRight {
from {
transform: translateX(-50%);
}
to {
transform: translateX(0);
}
}
@keyframes scrollLeft {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
/*FAQ*/
/*.faq-section {
background-color: #0b2a4a;
}*/
/*Ulasan Pelanggan*/
.testimonial-title {
font-weight: 600;
color: #1b2b44;
}
.testimonial-card-wrapper {
display: flex;
gap: 50px;
margin-top: 30px;
}
.testimonial-card {
background: white;
border-radius: 20px;
padding: 25px;
height: 100%;
}
.stars {
color: #1e5bd8;
font-size: 22px;
letter-spacing: 3px;
}
.testimonial-text {
color: #4a5568;
font-size: 15px;
line-height: 1.6;
}
.avatar {
width: 45px;
height: 45px;
border-radius: 50%;
}
.name {
font-weight: 600;
color: #1b2b44;
}
.company {
font-size: 14px;
color: #6b7280;
}
.testimonial-scroll {
overflow-x: auto;
padding-bottom: 10px;
}
.testimonial-scroll::-webkit-scrollbar {
display: none;
}
.testimonial-card {
min-width: 320px;
}
/*Video*/
.section-video {
width: 100%;
padding: 60px 0;
}
.video-embed {
border-radius: 20px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.video-embed iframe {
width: 100%;
height: 260px;
display: block;
}
.section-video .btn {
border-radius: 999px;
padding: 10px 26px;
font-weight: 500;
transition: 0.25s;
}
.section-video .btn:hover {
background: #111827;
color: #fff;
}
/*Galeri*/
.section-galeri {
background: #EAF1FF;
border-radius: 8px;
}
.galeri-scroll {
display: flex;
gap: 20px;
overflow-x: auto;
padding-bottom: 10px;
scroll-behavior: smooth;
}
.galeri-scroll::-webkit-scrollbar {
height: 6px;
}
.galeri-scroll::-webkit-scrollbar-thumb {
background: #d1d5db;
border-radius: 10px;
}
.galeri-item {
min-width: 300px;
flex-shrink: 0;
scroll-snap-align: start;
}
.galeri-item img {
width: 100%;
height: 220px;
object-fit: cover;
border-radius: 20px;
transition: 0.3s ease;
}
.galeri-item:hover img {
transform: scale(1.05);
}
.galeri-scroll {
scroll-snap-type: x mandatory;
}
@media (max-width: 768px) {
.galeri-item {
min-width: 240px;
}
}