/*
Theme Name: Aquacore
Theme URI: https://advantagemarine.com.my/
Author: Voidkle
Description: Custom elementor-ready theme for Advantage Marine Services.
Version: 1.2.0
Text Domain: aquacore
*/
.homepage {
  background: #f4f7f9;
}
:root {
    --primary-yellow: #facc15;
    --primary-blue: #2c4c7e;
    --dark-blue: #1e3a68;
    --card-grey: #475569;
    --text-white: #f8fafc;
    --ams-blue-dark: #0f2c5f;
    --ams-blue-light: #009be0;
    --ams-text-dark: #1e293b;
    --ams-text-muted: #475569;
    --ams-bg-gray: #f8fafc;
    --ams-all-blue-dark: #0f2c5f;
    --ams-all-blue-light: #00a0df; 
    --ams-all-text-light: #e2e8f0;
    --ams-all-white: #ffffff;
    --ams-prd-blue-dark: #0f2c5f;
    --ams-prd-blue-light: #00a0df; 
    --ams-prd-text-dark: #1e293b;
    --ams-prd-text-muted: #64748b;
    --ams-prd-bg-light: #f8fafc;
    --ams-prd-white: #ffffff;
    --ams-awd-blue-dark: #0f2c5f;
    --ams-awd-blue-light: #00a0df; 
    --ams-awd-text-dark: #1e293b;
    --ams-awd-bg-gray: #f8fafc;
    --ams-awd-white: #ffffff;
}
/* inih hero gweh */
.hero-section {
    overflow-x: hidden;
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%) scale(1.5);
}

@media (min-aspect-ratio: 16/9) {
    .video-background iframe {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background iframe {
        width: 177.78vh;
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.85));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    margin-top: -80px;
    cursor: grab;
}

.hero-content:active {
    cursor: grabbing;
}

.kicker {
    color: var(--text-white);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 400;
}

.text-swiper {
    width: 100%;
    margin-bottom: 40px;
    padding-bottom: 30px;
}

.hero-title {
    color: var(--text-white);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: var(--primary-yellow);
}

.hero-desc {
    color: #cbd5e1;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.text-swiper-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.text-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-yellow);
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 4;
}

.btn {
    padding: 16px 36px !important; 
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border-radius: 4px !important;
}

.btn-hero-primary {
    background-color: var(--primary-blue);
    color: var(--text-white);
    border: 1px solid var(--primary-blue);
}

.btn-hero-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-hero-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-white);
}

.btn-hero-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.info-cards-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.card-swiper {
    width: 100%;
    height: auto;
}

.info-card {
    display: flex;
    align-items: center;
    padding: 30px 40px;
    min-height: 160px;
    color: white;
    height: 100%;
    box-sizing: border-box;
}

