:root {
    --primary-color: #E74C3C;
    --secondary-color: #3498DB;
    --accent-color: #F39C12;
    --dark-color: #1A252F;
    --light-color: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    --gradient-2: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
    --gradient-3: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 37, 47, 0.98) 0%, rgba(44, 62, 80, 0.95) 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset untuk fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.display-font {
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    border: none;
    color: white;
    border-radius: 50px;
    padding: 0.875rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #C0392B 0%, #E74C3C 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
    color: white;
}

.btn-secondary-custom {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    border: none;
    color: white;
    border-radius: 50px;
    padding: 0.875rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary-custom:hover {
    background: linear-gradient(135deg, #C0392B 0%, #E74C3C 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
    color: white;
}

.btn-primary-custom.btn-sm,
.btn-secondary-custom.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 30px;
}

.btn-primary-custom.btn-sm:hover,
.btn-secondary-custom.btn-sm:hover {
    transform: translateY(-2px);
}

/* Desktop (992px - 1400px) */
@media (min-width: 992px) and (max-width: 1400px) {
    .navbar-nav {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem;
    }
    
    .navbar .btn-primary-custom,
    .navbar .btn-secondary-custom,
    .navbar .btn-outline-danger {
        padding: 0.5rem 1.25rem !important;
        font-size: 0.75rem !important;
        border-radius: 50px !important;
        font-weight: 600 !important;
    }
    
    .navbar-nav .nav-item.ms-lg-3 {
        margin-left: 0.5rem !important;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar {
        padding: 0.625rem 0;
    }
    
    .navbar-brand img {
        height: 32px !important;
    }
    
    .logo-placeholder {
        font-size: 1.1rem !important;
    }
    
    .navbar-nav {
        gap: 0;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        text-align: left;
        margin: 0 !important;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
        width: 100%;
        display: block;
    }
    
    .navbar .btn-primary-custom,
    .navbar .btn-secondary-custom,
    .navbar .btn-outline-danger {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        margin: 0.25rem 0 !important;
        display: block !important;
        border-radius: 10px !important;
    }
    
    .navbar-nav .nav-item.ms-lg-3 {
        margin: 0.25rem 0 !important;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .skill-card {
        padding: 2rem 1.5rem;
    }
    
    .skill-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-icon-wrapper {
        width: 75px;
        height: 75px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 12px 30px;
        font-size: 1rem;
        border-radius: 40px;
    }
    
    .navbar-nav {
        gap: 0;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        text-align: left;
        margin: 0 !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0;
        border-radius: 10px;
        width: 100%;
        display: block;
        font-size: 1rem !important;
    }
    
    .navbar .btn-primary-custom,
    .navbar .btn-secondary-custom,
    .navbar .btn-outline-danger {
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0.25rem 0 !important;
        display: block !important;
        background: transparent !important;
        border: none !important;
        color: #333 !important;
        font-weight: 500 !important;
        border-radius: 10px !important;
        text-align: left !important;
        box-shadow: none !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
    }
    
    .navbar .btn-primary-custom:hover,
    .navbar .btn-secondary-custom:hover,
    .navbar .btn-outline-danger:hover {
        background: rgba(231, 76, 60, 0.1) !important;
        color: #E74C3C !important;
        transform: none !important;
    }
    
    .navbar .nav-item.ms-lg-3 {
        margin: 0.25rem 0 !important;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Mobile Small (< 576px) */
@media (max-width: 576px) {
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 10px 25px;
        font-size: 0.95rem;
        border-radius: 35px;
    }
    
    .navbar .btn-primary-custom,
    .navbar .btn-secondary-custom,
    .navbar .btn-outline-danger {
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        color: #333 !important;
        border-radius: 10px !important;
        text-align: left !important;
        box-shadow: none !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem !important;
    }
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 3.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, #E74C3C 0%, #C0392B 100%);
    border-radius: 10px;
}

@media (max-width: 992px) {
    .section-title h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2.3rem;
    }
    
    .section-title p.lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.9rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
}

.hero-section {
    background: linear-gradient(135deg, #1A252F 0%, #2C3E50 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    opacity: 0.03;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p.lead {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.8rem;
    }
    
    .hero-content h3 {
        font-size: 1.85rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h3 {
        font-size: 1.6rem;
    }
    
    .hero-content p.lead {
        font-size: 1.15rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p.lead {
        font-size: 1.05rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }
    
    .hero-content h3 {
        font-size: 1.2rem;
    }
    
    .hero-content p.lead {
        font-size: 1rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(60px);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background-color: var(--secondary-color);
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background-color: var(--accent-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.skill-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #E74C3C 0%, #C0392B 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

a:has(.skill-card) {
    color: inherit;
}

a:has(.skill-card) h3 {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

a:has(.skill-card):hover h3 {
    color: var(--primary-color);
}

.skill-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotateZ(5deg);
}

.skill-icon.design {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

.skill-icon.video {
    background: linear-gradient(135deg, #1ABC9C 0%, #16A085 100%);
}

.skill-icon.excel {
    background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
}

.skill-icon.web {
    background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
}

.skill-icon.event {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
}

@media (max-width: 768px) {
    .skill-card {
        padding: 2rem 1.5rem;
    }
    
    .skill-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .skill-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .skill-card {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1rem;
    }
    
    .skill-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .skill-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .skill-card p {
        font-size: 0.9rem;
    }
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: none;
    background: white;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.project-img {
    height: 250px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.star-rating {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -70px;
}

.carousel-control-next {
    right: -70px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Custom Carousel Navigation Buttons */
.skills-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 107, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.skills-carousel-control:hover {
    background: rgba(255, 107, 107, 0.25);
    border-color: rgba(255, 107, 107, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.skills-carousel-control i {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.skills-carousel-control:hover i {
    color: #ff5252;
}

.skills-carousel-control.prev {
    left: -80px;
}

.skills-carousel-control.next {
    right: -80px;
}

@media (max-width: 1200px) {
    .skills-carousel-control.prev {
        left: -15px;
    }
    
    .skills-carousel-control.next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .skills-carousel-control {
        width: 45px;
        height: 45px;
    }
    
    .skills-carousel-control i {
        font-size: 18px;
    }
    
    .skills-carousel-control.prev {
        left: 5px;
    }
    
    .skills-carousel-control.next {
        right: 5px;
    }
}

.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.carousel-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.carousel-control-icon i {
    font-size: 1.5rem;
    color: white;
}

@media (max-width: 1200px) {
    .carousel-control-prev {
        left: -30px;
    }
    
    .carousel-control-next {
        right: -30px;
    }
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: -10px;
    }
    
    .carousel-control-next {
        right: -10px;
    }
    
    .carousel-control-icon i {
        font-size: 1.2rem;
    }
}

.ebook-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.ebook-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.ebook-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.ebook-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ebook-card:hover .ebook-img img {
    transform: scale(1.05);
}

.ebook-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.contact-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 50%, #d5dde8 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: none;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #E74C3C 0%, #C0392B 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.location-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.contact-icon-wrapper {
    width: 85px;
    height: 85px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotateZ(5deg);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
}

/* Contact Form Card */
.contact-form-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), #e74c3c);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-form-card:hover::before {
    opacity: 1;
}

.contact-form-card:hover {
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    transform: translateY(-8px);
}

/* Decorative Pattern */
.contact-form-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: patternPulse 4s ease-in-out infinite;
}

@keyframes patternPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

/* Form Icon Wrapper */
.contact-form-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
    z-index: 3;
    position: relative;
    animation: iconFloat 3s ease-in-out infinite;
}

.icon-circle-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: 1;
    animation: circleRotate 8s linear infinite;
}

.icon-circle-middle {
    position: absolute;
    width: 85%;
    height: 85%;
    background: linear-gradient(225deg, var(--secondary-color), #e74c3c);
    border-radius: 50%;
    z-index: 2;
    animation: circleRotate 6s linear infinite reverse;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes circleRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Controls */
.contact-form-card .form-label {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-form-card .form-control {
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    border: 2px solid #e8ecf4;
    background: white;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-form-card .form-control:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.contact-form-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: white;
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.contact-form-card .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form-card .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.contact-form-card .btn:hover::before {
    width: 300px;
    height: 300px;
}

.contact-form-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

/* Button Responsive Styles */
/* Button Lihat Semua Portfolio */
.btn-portfolio-view {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Button Kirim Pesan */
.btn-contact-submit {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
}

/* Mobile Responsive untuk Buttons */
@media (max-width: 768px) {
    .btn-portfolio-view {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
        width: auto;
    }
    
    .btn-contact-submit {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .btn-portfolio-view {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }
    
    .btn-contact-submit {
        padding: 0.75rem 1.75rem;
        font-size: 0.9rem;
    }
}

/* Alert Styling */
.contact-form-card .alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.4s ease-out;
}

.contact-form-card .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.contact-form-card .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .contact-info-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-icon-wrapper {
        width: 75px;
        height: 75px;
    }
    
    .contact-form-icon-wrapper i {
        font-size: 2rem;
    }
    
    .contact-form-pattern {
        width: 200px;
        height: 200px;
    }
    
    .contact-icon-wrapper {
        width: 75px;
        height: 75px;
    }
    
    .location-card {
        padding: 1.25rem;
    }
    
    .contact-info-card h5 {
        font-size: 1.15rem;
    }
    
    .contact-info-card a {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .contact-info-card {
        padding: 1.75rem 1.25rem;
    }
    
    .contact-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .contact-icon-wrapper i {
        font-size: 2rem;
    }
    
    .contact-info-card h5 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem !important;
    }
    
    .contact-info-card p {
        font-size: 0.85rem;
    }
    
    .contact-info-card a {
        font-size: 0.9rem !important;
        word-break: break-all;
    }
    
    .location-card h5 {
        font-size: 1.1rem;
    }
    
    .location-card p {
        font-size: 0.85rem;
    }
    
    .map-container iframe {
        height: 200px;
    }
}

.contact-icon-wrapper i {
    color: white;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 1rem;
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
    padding: 0.5rem 0.625rem !important;
    margin: 0;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav {
    align-items: center;
    gap: 0.125rem;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item.ms-lg-3 {
    margin-left: 0.75rem !important;
}

.navbar .btn-primary-custom,
.navbar .btn-secondary-custom {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    margin: 0;
    border-radius: 30px;
}

.navbar .btn-outline-danger {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    margin: 0;
    border-radius: 30px;
    border-width: 2px;
    transition: all 0.3s ease;
}

.navbar .btn-outline-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.navbar .btn-primary-custom i,
.navbar .btn-secondary-custom i,
.navbar .btn-outline-danger i {
    font-size: 0.75rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
    height: 40px;
}

@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-brand img {
        height: 40px;
        max-width: 150px;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        gap: 0.25rem;
    }
    
    .nav-item {
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(231, 76, 60, 0.08);
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand img {
        height: 35px;
        max-width: 130px;
    }
}

.navbar {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.navbar-brand img {
    height: 36px !important;
    width: auto;
}

.logo-placeholder {
    font-size: 1.25rem !important;
    font-weight: 700;
}

.navbar-toggler {
    border: 2px solid rgba(231, 76, 60, 0.3);
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25);
    border-color: rgba(231, 76, 60, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(231, 76, 60, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar Navigation Items - Desktop */
.navbar-nav {
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: #E74C3C;
    background: rgba(231, 76, 60, 0.05);
}

/* Navbar Buttons - Desktop */
.navbar .btn-primary-custom,
.navbar .btn-secondary-custom,
.navbar .btn-outline-danger {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.85rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
}

.navbar-nav .nav-item.ms-lg-3 {
    margin-left: 1rem !important;
}

/* Logo Styles */
.navbar-brand img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-placeholder {
    display: inline-flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-placeholder i {
    -webkit-text-fill-color: #667eea;
    color: #667eea;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--secondary-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
