/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --success: #27ae60;
    --warning: #f39c12;
    --text: #333;
    --border: #f0f0f0;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: #f9f9f9;
    padding-top: 80px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== BUTTON COMPONENT ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.2;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

/* Button Variants */
.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.btn-warning {
    background-color: var(--warning);
    color: white;
}

.btn-warning:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Button States */
.btn:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background-color: var(--gray);
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Button with Icons */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Button Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: button-loading 0.8s linear infinite;
}

@keyframes button-loading {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== HEADER COMPONENT ===== */
header {
    background-color: var(--primary);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary);
}

.admin-link {
    background: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-left: 1rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.admin-link:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    padding: 0.5rem;
}

/* ===== HERO COMPONENT ===== */
.hero {
    position: relative;
    color: white;
    text-align: center;
    margin-top: 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.3), rgba(44, 62, 80, 0.5));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== SECTION COMPONENTS ===== */
.section {
    padding: 2rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 25%;
}

/* ===== SERVICE CARD COMPONENT ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-logo {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.4rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.service-actions {
    margin-top: 1.5rem;
}

/* ===== PRODUCT CARD COMPONENT ===== */
.products-section {
    background-color: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    background-color: var(--gray);
    background-size: cover;
    background-position: center;
}

.product-content {
    padding: 1.5rem;
}

