@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    /* Primary Colors */
    --primary-blue: #1e40af;
    --primary-orange: #f97316;
    --light-blue: #dbeafe;
    --light-orange: #fed7aa;

    /* Secondary Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Success & Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    --gradient-orange: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --gradient-blue-light: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
    --gradient-orange-light: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(234, 88, 12, 0.1) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1rem;

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    color: var(--dark-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== HERO SECTION ===== */
#hero {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9) 0%, rgba(0, 86, 179, 0.9) 100%),
        url("../../assets/image/header.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    opacity: 0.9;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-buttons a,
.cta-buttons a {
    position: relative;
    z-index: 5;
    pointer-events: auto;
    text-decoration: none;
    cursor: pointer;
}

.text-gradient {
    background: linear-gradient(135deg, #ffd700 0%, #ff8800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-welcome-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pulse-btn {
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.pulse-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid var(--white);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
    transition: var(--transition-normal);
}


@keyframes scroll-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(-45deg);
    }

    40% {
        transform: translateY(-10px) rotate(-45deg);
    }

    60% {
        transform: translateY(-5px) rotate(-45deg);
    }
}

.badge {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
}

/* ===== PROFILE IMAGE ===== */
.profile-image-wrapper {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: var(--shadow-heavy);
    position: relative;
    z-index: 2;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.1;
}

/* ===== STATS ROW ===== */
.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* ===== IMAGE WRAPPER ===== */
.image-wrapper {
    position: relative;
    display: inline-block;
}

.main-image {
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.floating-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* ===== VALUES SECTION ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.value-title {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
    margin: 0;
}

/* ===== ABOUT SECTION ===== */
.about-image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.floating-welcome-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    border: 1px solid var(--gray-200);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.875rem;
}

.text-orange {
    color: var(--primary-orange);
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
}

.cta-buttons {
    margin-top: 2rem;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-orange);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-orange);
    border: 2px solid var(--light-orange);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== OUTSOURCING SECTION ===== */
.outsourcing-list {
    max-width: 500px;
}