.info-card i {
    font-size: 3rem;
    margin-right: 20px;
    color: var(--primary-yellow);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-text p {
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.bg-pattern-blue {
    background: repeating-linear-gradient(-45deg,
            #1b3e73,
            #1b3e73 10px,
            #14305c 10px,
            #14305c 20px);
}

.bg-solid-grey {
    background-color: #3b4b5c;
}

/* end hero gweh ygy */
/* inih about gweh */
.ams-abt-section {
    position: relative;
    padding: 100px 20px;
    background-color: #ffffff;
    z-index: 1;
}

.ams-abt-container {
    margin: 0 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* --- WATERMARK TEXT --- */
.ams-abt-watermark {
    position: absolute;
    top: 40px;
    left: 5%;
    font-size: 8rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px #e2e8f0; /* Efek teks outline / transparan */
    letter-spacing: 5px;
    z-index: -1;
    user-select: none;
}

/* --- LEFT CONTENT (TEKS) --- */
.ams-abt-content {
    position: relative;
    z-index: 2;
}

.ams-abt-kicker {
    display: block;
    color: var(--ams-blue-dark);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.ams-abt-title {
    color: var(--ams-blue-dark);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.ams-abt-divider {
    width: 60px;
    height: 4px;
    background-color: var(--ams-blue-light);
    margin-bottom: 30px;
}

.ams-abt-desc {
    color: var(--ams-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.ams-abt-desc strong {
    color: var(--ams-blue-dark);
    font-weight: 600;
}

/* Checklist Grid */
.ams-abt-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    list-style: none;
}

.ams-abt-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--ams-text-muted);
    line-height: 1.5;
}

.ams-abt-features i {
    color: var(--ams-blue-dark);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Buttons */
.ams-abt-actions {
    display: flex;
    gap: 15px;
}

.ams-abt-btn {
    display: inline-block;
    border-radius: 4px;
    padding: 14px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ams-abt-btn-light {
    background-color: var(--ams-blue-light);
    color: #ffffff;
}

.ams-abt-btn-light:hover {
    background-color: #007bb5;
    transform: translateY(-2px);
}

.ams-abt-btn-dark {
    background-color: var(--ams-blue-dark);
    color: #ffffff;
}

.ams-abt-btn-dark:hover {
    background-color: #0a1f44;
    transform: translateY(-2px);
}

/* --- RIGHT CONTENT (VISUALS) --- */
.ams-abt-visuals {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ams-abt-image-wrapper {
    width: 100%;
    position: relative;
}

.ams-abt-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Kotak Experience (Floating) */
.ams-abt-exp-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: repeating-linear-gradient(
        -45deg,
        #0f2c5f,
        #0f2c5f 10px,
        #163b7a 10px,
        #163b7a 20px
    ); /* Menyamakan pattern biru gelap */
    color: #ffffff;
    padding: 40px;
    text-align: center;
    width: 260px;
    box-shadow: 0 15px 30px rgba(15, 44, 95, 0.2);
    /* Overlay biru muda transparan seperti di desain */
    overflow: hidden;
    border-radius: 8px;
}

.ams-abt-exp-badge::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,155,224,0.9) 0%, rgba(0,155,224,0.3) 100%);
    z-index: 1;
    border-radius: 8px;
}

.ams-abt-exp-content {
    position: relative;
    z-index: 2;
}

.ams-abt-exp-content h3 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.ams-abt-exp-content p {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Kotak Quote (Floating) */
.ams-abt-quote-card {
    position: absolute;
    bottom: -80px;
    left: 0px;
    background-color: #ffffff;
    padding: 30px 40px;
    width: 80%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-left: 4px solid var(--ams-text-dark);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    z-index: 5;
    border-radius: 8px;
}

.ams-abt-quote-card i {
    font-size: 3rem;
    color: #bae6fd; /* Biru sangat muda */
    margin-top: -10px;
}

.ams-abt-quote-text {
    color: var(--ams-blue-dark);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ams-abt-quote-author {
    color: var(--ams-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- RESPONSIVE DESIGN (MOBILE & TABLET) --- */
@media (max-width: 1024px) {
    .ams-abt-container {
        grid-template-columns: 1fr; /* Berubah jadi 1 kolom */
        gap: 40px;
        margin: 0;
    }
    .hero-buttons {
        display:none
    }
    .ams-abt-title {
        font-size: 2.2rem;
    }

    .ams-abt-watermark {
        font-size: 5rem;
        top: 0;
    }

    .ams-abt-visuals {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-top: 20px;
    }

    /* Melepas efek melayang agar tidak berantakan di HP */
    .ams-abt-exp-badge {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        padding: 30px;
        align-self: center;
    }

    .ams-abt-quote-card {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ams-abt-features {
        grid-template-columns: 1fr; /* Checklist jadi 1 baris ke bawah */
        gap: 15px;
    }
    .ams-abt-actions {
        flex-direction: column;
    }

    .ams-abt-btn {
        text-align: center;
        width: 100%;
    }

    .ams-abt-watermark {
        display: none; /* Sembunyikan watermark di HP agar tidak menuhi layar */
    }
}
/* end about gweh ygy */
/* inih hero badak gweh */

/* --- WRAPPER & BACKGROUND --- */
.ams-all-section {
    position: relative;
    margin-top: 150px; 
}

.ams-all-background {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1574316075952-65a88bf0a672?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-bottom: 100px;
}

.ams-all-background::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 44, 95, 0.92); 
    z-index: 1;
}

.ams-all-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}

/* --- 1. SWIPER CARDS --- */
.ams-all-swiper {
    width: 100%;
    transform: translateY(-100px);
    margin-bottom: -50px;
    padding-bottom: 20px; 
}

.ams-all-card {
    position: relative;
    aspect-ratio: 3 / 4; 
    border-radius: 8px; /* Permintaan: border-radius 8px */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    background: var(--ams-all-blue-dark);
    cursor: pointer;
    /* Penting untuk mencegah interaksi hover "nyangkut" di luar area */
    transform: translateZ(0); 
}

.ams-all-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mencegah gepeng, otomatis potong tengah */
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.ams-all-card:hover img {
    transform: scale(1.08); 
}

/* Gradient Tipis Default di Bawah Kartu */
.ams-all-card::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0, 160, 223, 0.6), transparent);
    pointer-events: none;
    z-index: 1;
}

/* --- OVERLAY HOVER (DITERAPKAN KE SEMUA CARD) --- */
.ams-all-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 44, 95, 0.85); 
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    
    /* Animasi */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.ams-all-card:hover .ams-all-overlay {
    opacity: 1;
    visibility: visible;
}

/* Frame Siku [ ] CSS Murni */
.ams-all-frame {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    
    /* Animasi naiknya frame */
    transform: translateY(20px);
    transition: transform 0.4s ease-in-out;

    background: 
        linear-gradient(var(--ams-all-white), var(--ams-all-white)) top left / 25px 2px no-repeat,
        linear-gradient(var(--ams-all-white), var(--ams-all-white)) top left / 2px 25px no-repeat,
        linear-gradient(var(--ams-all-white), var(--ams-all-white)) top right / 25px 2px no-repeat,
        linear-gradient(var(--ams-all-white), var(--ams-all-white)) top right / 2px 25px no-repeat,
        linear-gradient(var(--ams-all-white), var(--ams-all-white)) bottom left / 25px 2px no-repeat,
        linear-gradient(var(--ams-all-white), var(--ams-all-white)) bottom left / 2px 25px no-repeat,
        linear-gradient(var(--ams-all-white), var(--ams-all-white)) bottom right / 25px 2px no-repeat,
        linear-gradient(var(--ams-all-white), var(--ams-all-white)) bottom right / 2px 25px no-repeat;
}

.ams-all-card:hover .ams-all-frame {
    transform: translateY(0);
}

.ams-all-frame h3 {
    color: var(--ams-all-white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ams-prd-title-line{
    width: 60px;
    height: 4px;
    background-color: var(--ams-prd-blue-light);
    margin: 20px auto;
}

.ams-all-frame p {
    color: var(--ams-all-text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Pagination Titik untuk Mobile */
.ams-all-pagination {
    position: absolute;
    bottom: -5px !important;
}
.swiper-pagination-bullet { background: var(--ams-all-white); opacity: 0.4; }
.swiper-pagination-bullet-active { background: var(--ams-all-blue-light); opacity: 1; }


/* --- 2. STATS ROW --- */
.ams-all-stats {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 50px;
}

.ams-all-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--ams-all-white);
}

.ams-all-stat-item i {
    font-size: 2.5rem;
    color: var(--ams-all-blue-light);
}

.ams-all-stat-text h4 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.ams-all-stat-text p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ams-all-text-light);
    margin-top: 5px;
}


/* --- 3. TEXT & BUTTON CONTENT --- */
.ams-all-main-content {
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.ams-all-watermark {
    position: absolute;
    top: 5%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
}

.ams-all-kicker {
    color: var(--ams-all-blue-light);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

.ams-all-title {
    color: var(--ams-all-white);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.ams-all-title span {
    color: var(--ams-all-blue-light);
}

.ams-all-desc {
    color: var(--ams-all-text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
    padding: 0 20px;
}

.ams-all-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 4px; /* Permintaan: button radius 4px */
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.ams-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

.ams-all-btn-icon {
    background-color: var(--ams-all-white);
    color: var(--ams-all-blue-light);
    padding: 16px 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ams-all-btn-text {
    background-color: var(--ams-all-blue-light);
    color: var(--ams-all-white);
    padding: 16px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .ams-all-stats {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    .ams-all-stat-item { width: 45%; justify-content: center; }
}

@media (max-width: 768px) {
    .ams-all-section { margin-top: 80px; }
    .ams-all-swiper { transform: translateY(-50px); }
    .ams-all-stats { margin-top: 40px;}
    .ams-all-stat-item { width: 100%; justify-content: flex-start; padding-left: 20px; }
    .ams-all-title { font-size: 1.8rem; }
    .ams-all-watermark { font-size: 4rem; }
}
/* end hero badak gweh ygy */
/* inih service quote gweh */
.ams-prd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* =========================================
    1. SECTION: WHAT WE PROVIDE (TOP)
    ========================================= */
.ams-prd-services-section {
    padding: 100px 0 80px 0;
    position: relative;
    background-color: var(--ams-prd-white);
    text-align: center;
}

/* Watermark Teks di belakang judul */
.ams-prd-watermark-top {
    position: absolute;
    top: 10%; /* Menarik teks ke tengah vertikal */
    left: 50%;
    transform: translate(-50%, -50%); /* Kunci tepat di tengah */
    font-size: clamp(4rem, 12vw, 9rem); /* Responsif: mengecil otomatis di HP */
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px #e2e8f0; /* Garis outline abu-abu tipis */
    letter-spacing: 5px;
    z-index: -1; /* Pastikan ada di belakang teks utama */
    user-select: none;
    white-space: nowrap;
}

.ams-prd-heading-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ams-prd-kicker {
    color: var(--ams-prd-blue-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.ams-prd-title {
    color: var(--ams-prd-blue-dark);
    font-size: 2.5rem;
    font-weight: 800;
}

/* SWIPER CARDS CONFIG */
.ams-prd-swiper {
    width: 100%;
    padding-top: 40px; /* Ruang untuk icon yang menonjol ke atas */
    padding-bottom: 50px; /* Ruang untuk pagination dan shadow */
}

.ams-prd-card {
    background: var(--ams-prd-white);
    border-radius: 8px; /* Permintaan: Border Radius 8px */
    padding: 50px 30px 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Memastikan kursor tangan muncul di PC agar user tahu bisa di-drag */
    cursor: grab; 
}

.ams-prd-card:active {
    cursor: grabbing;
}

.ams-prd-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-bottom: 4px solid var(--ams-prd-blue-dark);
}

/* Ikon Melayang di Atas Kartu */
.ams-prd-card-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--ams-prd-blue-light);
    color: var(--ams-prd-white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 160, 223, 0.3);
    transition: background-color 0.3s ease;
}

.ams-prd-card:hover .ams-prd-card-icon {
    background-color: var(--ams-prd-blue-dark);
    box-shadow: 0 10px 20px rgba(15, 44, 95, 0.3);
}

.ams-prd-card h3 {
    color: var(--ams-prd-blue-dark);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.ams-prd-card p {
    color: var(--ams-prd-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1; /* Mendorong tombol 'Read More' ke paling bawah */
}

.ams-prd-read-more {
    color: var(--ams-prd-blue-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.ams-prd-read-more:hover {
    color: var(--ams-prd-blue-light);
}

/* Pagination custom */
.ams-prd-swiper-pagination {
    bottom: 0 !important;
}
.swiper-pagination-bullet { background: #cbd5e1; opacity: 1; }
.swiper-pagination-bullet-active { background: var(--ams-prd-blue-light); }


/* =========================================
    2. SECTION: TRUSTED NAME & QUOTE FORM
    ========================================= */
.ams-prd-quote-section {
    position: relative;
    padding: 80px 0 120px 0;
    /* Background sangat pudar seperti di desain */
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(241, 245, 249, 0.95)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.ams-prd-watermark-bottom {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 6rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(15, 44, 95, 0.05);
    letter-spacing: 5px;
    z-index: 1;
    pointer-events: none;
}

/* Header Teks di atas form */
.ams-prd-quote-header {
    max-width: 900px;
    margin-bottom: 50px;
}

.ams-prd-quote-header h2 {
    color: var(--ams-prd-blue-dark);
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.3;
}

.ams-prd-quote-header p {
    color: var(--ams-prd-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.ams-prd-quote-header strong {
    color: var(--ams-prd-blue-dark);
}

/* OVERLAPPING LAYOUT (IMAGE & FORM) */
.ams-prd-overlap-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.ams-prd-image-box {
    width: 65%;
    position: relative;
    z-index: 2;
    border-radius: 8px; /* Border radius pada gambar */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.ams-prd-image-box img {
    width: 100%;
    height: 600px; /* Memaksa tinggi agar pas dengan form */
    object-fit: cover;
    display: block;
}

/* FORM BOX */
.ams-prd-form-box {
    width: 45%;
    background-color: var(--ams-prd-blue-dark);
    padding: 50px 40px;
    position: relative;
    z-index: 3;
    /* PENTING: Menarik form ke kiri agar menimpa gambar */
    margin-left: -10%; 
    border-radius: 8px; /* Border radius pada form */
    box-shadow: 0 25px 50px rgba(15, 44, 95, 0.4);
    color: var(--ams-prd-white);
}

.ams-prd-form-box h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.ams-prd-form-box h3 span {
    color: var(--ams-prd-blue-light);
}

/* Form Inputs */
.ams-prd-form-group {
    margin-bottom: 20px;
}

.ams-prd-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.ams-prd-form-box label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.ams-prd-form-box label span {
    color: #ef4444; /* Bintang merah jambu untuk required */
}

.ams-prd-form-box input,
.ams-prd-form-box textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--ams-prd-white);
    border-radius: 4px; /* Permintaan: Radius 4px */
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.ams-prd-form-box input:focus,
.ams-prd-form-box textarea:focus {
    border-color: var(--ams-prd-blue-light);
    background: rgba(255,255,255,0.1);
}

.ams-prd-form-box input::placeholder,
.ams-prd-form-box textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.ams-prd-form-box textarea {
    height: 120px;
    resize: none;
}

.ams-prd-btn-submit {
    background-color: var(--ams-prd-blue-light);
    color: var(--ams-prd-white);
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px; /* Permintaan: Radius 4px */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.ams-prd-btn-submit:hover {
    background-color: #007bb5;
    transform: translateY(-2px);
}


/* =========================================
    RESPONSIVE DESIGN
    ========================================= */
@media (max-width: 1024px) {
    .ams-prd-image-box img {
        height: 500px;
    }
    .ams-prd-form-box {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .ams-prd-title { font-size: 2rem; }
    .ams-prd-watermark-top { font-size: 5rem; }
    .ams-prd-watermark-bottom { font-size: 4rem; display: none; }
    
    /* Lepaskan Overlap di HP menjadi vertikal atas-bawah */
    .ams-prd-overlap-wrapper {
        flex-direction: column;
    }
    .ams-prd-image-box {
        width: 100%;
        border-radius: 8px 8px 0 0; /* Lengkung atas saja */
    }
    .ams-prd-image-box img {
        height: 350px;
    }
    .ams-prd-form-box {
        width: 95%; /* Sedikit lebih kecil dari gambar agar berdimensi */
        margin-left: 0;
        margin-top: -50px; /* Naik ke atas numpuk sedikit ke gambar */
        border-radius: 8px;
    }
    .ams-prd-form-row {
        grid-template-columns: 1fr;
    }
    .ams-prd-quote-section {
        padding: 60px 0;
    }
}
/* end service quote gweh ygy */
/* inih awards gweh */
.ams-awd-section {
    padding-bottom: 80px;
    position: relative;
    text-align: center;
}

.ams-awd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* =========================================
    1. HEADER & WATERMARK SECTION
    ========================================= */
.ams-awd-heading-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ams-awd-watermark {
    position: absolute;
    top: 45%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    font-size: clamp(4rem, 12vw, 9rem); /* Responsif otomatis sesuai lebar layar */
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px #e2e8f0; /* Garis outline abu-abu tipis */
    letter-spacing: 5px;
    z-index: -1; 
    user-select: none;
    white-space: nowrap;
}

.ams-awd-kicker {
    color: var(--ams-awd-blue-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ams-awd-title {
    color: var(--ams-awd-blue-dark);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    max-width: 800px;
    line-height: 1.3;
}

.ams-awd-title-line {
    width: 120px;
    height: 3px;
    background-color: var(--ams-awd-blue-light);
}


/* =========================================
    2. SWIPER AWARDS (LOGO CAROUSEL)
    ========================================= */
.ams-awd-swiper-wrapper {
    position: relative;
    padding: 20px 0 50px 0; /* Ruang untuk bayangan kartu dan titik navigasi */
}

.ams-awd-swiper {
    width: 100%;
}

/* Desain Kartu Logo */
.ams-awd-card {
    background-color: var(--ams-awd-white);
    border-radius: 8px; /* Permintaan: border-radius 8px */
    height: 160px; /* Tinggi diseragamkan agar rapi */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    cursor: grab;
}

.ams-awd-card:active {
    cursor: grabbing;
}

.ams-awd-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: rgba(0, 160, 223, 0.3); /* Sentuhan border biru saat disorot */
}

/* Gambar Logo di dalam kartu */
.ams-awd-card img {
    max-width: 100%;
    max-height: 100%;
    /* object-fit: contain sangat penting agar logo tidak terpotong atau gepeng */
    object-fit: contain; 
    /* Mengubah logo menjadi sedikit pudar, dan jelas saat di-hover (opsional, UX premium) */
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

.ams-awd-card:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Pagination custom */
.ams-awd-pagination {
    bottom: 0 !important;
}
.swiper-pagination-bullet { background: #cbd5e1; opacity: 1; }
.swiper-pagination-bullet-active { background: var(--ams-awd-blue-light); width: 24px; border-radius: 12px; transition: all 0.3s ease;}

/* =========================================
    RESPONSIVE DESIGN
    ========================================= */
@media (max-width: 768px) {
    .ams-awd-section { padding: 60px 0; }
    .ams-awd-title { font-size: 1.8rem; }
    .ams-awd-card { height: 130px; padding: 20px; }
    
    /* Di HP, kita nonaktifkan efek grayscale abu-abu agar logo langsung terlihat warnanya */
    .ams-awd-card img {
        filter: grayscale(0%) opacity(1);
    }
}
/* end awards gweh ygy */
.home-container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #f5b018;
  color: #07264a;
}

.btn-primary:hover {
  background: #e09d0d;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
}

.home-values,
.home-news {
  padding: 90px 0;
}

.home-values h2,
.section-heading h2 {
  color: #07264a;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.home-values {
  background: linear-gradient(135deg, #07264a, #0b396b);
  text-align: center;
}

.home-values h2 {
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
}

.home-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.news-preview-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 38, 74, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-preview-card__image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.news-preview-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* PENTING: Membuat area ini mengisi sisa ruang yang kosong di dalam card */
    padding: 24px;
}
.news-preview-card__meta {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.news-preview-card h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.news-preview-card h3 a {
  color: #0b396b;
  text-decoration: none;
}

.news-preview-card h3 a:hover,
.news-preview-card__link:hover {
  color: #f5b018;
}

.news-preview-card p {
  color: #5a6b7c;
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.news-preview-card__link {
    margin-top: auto; /* PENTING: Mendorong elemen ini sejauh mungkin ke bawah */
    
    /* Styling tombol (opsional) */
    display: inline-block;
    align-self: flex-start; /* Agar tombol tidak membentang full-width (jika display flex) */
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
}

@media (max-width: 992px) {
  .home-news__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .home-news__grid,
  .home-values,
  .home-news {
    padding: 70px 0;
  }
}
.ams-news-swiper .swiper-wrapper {
    align-items: stretch; 
}

.ams-news-swiper .swiper-slide {
    height: auto;
    padding-bottom: 40px; 
}
.news-preview-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 38, 74, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-hero {
  background:
    linear-gradient(rgba(11, 57, 107, 0.55), rgba(11, 57, 107, 0.55)),
    url('https://www.advantagemarine.com.my/wp-content/uploads/2022/09/call-to.jpg') center/cover no-repeat;
  color: #fff;
  padding: 70px 5%;
  text-align: center;
}

.news-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.news-breadcrumb {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-breadcrumb a {
  color: #f5b018;
  text-decoration: none;
}

.news-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 40px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 30px;
}

.news-card__img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.news-card__body {
  padding: 25px;
}

.news-card__title {
  font-size: 1.4rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

.news-card__title a {
  color: #0b396b;
  text-decoration: none;
}

.news-card__title a:hover {
  color: #f5b018;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 18px;
}

.news-card__meta i {
  color: #0b396b;
  margin-right: 6px;
}

.news-card__excerpt {
  color: #475569;
  margin-bottom: 20px;
}

.news-card__button {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  color: #0b396b;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-card__button:hover {
  background: #0b396b;
  color: #fff;
  border-color: #0b396b;
}

.news-sidebar .widget {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0b396b;
  margin-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 12px;
  position: relative;
}

.widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: #f5b018;
}

.widget ul li a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.search-form {
  display: flex;
}

.search-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #e9ecef;
  border-radius: 6px 0 0 6px;
  outline: none;
}

.search-input:focus {
  border-color: #0b396b;
}

.search-btn {
  background: #0b396b;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

.search-btn:hover {
  background: #07264a;
}

.news-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-sidebar ul li {
  padding: 10px 0;
  border-bottom: 1px dashed #e9ecef;
}

.news-sidebar ul li:last-child {
  border-bottom: none;
}

.news-sidebar ul li a {
  color: #2c3e50;
  text-decoration: none;
}

.news-sidebar ul li a:hover {
  color: #0b396b;
}

.recent-post {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #e9ecef;
}

.recent-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
}

.recent-post__content h4 {
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 0 0 5px;
}

.recent-post__content h4 a {
  color: #2c3e50;
  text-decoration: none;
}

.recent-post__content h4 a:hover {
  color: #0b396b;
}

.recent-post__content span {
  font-size: 0.8rem;
  color: #6c757d;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  background: #fff;
  color: #0b396b;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  background: #0b396b;
  color: #fff;
}

@media (max-width: 992px) {
  .news-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px auto;
  }
}

@media (max-width: 576px) {
  .news-hero__title {
    font-size: 2rem;
  }

  .news-card__body,
  .news-sidebar .widget {
    padding: 20px;
  }
}
/* ===== CALENDAR WIDGET ===== */
.widget .wp-calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.widget .wp-calendar-table th,
.widget .wp-calendar-table td {
    text-align: center;
    padding: 6px 4px;
    border: none;
    color: #2c3e50;
}

.widget .wp-calendar-table th {
    color: #0b396b;
    font-weight: 600;
}

.widget .wp-calendar-table td a {
    color: #0b396b;
    font-weight: 600;
    text-decoration: none;
}

.widget .wp-calendar-table td a:hover {
    color: #f5b018;
}

.widget .wp-calendar-table #today {
    background: #0b396b;
    color: #fff;
    border-radius: 4px;
}

.widget .wp-calendar-table caption {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b396b;
    margin-bottom: 12px;
}

.wp-calendar-nav {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-top: 10px;
    color: #6c757d;
}

.wp-calendar-nav a {
    color: #0b396b;
    text-decoration: none;
}

.wp-calendar-nav a:hover {
    color: #f5b018;
}

/* ===== META WIDGET ===== */
.widget .widget-title + ul li a {
    color: #2c3e50;
    text-decoration: none;
}

.widget .widget-title + ul li a:hover {
    color: #0b396b;
}

/* ===== COMMENTS ===== */
.post-comments {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
    width: 100%;
}

.comments-area {
    color: #475569;
}

.comments-title {
    font-size: 1.3rem;
    color: #0b396b;
    margin-bottom: 25px;
    font-weight: 700;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px dashed #e9ecef;
}

.comment-list .comment:last-child {
    border-bottom: none;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 12px;
}

/* Comment form */
#respond {
    margin-top: 30px;
}

#respond h3 {
    font-size: 1.3rem;
    color: #0b396b;
    margin-bottom: 20px;
    font-weight: 700;
}

.comment-form p {
    margin-bottom: 16px;
}

.comment-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #2c3e50;
    background: #f9fafb;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #0b396b;
    background: #fff;
}

.comment-form textarea {
    resize: vertical;
    min-height: 130px;
}

.comment-form .required {
    color: #e53e3e;
    margin-left: 2px;
}

.comment-form input[type="submit"],
#respond .submit {
    background: #0b396b;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.comment-form input[type="submit"]:hover {
    background: #07264a;
    transform: translateY(-2px);
}
/* ============================================
   ARCHIVE — ams-archive__*
   ============================================ */
:root {
    --ams-prj-blue-dark:  #0f2c5f;
    --ams-prj-blue-light: #00a0df;
    --ams-prj-text-dark:  #1e293b;
    --ams-prj-text-muted: #64748b;
    --ams-prj-bg-light:   #f8fafc;
    --ams-prj-white:      #ffffff;
}

.ams-archive {
    font-family: 'Poppins', sans-serif;
    background-color: var(--ams-prj-bg-light);
    min-height: 60vh;
}

/* Container */
.ams-archive__container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* Header */
.ams-archive__header {
    background-color: var(--ams-prj-blue-dark);
    padding: 4rem 1.5rem 3rem;
    text-align: left;
}

.ams-archive__kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ams-prj-blue-light);
    margin-bottom: 0.5rem;
}

.ams-archive__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--ams-prj-white);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.ams-archive__desc {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 600px;
}

/* Content section */
.ams-archive__content {
    padding-block: 3.5rem;
}

/* Grid */
.ams-archive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 1.75rem;
    margin-bottom: 3rem;
}

/* Card */
.ams-archive__card {
    background: var(--ams-prj-white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 44, 95, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ams-archive__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 44, 95, 0.13);
}

.ams-archive__card-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.ams-archive__card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ams-archive__card:hover .ams-archive__card-thumb img {
    transform: scale(1.04);
}

/* Card body */
.ams-archive__card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}

/* Badge */
.ams-archive__badge {
    display: inline-block;
    background-color: #e0f2fe;
    color: var(--ams-prj-blue-light);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    width: fit-content;
}

/* Title */
.ams-archive__card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ams-prj-blue-dark);
    flex: 1;
}

.ams-archive__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ams-archive__card-title a:hover {
    color: var(--ams-prj-blue-light);
}

/* Excerpt */
.ams-archive__card-excerpt {
    font-size: 0.875rem;
    color: var(--ams-prj-text-muted);
    line-height: 1.6;
}

/* Meta row */
.ams-archive__card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.ams-archive__card-date {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--ams-prj-text-muted);
}

.ams-archive__read-more {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ams-prj-blue-light);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.ams-archive__read-more:hover { gap: 0.5rem; }

/* Pagination */
.ams-archive__pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.ams-archive__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ams-prj-blue-dark);
    text-decoration: none;
    margin: 0 0.2rem;
    background: var(--ams-prj-white);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.ams-archive__pagination .page-numbers:hover,
.ams-archive__pagination .page-numbers.current {
    background-color: var(--ams-prj-blue-dark);
    color: var(--ams-prj-white);
    border-color: var(--ams-prj-blue-dark);
}

.ams-archive__pagination .prev,
.ams-archive__pagination .next {
    width: auto;
    padding-inline: 1rem;
}

/* Empty state */
.ams-archive__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5rem 1.5rem;
    color: var(--ams-prj-text-muted);
    gap: 1rem;
}

.ams-archive__empty svg { color: #cbd5e1; }

.ams-archive__empty h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ams-prj-blue-dark);
}

.ams-archive__empty p {
    max-width: 420px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.ams-archive__btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.7rem 1.75rem;
    background-color: var(--ams-prj-blue-light);
    color: var(--ams-prj-white);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.ams-archive__btn:hover {
    background-color: var(--ams-prj-blue-dark);
}
/* ============================================
   SEARCH — ams-search__*
   ============================================ */
.ams-search {
    font-family: 'Poppins', sans-serif;
    background-color: var(--ams-prj-bg-light);
    min-height: 60vh;
}

.ams-search__container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.ams-search__header {
    background-color: var(--ams-prj-blue-dark);
    padding: 4rem 1.5rem 3rem;
}

.ams-search__kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ams-prj-blue-light);
    margin-bottom: 0.5rem;
}

.ams-search__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ams-prj-white);
    margin-bottom: 0.75rem;
}

