/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

/* =========================
    RESET & BASE STYLES
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #4a2c6d 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* =========================
    NAVBAR STYLES
   ========================= */
.navbar {
    background: rgba(26, 11, 46, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-scrolled {
    background: rgba(26, 11, 46, 0.95);
    padding: 0.5rem 0;
}

.logo {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.8rem 1.5rem !important;
    margin: 0 0.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, #b857d4 0%, #8b4db8 100%);
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(184, 87, 212, 0.4);
}

/* =========================
    SERVICES SECTION
   ========================= */
.services-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Services Illustration */
.services-illustration {
    position: relative;
    animation: fadeInLeft 1s ease;
}

.illustration-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(184, 87, 212, 0.3));
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Services Content */
.services-content {
    animation: fadeInRight 1s ease;
}

/* Services Header */
.services-header {
    margin-bottom: 3rem;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.services-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #e0d4f7;
    margin: 0;
}

/* Service Buttons */
.service-btn {
    width: 100%;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(184, 87, 212, 0.6);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(184, 87, 212, 0.2);
    position: relative;
    overflow: hidden;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(184, 87, 212, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.service-btn:hover::before {
    width: 300px;
    height: 300px;
}

.service-btn:hover {
    border-color: rgba(184, 87, 212, 1);
    background: rgba(184, 87, 212, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 87, 212, 0.4);
}

.service-btn:active {
    transform: translateY(-1px);
}

/* =========================
    MODAL STYLES
   ========================= */
.modal-content {
    background: linear-gradient(135deg, #2d1b4e 0%, #4a2c6d 100%);
    border: 2px solid rgba(184, 87, 212, 0.5);
    border-radius: 20px;
    color: #ffffff;
}

.modal-header {
    border-bottom: 1px solid rgba(184, 87, 212, 0.3);
}

.modal-footer {
    border-top: 1px solid rgba(184, 87, 212, 0.3);
}

.modal-title {
    color: #ffffff;
    font-weight: 700;
}

.btn-close-white {
    filter: brightness(0) invert(1);
}

.modal .btn-primary {
    background: linear-gradient(135deg, #b857d4 0%, #8b4db8 100%);
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}

.modal .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(184, 87, 212, 0.5);
}

.modal .btn-secondary {
    background: transparent;
    border: 2px solid rgba(184, 87, 212, 0.6);
    border-radius: 50px;
    padding: 0.6rem 2rem;
    font-weight: 600;
}

.modal .btn-secondary:hover {
    background: rgba(184, 87, 212, 0.2);
    border-color: rgba(184, 87, 212, 1);
}

/* =========================
    FLOATING PARTICLES
   ========================= */
.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(184, 87, 212, 0.6);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(184, 87, 212, 0.8);
    z-index: 1;
}

.particle-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 65%;
    left: 85%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
}

.particle-3 {
    top: 35%;
    left: 90%;
    width: 8px;
    height: 8px;
    animation-delay: 4s;
}

.particle-4 {
    top: 85%;
    left: 15%;
    animation-delay: 3s;
}

/* =========================
    FOOTER SECTION
   ========================= */
.footer {
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(26, 11, 46, 0.95);
    color: #ffffff;
    text-align: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

.footer .container {
    position: relative;
    z-index: 1001;
}

.copyright {
    font-size: 1rem;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

/* =========================
    ANIMATIONS
   ========================= */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-30px) translateX(5px);
    }
}

/* =========================
    RESPONSIVE DESIGN
   ========================= */
@media (max-width: 991px) {
    .navbar-nav {
        background: rgba(26, 11, 46, 0.95);
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.3rem 0;
    }
    
    .services-title {
        font-size: 3rem;
    }
    
    .services-subtitle {
        font-size: 1.3rem;
    }
    
    .services-illustration {
        text-align: center;
    }
    
    .illustration-img {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding-top: 100px;
    }
    
    .services-title {
        font-size: 2.5rem;
    }
    
    .services-subtitle {
        font-size: 1.1rem;
    }
    
    .services-header {
        margin-bottom: 2rem;
    }
    
    .service-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .illustration-img {
        max-width: 350px;
    }
    
    .footer {
        padding: 1rem 0.5rem;
    }

    .copyright {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .services-title {
        font-size: 2rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .service-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .illustration-img {
        max-width: 280px;
    }
    
    .services-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }
}