/* Reset CSS dan Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout Utama */
#wrap {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#header {
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Menu Navigasi */
#menu {
    background: #34495e;
    position: relative;
}

#menu > ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#menu > ul > li {
    position: relative;
}

#menu > ul > li > a {
    color: white;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s ease;
}

#menu > ul > li > a:hover {
    background: #2c3e50;
}

/* Submenu */
#menu ul ul {
    position: absolute;
    background: #2c3e50;
    top: 100%;
    left: 0;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

#menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
}

#menu ul ul li a {
    padding: 10px 15px;
    color: white;
    display: block;
    border-bottom: 1px solid #34495e;
}

#menu ul ul li a:hover {
    background: #34495e;
}

/* Layout Konten */
#left, #right {
    padding: 20px;
}

/* Sidebar Kiri */
#left {
    background: #ecf0f1;
    float: left;
    width: 25%;
}

#top-left, #midle-left, #bottom-left {
    margin-bottom: 30px;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#title {
    background: #3498db;
    color: white;
    padding: 10px 15px;
    margin: -15px -15px 15px -15px;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
	text-align:center;
}

#content-tl ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

#content-tl ul li:last-child {
    border-bottom: none;
}

#content-tl ul li a:hover {
    color: #3498db;
}

/* Konten Utama Kanan */
#right {
    float: right;
    width: 75%;
}

#top-right {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#top-right img {
    margin-right: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
}

#banner {
    background: #3498db;
    color: white;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Grid untuk bagian tengah kanan */
#center-right1 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

#left-mr1, #center-mr1, #right-mr1 {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#content-left-mr1 ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

#content-left-mr1 ul li:last-child {
    border-bottom: none;
}

#content-left-mr1 ul li a:hover {
    color: #3498db;
}

#right-mr1 ul li img {
    margin-right: 10px;
}

/* Bagian Bawah Kanan */
#bottom-r {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#left-bottom-r, #right-bottom-r {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

video {
    border-radius: 5px;
}

/* Footer */
#footer {
    clear: both;
    background: #2c3e50;
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#footer-left, #footer-center, #footer-right {
    flex: 1;
    min-width: 300px;
}

#content-ft ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

#content-ft ul li img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

#form input, #form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#form input[type="submit"] {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    width: auto;
    margin: 5px 0 0 0;
}

#form input[type="submit"]:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 992px) {
    #left, #right {
        width: 100%;
        float: none;
    }
    
    #menu > ul {
        flex-direction: column;
    }
    
    #menu ul ul {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    #menu ul li:hover > ul {
        display: block;
    }
}

@media (max-width: 768px) {
    #center-right1, #bottom-r {
        flex-direction: column;
    }
    
    #left-mr1, #center-mr1, #right-mr1, #left-bottom-r, #right-bottom-r {
        width: 100%;
    }
    
    #footer-left, #footer-center, #footer-right {
        min-width: 100%;
    }
}

/* Animasi dan Efek Hover */
#menu > ul > li > a span, 
#menu > ul > li > ul > li > a span {
    position: relative;
}

#menu > ul > li > a span:after, 
#menu > ul > li > ul > li > a span:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #3498db;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

#menu > ul > li > a:hover span:after, 
#menu > ul > li > ul > li > a:hover span:after {
    width: 100%;
}

/* Efek hover untuk card */
#top-left:hover, #midle-left:hover, #bottom-left:hover,
#top-right:hover, #left-mr1:hover, #center-mr1:hover,
#right-mr1:hover, #left-bottom-r:hover, #right-bottom-r:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/*===KONTAK===/
/* Global Styles */
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Contact Info Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-10px);
}

.info-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.info-card h3 {
  margin-bottom: 10px;
  color: var(--dark-color);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

.contact-form h2 {
  margin-bottom: 30px;
  color: var(--dark-color);
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
  width: 100%;
}

.submit-btn:hover {
  background: var(--secondary-color);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.success-icon {
  font-size: 4rem;
  color: #2ecc71;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 40px 0;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
}