/* ====================
   ROOT VARIABLES
   ==================== */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #e63946;
    --accent-color: #0077b6;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --light-text: #6c757d;
    
}

/* ====================
   BASE STYLES
   ==================== */
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
    padding-top: 70px !important; /* Untuk fixed navbar */
}

/* ====================
   NAVBAR STYLES (KONSOLIDASI)
   ==================== */

/* 1. NAVBAR BASE */
.navbar {
    background-color: white !important;
    border-bottom: none !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

/* 2. NAVBAR BRAND */
.navbar-brand {
    padding: 0;
    margin-right: 30px;
}

.navbar-brand span {
    font-size: 1.4rem;
}

/* 3. NAV LINKS BASE */
.navbar-nav .nav-link {
    color: #1d3557 !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 2px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none !important;
    outline: none !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #e63946 !important;
    background-color: rgba(230, 57, 70, 0.1) !important;
    border: none !important;
}

.navbar-nav .nav-link.active {
    font-weight: 600;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* 4. NAVBAR ICONS */
.navbar-nav .nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 5px;
    opacity: 0.8;
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-link.active i {
    opacity: 1;
    color: var(--secondary-color);
}

/* 5. DROPDOWN TOGGLE */
.navbar-nav .dropdown-toggle {
    position: relative;
    padding-right: 30px !important;
}

/* Custom Dropdown Arrow */
.navbar-nav .dropdown-toggle::after {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    border: none !important;
    content: "▼" !important;
    font-size: 10px;
    color: currentColor;
}

.navbar-nav .dropdown-toggle.show::after {
    transform: translateY(-50%) rotate(180deg);
}

/* 6. DROPDOWN MENU */
.navbar-nav .dropdown-menu {
    background-color: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 220px;
    opacity: 0;
    transform: translateY(10px);
    animation: dropdownFadeIn 0.3s ease forwards;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

@keyframes dropdownFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.show {
    animation: dropdownSlideDown 0.3s ease;
}

@keyframes dropdownSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 7. DROPDOWN ITEMS */
.navbar-nav .dropdown-item {
    padding: 10px 20px;
    color: var(--dark-text);
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    border-left: 3px solid transparent;
    margin: 2px 0;
    border: none !important;
    outline: none !important;
    overflow: hidden;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: rgba(230, 57, 70, 0.08);
    color: var(--secondary-color);
    padding-left: 25px;
    border-left-color: var(--secondary-color);
    border: none !important;
    outline: none !important;
}

.navbar-nav .dropdown-item.active {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--secondary-color);
    font-weight: 600;
    border-left-color: var(--secondary-color);
}

/* Dropdown Icons */
.navbar-nav .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: var(--light-text);
    transition: color 0.2s ease;
}

.navbar-nav .dropdown-item:hover i,
.navbar-nav .dropdown-item.active i {
    color: var(--secondary-color);
}

/* 8. DROPDOWN STRUCTURAL ELEMENTS */
.navbar-nav .dropdown-divider {
    margin: 10px 20px;
    border-color: rgba(0, 0, 0, 0.08);
}

.navbar-nav .dropdown-header {
    padding: 8px 20px;
    color: var(--light-text);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 9. NAVBAR TOGGLER */
.navbar-toggler {
    border: none !important;
    padding: 8px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.25) !important;
    outline: none !important;
    border: none !important;
}

.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, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 10. NAVBAR CTA BUTTON */
.navbar .btn-danger {
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    background-color: var(--secondary-color);
    color: white;
}

.navbar .btn-danger:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* 11. HOVER EFFECT FOR DESKTOP DROPDOWN */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================
   RESPONSIVE NAVBAR
   ==================== */

/* MOBILE VIEW */
@media (max-width: 991px) {
    /* Navbar Collapse */
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        padding: 10px 0;
    }
    
    .nav-item {
        margin-bottom: 5px;
    }
    
    .nav-link {
        padding: 12px 15px !important;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(230, 57, 70, 0.1);
    }
    
    /* Mobile Dropdown */
    .navbar-nav .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.02) !important;
        box-shadow: none !important;
        border-left: 2px solid rgba(230, 57, 70, 0.2) !important;
        border: none;
        padding-left: 20px;
        margin-top: 0;
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .navbar-nav .dropdown-item {
        padding: 8px 15px;
        margin: 0;
        border-left: none;
        border-radius: 8px;
    }
    
    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        padding-left: 20px;
        border-left: none;
    }
    
    .navbar-nav .dropdown-divider {
        margin: 8px 15px;
    }
    
    .navbar-nav .dropdown-toggle::after {
        right: 0;
    }
    
    /* Mobile CTA Button */
    .navbar .btn-danger {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}

