/*
Theme Name: DUI Theme
Theme URI: https://dui.kampus.ac.id
Author: DUI Team
Author URI: https://dui.kampus.ac.id
Description: Tema WordPress untuk Direktorat Umum dan Infrastruktur dengan nuansa navy dan putih menggunakan Bootstrap 4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dui-theme
Tags: bootstrap, navy, white, corporate, university
*/

/* ===========================
   COLORS & VARIABLES
   =========================== */
:root {
    --navy-primary: #001f3f;
    --navy-secondary: #003366;
    --navy-light: #336699;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --text-dark: #212529;
    --accent-gold: #FFD700;
}

/* ===========================
   GENERAL STYLES
   =========================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    color: var(--navy-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--navy-light);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--navy-primary);
    border-color: var(--navy-primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--navy-secondary);
    border-color: var(--navy-secondary);
}

.btn-outline-primary {
    color: var(--navy-primary);
    border-color: var(--navy-primary);
}

.btn-outline-primary:hover {
    background-color: var(--navy-primary);
    border-color: var(--navy-primary);
    color: var(--white);
}

/* ===========================
   TOP BAR (SOCIAL MEDIA)
   =========================== */
.top-bar {
    background-color: var(--navy-secondary);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--white);
    transition: opacity 0.3s ease;
}

.top-bar a:hover {
    opacity: 0.8;
}

.top-contact i {
    color: var(--accent-gold);
    margin-right: 5px;
}

.top-social a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.top-social a:hover {
    background-color: var(--accent-gold);
    color: var(--navy-primary);
    transform: translateY(-2px);
}

/* ===========================
   NAVBAR
   =========================== */
.navbar-custom {
    background-color: var(--navy-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-custom .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu Styles */
.navbar-custom .dropdown-menu {
    background-color: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    margin-top: 0;
    padding: 0.5rem 0;
}

.navbar-custom .dropdown-item {
    color: var(--navy-primary);
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    background-color: var(--gray-light);
    color: var(--navy-primary);
}

/* Level 2 Dropdown (Submenu) */
.navbar-custom .dropdown-menu .dropdown {
    position: relative;
}

.navbar-custom .dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    margin-left: 0;
}

/* Level 3 Dropdown (Sub-submenu) */
.navbar-custom .dropdown-menu .dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    margin-left: 0;
}

/* Dropdown Toggle Icon */
.navbar-custom .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.navbar-custom .dropdown-menu .dropdown-toggle::after {
    content: "\f105";
    float: right;
    margin-left: 1rem;
}

/* Hover behavior for dropdown */
@media (min-width: 992px) {
    .navbar-custom .dropdown:hover > .dropdown-menu {
        display: block;
    }
    
    .navbar-custom .dropdown-menu .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* ===========================
   HERO BANNER
   =========================== */
.hero-banner {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-secondary) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-banner .hero-video,
.hero-banner .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-tagline {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--navy-light);
    margin-bottom: 3rem;
    text-align: center;
}

.section-bg-light {
    background-color: var(--gray-light);
}

.section-bg-navy {
    background-color: var(--navy-primary);
    color: var(--white);
}

.section-bg-navy .section-title {
    color: var(--white);
}

.section-bg-navy .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   STATS SECTION
   =========================== */
.stats-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-icon {
    font-size: 3rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1.1rem;
    color: var(--navy-light);
}

/* ===========================
   CARDS
   =========================== */
.card-custom {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card-custom:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card-custom .card-header {
    background-color: var(--navy-primary);
    color: var(--white);
    border-radius: 10px 10px 0 0 !important;
    font-weight: bold;
}

.card-custom .card-body {
    padding: 1.5rem;
}

/* ===========================
   ANNOUNCEMENTS
   =========================== */
.announcement-card {
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 31, 63, 0.15);
}

.announcement-card .card-body {
    padding: 1.5rem;
}

.announcement-date {
    color: var(--navy-light);
    font-size: 0.85rem;
    font-weight: 600;
}

.announcement-title {
    margin-bottom: 0.75rem;
}

