:root {
    --primary: #36196f;
    --secondary: #ffc107;
    --light: #f8f9fa;
    --dark: #212529;
    --accent: #6f42c1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #36196f;
    letter-spacing: 1px;
}

.logo span {
    color: #ffc006;
}
/* Navbar */
.navbar {
    background-color: rgba(54, 25, 111, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease; 
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(54, 25, 111, 0.98);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    position: relative; 
    color:white ;
}
.navbar .nav-link.active {
    color: #ffc006 !important;
    font-weight: bold;
}

.navbar .nav-link.active,
.navbar .nav-link:focus,
.navbar .nav-link:hover {
    color: #ffc006 !important;
    font-weight: bold;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(54, 25, 111, 0.9), rgba(54, 25, 111, 0.95)),
        url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero .highlight {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Buttons */
.btn-custom {
    background-color: var(--secondary);
    color: var(--primary);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    letter-spacing: 1px;
}

.btn-custom:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-outline-custom {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background-color: transparent;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto 0;
}

/* About Section */
.about-img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

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

.skill-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.skill-item i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-right: 10px;
    width: 25px;
    text-align: center;
}

/* Experience Section */
.experience {
    background-color: var(--light);
    
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.card-title i {
    color: var(--primary);
    margin-right: 10px;
}

/* Projects Section */
.project-card {
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.project-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    background: linear-gradient(145deg, var(--dark), var(--primary), var(--accent), var(--secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info-wrapper {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-info-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    background-color: var(--secondary);
    transition: all 0.3s ease;
}

.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary) !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.contact-form-wrapper {
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.form-control {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ffca2c;
    border-color: #ffca2c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

/* Form Validation Styling */
.was-validated .form-control:valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-section {
        padding: 80px 0;
    }

    .contact-info-wrapper,
    .contact-form-wrapper {
        padding: 30px !important;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .contact-item {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .social-links {
        justify-content: center;
    }
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

.developer{
    text-decoration: none;
    
}
.developer span{
color:#ffc006;
 font-weight: bold;
}
.developer span:hover{
    color: #ffca2c;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.178);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .about-img {
        margin-bottom: 30px;
    }
}