:root {
    --primary-gradient: linear-gradient(135deg, #0052CC 0%, #0747A6 100%);
    --primary-color: #0052CC;
    --secondary-color: #0747A6;
    --dark-color: #091E42;
    --light-bg: #F4F5F7;
    --accent-blue: #2684FF;
    --dark-blue: #172B4D;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #172B4D;
    overflow-x: hidden;
    background: #fff;
}

html {
    scroll-behavior: smooth;
}

/* Navbar Premium */
.navbar {
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 82, 204, 0.08);
    padding: 0.7rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(137, 184, 255, 0.1);
}

.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 8px 40px rgba(0, 82, 204, 0.12);
    background: rgba(0, 0, 0, 0.98) !important;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    color: #dbe7fd !important;
    margin: 0 0.8rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:hover::after {
    width: 80%;
}

.btn-wa-nav {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: white !important;
    border-radius: 50px;
    padding: 0.65rem 1.8rem !important;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
}

.btn-wa-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Hero Carousel Premium */
.hero-carousel {
    margin-top: 76px;
    height: 90vh;
    position: relative;
}

.carousel-item {
    /* height: 90vh; */
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-bg-1 {
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920');
}

.hero-bg-2 {
    background-image: url('https://images.unsplash.com/photo-1600210492493-0946911123ea?w=1920');
}

.hero-bg-3 {
    background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1920');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.03) 35px,
            rgba(255, 255, 255, 0.03) 70px
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.02) 35px,
            rgba(255, 255, 255, 0.02) 70px
        ),
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 20px 20px;
    background-color: #0052CC;
    background-blend-mode: overlay;
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.88) 0%, rgba(7, 71, 166, 0.85) 50%, rgba(23, 43, 77, 0.88) 100%);
    z-index: -1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 25px 25px, 25px 25px;
    background-position: 0 0, 12.5px 12.5px;
    opacity: 0.6;
}

.carousel-caption {
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: center;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.8),
        0 4px 20px rgba(0, 82, 204, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3);
    font-weight: 900;
}

.carousel-caption p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.6);
}

.btn-hero {
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    margin: 0 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border: none;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
    color: var(--primary-color);
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    width: 40px;
    border-radius: 6px;
    background: white;
}

/* Section Title Premium */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-blue);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.section-subtitle {
    color: #5E6C84;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* About Section Premium */
.about-img {
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 82, 204, 0.15);
    overflow: hidden;
    position: relative;
}

.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1) 0%, transparent 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.about-img:hover::before {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.05) 0%, transparent 100%);
}

.about-img img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-img:hover img {
    transform: scale(1.08);
}

.feature-check {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-right: 1rem;
}

/* Stats Cards Premium */
.stat-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F4F5F7 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 82, 204, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 82, 204, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 82, 204, 0.15);
    border-color: var(--primary-color);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
}

.stat-label {
    color: #5E6C84;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Feature Cards Premium */
.feature-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 82, 204, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 82, 204, 0.03) 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 82, 204, 0.15);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    top: -100%;
    right: -100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.3);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 82, 204, 0.4);
}

.feature-card h4 {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.3rem;
}

/* Portfolio Premium */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 82, 204, 0.12);
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    box-shadow: 0 25px 70px rgba(0, 82, 204, 0.2);
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.95) 0%, rgba(7, 71, 166, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    text-align: center;
}

.portfolio-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 30px,
            rgba(255, 255, 255, 0.05) 30px,
            rgba(255, 255, 255, 0.05) 60px
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 30px,
            rgba(255, 255, 255, 0.03) 30px,
            rgba(255, 255, 255, 0.03) 60px
        ),
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 100% 100%, 20px 20px;
    z-index: 0;
}

.portfolio-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 20px 20px, 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.6;
    z-index: 0;
}

.portfolio-overlay h3,
.portfolio-overlay p,
.portfolio-overlay .badge {
    position: relative;
    z-index: 1;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-overlay h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.portfolio-overlay p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.portfolio-overlay .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Blog Cards Premium */
.blog-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 82, 204, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 70px rgba(0, 82, 204, 0.18);
    border-color: var(--primary-color);
}

.blog-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-meta {
    color: #5E6C84;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-meta i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.blog-card h4 {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.3rem;
}

/* Testimonial Premium */
.testimonial-section {
    background: var(--primary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.testimonial-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    border: 2px solid rgba(255,255,255,0.2);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.stars {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
}

/* CTA Section Premium */
.cta-section {
    background: var(--primary-gradient);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 40px,
            rgba(255, 255, 255, 0.03) 80px
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.02) 40px,
            rgba(255, 255, 255, 0.02) 80px
        ),
        radial-gradient(circle, rgba(255, 255, 255, 0.08) 2px, transparent 2px);
    background-size: 100% 100%, 100% 100%, 25px 25px;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.12) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.08) 2px, transparent 2px);
    background-size: 30px 30px, 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.5;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.btn-cta-white {
    background: white;
    color: var(--primary-color);
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-white:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

/* WhatsApp Float Premium */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.wa-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

.wa-float a:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.7);
    }
}

/* Footer Premium */
footer {
    background: linear-gradient(135deg, #091E42 0%, #172B4D 100%);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
}

footer h5 {
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
}

footer a {
    color: #B3BAC5;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

footer a:hover {
    color: white;
    padding-left: 8px;
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 1rem;
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    padding-left: 0;
    box-shadow: 0 10px 25px rgba(0, 82, 204, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 4rem;
    text-align: center;
    color: #B3BAC5;
}

/* Swiper Customization */
.swiper {
    padding-bottom: 50px;
}

.swiper-slide {
    height: auto;
}

/* Responsive Premium */
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 3rem;
    }
    
    .carousel-caption p {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 0.8rem 2rem;
        margin: 0.5rem 0.3rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .wa-float a {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}