/* Modern Aesthetic Design System for PT. Rizaludin Jaya Makmur (Template 2) */

:root {
    --primary-color: #0d9488;       /* Teal - represents precision, modern tech */
    --secondary-color: #0f172a;     /* Slate 900 - dark slate for contrast */
    --accent-color: #10b981;        /* Emerald Green - for success/WhatsApp calls */
    --text-primary: #334155;        /* Slate 700 - readable text */
    --text-muted: #64748b;          /* Slate 500 */
    --bg-light: #f8fafc;            /* Slate 50 */
    --bg-white: #ffffff;
    --border-color: #e2e8f0;        /* Slate 200 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Base Styles & Reset Overrides */
body {
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-name, .brand-name-desktop, .nama-banner, .heading span {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary-color);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--secondary-color);
}

/* Layout Padding Helpers */
.pad7 { padding: 40px 0; }
.pad8 { padding: 80px 0; }
.pad9 { padding: 120px 0; }

.gap10 { grid-gap: 10px; }
.gap20 { grid-gap: 20px; }
.gap30 { grid-gap: 30px; }

/* Grid Responsive Wrapper */
@media (max-width: 740px) {
    .wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (min-width: 741px) {
    .wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media (min-width: 992px) {
    .wrapper {
        margin-right: auto;
        margin-left: auto;
        max-width: 1200px;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Glassmorphism Sticky Header */
#sticky {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

#sticky.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

#atas {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

#logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

#sticky.sticky #logo img {
    height: 40px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name-desktop {
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: var(--secondary-color);
    text-transform: uppercase;
}

#logo h1 {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 2px 0 0 0;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Navigation Menu */
#menusm {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#menusm > li {
    position: relative;
}

#menusm > li > a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    position: relative;
}

#menusm > li > a:hover,
#menusm > li.highlight > a {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

/* Dropdown Submenu */
#menusm li ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 8px 0;
    display: none;
    list-style: none;
    z-index: 100;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    opacity: 0;
}

#menusm li:hover > ul {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

#menusm li ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

#menusm li ul li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 24px;
}

#menusm li ul li.parent > a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    font-size: 10px;
    margin-top: 4px;
    color: var(--text-muted);
}

#menusm li ul ul {
    left: 100%;
    top: 0;
    margin-left: 2px;
}

/* Search Box Form */
#formSearch {
    margin: 0;
}

#search {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    overflow: hidden;
    padding: 2px 4px 2px 16px;
    transition: var(--transition-smooth);
    width: 220px;
}

#search:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    background-color: var(--bg-white);
    width: 260px;
}

#search input {
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-primary);
    width: 100%;
    outline: none;
}

#search button {
    border: none;
    background: var(--primary-color);
    color: var(--bg-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

#search button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Mobile Header & Drawer */
#header-xs, #sidebarxs {
    display: none;
}

