/* ============================================
   FOOTER RESPONSIVE - Mobile, Tablet, Desktop
   ============================================ */

/* Large Desktop */
@media (min-width: 1200px) and (max-width: 1500px) {
    .footer-area .footer-top .single-footer-caption .footer-tittle h4 {
        font-size: 16px;
    }
    .footer-nav-links li a {
        font-size: 14px;
    }
    .contact-link,
    .contact-text {
        font-size: 13px;
    }
}

/* Normal Desktop */
@media (min-width: 992px) and (max-width: 1200px) {
    .footer-area .footer-top .single-footer-caption .footer-tittle h4 {
        font-size: 15px;
    }
    .footer-nav-links li a {
        font-size: 14px;
    }
    .contact-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 12px;
    }
    .footer-social-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-area .footer-top .single-footer-caption {
        margin-bottom: 30px !important;
    }
    .footer-area .footer-top .single-footer-caption .footer-logo {
        margin-bottom: 15px;
    }
    .footer-area .footer-top .single-footer-caption .footer-logo img {
        max-width: 160px;
    }
    .footer-area .footer-top .single-footer-caption .footer-tittle h4 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .footer-desc {
        -webkit-line-clamp: 4;
    }
    .footer-nav-links li {
        margin-bottom: 10px;
    }
    .footer-nav-links li a {
        font-size: 14px;
    }
    .contact-item {
        gap: 12px;
    }
    .contact-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 12px;
    }
    .contact-link,
    .contact-text {
        font-size: 13px;
    }
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 8px;
    }
}

/* Mobile - Small */
@media (max-width: 767px) {
    .footer-area .footer-top {
        padding-top: 60px !important;
        padding-bottom: 20px !important;
    }
    .footer-area .footer-top .single-footer-caption {
        margin-bottom: 30px !important;
    }
    
    /* Centered content on mobile */
    .footer-area .footer-top .single-footer-caption .footer-tittle h4 {
        font-size: 16px;
        margin-bottom: 18px;
        text-align: left;
    }
    .footer-area .footer-top .single-footer-caption .footer-tittle h4::after {
        left: 0;
        transform: none;
    }
    
    /* Logos centered */
    .footer-area .footer-top .single-footer-caption .footer-logo {
        text-align: center;
        margin-bottom: 10px;
    }
    .footer-area .footer-top .single-footer-caption .footer-logo img {
        max-width: 150px;
    }
    
    /* Description - less lines */
    .footer-desc {
        -webkit-line-clamp: 4;
        font-size: 14px;
    }
    
    /* Navigation links */
    .footer-nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 12px;
    }
    .footer-nav-links li {
        margin-bottom: 0;
        flex: 0 0 auto;
    }
    .footer-nav-links li a {
        font-size: 14px;
        padding: 4px 0;
    }
    .footer-nav-links li a::before {
        display: none;
    }
    .footer-nav-links li a:hover {
        padding-left: 5px !important;
    }
    
    /* Contact items on mobile */
    .contact-item {
        gap: 12px;
    }
    .contact-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 11px;
    }
    .contact-link,
    .contact-text {
        font-size: 13px;
    }
    
    /* Social media centered */
    .footer-social-icons {
        justify-content: flex-start;
    }
    .footer-social-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    /* Copyright bar */
    .footer-area .footer-bottom {
        padding: 20px 0;
        text-align: center;
    }
    .footer-area .footer-bottom .footer-copy-right p {
        font-size: 13px;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
        margin-top: 8px;
    }
    .footer-bottom-links a {
        font-size: 13px;
    }
}

/* Medium Mobile */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .footer-area .footer-top .single-footer-caption .footer-logo img {
        max-width: 165px;
    }
    .footer-desc {
        -webkit-line-clamp: 5;
    }
    .footer-nav-links {
        gap: 4px 16px;
    }
    .footer-nav-links li a {
        font-size: 14px;
    }
}

/* ============================================
   HEADER RESPONSIVE - Mobile, Tablet, Desktop
   ============================================ */

/* Normal desktop :1200px. */
@media (min-width: 1200px) and (max-width: 1500px) {
    /* Header nav padding */
    .header-area .main-header .main-menu ul li a {
        padding: 30px 16px !important;
        font-size: 15px;
    }
    .header-area .main-header {
        padding: 0px 30px;
    }
    .nav-cta-link {
        padding: 8px 16px !important;
        font-size: 13px !important;
        margin: 22px 0 !important;
    }

    /* About Section */
    .about-area .about-img .about-font-img {
        max-width: 420px;
    }
    .about-btn-group {
        gap: 10px;
    }
    .about-btn {
        padding: 14px 24px;
        min-width: 140px;
        font-size: 14px;
    }
}


