/* assets/css/style.css */
:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --primary-orange: #f97316;
    --secondary-orange: #fb923c;
    --light-orange: #fdba74;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    background-color: white;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
}

.section-title p {
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Header Styles */
.top-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.top-header.hidden {
    opacity: 0;
    visibility: hidden;
    height: 0;
    padding: 0;
    overflow: hidden;
}
.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-contact-info {
    display: flex;
    gap: 20px;
}

.top-contact-info i {
    margin-right: 8px;
    color: var(--light-orange);
}

.top-social-links {
    display: flex;
    gap: 15px;
}

.top-social-links a {
    color: white;
    transition: color 0.3s;
}

.top-social-links a:hover {
    color: var(--light-orange);
}

.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Header saat di-scroll */
.main-header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Logo saat di-scroll */
.main-header.scrolled .logo h1 {
    font-size: 1.6rem;
}

/* Navigasi saat di-scroll */
.main-header.scrolled .nav-links a {
    padding: 8px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-blue);
}

.logo h1 span {
    color: var(--primary-orange);
}

.logo .tagline {
    font-size: 12px;
    color: var(--medium-gray);
    margin-left: 10px;
    font-weight: 500;
    border-left: 2px solid var(--light-blue);
    padding-left: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.nav-links a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
}

.hero-slide {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-slide .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Different background for each slide */
.slide-1 {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.slide-4 {
    background: linear-gradient(135deg, #1e40af 0%, #60a5fa 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Carousel Navigation */
.hero-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-dots .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .owl-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Slide indicators */
.slide-counter {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: white;
    font-size: 14px;
    opacity: 0.7;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 20px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    width: 100%;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 30px;
    text-align: center;
    width: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(30, 64, 175, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-blue);
    font-size: 32px;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 15px;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: white;
    width: 100%;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--medium-gray);
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    width: 100%;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 2px solid var(--light-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    width: 100%;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    transition: transform 0.3s;
    width: 100%;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
    width: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 20px;
    width: 100%;
}

.portfolio-info h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.portfolio-info p {
    color: var(--medium-gray);
    font-size: 14px;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background-color: white;
    width: 100%;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.testimonial-item {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 20px;
    width: 100%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--medium-gray);
    position: relative;
    padding-left: 30px;
}

.testimonial-text:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 60px;
    color: var(--light-blue);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.author-info p {
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    text-align: center;
    width: 100%;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: white;
    padding-top: 80px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    width: 100%;
}

.footer-column h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-orange);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0;
}

.footer-logo span {
    color: var(--primary-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1d5db;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #d1d5db;
}

.footer-contact i {
    color: var(--primary-orange);
    margin-right: 10px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 20px 0;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    width: 100%;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-link i {
    font-size: 32px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-blue);
}

.whatsapp-link:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    padding-top: 80px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    padding: 20px;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links a {
    display: block;
    padding: 12px 15px;
    font-weight: 600;
    color: var(--dark-gray);
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.mobile-nav-links a:hover {
    color: var(--primary-orange);
    padding-left: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-slide .container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .hero-slide {
        min-height: auto;
        padding: 80px 0;
        width: 100%;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .about-content {
        flex-direction: column;
        width: 100%;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    .whatsapp-link {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-link i {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
    
    .hero-slide {
        padding: 60px 0;
        width: 100%;
    }
    
    .carousel-prev,
    .carousel-next {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    
    .service-card {
        width: 100%;
        min-height: auto;
        padding: 25px 20px;
        margin-bottom: 0;
    }
    
    .services-section {
        padding: 60px 0;
        width: 100%;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    
    .portfolio-item {
        width: 100%;
    }
    
    .portfolio-section {
        padding: 60px 0;
    }
    
    .top-header .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    html, body {
        height: 100%;
        overflow-x: hidden;
        width: 100%;
    }
    
    body {
        min-height: 100%;
        position: relative;
        width: 100%;
    }
    
    .about-section, .testimonials-section, .cta-section {
        padding: 60px 0;
        width: 100%;
    }
    
    .testimonial-item {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .footer {
        padding-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-slide {
        padding: 50px 0;
    }
    
    .carousel-dots {
        bottom: 15px;
    }
    
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .filter-btn {
        width: 80%;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-link {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-link i {
        font-size: 24px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
}

/* Fix khusus untuk iOS Safari */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
    
    .whatsapp-float {
        bottom: env(safe-area-inset-bottom, 20px);
        right: calc(20px + env(safe-area-inset-right, 0px));
    }
}

/* Avatar placeholder untuk testimoni */
.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 100px; /* Ditempatkan di atas tombol WhatsApp */
    right: 30px;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.scroll-top-link:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.scroll-top-link i {
    font-size: 20px;
    color: white;
}

.scroll-top-tooltip {
    position: absolute;
    right: 60px;
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.scroll-top-tooltip:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-blue);
}

.scroll-top-link:hover .scroll-top-tooltip {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* Atur posisi WhatsApp button agar tidak bertabrakan */
.whatsapp-float {
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

/* Responsive untuk scroll top button */
@media (max-width: 768px) {
    .scroll-top {
        bottom: 90px;
        right: 20px;
    }
    
    .scroll-top-link {
        width: 45px;
        height: 45px;
    }
    
    .scroll-top-tooltip {
        display: none;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-top {
        bottom: 80px;
        right: 15px;
    }
    
    .scroll-top-link {
        width: 40px;
        height: 40px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
}