@media (max-width: 991px) {
    #sticky {
        display: none;
    }
    #header-xs {
        display: block;
        position: sticky;
        top: 0;
        z-index: 1001;
        background-color: var(--secondary-color);
        box-shadow: var(--shadow-lg);
    }
    .header-xs-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
    }
    .header-xs-content .brand-name {
        color: var(--bg-white);
        font-size: 18px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }
    .header-xs-content .ikon-buka-tutup {
        color: var(--bg-white);
        font-size: 22px;
        cursor: pointer;
    }

    /* Sidebarxs mobile drawer */
    #sidebarxs {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 2000;
        width: 300px;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
        padding: 24px;
        color: var(--bg-white);
    }

    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
        margin-bottom: 20px;
    }
    .sidebar-title {
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: 1px;
    }
    .sidebar-header .ikon-buka-tutup {
        color: rgba(255, 255, 255, 0.6);
        font-size: 24px;
        cursor: pointer;
        transition: var(--transition-smooth);
    }
    .sidebar-header .ikon-buka-tutup:hover {
        color: var(--bg-white);
    }

    #sidebarxs-container {
        overflow-y: auto;
        height: calc(100vh - 100px);
    }

    #menuxs {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #menuxs li {
        margin-bottom: 6px;
        position: relative;
    }

    #menuxs a {
        display: block;
        padding: 12px 16px;
        color: rgba(255, 255, 255, 0.85);
        font-size: 15px;
        font-weight: 500;
        border-radius: var(--radius-sm);
        text-decoration: none;
        transition: var(--transition-smooth);
    }

    #menuxs a:hover,
    #menuxs li.highlight > a {
        background-color: rgba(255, 255, 255, 0.08);
        color: var(--bg-white);
        padding-left: 20px;
    }

    #menuxs .parent::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        float: right;
        font-size: 11px;
        margin-top: 4px;
        transition: var(--transition-smooth);
    }

    #menuxs li ul {
        display: none;
        list-style: none;
        padding-left: 15px;
        margin-top: 4px;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: var(--radius-sm);
    }

    #menuxs li ul a {
        font-size: 13px;
        padding: 10px 14px;
        color: rgba(255, 255, 255, 0.7);
    }
}

/* Slick Carousel - Hero Banner styles */
.bannerCaption {
    position: relative;
    overflow: hidden;
}

.banner-slide {
    height: 580px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.banner-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
    display: flex;
    align-items: center;
}

.banner-caption-wrapper {
    width: 100%;
}

.banner-caption-container {
    max-width: 650px;
    color: var(--bg-white);
    padding: 0 20px;
}

.nama-banner {
    display: block;
    font-size: 54px;
    line-height: 1.1;
    color: var(--bg-white);
    margin-bottom: 20px;
    text-transform: capitalize;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.keterangan-banner {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Custom button banner caption */
.button-banner-caption {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-white) !important;
    background: var(--primary-color);
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
    transition: var(--transition-smooth);
    border: none;
}

.button-banner-caption:hover {
    background-color: var(--bg-white);
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Banner Slick Dots */
.slick-dots {
    bottom: 30px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--bg-white);
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 740px) {
    .banner-slide {
        height: 480px;
    }
    .nama-banner {
        font-size: 32px;
    }
    .keterangan-banner {
        font-size: 15px;
    }
    .banner-caption-container {
        text-align: center;
        margin: 0 auto;
    }
    .button-banner-caption-container {
        display: flex;
        justify-content: center;
    }
}

/* Banner biasa (for non-home pages) */
.banner {
    overflow: hidden;
}
.banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
@media (max-width: 740px) {
    .banner img {
        height: 180px;
    }
}

/* Section Headings */
.heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    text-align: center;
}

.heading span {
    font-size: 38px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

.heading span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* About Us Section */
.text3-container {
    align-items: center;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-smooth);
    width: 100%;
}

.about-img:hover {
    transform: scale(1.02);
}

.about-content h2, .about-content strong {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
    display: block;
}

.about-content p {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 25px;
}

/* WhatsApp CTA Button Global */
.hubungikami {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--bg-white);
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    transition: var(--transition-smooth);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.hubungikami:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
    color: var(--bg-white);
}

.hubungikami i {
    font-size: 20px;
}

@media (max-width: 740px) {
    .about-content h2, .about-content strong {
        font-size: 28px;
    }
    .text3-container {
        text-align: center;
    }
    .about-content {
        margin-top: 20px;
    }
}

/* Home Banners (Features/Services list under about) */
.home-banners-section {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
}

.home-banners-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.home-banners-desc h3 {
    font-size: 36px;
    margin-bottom: 15px;
}

.home-banners-desc p {
    font-size: 16px;
    color: var(--text-muted);
}

.homebanner-link-wrapper {
    text-decoration: none;
}

.homebanner-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.homebanner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(13, 148, 136, 0.2);
}

.homebanner-inner {
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 20px;
}