.outsourcing-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.outsourcing-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.item-number {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.item-content h5 {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

/* ===== FEATURES SECTION ===== */
.feature-image-wrapper {
    position: relative;
}

.main-feature-image {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.floating-success-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.success-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.success-icon {
    font-size: 1.5rem;
}

.success-text h6 {
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    font-size: 1rem;
}

.success-text small {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-welcome-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.feature-welcome-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
}

.feature-icon.bg-blue {
    background: var(--gradient-blue);
}

.feature-icon.bg-orange {
    background: var(--gradient-orange);
}

.feature-content h5 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 50px;
    padding: 0.75rem 1rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    max-width: 90%;
    box-sizing: border-box;
    overflow: hidden;
}

.wa-float:hover {
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
}

.wa-content {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wa-content i {
    font-size: 1.2rem;
}

.wa-content span {
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary-orange {
    background: var(--gradient-orange);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary-orange:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

.btn-primary-blue {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary-blue:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-orange);
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-orange);
    transform: translateY(-2px);
}

/* ===== NAVBAR IMPROVEMENTS ===== */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
    z-index: 1030;
    width: 100vw !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

.navbar-transparent {
    background: transparent !important;
}

.nav-item .nav-link {
    font-size: 18px;
    margin-left: 5px;
    margin-right: 5px;
}

.navbar-nav .nav-link {
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
}

/* Navbar text colors for different states */
.navbar-transparent .navbar-nav .nav-link {
    color: white !important;
}

.scroll-nav-active .navbar-nav .nav-link {
    color: var(--gray-800) !important;
}

.scroll-nav-active .navbar-brand img {
    filter: none;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-orange);
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
    left: 10%;
}

.link-hover-navbar {
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.link-hover-navbar:hover {
    color: var(--primary-color) !important;
    transform: scale(1.05);
}

.link-hover-navbar::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.link-hover-navbar:hover::after {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: #0056b3;
    font-weight: bold;
}

.scroll-nav-active {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.text-nav-active {
    color: black;
}

/* Navbar toggler for mobile */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-transparent .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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.scroll-nav-active .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%2833, 37, 41, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== DROPDOWN ARROWS ===== */
.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.submenu-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: auto;
}

/* Remove Bootstrap default dropdown arrow but keep custom ones */
.dropdown-toggle::after {
    display: none;
}

/* ===== DROPDOWN IMPROVEMENTS ===== */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    min-width: 220px;
    background: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-weight: 500;
    color: var(--dark-color);
    border-radius: 0;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.dropdown-item:focus {
    background: var(--primary-color);
    color: white;
}

/* ===== DROPDOWN SUBMENU STYLES ===== */
.dropdown-submenu {
    position: relative;
}

.submenu-toggle {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 0;
    width: 100%;
    border: none;
    background: none;
}

.submenu-toggle:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Mobile Styles */
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--light-color);
    margin: 0;
    list-style: none;
    padding: 0;
}

.submenu.show {
    max-height: 300px;
    padding: 0.5rem 0;
}

.submenu-item {
    padding: 0.5rem 2rem !important;
    font-size: 0.9rem !important;
    background: transparent !important;
    color: var(--dark-color) !important;
    transition: var(--transition);
    display: block;
    text-decoration: none;
}

.submenu-item:hover {
    background: var(--primary-color) !important;
    color: white !important;
    padding-left: 2.5rem !important;
}

/* Desktop Styles */
@media (min-width: 992px) {
    .dropdown-menu {
        position: absolute;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown-menu.show {
        display: block;
        animation: fadeInDown 0.3s ease;
    }

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu .submenu {
        position: absolute;
        left: 100%;
        top: 0;
        margin-top: 0;
        border-radius: var(--border-radius);
        background: white;
        padding: 0.5rem 0;
        min-width: 200px;
        z-index: 1000;
        box-shadow: var(--shadow-medium);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateX(10px);
        max-height: none !important;
        overflow: visible !important;
        border: 1px solid rgba(0, 0, 0, 0.08);
        list-style: none;
        display: none;
    }

    .dropdown-submenu .submenu.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        display: block;
    }

    .submenu-toggle {
        pointer-events: auto;
    }

    .submenu-item {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.95rem !important;
        background: transparent !important;
        color: var(--dark-color) !important;
    }

    .submenu-item:hover {
        background: var(--primary-color) !important;
        color: white !important;
        padding-left: 1.5rem !important;
        transform: translateX(5px);
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
    }

    .dropdown-submenu:hover .submenu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }

    .nav-item.dropdown:hover .dropdown-arrow {
        transform: rotate(180deg) !important;
    }

    .dropdown-submenu:hover .submenu-arrow {
        transform: rotate(90deg) !important;
    }
}

/* ===== NAVBAR BRAND ===== */
.navbar-brand {
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    transition: var(--transition);
    border-radius: 8px;
}

.scroll-nav-active .navbar-brand span {
    color: var(--dark-color) !important;
}

.nav-link.active {
    font-weight: bold;
    color: #ff9100; /* Atau warna sesuai tema kamu */
}


/* ===== ENHANCED FOOTER STYLES ===== */
#footer {
    background: linear-gradient(135deg, #d3d3d3 0%, #d4d4d4 100%);
    border-top: 3px solid var(--primary-color);
}