.product-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.product-card p {
    margin-bottom: 1rem;
    color: #666;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ===== CLIENT LOGO COMPONENT ===== */
.clients-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Filter Controls */
.clients-filter {
    display: flex;
    gap: 20px;
    align-items: end;
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.reset-btn {
    padding: 12px 24px;
    background: var(--gray);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.reset-btn:hover {
    background: #4a5568;
    transform: translateY(-1px);
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Client Card - Split Layout */
.client-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    height: 120px;
    overflow: hidden;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Left Side - Logo (30%) */
.client-logo {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Logo Image - FULL COVER */
.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: grayscale(90%);
}

/* Placeholder - FULL COVER */
.client-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    padding: 0 10px;
}

/* Right Side - Content (70%) */
.client-info {
    width: 70%;
    display: flex;
    flex-direction: column;
    padding: 25px;
    justify-content: center;
}

.client-name {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.3;
}

.client-description {
    color: #718096;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Empty State */
.no-clients-message {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state svg {
    color: #cbd5e0;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--gray);
    line-height: 1.6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NEWS CARD COMPONENT ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    background-color: var(--gray);
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 1.5rem;
    line-height: 1.6;
}

.news-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.news-card p {
    margin-bottom: 1rem;
    color: #666;
}

.news-actions {
    margin-top: 1rem;
}

/* ===== CONTACT COMPONENT ===== */
.contact-section {
    background-color: var(--primary);
    color: white;
}

.contact-section .section-title h2 {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--secondary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

/* ===== NEWS DETAIL PAGE ===== */
.news-detail-container {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.news-detail-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
    z-index: 2;
}

.news-detail-meta {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.news-detail-title {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.news-main-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    width: 100%;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.news-detail-content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.news-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--primary);
    position: relative;
    z-index: 2;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 0;
}

.news-content:after {
    content: "";
    display: table;
    clear: both;
}

.news-detail-image {
    width: 100%;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.news-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.news-detail-image img:hover {
    transform: scale(1.02);
}

.news-detail-image figcaption {
    color: var(--gray);
    font-style: italic;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--secondary);
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #2980b9;
}

.news-meta {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.reading-time {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

/* News Content Typography */
.news-detail-content h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin: 2rem 0 1.5rem;
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.news-detail-content h2 {
    font-size: 2rem;
    color: #34495e;
    margin: 2.5rem 0 1rem;
    border-left: 4px solid var(--secondary);
    padding-left: 1rem;
}

.news-detail-content h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin: 2rem 0 1rem;
}

.news-detail-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.news-detail-content strong {
    color: var(--primary);
    font-weight: 600;
}

.news-detail-content em {
    color: var(--gray);
    font-style: italic;
}

.news-detail-content ul, 
.news-detail-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news-detail-content li {
    margin-bottom: 0.8rem;
    position: relative;
}

.news-detail-content ul li::before {
    content: '▸';
    color: var(--secondary);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.news-detail-content blockquote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 5px solid var(--secondary);
    font-style: italic;
    font-size: 1.2rem;
    position: relative;
}

.news-detail-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
    position: absolute;
    top: -1rem;
    left: 1rem;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;
}

.news-detail-content img:hover {
    transform: scale(1.02);
}

.news-detail-content figure {
    text-align: center;
    margin: 2rem 0;
}

.news-detail-content figcaption {
    color: var(--gray);
    font-style: italic;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Share Buttons */
.share-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
    border: 1px solid #e9ecef;
    position: relative;
    z-index: 1;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.share-btn.facebook {
    background: #3b5998;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Author Section */
.author-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: bold;
}

.back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 2rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.back-to-news:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* ===== FOOTER COMPONENT ===== */
footer {
    background-color: var(--dark);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    flex: 1;
    min-width: 200px;
}

.copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s, transform 0.3s;
    padding: 0.5rem 0;
}

.social-links a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

/* ===== UTILITY STYLES ===== */
.upload-notification {
    animation: slideInRight 0.3s ease-out;
}

.upload-notification-success {
    background: #d4edda !important;
    color: #155724 !important;
    border-color: #c3e6cb !important;
}

.upload-notification-error {
    background: #f8d7da !important;
    color: #721c24 !important;
    border-color: #f5c6cb !important;
}

.upload-notification-info {
    background: #fff3cd !important;
    color: #856404 !important;
    border-color: #ffeaa7 !important;
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-message {
    flex: 1;
    white-space: pre-line;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 10px;
    color: inherit;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.upload-progress {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    margin: 10px 0;
}

.upload-progress-bar {
    height: 100%;
    background: var(--secondary);
    transition: width 0.3s ease;
    width: 0%;
}

/* STYLE CONTACT message */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Honeypot field hidden */
input[name="website"] {
    display: none !important;
}

/* reCAPTCHA badge styling */
.grecaptcha-badge { 
    visibility: visible !important;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    /* Header Mobile */
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .mobile-menu {
        display: block;
    }
    
    nav {
        display: none;
        width: 100%;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 50vh;
        margin-top: 20;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Section Spacing Mobile */
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    /* Clients Mobile */
    .clients-section {
        padding: 3rem 0;
    }
    
    .clients-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 20px;
    }
    
    .client-card {
        height: 120px; /* Sedikit lebih pendek di tablet */
    }
    
    .client-info {
        padding: 20px;
    }
    
    .client-name {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .client-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .logo-text {
        font-size: 1.1rem;
        padding: 0 8px;
    }
}
    
    /* News Detail Mobile */
    .news-detail-container {
        margin: 80px auto 30px;
        padding: 0 15px;
    }
    
    .news-detail-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .news-detail-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .news-main-content {
        padding: 1.5rem;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    /* Section Spacing Mobile Small */
    .section {
        padding: 2rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    /* Clients Mobile Small */
        .clients-grid {
        grid-template-columns: 1fr; /* Satu kolom di mobile */
        gap: 15px;
    }
    
    .client-card {
        height: 140px; /* Lebih pendek di mobile */
        flex-direction: column; /* Ubah ke vertikal layout */
    }
    
    /* Mobile: Logo jadi header (100% width) */
    .client-logo {
        width: 100%;
        height: 80px; /* Fixed height untuk logo di mobile */
    }
    
    /* Mobile: Content jadi full width */
    .client-info {
        width: 100%;
        padding: 15px;
        justify-content: flex-start;
    }
    
    .client-name {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .client-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .logo-text {
        font-size: 1rem;
        padding: 0 5px;
    }
}

    
    /* News Detail Mobile Small */
    .news-detail-container {
        margin: 70px auto 20px;
        padding: 0 10px;
    }
    
    .news-detail-title {
        font-size: 1.4rem;
    }
    
    .news-main-content {
        padding: 1rem;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    /* Footer Mobile */
    footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}