.homebanner-img {
    width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

.homebanner-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 6px 0;
}

.homebanner-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 740px) {
    #homebanner {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 741px) and (max-width: 991px) {
    #homebanner {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 992px) {
    #homebanner {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Statistics Counter Section */
.stats-section {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

#statistik {
    grid-template-columns: 1fr 1fr 1fr;
}

#statistik ul {
    text-align: center;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
    margin: 0;
}

#statistik ul:last-child {
    border-right: none;
}

#statistik ul li:nth-child(1) {
    font-size: 54px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

#statistik ul li:nth-child(2) {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

@media (max-width: 740px) {
    #statistik {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    #statistik ul {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 0;
    }
    #statistik ul:last-child {
        border-bottom: none;
    }
}

/* Products Cards Styling */
.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(13, 148, 136, 0.2);
}

.product-img-box {
    position: relative;
    overflow: hidden;
    padding-bottom: 60%; /* Aspect Ratio 5:3 */
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-content-box {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--secondary-color);
    line-height: 1.4;
}

.product-summary {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 24px 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-btn-more {
    display: block;
    text-align: center;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.product-card:hover .product-btn-more {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

@media (max-width: 740px) {
    #product-container {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 741px) and (max-width: 991px) {
    #product-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 992px) {
    #product-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Testimonials Slide section */
#testimoni-container {
    background-color: var(--bg-light);
}

.datatestimoni {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    margin: 15px;
    transition: var(--transition-smooth);
}

.datatestimoni:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.2);
}

.testimonial-avatar-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.gambar-testimoni {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--secondary-color);
}

.contenttestimoni {
    font-size: 14px;
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Contact Us Section Styles */
.contactus-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.contactus-background .overlay {
    background: rgba(15, 23, 42, 0.85);
}

.contactus-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-xl);
    max-width: 650px;
    width: 100%;
}

.contactus-card h5 {
    font-size: 32px;
    text-align: center;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.contactus-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 20px;
}

.contactus-card input[type=text],
.contactus-card input[type=email],
.contactus-card textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    outline: none;
}

.contactus-card input[type=text]:focus,
.contactus-card input[type=email]:focus,
.contactus-card textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.contactus-card textarea {
    height: 120px;
    resize: none;
}

.btn-submit-contact {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-white);
    background-color: var(--primary-color);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
    transition: var(--transition-smooth);
}

.btn-submit-contact:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 740px) {
    .contactus-card {
        padding: 30px 20px;
    }
    .contactus-card h5 {
        font-size: 24px;
    }
}

/* Call To Action Banner */
.cta-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.cta-background .overlay {
    background: rgba(15, 23, 42, 0.9);
}

.cta-content-inner {
    max-width: 800px;
    margin: 0 auto;
    color: var(--bg-white);
}

