/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #6989c4 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2rem;
}

/* Navigation Styles */
nav {
    display: inline-block;
    vertical-align: middle;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* CTA Button */
header button {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    float: right;
    margin: 0 2rem;
    transition: all 0.3s ease;
}

header button:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Typography */
h1 {
    color: #1e3c72;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 3px solid #ff6b35;
    padding-bottom: 0.5rem;
}

h2 {
    color: #2a5298;
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    border-left: 4px solid #ff6b35;
    padding-left: 1rem;
}

h3 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem 0;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Lists */
ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    margin: 1rem 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #e3f2fd;
}

/* Forms */
form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

fieldset {
    border: 2px solid #2a5298;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

legend {
    color: #1e3c72;
    font-weight: bold;
    padding: 0 1rem;
}

label {
    color: #1e3c72;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

input[type="text"], 
input[type="email"], 
input[type="tel"], 
select, 
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, 
select:focus, 
textarea:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42,82,152,0.1);
}

button[type="submit"], 
button[type="reset"] {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    margin: 0.5rem 0.5rem 0 0;
    transition: all 0.3s ease;
}

button[type="reset"] {
    background: #6c757d;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

footer a {
    color: #ff6b35;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Special Sections */
.highlight {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        text-align: center;
        padding: 1rem;
    }
    
    header img {
        display: block;
        margin: 0 auto 1rem auto;
    }
    
    nav ul {
        justify-content: center;
        gap: 1rem;
    }
    
    header button {
        float: none;
        margin: 1rem auto 0 auto;
        display: block;
    }
    
    main {
        margin: 1rem;
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    table {
        font-size: 0.875rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    nav a {
        display: block;
        text-align: center;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    table {
        font-size: 0.75rem;
    }
}