:root {
    --primary-color: #607D8B;
    --secondary-color: #ECEFF1;
    --accent-color: #B79F8C; 
    --text-dark: #424242; 
    --text-light: #F5F5F5; 
    --border-color: #CFD8DC; 
    --form-bg: #FAFAFA; 
    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color); 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

section:nth-of-type(even) {
    background-color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; }
h3 { font-size: 2em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.2em; }

p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color var(--transition-speed), transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 10px;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #E8F5E9;
    color: #388E3C;
    border: 1px solid #C8E6C9;
}

.form-message.error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.header {
    background-color: var(--text-light);
    color: var(--primary-color);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.main-nav .nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: var(--primary-color);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu .submenu {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    left: 0;
    padding: 10px 0;
    border-radius: 5px;
    top: calc(100% + 10px);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
}

@media (min-width: 769px) {
    .nav-menu li.has-submenu:hover > .submenu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu .submenu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


.nav-menu .submenu li {
    width: 100%;
    text-align: left;
    white-space: nowrap;
}

.nav-menu .submenu a {
    color: var(--text-light);
    padding: 10px 20px;
    display: block;
    font-weight: 400;
}

.nav-menu .submenu a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.nav-menu .submenu a::after {
    display: none;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #78909C 100%);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero .name {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text-light);
    animation: slideInLeft 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.introduce-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.introduce {
    font-size: 3.5em;
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 15px;
    margin-bottom: 0;
    animation: slideInRight 1s ease-out 0.7s forwards;
    opacity: 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profession-changer {
    font-size: 3.5em;
    font-weight: 700;
    color: var(--text-light);
    min-height: 1.2em;
    display: inline-block;
    text-align: left;
    animation: fadeIn 1s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#profession-text {
    border-right: .08em solid var(--accent-color);
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    font-family: 'Playfair Display', serif;
}

.social-links {
    margin-top: 30px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-light); 
    font-size: 1.8em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1); 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color var(--transition-speed), transform 0.2s ease, color var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--accent-color); 
    color: var(--primary-color); 
    transform: translateY(-5px);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}


.about {
    background-color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.about h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5em;
}

.about-intro {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.about p {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-section-grid {
    display: block;
    gap: 40px;
    margin-top: 50px;
}

.about-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.about-card:last-child {
    margin-bottom: 0;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.about-card h4 {
    color: var(--accent-color);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.about-card h4::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.about-card h5 { 
    color: var(--primary-color); 
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.3em;
}

.timeline {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--border-color);
}

.timeline li {
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
}

.timeline li:last-child {
    margin-bottom: 0;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 5px;
    width: 18px;
    height: 18px;
    background-color: var(--primary-color); 
    border-radius: 50%;
    border: 3px solid var(--accent-color); 
    box-shadow: 0 0 0 3px var(--text-light); 
}

.timeline li strong {
    color: var(--primary-color); 
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.timeline li span {
    display: block;
    font-size: 0.9em;
    color: #757575; 
    margin-bottom: 10px;
}

.timeline li p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-dark); 
    margin-bottom: 0;
}

.timeline li ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}
.timeline li ul li {
    margin-bottom: 5px;
    padding-left: 0;
}
.timeline li ul li::before {
    display: none;
}
.timeline li ul li::marker {
    color: var(--accent-color); 
}

.jenis-publikasi {
    font-style: italic;
    font-size: 0.9em;
    color: #757575; 
    margin-top: -10px;
    margin-bottom: 10px;
}

.certification {
    margin-top: 30px;
    font-size: 20px;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.certificates h3 { 
    margin-bottom: 40px; 
}

.certificate-item {
    background-color: #fff; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.certificate-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color); 
}

.certificate-item p {
    font-size: 1em;
    font-weight: 600;
    color: var(--primary-color); 
    padding: 15px 10px 5px;
    margin-bottom: 0;
}

.certificate-item span {
    display: block;
    font-size: 0.85em;
    color: #757575; 
    padding-bottom: 15px;
}

.lightbox-modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.9); 
    justify-content: center;
    align-items: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


.services {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.services h3 {
    color: var(--primary-color);
    margin-bottom: 50px;
    font-size: 2.5em;
}

.skills-overview {
    margin-bottom: 80px;
}

.skills-overview h4, .service-offerings h4 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}
.skills-overview h4::after, .service-offerings h4::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color); 
    border-radius: 5px;
}


