/* Global Styles */
:root {
    --color-primary: #6a0dad;
    --color-secondary: #ff69b4;
    --color-accent: #87ceeb;
    --color-dark: #333333;
    --color-light: #ffffff;
    --color-gray: #f8f9fa;
    --gradient-primary: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    --gradient-secondary: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
    --gradient-accent: linear-gradient(45deg, var(--color-accent), var(--color-primary));
}
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-light);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
 

/* Updated Navbar Styles with Glassmorphism Effect */
.navbar {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
    transition: all 0.3s ease;
    padding: 0.8rem 0;
}

.navbar.scrolled {
    background: rgba(106, 13, 173, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 8px 32px 0 rgba(106, 13, 173, 0.2) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-dark) !important;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand {
    color: var(--color-light) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: var(--color-dark);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: var(--color-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-primary) !important;
    background: rgba(255, 255, 255, 0.25);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--color-light) !important;
    background: rgba(255, 255, 255, 0.2);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 60%;
}

.navbar.scrolled .nav-link::before {
    background: var(--color-light);
}
 
 
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    position: relative;
}
 
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
 
/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
 
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-secondary);
    transition: all 0.4s ease;
    z-index: -1;
}
 
.btn:hover::before {
    width: 100%;
}
 
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--color-light);
}
 
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
 
/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--color-gray);
}
 
.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}
 
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}
 
.hero-image {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards 0.4s;
}
 
.hero-image img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}
 
.hero-image:hover img {
    transform: scale(1.05);
    border-radius: 50%;
}
 
/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--color-light);
}
 
.service-card {
    background: var(--color-light);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
 
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}
 
.service-card:hover {
    transform: translateY(-15px);
}
 
.service-card:hover::before {
    opacity: 1;
}
 
.service-card:hover * {
    color: var(--color-light);
}
 
.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-secondary);
    color: var(--color-light);
    font-size: 2rem;
    transition: all 0.5s ease;
}
 
.service-card:hover .icon {
    background: var(--color-light);
    color: var(--color-primary);
}
 
/* Skills Section */
.skills-section {
    padding: 100px 0;
    background: var(--color-gray);
}
 
.skill-item {
    margin-bottom: 2.5rem;
}
 
.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}
 
.skill-info h3 {
    font-weight: 600;
}
 
.progress {
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
 
.progress-bar {
    background: var(--gradient-primary);
    position: relative;
    transition: width 1.5s cubic-bezier(0.1, 0.45, 0.1, 1);
}
 
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: var(--color-light);
    animation: pulse 2s infinite;
}
 
/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background: var(--color-light);
}
 
.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
}
 
.portfolio-card:hover {
    transform: translateY(-10px);
}
 
.portfolio-img {
    position: relative;
    overflow: hidden;
}
 
.portfolio-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.5s ease;
}
 
.portfolio-card:hover .portfolio-img::after {
    opacity: 0.8;
}
 
.portfolio-content {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.5s ease;
}
 
.portfolio-card:hover .portfolio-content {
    bottom: 0;
}
 
/* Testimonial Section */
.testimonial-section {
    padding: 100px 0;
    background: var(--color-gray);
}
 
.testimonial-card {
    background: var(--color-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
}
 
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--color-primary);
    opacity: 0.1;
}
 
.testimonial-card:hover {
    transform: translateY(-10px);
}
 
/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--color-light);
}
 
.contact-form {
    background: var(--color-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
 
.form-control {
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    transition: all 0.3s ease;
}
 
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: none;
}
 
/* Modal */
.modal-content {
    border-radius: 20px;
    overflow: hidden;
}
 
.modal-header {
    background: var(--gradient-primary);
    color: var(--color-light);
    border: none;
}
 
.modal-body {
    padding: 2rem;
}
 
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
 
::-webkit-scrollbar-track {
    background: var(--color-light);
    border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 3px solid var(--color-light);
}
 
::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}
 
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-light);
}
 
/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
 
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
 
/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding: 120px 0 60px;
    }
 
    .hero-content h1 {
        font-size: 3rem;
    }
 
    .service-card {
        margin-bottom: 2rem;
    }
}