/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1200px) {
    /* Header Section */
    .header-area .main-header .main-menu ul li a {
        padding: 30px 12px !important;
        font-size: 14px;
    }
    .nav-cta-link {
        padding: 8px 14px !important;
        font-size: 12px !important;
        margin: 22px 5px !important;
    }

    /* Blog Section */
    .home_blog-area .single-blogs .blogs-cap {
        padding: 20px 18px 24px;
    }
    .home_blog-area .single-blogs .blogs-cap h4 a {
        font-size: 18px;
    }
    
    /* Spesialis Section */
    .spesialis-tab-nav .nav-link {
        padding: 14px 22px;
        min-width: 95px;
    }
    .spesialis-tab-nav .nav-link i {
        font-size: 28px;
    }
    .spesialis-panel {
        padding: 32px 35px;
        gap: 28px;
    }
    .spesialis-panel-body h3 {
        font-size: 22px;
    }
}

 
/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {
    /* Header Section */
    .header-area .main-header {
        padding: 15px 30px !important;
    }
    .logo img {
        max-height: 48px;
    }
    .mobile_menu .slicknav_menu .slicknav_btn {
        top: -44px;
        right: 5px;
    }

    /* About Section */
    .about-area {
        padding: 40px 0;
    }
    .about-area .about-caption {
        margin-bottom: 30px;
    }
    .about-area .about-caption p {
        padding-right: 0;
        font-size: 15px;
        line-height: 1.7;
    }
    .about-area .about-img .about-font-img {
        max-width: 400px;
        margin: 0 auto 20px;
    }
    .about-btn-group {
        gap: 10px;
    }
    .about-btn {
        padding: 14px 22px;
        min-width: 140px;
        font-size: 14px;
    }
    .about-area .section-tittle.section-tittle2 h2 {
        font-size: 32px;
    }
    
    /* Blog Section */
    .home_blog-area .single-blogs .blogs-cap {
        padding: 20px 18px 24px;
    }
    .home_blog-area .single-blogs .blogs-cap h4 a {
        font-size: 18px;
    }
    .home_blog-area .single-blogs .blog-img {
        min-height: 190px;
    }
    .home_blog-area .section-tittle.mb-70 {
        margin-bottom: 40px;
    }
    
    /* Spesialis Section */
    .department_area .section-tittle h2 {
        font-size: 30px;
    }
    .spesialis-tab-nav {
        gap: 8px;
    }
    .spesialis-tab-nav .nav-link {
        padding: 12px 16px;
        min-width: 80px;
        border-radius: 12px;
    }
    .spesialis-tab-nav .nav-link i {
        font-size: 22px;
    }
    .spesialis-tab-nav .nav-link h4 {
        font-size: 12px;
    }
    .spesialis-panel {
        padding: 25px 24px;
        gap: 20px;
    }
    .spesialis-panel-icon {
        width: 60px;
        height: 60px;
    }
    .spesialis-panel-icon i {
        font-size: 26px;
    }
    .spesialis-panel-body h3 {
        font-size: 20px;
    }
    .spesialis-panel-body p {
        font-size: 14px;
    }
    
    /* Promo Section */
    .promo-card .promo-caption {
        padding: 18px 18px 22px;
    }
    .promo-card .promo-caption h4 {
        font-size: 17px;
    }
    .promo-card .promo-caption p {
        font-size: 13px;
    }
    .promo-card .promo-img {
        min-height: 180px;
    }
    .promo-btn-all {
        padding: 14px 32px;
        font-size: 15px;
    }
}

 
/* small mobile :320px. */
@media (max-width: 767px) {
    /* Header Section */
    .header-area .main-header {
        padding: 12px 14px !important;
    }
    .logo img {
        max-height: 42px;
    }
    .mobile_menu .slicknav_menu .slicknav_btn {
        top: -44px;
        right: 0px;
        padding: 6px 8px;
    }
    .mobile_menu .slicknav_menu .slicknav_btn .slicknav_icon-bar {
        width: 24px;
        height: 3px;
        margin-bottom: 4px;
    }
    /* Sticky header mobile compact */
    .header-sticky.sticky-bar.sticky {
        padding: 8px 0 !important;
    }
    .header-sticky.sticky .logo img {
        max-height: 38px;
    }

    /* About Section */
    .about-area {
        padding: 30px 0 !important;
    }
    .about-area .about-caption {
        margin-bottom: 20px;
        text-align: center;
    }
    .about-area .about-caption p {
        padding-right: 0;
        font-size: 14px;
        line-height: 1.7;
        text-align: center;
        margin-bottom: 24px;
    }
    .about-area .about-img .about-font-img {
        max-width: 320px;
        margin: 0 auto 20px;
        border-radius: 16px;
    }
    .about-area .about-img .about-font-img::after {
        border-radius: 20px;
        border-width: 2px;
    }
    .about-btn-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .about-btn {
        padding: 14px 20px;
        min-width: unset;
        width: 100%;
        justify-content: center;
        font-size: 14px;
        border-radius: 10px;
    }
    .about-btn i {
        position: static;
        margin-left: 6px;
    }
    .about-area .section-tittle.section-tittle2 h2 {
        font-size: 24px;
        text-align: center;
    }
    .about-area .section-tittle.section-tittle2 span {
        text-align: center;
        margin-left: 0;
        padding-left: 0;
        display: block;
    }
    .about-area .section-tittle.section-tittle2 span::before {
        display: none;
    }
    
    /* Blog Section */
    .home_blog-area {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .home_blog-area .section-tittle.mb-70 {
        margin-bottom: 30px;
    }
    .home_blog-area .section-tittle h2 {
        font-size: 24px;
    }
    .home_blog-area .single-blogs {
        margin-bottom: 24px;
    }
    .home_blog-area .single-blogs .blogs-cap {
        padding: 18px 16px 22px;
    }
    .home_blog-area .single-blogs .blogs-cap h4 a {
        font-size: 16px;
    }
    .home_blog-area .single-blogs .blog-img {
        min-height: 180px;
    }
    .home_blog-area .single-blogs .blogs-cap .blog-excerpt {
        font-size: 13px;
        line-height: 1.6;
    }
    .home_blog-area .blog-category {
        font-size: 10px;
        padding: 4px 12px;
        top: 12px;
        left: 12px;
    }
    
    /* Spesialis Section */
    .department_area .section-tittle h2 {
        font-size: 26px;
    }
    .department_area.section-padding2 {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .spesialis-tab-nav {
        gap: 6px;
    }
    .spesialis-tab-nav .nav-link {
        padding: 10px 14px;
        min-width: 60px;
        border-radius: 10px;
    }
    .spesialis-tab-nav .nav-link i {
        font-size: 18px;
    }
    .spesialis-tab-nav .nav-link h4 {
        font-size: 10px;
    }
    .spesialis-panel {
        padding: 20px 16px;
        gap: 15px;
        border-radius: 14px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .spesialis-panel-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    .spesialis-panel-icon i {
        font-size: 20px;
    }
    .spesialis-panel-body h3 {
        font-size: 17px;
    }
    .spesialis-panel-body p {
        font-size: 13px;
        line-height: 1.6;
    }
    .spesialis-panel-btn {
        padding: 8px 18px;
        font-size: 12px;
    }
    .spesialis-btn-all {
        padding: 12px 24px;
        font-size: 14px;
    }
    .spesialis-tab-content {
        margin-top: 15px;
        margin-bottom: 20px;
    }
    
    /* Promo Section */
    .promo-area {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .promo-area .section-tittle.mb-50 {
        margin-bottom: 30px;
    }
    .promo-area .section-tittle h2 {
        font-size: 24px;
    }
    .promo-card {
        margin-bottom: 24px;
    }
    .promo-card .promo-caption {
        padding: 16px 16px 20px;
    }
    .promo-card .promo-caption h4 {
        font-size: 17px;
    }
    .promo-card .promo-caption p {
        font-size: 13px;
        line-height: 1.6;
    }
    .promo-card .promo-img {
        min-height: 170px;
    }
    .promo-btn-all {
        padding: 14px 28px;
        font-size: 14px;
    }
}
 
/* Large Mobile :480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .container {width:450px}
    
    /* Header Section */
    .logo img {
        max-height: 46px;
    }

    /* About Section */
    .about-area .about-img .about-font-img {
        max-width: 360px;
    }
    .about-btn-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .about-btn {
        width: auto;
        flex: 1 1 calc(50% - 6px);
        min-width: 140px;
        justify-content: space-between;
        padding: 14px 20px;
    }
    .about-area .section-tittle.section-tittle2 h2 {
        font-size: 26px;
    }
    
    /* Blog Section */
    .home_blog-area .single-blogs .blog-img {
        min-height: 200px;
    }
    .home_blog-area .single-blogs .blogs-cap h4 a {
        font-size: 18px;
    }
    
    /* Spesialis Section */
    .spesialis-tab-nav .nav-link {
        padding: 12px 16px;
        min-width: 75px;
    }
    .spesialis-tab-nav .nav-link i {
        font-size: 22px;
    }
    .spesialis-tab-nav .nav-link h4 {
        font-size: 11px;
    }
    .spesialis-panel {
        padding: 24px 20px;
    }
    .spesialis-panel-body h3 {
        font-size: 19px;
    }
    
    /* Promo Section */
    .promo-card .promo-caption {
        padding: 18px 18px 22px;
    }
    .promo-card .promo-caption h4 {
        font-size: 18px;
    }
    .promo-card .promo-img {
        min-height: 190px;
    }
}

/* ============================================
   HAK & KEWAJIBAN - Modern Card Layout
   ============================================ */

/* --- Section Description --- */
.hak-section-desc {
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Main Card --- */
.hak-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hak-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(15, 97, 239, 0.12);
    border-color: #e0eaff;
}

/* --- Card Header --- */
.hak-card-header {
    padding: 32px 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hak-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    border-radius: 2px;
    opacity: 0.3;
}

.hak-header-rights {
    background: linear-gradient(135deg, #e8f0ff 0%, #f0f5ff 100%);
}

.hak-header-rights::after {
    background: linear-gradient(90deg, #396cf0, #0f61ef);
}

.hak-header-obligations {
    background: linear-gradient(135deg, #fef3e8 0%, #fff8f0 100%);
}

.hak-header-obligations::after {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* --- Card Icon --- */
.hak-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 28px;
    transition: all 0.4s ease;
}

.hak-header-rights .hak-card-icon {
    background: linear-gradient(135deg, #396cf0, #0f61ef);
    color: #fff;
    box-shadow: 0 6px 20px rgba(15, 97, 239, 0.25);
}

.hak-header-obligations .hak-card-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.hak-card:hover .hak-card-icon {
    transform: scale(1.08) rotate(-5deg);
}

/* --- Card Header Text --- */
.hak-card-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #030431;
    margin-bottom: 6px;
}

.hak-header-rights h3 {
    color: #0f61ef;
}

.hak-header-obligations h3 {
    color: #d97706;
}

.hak-card-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* --- Card Body / List --- */
.hak-card-body {
    padding: 24px 28px 30px;
    flex: 1;
}

.hak-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hak-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fafbfc;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.hak-list-item:hover {
    background: #f0f5ff;
    border-color: #d6e4ff;
    transform: translateX(4px);
}

.hak-header-obligations .hak-list-item:hover {
    background: #fffbeb;
    border-color: #fde68a;
}

/* --- Number Badge --- */
.hak-badge {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #396cf0, #0f61ef);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hak-badge-ob {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.hak-list-item:hover .hak-badge {
    transform: scale(1.1);
}

.hak-list-item:hover .hak-badge-ob {
    transform: scale(1.1);
}

/* --- List Text --- */
.hak-text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    flex: 1;
    padding-top: 5px;
}

/* --- Footer Note --- */
.hak-footer-note {
    background: #f8faff;
    border-radius: 14px;
    padding: 20px 28px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #e0eaff;
    margin-top: 10px;
}

.hak-footer-note i {
    font-size: 20px;
    color: #396cf0;
    flex-shrink: 0;
    margin-top: 2px;
}

.hak-footer-note p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.hak-footer-note a {
    color: #396cf0;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.hak-footer-note a:hover {
    color: #0f61ef;
    text-decoration: underline !important;
}

/* ============================================
   HAK & KEWAJIBAN - RESPONSIVE
   ============================================ */

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .hak-card-header {
        padding: 26px 24px 16px;
    }
    .hak-card-header h3 {
        font-size: 20px;
    }
    .hak-card-body {
        padding: 20px 22px 26px;
    }
    .hak-card-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    .hak-list-item {
        padding: 12px 14px;
        gap: 12px;
    }
    .hak-badge {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 12px;
    }
    .hak-text {
        font-size: 13px;
    }
    .hak-section-desc {
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hak-card {
        margin-bottom: 24px;
    }
    .hak-card-header {
        padding: 24px 20px 16px;
    }
    .hak-card-header h3 {
        font-size: 18px;
    }
    .hak-card-header p {
        font-size: 13px;
    }
    .hak-card-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
    .hak-card-body {
        padding: 18px 18px 24px;
    }
    .hak-list {
        gap: 10px;
    }
    .hak-list-item {
        padding: 12px 12px;
        gap: 10px;
        border-radius: 10px;
    }
    .hak-badge {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 12px;
        border-radius: 8px;
    }
    .hak-text {
        font-size: 13px;
        line-height: 1.5;
        padding-top: 4px;
    }
    .hak-section-desc {
        font-size: 14px;
    }
    .hak-footer-note {
        padding: 16px 18px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hak-footer-note i {
        margin-bottom: 4px;
    }
    .hak-footer-note p {
        font-size: 13px;
    }
}

/* Large Mobile */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .hak-card-body {
        padding: 20px 22px 26px;
    }
    .hak-list-item {
        padding: 13px 14px;
    }
    .hak-text {
        font-size: 14px;
    }
}