.ams-search__desc {
    font-size: 1rem;
    color: #94a3b8;
}

.ams-search__form-wrap {
    padding: 1.5rem 0 0;
}

.ams-search__form-box {
    background: var(--ams-prj-white);
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(15, 44, 95, 0.07);
    padding: 1rem;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.ams-search__form-box form,
.ams-search__empty-form form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ams-search__form-box input[type="search"],
.ams-search__empty-form input[type="search"] {
    flex: 1;
    min-width: 240px;
    height: 48px;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    padding: 0 1rem;
    font-size: 0.95rem;
    color: var(--ams-prj-text-dark);
    background: #fff;
}

.ams-search__form-box input[type="search"]:focus,
.ams-search__empty-form input[type="search"]:focus {
    outline: none;
    border-color: var(--ams-prj-blue-light);
    box-shadow: 0 0 0 3px rgba(0, 160, 223, 0.14);
}

.ams-search__form-box button,
.ams-search__form-box input[type="submit"],
.ams-search__empty-form button,
.ams-search__empty-form input[type="submit"] {
    height: 48px;
    padding: 0 1.4rem;
    border: none;
    border-radius: 8px;
    background: var(--ams-prj-blue-light);
    color: var(--ams-prj-white);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ams-search__form-box button:hover,
.ams-search__form-box input[type="submit"]:hover,
.ams-search__empty-form button:hover,
.ams-search__empty-form input[type="submit"]:hover {
    background: var(--ams-prj-blue-dark);
}

.ams-search__content {
    padding-block: 3rem 4rem;
}

.ams-search__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 1.75rem;
}

.ams-search__card {
    background: var(--ams-prj-white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 44, 95, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ams-search__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 44, 95, 0.13);
}

.ams-search__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.ams-search__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ams-search__card:hover .ams-search__thumb img {
    transform: scale(1.04);
}

.ams-search__body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.ams-search__badge {
    display: inline-block;
    width: fit-content;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background-color: #e0f2fe;
    color: var(--ams-prj-blue-light);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ams-search__card-title {
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 600;
    color: var(--ams-prj-blue-dark);
}

.ams-search__card-title a {
    color: inherit;
    text-decoration: none;
}

.ams-search__card-title a:hover {
    color: var(--ams-prj-blue-light);
}

.ams-search__excerpt {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ams-prj-text-muted);
}

.ams-search__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #e2e8f0;
}