/* TABLET OPTIMIZATION */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-nav {
        display: flex;
        flex-wrap: wrap;
    }
    
    .nav-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ====================
   HERO SECTION
   ==================== */

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons .btn {
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Stats */
.hero-stats {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3rem 0;
    margin-top: auto;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.scroll-link {
    color: white;
    font-size: 2rem;
    display: inline-block;
    animation: bounce 2s infinite;
    transition: color 0.3s;
}

.scroll-link:hover {
    color: var(--secondary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 120px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.video-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-control-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ====================
   SECTION STYLES
   ==================== */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 5px;
    background-color: var(--secondary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-padding {
    padding: 120px 0;
}

/* ====================
   SERVICE SECTION
   ==================== */

/* Service Card */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-features .badge {
    font-weight: 500;
    padding: 0.5rem 0.8rem;
}

/* Service Arrow Link */
.service-arrow-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--light-text);
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-arrow-link:hover {
    color: var(--secondary-color);
    border-top-color: rgba(230, 57, 70, 0.2);
}

.service-arrow-link:hover .service-arrow {
    transform: translateX(5px);
    background-color: var(--secondary-color);
    color: white;
}

.service-arrow-link:hover .service-link-text {
    color: var(--secondary-color);
}

.service-arrow {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: var(--light-text);
    font-size: 0.9rem;
}

.service-link-text {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Arrow Animation */
@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

.service-arrow-link:hover .service-arrow i {
    animation: arrowBounce 0.6s ease;
}

/* ====================
   CLIENT LOGOS
   ==================== */
.client-logo {
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.client-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.client-logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Logo Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-logo {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

/* Staggered animation delays */
.client-logo:nth-child(1) { animation-delay: 0.1s; }
.client-logo:nth-child(2) { animation-delay: 0.2s; }
.client-logo:nth-child(3) { animation-delay: 0.3s; }
.client-logo:nth-child(4) { animation-delay: 0.4s; }
.client-logo:nth-child(5) { animation-delay: 0.5s; }
.client-logo:nth-child(6) { animation-delay: 0.6s; }
.client-logo:nth-child(7) { animation-delay: 0.7s; }
.client-logo:nth-child(8) { animation-delay: 0.8s; }
.client-logo:nth-child(9) { animation-delay: 0.9s; }
.client-logo:nth-child(10) { animation-delay: 1.0s; }
.client-logo:nth-child(11) { animation-delay: 1.1s; }
.client-logo:nth-child(12) { animation-delay: 1.2s; }
.client-logo:nth-child(13) { animation-delay: 1.3s; }
.client-logo:nth-child(14) { animation-delay: 1.4s; }

/* ====================
   TESTIMONIALS
   ==================== */
.testimonial-card {
    border: none;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    height: 100%;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.testimonial-rating {
    color: #ffc107;
}

.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--light-bg);
}

/* ====================
   TEAM SECTION
   ==================== */
.team-member {
    text-align: center;
    margin-bottom: 3rem;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.team-member:hover {
    background-color: rgba(230, 57, 70, 0.05);
    transform: translateY(-5px);
}

.team-photo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.team-photo:hover {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.team-photo-container:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s;
}

.team-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.team-description {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 250px;
    margin: 0 auto;
}

/* Team Summary */
.team-summary {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stat-box {
    padding: 15px;
}

.stat-number-team {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label-team {
    font-size: 0.9rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ====================
   CONTACT FORM
   ==================== */
.contact-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 119, 182, 0.25);
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form .form-control.is-valid {
    border-color: #198754;
}

.contact-form .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    padding: 15px 20px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
}

.alert-warning {
    background-color: #fff3cd;
    color: #664d03;
    border-color: #ffecb5;
}

.text-danger {
    color: #dc3545 !important;
}
.text-ijo {
    color: #198754;
}

/* ====================
   MAP SECTION
   ==================== */
.map-section {
    margin-top: 40px;
}

.leaflet-map {
    height: 400px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.map-controls .btn {
    border-radius: 25px;
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* ====================
   FOOTER
   ==================== */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0 40px;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--secondary-color);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Newsletter */
.newsletter .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.newsletter .form-control {
    border: none;
    padding: 12px 15px;
}

.newsletter .btn {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 20px;
}

.newsletter .btn:hover {
    background-color: #d32f2f;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 15px;
}

.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn-secondary {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 10px 20px;
}

.newsletter-form .btn-secondary:hover {
    background-color: #d32f2f;
    border-color: #d32f2f;
}

.newsletter-form .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter-form .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.newsletter-form .form-check-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

/* Newsletter Message */
#newsletterMessage.alert-success {
    background-color: rgba(25, 135, 84, 0.2);
    color: #75b798;
    border-color: rgba(25, 135, 84, 0.3);
}

#newsletterMessage.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ea868f;
    border-color: rgba(220, 53, 69, 0.3);
}

#newsletterMessage.alert-warning {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffda6a;
    border-color: rgba(255, 193, 7, 0.3);
}

/* ====================
   RESPONSIVE ADJUSTMENTS
   ==================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.8rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .team-photo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .team-photo {
        width: 150px;
        height: 150px;
    }
    
    .stat-number-team {
        font-size: 2rem;
    }
    
    .team-summary {
        padding: 25px;
    }
    
    .leaflet-map {
        height: 350px;
    }
    
    .client-logo {
        padding: 15px;
        min-height: 100px;
    }
    
    .client-logo img {
        max-height: 45px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-buttons .btn.me-3 {
        margin-right: 0 !important;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .scroll-link {
        font-size: 1.5rem;
    }
    
    .leaflet-map {
        height: 300px;
    }
    
    .map-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .map-controls .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Service Arrow Mobile Responsive */
@media (max-width: 768px) {
    .service-arrow-link {
        margin-top: 15px;
        padding-top: 10px;
    }
    
    .service-arrow {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .service-link-text {
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .service-arrow-link {
        flex-direction: column;
        gap: 5px;
    }
    
    .service-arrow {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .service-link-text {
        font-size: 0.8rem;
    }
}

/* ====================
   UTILITY CLASSES
   ==================== */

/* Force Remove Borders */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Additional Animation Effects */
.dropdown-menu.slide-up {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ripple Effect for Dropdown Items */
.dropdown-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(230, 57, 70, 0.3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.dropdown-item:focus::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .navbar-nav .dropdown-menu {
        background-color: #2a2a2a;
        border-color: #444;
    }
    
    .navbar-nav .dropdown-item {
        color: #e0e0e0;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(230, 57, 70, 0.2);
    }
    
    .navbar-nav .dropdown-header {
        color: #999;
    }
    
    .navbar-nav .dropdown-divider {
        border-color: #444;
    }
    
    .service-arrow-link {
        color: rgba(255, 255, 255, 0.7);
        border-top-color: rgba(255, 255, 255, 0.1);
    }
    
    .service-arrow {
        background-color: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
    }
    
    .service-arrow-link:hover {
        color: var(--secondary-color);
        border-top-color: rgba(230, 57, 70, 0.3);
    }
    
    .service-arrow-link:hover .service-arrow {
        background-color: var(--secondary-color);
        color: white;
    }
}

/* ====================
   LIQUID GLASS EFFECTS
   ==================== */

/* Liquid Glass Card */
.liquid-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.liquid-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 75%,
        rgba(255, 255, 255, 0.1) 100%
    );
    animation: liquidFlow 8s ease-in-out infinite;
}

@keyframes liquidFlow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    50% {
        transform: translateY(5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-3px) rotate(0.5deg);
    }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #cfcfcfde 0%, #ffffffe1 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-secondary {
    background: linear-gradient(135deg, #0077b6 0%, #1d3557 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Badge */
.glass-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
}

/* Glass Subtitle */
.glass-subtitle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.glass-subtitle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Liquid Glass Buttons */
.btn-liquid-glass {
    position: relative;
    border: none;
    transition: all 0.4s ease;
    min-width: 200px;
}

.btn-primary-glass {
    background: linear-gradient(135deg, rgba(90, 45, 255, 0.9) 0%, rgba(79, 91, 255, 0.7) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-glass {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.liquid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.2) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%,
        rgba(255, 255, 255, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-liquid-glass:hover .liquid-bg {
    opacity: 1;
    animation: liquidMove 2s ease-in-out infinite;
}

.btn-liquid-glass:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(230, 57, 70, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-outline-glass:hover {
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 119, 182, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@keyframes liquidMove {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    50% {
        transform: translateX(10px) scale(1.05);
    }
}

.btn-content {
    position: relative;
    z-index: 2;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-element i {
    font-size: 1.2rem;
}

.element-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.element-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.element-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.element-4 {
    bottom: 20%;
    right: 5%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-10px) rotate(3deg);
    }
}

/* Glass Stats */
.glass-stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.glass-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Scroll Indicator Glass */
.scroll-indicator-glass {
    z-index: 10;
}

.glass-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.glass-circle i {
    font-size: 1.2rem;
}

.scroll-link-glass:hover .glass-circle {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .liquid-glass-card {
        padding: 3rem 2rem !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-liquid-glass {
        min-width: 100%;
    }
    
    .floating-element {
        width: 30px;
        height: 30px;
    }
    
    .floating-element i {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .glass-subtitle {
        padding: 1.5rem !important;
    }
    
    .glass-stat-item {
        padding: 1rem !important;
    }
}

/* Enhanced Hero Section Background */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    overflow: hidden;
    padding-top: 70px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.9) 0%,
        rgba(29, 53, 87, 0.082) 50%,
        rgba(0, 118, 182, 0.315) 100%
    );
    z-index: 1;
}

/* Add subtle noise texture */
.liquid-glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}