.skill-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category-item {
    background-color: #fff; 
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.skill-category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.skill-category-item i {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.skill-category-item h5 {
    color: var(--primary-color); 
    margin-bottom: 20px;
    text-align: center;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 1em;
    color: var(--text-dark);
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-level {
    font-size: 0.9em;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.skill-level.advanced {
    background-color: #DCE775;
    color: #616161;
}

.skill-level.intermediate {
    background-color: #FFECB3;
    color: #B79F8C;
}

.skill-level.beginner {
    background-color: #FFCDD2;
    color: #C62828;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.service-item h5 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-item h5 i {
    font-size: 1.2em;
    color: var(--primary-color);
}

.service-item ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    flex-grow: 1;
}

.service-item ul li {
    padding: 5px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 25px;
}

.service-item ul li::before {
    content: '\2022';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
    top: 5px;
}

.projects {
    background-color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.projects h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5em;
}

.projects p {
    font-size: 1.1em;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.project-item .project-icon {
    font-size: 3.5em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.project-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-item p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-detail-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.project-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.project-detail-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-detail-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4em;
}

.project-detail-item p {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 15px;
    flex-grow: 1;
}

.project-detail-item .project-links a {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: background-color var(--transition-speed);
}

.project-detail-item .project-links a:hover {
    background-color: var(--primary-color);
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f1f1f1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.back-to-projects {
    margin-top: 60px;
    font-size: 1.1em;
    font-weight: 600;
}

.back-to-projects i {
    margin-right: 8px;
}

.role-description-card {
    background-color: var(--text-light);
    padding: 40px;
    margin: 30px auto 50px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    text-align: left;
    color: var(--text-dark);
}

.role-description-card h4 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.role-description-card h4::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 5px;
}

.role-description-card p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.role-description-card p:last-of-type {
    margin-bottom: 0;
}

.role-details {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.role-details p {
    margin-bottom: 5px;
    font-size: 1em;
}

.role-details strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .role-description-card {
        padding: 30px 20px;
        margin: 20px auto 40px auto;
    }
    .role-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .role-description-card h4 {
        font-size: 1.5em;
    }
    .role-description-card p {
        font-size: 1em;
    }
}

.testimonials {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.testimonials h3 {
    color: var(--accent-color);
    margin-bottom: 50px;
    font-size: 2.5em;
}

.testimonial-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
  height: auto;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

#testimonial-slider-container {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.testimonial-item {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 30px;
  white-space: normal;
  word-wrap: break-word;
  background-color: var(--text-light);
  border: 2px solid var(--accent-color);
  border-radius: 10px;
  padding: 30px 20px;
  margin: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-item blockquote {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-dark);
    flex-grow: 1;
    word-break: break-word;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-item cite {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: auto !important;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

.loading-message {
    font-size: 1.2em;
    color: var(--text-light);
    text-align: center;
    padding: 50px;
}

.slider-controls {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.slider-controls button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color var(--transition-speed), transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-controls button:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.testimonial-form-section {
    background-color: var(--text-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 60px auto 0 auto;
    text-align: center;
    color: var(--text-dark);
}

.testimonial-form-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8em;
}

.testimonial-form-section p {
    font-size: 1em;
    margin-bottom: 30px;
}

#testimonial-form input,
#testimonial-form textarea {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    color: var(--text-dark);
    background-color: var(--form-bg);
}

#testimonial-form textarea {
    resize: vertical;
    min-height: 100px;
}

#testimonial-form button {
    width: auto;
    padding: 12px 30px;
}

.contact {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.contact h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5em;
}

.contact p {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
    color: var(--primary-color);
    font-weight: 600;
    transition: color var(--transition-speed), transform 0.2s ease;
}

.contact-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.contact-link i {
    font-size: 1.4em;
    color: var(--accent-color);
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

#contact-form-main input,
#contact-form-main textarea {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    color: var(--text-dark);
    background-color: var(--form-bg);
}

#contact-form-main textarea {
    resize: vertical;
    min-height: 150px;
}

#contact-form-main button {
    width: auto;
    padding: 12px 30px;
}

.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 20px;
    }
    .hero .introduce, .profession-changer {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .main-nav .nav-toggle {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
        display: none;
        text-align: center;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-menu a {
        color: var(--text-light);
        display: block;
        padding: 10px 0;
    }

    .nav-menu a::after {
        background-color: var(--accent-color);
        width: 60%;
        left: 20%;
    }
    
/* MOBILE NAVIGATION */
    .nav-menu .submenu {
        position: static; 
        background-color: #546E7A; 
        box-shadow: none;
        border-radius: 0;
        padding: 5px 0;
        margin-top: 10px;

        display: none;
        max-height: 0; 
        overflow: hidden; 
        opacity: 0; 
        transform: translateY(10px); 
        transition: max-height var(--transition-speed), opacity var(--transition-speed), transform var(--transition-speed);
    }

    .nav-menu .submenu.active {
        display: block; 
        max-height: 500px; 
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu .submenu a {
        padding: 8px 0 8px 40px; 
        color: var(--text-light); 
        display: block; 
    }
    .nav-menu .submenu a:hover {
        background-color: var(--accent-color); 
        color: var(--primary-color); 
    }


    .hero {
        min-height: auto;
        padding: 80px 20px;
    }

    .hero .introduce, .profession-changer {
        font-size: 2.5em;
    }

    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.8em; }
    h4 { font-size: 1.3em; }

    section {
        padding: 60px 0;
    }

    .about p {
        padding: 0 15px;
    }

    .certificates-grid,
    .skill-categories-grid,
    .service-grid,
    .project-grid,
    .project-detail-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-item {
        padding: 30px;
    }

    .testimonial-item blockquote {
        font-size: 1em;
    }

    .contact-form-wrapper, .testimonial-form-section {
        padding: 30px 20px;
    }
    #contact-form-main input,
    #contact-form-main textarea,
    #testimonial-form input,
    #testimonial-form textarea {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .hero .introduce, .profession-changer {
        font-size: 2em;
        margin-right: 10px;
    }
    .hero .introduce {
        width: auto;
        text-align: center;
    }

    .introduce-wrapper {
        flex-direction: column;
        margin-bottom: 20px;
    }
    .introduce {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .profession-changer {
        text-align: center;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .btn {
        width: 80%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    .social-links a {
        font-size: 1.5em;
        width: 40px;
        height: 40px;
    }
}

/* Projects Desain */
.role-description-card {
    background-color: var(--light-bg-color);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.role-description-card h4 {
    color: var(--primary-color);
    margin-top: 0;
}

.role-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.role-details p {
    margin: 0;
}

.role-details p strong {
    color: var(--dark-text-color);
}

.project-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-detail-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.project-detail-item:hover {
    transform: translateY(-5px);
}

.project-slideshow {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    margin: auto;
}

.mySlides {
    display: none;
    text-align: center;
}

.mySlides img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.project-links {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-speed);
}

.project-links a:hover {
    color: var(--accent-color);
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-modal .lightbox-image {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-modal .lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .role-details {
        grid-template-columns: 1fr;
    }
}