.ams-search__date {
    font-size: 0.78rem;
    color: var(--ams-prj-text-muted);
}

.ams-search__readmore {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ams-prj-blue-light);
    text-decoration: none;
}

.ams-search__readmore:hover {
    color: var(--ams-prj-blue-dark);
}

.ams-search__pagination {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.ams-search__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 0.9rem;
    margin: 0 0.2rem;
    border-radius: 8px;
    background: var(--ams-prj-white);
    border: 1px solid #e2e8f0;
    color: var(--ams-prj-blue-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ams-search__pagination .page-numbers:hover,
.ams-search__pagination .page-numbers.current {
    background-color: var(--ams-prj-blue-dark);
    border-color: var(--ams-prj-blue-dark);
    color: var(--ams-prj-white);
}

.ams-search__empty {
    background: var(--ams-prj-white);
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(15, 44, 95, 0.07);
    padding: 3rem 1.5rem;
    text-align: center;
}

.ams-search__empty h2 {
    font-size: 1.6rem;
    color: var(--ams-prj-blue-dark);
    margin-bottom: 0.75rem;
}

.ams-search__empty p {
    max-width: 540px;
    margin: 0 auto 1.5rem;
    color: var(--ams-prj-text-muted);
    line-height: 1.7;
}
@media (max-width: 600px) {
    .ams-search__header {
        padding: 2.75rem 1rem 2rem;
    }

    .ams-search__grid {
        grid-template-columns: 1fr;
    }

    .ams-search__meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Mobile */
@media (max-width: 600px) {
    .ams-archive__header { padding: 2.5rem 1rem 2rem; }
    .ams-archive__grid { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .ams-all-container {
        padding: 40px 20px;
    }

    .info-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .info-card i {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .ams-all-container {
        padding: 20px 20px;
    }
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 40px;
        background: linear-gradient(to bottom, #1e3a68, #0f172a);
    }

    .video-background {
        display: none;
    }

    .overlay {
        background: transparent;
    }

    .hero-content {
        margin-top: 0;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    .hero-desc {
        font-size: 1rem;
        padding: 0 10px;
    }

    .text-swiper {
        padding-bottom: 50px;
    }

    .hero-buttons {
        flex-direction: column;
        display: flex;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .info-cards-container {
        position: relative;
        bottom: auto;
        margin-top: 20px;
    }

    .info-card {
        min-height: 200px;
        margin: 0 10px;
        border-radius: 12px;
    }
}