.announcement-title a {
    color: var(--navy-primary);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.announcement-title a:hover {
    color: var(--navy-secondary);
}

.announcement-excerpt {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Legacy announcement-item for backward compatibility */
.announcement-item {
    padding: 1.5rem;
    border-left: 4px solid var(--navy-primary);
    background-color: var(--white);
    margin-bottom: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===========================
   NEWS & ACTIVITIES
   =========================== */
.news-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.news-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    background-color: var(--navy-primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
}

/* ===========================
   GALLERY
   =========================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 31, 63, 0.9), transparent);
    color: var(--white);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ===========================
   VIDEO SECTION
   =========================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-title {
    padding: 1rem;
    background: var(--white);
}

.video-title h6 {
    margin: 0;
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===========================
   SHARE BUTTONS
   =========================== */
.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-buttons .btn {
    padding: 0.375rem 0.75rem;
    transition: all 0.3s ease;
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.share-buttons .btn i {
    font-size: 0.875rem;
}

/* Share Section in Single Post */
.share-section {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 10px;
}

.share-section h5 {
    color: var(--navy-primary);
    font-weight: 600;
}

.share-section .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.share-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    box-shadow: 0 15px 35px rgba(0, 31, 63, 0.3);
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--white) 0%, #fffef8 100%);
}

.contact-icon {
    font-size: 3rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

.contact-card:hover .contact-icon {
    color: var(--accent-gold);
    transform: scale(1.3) rotate(5deg);
    text-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.contact-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-title {
    color: var(--accent-gold);
    transform: scale(1.05);
}

.contact-info {
    font-size: 1.1rem;
    color: var(--navy-light);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-info {
    color: var(--navy-primary);
}

.contact-info a {
    color: var(--navy-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--navy-primary);
    text-decoration: none;
    font-weight: bold;
}

.contact-form .form-control {
    border: 2px solid var(--gray-medium);
    padding: 0.75rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--navy-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 31, 63, 0.25);
}

/* ===========================
   PROFILE CARD
   =========================== */
.profile-card {
    box-shadow: 0 8px 20px rgba(0, 31, 63, 0.15);
    border: none;
}

.profile-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 5px solid var(--white);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.director-quote {
    background-color: var(--gray-light);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.info-box {
    padding: 1.5rem;
    background-color: var(--gray-light);
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}

.info-box:hover {
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 31, 63, 0.1);
    transform: translateY(-3px);
}

.mission-list {
    list-style: none;
    padding-left: 0;
}

.mission-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background-color: var(--navy-primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--white);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white);
}

.footer-social {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white) !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-gold);
    color: var(--navy-primary) !important;
    transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 991px) {
    /* Top Bar Mobile */
    .top-bar {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }
    
    .top-bar .col-md-6 {
        text-align: center !important;
    }
    
    .top-contact {
        margin-bottom: 0.5rem;
    }
    
    .top-contact span {
        display: block;
        margin: 0.25rem 0;
    }
    
    .top-social {
        text-align: center !important;
    }
    
    /* Mobile Dropdown Styles */
    .navbar-custom .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        width: auto;
        margin: 0;
        background-color: rgba(0, 31, 63, 0.95);
        border: none;
        box-shadow: none;
    }
    
    .navbar-custom .dropdown-menu .dropdown-menu {
        padding-left: 1rem;
        background-color: rgba(0, 31, 63, 0.98);
    }
    
    .navbar-custom .dropdown-menu .dropdown-menu .dropdown-menu {
        padding-left: 2rem;
    }
    
    .navbar-custom .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
        padding: 0.5rem 1.5rem;
    }
    
    .navbar-custom .dropdown-item:hover,
    .navbar-custom .dropdown-item:focus {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }
    
    .navbar-custom .dropdown-toggle::after {
        float: right;
    }
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-banner {
        height: 400px;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
}

/* ========================================
   AUTHOR BOX & POST NAVIGATION
======================================== */

.author-box {
    border-left: 4px solid var(--navy-primary);
}

.author-box h5 {
    font-weight: 600;
}

.nav-post-item {
    display: block;
}

.nav-post-link {
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-post-link:hover {
    color: var(--navy-secondary);
    text-decoration: none;
    transform: translateX(5px);
}

.col-md-6.text-md-right .nav-post-link:hover {
    transform: translateX(-5px);
}

/* ========================================
   COMMENTS SECTION
======================================== */

.comments-area {
    background: var(--white);
    padding: 0;
}

.comments-title {
    color: var(--navy-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--navy-primary);
    font-weight: 700;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.comment-body {
    background: var(--gray-light);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--navy-primary);
}

.comment-author {
    margin-bottom: 1rem;
}

.comment-author img {
    border-radius: 50%;
    float: left;
    margin-right: 1rem;
}

.comment-author .fn {
    color: var(--navy-primary);
    font-weight: 700;
    font-style: normal;
    font-size: 1.1rem;
}

.comment-author cite {
    display: block;
    margin-top: 5px;
}

.comment-awaiting-moderation {
    display: block;
    color: #856404;
    background-color: #fff3cd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
    clear: both;
}

.comment-metadata a {
    color: #6c757d;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: var(--navy-primary);
}

.comment-content {
    line-height: 1.7;
    color: #333;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 1rem;
}

.reply a {
    font-size: 0.875rem;
    color: var(--navy-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border: 1px solid var(--navy-primary);
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
}

.reply a:hover {
    background: var(--navy-primary);
    color: var(--white);
}

.children {
    list-style: none;
    padding-left: 3rem;
    margin-top: 1.5rem;
}

.comment-respond {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.comment-reply-title {
    color: var(--navy-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.comment-reply-title small a {
    font-size: 0.75rem;
    color: #dc3545;
    text-decoration: none;
    margin-left: 1rem;
}

.comment-reply-title small a:hover {
    text-decoration: underline;
}

.comment-notes {
    margin-bottom: 1rem;
}

.required {
    color: #dc3545;
}

.comment-form .form-group {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--navy-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 31, 63, 0.15);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: 1rem;
    margin-bottom: 0;
}

.form-submit .btn {
    background: var(--navy-primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-submit .btn:hover {
    background: var(--navy-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.3);
}

.no-comments {
    margin-top: 2rem;
}

/* Inovasi Carousel Styles */
#inovasi .carousel-control-prev,
#inovasi .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--navy-primary);
    border-radius: 50%;
    opacity: 0.9;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

#inovasi .carousel-control-prev {
    left: -25px;
}

#inovasi .carousel-control-next {
    right: -25px;
}

#inovasi .carousel-control-prev:hover,
#inovasi .carousel-control-next:hover {
    opacity: 1;
    background: var(--navy-secondary);
}

#inovasi .carousel-control-prev-icon,
#inovasi .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

#inovasi .carousel-item {
    transition: transform 0.6s ease-in-out;
}

@media (max-width: 991px) {
    #inovasi .carousel-control-prev {
        left: -15px;
    }
    
    #inovasi .carousel-control-next {
        right: -15px;
    }
}
