:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --dark: #1e293b;
    --darker: #0f172a;
    --light: #f8fafc;
    --gray: #94a3b8;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --navbar-width: 80%;
    --glass-blur: 12px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f1f5f9;
    color: var(--dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e2e8f0;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Custom Navbar */
.main-nav {
    width: var(--navbar-width);
    margin: 25px auto;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    padding: 12px 30px;
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-dark) !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 5px;
    padding: 8px 20px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    text-decoration: none;
}

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

.nav-link.active::before {
    width: 60%;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 100px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Home Section */
#home {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.profile-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 8px solid white;
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.profile-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-text {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text span {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.hero-text span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.3), rgba(79, 70, 229, 0.3));
    border-radius: 4px;
    z-index: -1;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    background: white;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 12px 25px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(99, 102, 241, 0.3);
}

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

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(99, 102, 241, 0.1);
}

/* Floating Chat Button */
.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    z-index: 999;
    transition: var(--transition);
    border: none;
    outline: none;
}

.chat-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5);
}

.chat-btn i {
    font-size: 1.5rem;
    transition: var(--transition);
}

.chat-btn.active i {
    transform: rotate(30deg);
}

.chat-options {
    position: absolute;
    bottom: 90px;
    right: 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: black;
}

.chat-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-option {
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.chat-option:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.chat-option i {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 1rem;
}

.chat-option[data-option="whatsapp"] i {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.chat-option[data-option="live-chat"] i {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.chat-option[data-option="contact"] i {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

/* Modal */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--darker), var(--dark));
    color: white;
    padding: 50px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%231e293b"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%231e293b"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231e293b"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgb(98, 171, 219) !important;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    ;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.footer-links a {
    color: var(--gray);
    margin: 0 15px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 30px;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .main-nav {
        width: 90%;
    }
}

@media (max-width: 991.98px) {
    .hero-text {
        font-size: 2.8rem;
    }

    .profile-img {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .main-nav {
        top: 80%;

    }


    .navbar-brand {
        display: block;
    }

    .navbar-nav {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
    }

    .nav-link {
        margin: 0;
        padding: 8px 12px;
        font-size: 0;
        width: 45px;
        height: 45px;
        justify-content: center;
        border-radius: 50%;
    }

    .nav-link i {
        margin: 0;
        font-size: 1.1rem;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link span {
        display: none;
    }

    .section {
        padding: 80px 0;
    }

    .hero-text {
        font-size: 2.2rem;
        text-align: center;
    }

    .profile-img {
        width: 220px;
        height: 220px;
        margin: 0 auto 30px;
        transform: perspective(1000px) rotateY(0deg);
    }

    .btn-group {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .chat-btn {
        width: 60px;
        height: 60px;
        right: 20px;
        bottom: 180px;
    }

    .chat-options {
        bottom: 100px;
        right: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-text {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

/* Particle Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}