.cta-content-inner h3 {
    font-size: 42px;
    color: var(--bg-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content-inner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

@media (max-width: 740px) {
    .cta-content-inner h3 {
        font-size: 28px;
    }
    .cta-content-inner p {
        font-size: 15px;
    }
}

/* News/Articles Styles */
.news-card-link {
    text-decoration: none;
    display: block;
}

.news-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(13, 148, 136, 0.2);
}

.news-img-box {
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
    height: 200px;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.news-content-box {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--secondary-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-summary {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-btn-read {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.news-card:hover .news-btn-read {
    color: var(--secondary-color);
}

@media (max-width: 740px) {
    #news {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 741px) and (max-width: 991px) {
    #news {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 992px) {
    #news {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Gallery Home Grid Styles */
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.gallery-item img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-zoom-icon {
    font-size: 24px;
    color: var(--bg-white);
}

@media (max-width: 740px) {
    .gallery {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .gallery-item img {
        height: 150px;
    }
}
@media (min-width: 741px) {
    .gallery {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 20px;
    }
}

/* View More Button Style */
.more-btn-container {
    margin-top: 40px;
}

.more {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--bg-white) !important;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    border: 1px solid var(--secondary-color);
}

.more:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Map frame */
.map-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* Google Map page styles */
.map {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Floating Hotline Stack and toTop button */
#floating-hotline {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#floating-hotline a {
    width: 56px;
    height: 56px;
    background-color: var(--accent-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    font-size: 24px;
    transition: var(--transition-smooth);
    position: relative;
}

#floating-hotline a:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

#toTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.2);
    font-size: 18px;
    cursor: pointer;
    z-index: 998;
    transition: var(--transition-smooth);
}

#toTop:hover {
    background-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

/* FAQ accordion styles */
.faq-list {
    margin-top: 30px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 20px 25px;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 25px;
    height: 0;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.8;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-answer {
    padding: 0 25px 24px 25px;
    height: auto;
}

/* Modern Footer Styles */
#footer1 {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#footer1 a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

#footer1 a:hover {
    color: var(--primary-color);
}

.title-footer {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--bg-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.title-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 20px;
}

.counter-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    font-size: 12px;
    margin-bottom: 20px;
}

/* Bank cards in footer */
#bank {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bank-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 12px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
}

.bank-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
    margin-bottom: 6px;
    align-self: flex-start;
}

.bank-norek {
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-white);
}

.bank-owner {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* Customer service footer items */
.opening-hours-box {
    margin-bottom: 20px;
    line-height: 1.8;
}

#hotline-bawah {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cs-hotline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-hotline-item:last-child {
    border-bottom: none;
}

.cs-icon-wrapper {
    width: 36px;
    height: 36px;
    background-color: rgba(13, 148, 136, 0.15);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.cs-info {
    display: flex;
    flex-direction: column;
}

.cs-owner {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.cs-name {
    font-size: 14px;
    color: var(--bg-white);
}

/* Social Media links badge style in footer */
#social-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.social-link i, .social-link img {
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.social-link span {
    font-size: 13px;
}

/* Footer Logo layout column */
.footer-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 20px;
}

#h1bawah {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
    line-height: 1.5;
}

/* Under Footer Copyright info */
#bawah {
    background-color: #0b111e;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

#bawah strong {
    color: var(--bg-white);
}

#bawah a {
    color: rgba(255, 255, 255, 0.5);
}

#bawah a:hover {
    color: var(--primary-color);
}

#bawah i.text-danger {
    color: #ef4444;
}

@media (max-width: 740px) {
    #footer1 > div {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 30px;
    }
    .logo-col {
        border-bottom: none;
        text-align: center;
    }
    .logo-col .footer-logo-link {
        display: inline-block;
    }
}
@media (min-width: 741px) and (max-width: 991px) {
    #footer1 > div {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}
@media (min-width: 992px) {
    #footer1 > div {
        grid-template-columns: 1.5fr 1.25fr 1.25fr 1fr;
    }
}

/* Detail Page - Layout adjustments */
.text.clear {
    font-size: 15px;
    line-height: 1.8;
}

.text.clear p {
    margin-bottom: 20px;
}

.text.clear h4 {
    font-size: 20px;
    color: var(--secondary-color);
    margin: 30px 0 15px 0;
}

.text.clear ul {
    margin: 0 0 25px 20px;
    padding: 0;
}

.text.clear li {
    list-style-type: disc;
    margin-bottom: 8px;
    padding-left: 5px;
}

.text.clear strong {
    color: var(--secondary-color);
}

/* Sidebar navigation styling on child pages */
.sidebar-nav-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.sidebar-nav-title {
    font-size: 18px;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

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

.sidebar-nav-list li {
    margin-bottom: 8px;
}

.sidebar-nav-list a {
    display: block;
    padding: 10px 16px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
}

.sidebar-nav-list a:hover,
.sidebar-nav-list li.active a {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    padding-left: 20px;
}