.footer-section {
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.footer-nav .nav-link {
    transition: var(--transition);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.footer-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.footer-nav .nav-link i {
    font-size: 0.9rem;
    width: 20px;
    transition: var(--transition);
}

.footer-nav .nav-link:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.social-links {
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    color: white;
    font-size: 1.2rem;
}

.social-link.facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
}

.social-link.tiktok {
    background: linear-gradient(135deg, #030303 0%, #333333 100%);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-item {
    padding: 0.75rem;
    background: rgba(0, 123, 255, 0.03);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(0, 123, 255, 0.08);
    transform: translateX(5px);
}

.contact-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1rem;
}

.footer-bottom-links a {
    font-size: 0.9rem;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

.footer-logo {
    transition: var(--transition);
    border-radius: 4px;
}

.footer-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Animation enhancements */
.footer-section {
    opacity: 0;
    transform: translateY(30px);
}

.footer-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

hr {
    border-top: 2px solid rgba(0, 123, 255, 0.1);
    opacity: 1;
}

/* ===== CARDS & IMAGES ===== */
.scroll-wrapper {
    scroll-behavior: smooth;
}

.card {
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.img-fixed {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.img-fixed:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.avatar {
    vertical-align: middle;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (min-width: 380px) {
    .hero-text {
        font-size: 35px;
        font-weight: 600;
    }

    .scroll-nav-active {
        background-color: white;
        box-shadow: 1px 1px 11px -1px rgba(1, 1, 1, 0.08);
    }
}

@media screen and (min-width: 450px) {
    .hero-text {
        font-size: 35px;
        font-weight: 600;
    }

    .scroll-nav-active {
        background-color: white;
        box-shadow: 1px 1px 11px -1px rgba(1, 1, 1, 0.08);
    }
}

@media screen and (min-width: 550px) {
    .hero-text {
        font-size: 35px;
        font-weight: 600;
    }

    .scroll-nav-active {
        background-color: white;
        box-shadow: 1px 1px 11px -1px rgba(1, 1, 1, 0.08);
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .custom-carousel-indicators {
        margin-bottom: 1rem;
    }
}

@media screen and (min-width: 800px) {
    .hero-text {
        font-size: 65px;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        text-align: left;
    }

    .profile-image {
        width: 280px;
        height: 280px;
    }

    .carousel-container {
        padding: 0 20px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .feature-card {
        padding: 1rem;
    }

    .value-card {
        height: 150px;
        padding: 1.5rem 0.75rem;
    }

    .wa-float {
        right: 1rem;
        bottom: 1rem;
        padding: 0.6rem 0.9rem;
        max-width: 85%;
    }

    .wa-content {
        gap: 0.4rem;
    }

    .wa-content i {
        font-size: 1.3rem;
    }

    .wa-content span {
        font-size: 0.85rem;
        display: inline-block;
    }

    .footer-section {
        margin-bottom: 1rem;
    }

    .social-links .d-flex {
        justify-content: center;
    }

    .footer-bottom-links {
        text-align: center;
        margin-top: 1rem;
    }

    .footer-bottom-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Very small mobile screens */
@media (max-width: 480px) {
    .wa-float {
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .wa-content span {
        display: none; /* ❗ Hanya tampilkan ikon agar tidak terlalu lebar */
    }

    .wa-content i {
        font-size: 1.2rem;
    }
}

/* Ensure only one submenu opens at a time on mobile */
@media (max-width: 991px) {
    .submenu {
        transition: max-height 0.3s ease;
    }

    .submenu:not(.show) {
        max-height: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }

    .dropdown-arrow {
        font-size: 0.7rem;
        margin-left: 0.3rem;
    }

    .submenu-arrow {
        font-size: 0.7rem;
    }

    .navbar-nav {
        flex-wrap: wrap !important;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .navbar-collapse {
        padding: 1rem;
        overflow-x: hidden;
    }

    .nav-link {
        white-space: normal !important;
    }
}


/* ===== UTILITY CLASSES ===== */
.section-padding {
    padding: var(--section-padding);
}

.text-gradient-orange {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.bg-gradient-blue {
    background: var(--gradient-blue);
}

.bg-gradient-orange {
    background: var(--gradient-orange);
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.me-3 {
    margin-right: 1rem;
}

.bg-light {
    background-color: var(--gray-50) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-service-description {
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #333;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-orange-light);
    color: var(--primary-orange);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--light-orange);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.text-center .section-description {
    margin: 0 auto;
}


/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out;
}


/* ===== ENHANCED FORM STYLING ===== */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* ===== ENHANCED TABLE STYLING ===== */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead th {
    border-bottom: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-arrow {
        animation: none;
    }

    .pulse-btn {
        animation: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .btn,
    .sticky-top,
    .wa-float {
        display: none !important;
    }

    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-orange);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}


/* ============ FINAL GLOBAL OVERFLOW FIX ============ */

/* Global fix */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix AOS animation causing overflow */
[data-aos] {
    backface-visibility: hidden;
    will-change: transform, opacity;
    transform: translateZ(0);
}
