/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(to right, #007bff, #6c757d);
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.header .logo i {
    font-size: 2rem;
    margin-right: 10px;
}

.header .logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.navmenu ul {
    display: flex;
    list-style: none;
}

.navmenu ul li {
    margin-left: 20px;
}

.navmenu ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
}

.navmenu ul li a:hover, 
.navmenu ul li a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Page Title */
.page-title {
    background: linear-gradient(to bottom, #007bff, #00c6ff);
    color: white;
    padding: 80px 20px;
    text-align: center;
    font-style: italic; /* Tambahkan gaya miring */
}

.page-title .heading {
    margin-bottom: 20px;
    font-style: italic;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    font-style: italic;
}

.page-title p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.6;
    font-style: italic;
}

.page-title .cta-btn {
    background: #ff5722;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
    font-style: italic;
}

.page-title .cta-btn:hover {
    background: #e64a19;
}

/* Breadcrumbs (Override for Page Title) */
.page-title .breadcrumbs {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    font-style: italic;
}

.page-title .breadcrumbs ol li {
    color: #6c757d;
    font-style: italic;
}

.page-title .breadcrumbs ol li a {
    color: #007bff;
    font-style: italic;
}

.page-title .breadcrumbs ol li a:hover {
    color: #0056b3;
}

.page-title .breadcrumbs ol li.current {
    color: #333;
    font-weight: bold;
    font-style: italic;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    font-style: italic;
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    align-items: center;
    font-size: 1rem;
    font-style: italic;
}

.breadcrumbs ol li {
    color: #6c757d;
    font-style: italic;
}

.breadcrumbs ol li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s;
    font-style: italic;
}

.breadcrumbs ol li a:hover {
    color: #0056b3;
}

.breadcrumbs ol li.current {
    font-weight: bold;
    color: #333;
    font-style: italic;
}

.breadcrumbs ol li::after {
    content: '/';
    margin: 0 5px;
    color: #adb5bd;
}

.breadcrumbs ol li:last-child::after {
    content: '';
}

/* Form Styling */
.contact .php-email-form {
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact .php-email-form input, 
.contact .php-email-form textarea {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
    width: 100%;
    font-size: 1rem;
    color: #495057;
}

.contact .php-email-form input:focus, 
.contact .php-email-form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.contact .php-email-form button[type="submit"] {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact .php-email-form button[type="submit"]:hover {
    background-color: #0056b3;
}

.contact .loading, 
.contact .error-message, 
.contact .sent-message {
    display: none;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 10px;
    text-align: center;
}

.contact .loading {
    background: #f1f1f1;
    color: #6c757d;
}

.contact .error-message {
    background: #f8d7da;
    color: #721c24;
}

.contact .sent-message {
    background: #d4edda;
    color: #155724;
}

/* Button Hover Effect */
button:hover, 
input[type="submit"]:hover {
    background: linear-gradient(to right, #007bff, #6c757d);
    color: white;
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #007bff;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-title {
    color: #007bff;
    font-size: 1.25rem;
    font-weight: bold;
}

.card-text {
    color: #6c757d;
}

/* Footer */
.footer {
    background: #6c757d;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.footer .social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s, transform 0.2s;
}

.footer .social-links a:hover {
    color: #ffce00;
    transform: scale(1.2);
    transition: transform 0.3s, color 0.3s;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: #007bff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-top i {
    font-size: 24px;
    color: white;
    line-height: 0;
}

.scroll-top:hover {
    background-color: #0056b3;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

#preloader .line {
    width: 50px;
    height: 5px;
    background: #007bff;
    border-radius: 5px;
    animation: load 1s infinite, pulse 1.5s ease-in-out infinite;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .header .navmenu ul {
        display: block;
        text-align: center;
    }

    .contact .php-email-form {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .header {
        text-align: center;
    }

    .header .logo {
        justify-content: center;
    }

    .footer .social-links a {
        margin: 5px;
    }
}

@keyframes load {
    0% {
        transform: scaleX(0);
    }
    50% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        background-color: #007bff;
    }
    50% {
        transform: scale(1.2);
        background-color: #0056b3;
    }
    100% {
        transform: scale(1);
        background-color: #007bff;
    }
}
