:root {
    --primary-color: rgba(138, 43, 226, 0.8);
    --secondary-color: rgba(75, 0, 130, 0.6);
    --text-color: #ffffff;
    --hover-color: rgba(255, 255, 255, 0.2);
    --active-color: rgba(255, 255, 255, 0.3);
    --glass-blur: 10px;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: var(--text-color);
    padding-top: 70px; /* To account for fixed navbar */
}

/* Glassmorphism Navbar */
.navbar-glass {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 15px 30px;
    transition: all var(--transition-speed) ease;
}

.navbar-glass.scrolled {
    padding: 10px 30px;
    backdrop-filter: blur(calc(var(--glass-blur) + 5px));
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 5px));
}

/* Logo Style */
.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
}

.navbar-brand:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.navbar-brand span {
    color: #ffd700;
}

/* Nav Links */
.nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 15px !important;
    border-radius: 20px;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--text-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover {
    background: var(--hover-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.nav-link:hover:before {
    width: 60%;
}

.nav-link.active {
    background: var(--active-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.nav-link.active:before {
    width: 80%;
    background: #ffd700;
}

/* Mobile Menu Button */
.navbar-toggler {
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    padding: 5px 10px;
    transition: all var(--transition-speed) ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:hover {
    background: var(--hover-color);
    border-radius: 5px;
}

/* Mobile Menu */
@media (max-width: 991.98px) {
    .navbar-glass {
        padding: 10px 20px;
    }
    
    .navbar-collapse {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        backdrop-filter: blur(var(--glass-blur));
        -webkit-backdrop-filter: blur(var(--glass-blur));
        padding: 15px;
        border-radius: 0 0 15px 15px;
        margin-top: 10px;
    }
    
    .nav-link {
        margin: 5px 0;
        padding: 10px 15px !important;
        border-radius: 5px;
    }
    
    .nav-link:before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    body {
        padding-top: 60px;
    }
}
/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    color: #ffffff;
    padding-top: 0;
    margin-top: -70px; /* Counteract navbar height */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Background elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    filter: blur(60px);
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-50px) translateX(50px);
    }
}

/* Text styles */
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.7);
    letter-spacing: 1px;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(138, 43, 226, 0.7);
    }
    to {
        text-shadow: 0 0 20px rgba(138, 43, 226, 0.9), 0 0 30px rgba(138, 43, 226, 0.5);
    }
}

/* Buttons */
.btn-glow {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 500;
    margin: 0 10px;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-glow:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.btn-glow:hover:after {
    opacity: 1;
}

/* Social Icons */
.hero-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.social-icon:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.social-icon:hover:after {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        padding: 10px 25px;
        margin: 5px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 80%;
        margin: 0 auto;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* About Section */
.about-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    color: #ffffff;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.section-header h2 span {
    color: #ffd700;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 3px;
}

/* Profile Image Card */
.profile-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    perspective: 1000px;
}

.profile-img-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: 15px;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.profile-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(75, 0, 130, 0.2));
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
}

/* About Content */
.about-content {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
}

.about-content:hover {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.3);
    transform: translateY(-5px);
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-text {
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    min-height: 100%;
    word-break: break-word;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.2);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
    color: white;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-content h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.8;
    white-space: nowrap;
}

.info-content p {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left; /* Default alignment */
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 15px;
    }
    
    .info-card {
        flex-direction: column; /* Stack icon and content vertically */
        align-items: center; /* Center horizontally */
        text-align: center; /* Center text */
        padding: 20px 15px;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .info-content h4,
    .info-content p {
        text-align: center; /* Center text on mobile */
        white-space: normal; /* Allow wrapping for labels */
    }
    
    .info-content h4 {
        margin-bottom: 8px;
    }
}

/* Background Elements */
.glow-dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    filter: blur(30px);
    opacity: 0.15;
    animation: float 8s infinite ease-in-out;
}

.dot-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.dot-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 5%;
    animation-delay: 2s;
}

.dot-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 10%;
    animation-delay: 4s;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .about-section {
        padding: 80px 0;
    }
    
    .profile-card {
        margin-bottom: 40px;
    }
    
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-content h3 {
        font-size: 1.5rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}
/* Floating dots animation */
.floating-dot {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-dots linear infinite;
    z-index: 0;
}

@keyframes float-dots {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}
/* Skills Section */
.skills-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    color: #ffffff;
    overflow: hidden;
}

.skills-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.skills-dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    filter: blur(40px);
    opacity: 0.1;
    animation: float 12s infinite ease-in-out;
}

.skills-dot.dot-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.skills-dot.dot-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: 5%;
    animation-delay: 4s;
}

.skills-dot.dot-3 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 10%;
    animation-delay: 8s;
}

/* Skills Category */
.skills-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

/* Skill Card */
.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.skill-card:hover:before {
    opacity: 1;
}

.skill-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(75, 0, 130, 0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card h4 {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
}

/* Circular Progress */
.circular-progress {
    width: 100px;
    height: 100px;
    position: relative;
}

.progress-circle {
    width: 100%;
    height: 100%;
    position: relative;
}

.progress-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
    stroke-dasharray: 283;
    stroke-dashoffset: 0;
}

.progress-fill {
    fill: none;
    stroke: url(#progress-gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

/* SVG Gradient */
.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .skills-section {
        padding: 80px 0;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .circular-progress {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 767.98px) {
    .skills-section {
        padding: 60px 0;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Projects Section */
.projects-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    color: #ffffff;
    overflow: hidden;
}

.projects-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.projects-dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    filter: blur(40px);
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.projects-dot.dot-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.projects-dot.dot-2 {
    width: 250px;
    height: 250px;
    bottom: 15%;
    right: 10%;
    animation-delay: 5s;
}

/* Project Filters */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
    transform: translateY(-3px);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Project Card */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover:before {
    opacity: 1;
}

.project-img-container {
    position: relative;
    width: 100%;
    padding-top: 60%; /* 5:3 aspect ratio */
    overflow: hidden;
}

.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-preview {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.project-preview:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.project-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tags span {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-content .btn {
    width: 100%;
    text-align: center;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
    display: block;
    margin: 60px auto;
    max-width: 90%;
    max-height: 80%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
}

.lightbox-caption {
    margin: 15px auto;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    max-width: 80%;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .projects-section {
        padding: 80px 0;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 767.98px) {
    .projects-section {
        padding: 60px 0;
    }
    
    .project-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 70%;
    }
}
/* Education Section */
.education-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    color: #ffffff;
    overflow: hidden;
}

.education-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.education-dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    filter: blur(40px);
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.education-dot.dot-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.education-dot.dot-2 {
    width: 250px;
    height: 250px;
    bottom: 15%;
    right: 10%;
    animation-delay: 5s;
}

/* Education Timeline */
.education-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.education-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 10%, 
        rgba(255, 255, 255, 0.3) 90%, 
        transparent 100%);
}

.education-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-card {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.education-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.education-card:hover:before {
    opacity: 1;
}

.education-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.education-content {
    flex: 1;
}

.education-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: white;
}

.education-content h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.education-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.education-meta span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.education-meta i {
    margin-right: 8px;
    color: #ffd700;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .education-section {
        padding: 80px 0;
    }
    
    .education-timeline:before {
        left: 30px;
    }
    
    .education-card {
        margin-left: 50px;
    }
    
    .education-icon {
        position: absolute;
        left: -80px;
        top: 0;
    }
}

@media (max-width: 767.98px) {
    .education-section {
        padding: 60px 0;
    }
    
    .education-card {
        flex-direction: column;
        padding: 20px;
    }
    
    .education-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .education-meta {
        flex-direction: column;
        gap: 10px;
    }
}
/* Experience Section */
.experience-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    color: #ffffff;
    overflow: hidden;
}

.experience-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.experience-dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    filter: blur(40px);
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.experience-dot.dot-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.experience-dot.dot-2 {
    width: 250px;
    height: 250px;
    bottom: 15%;
    right: 10%;
    animation-delay: 5s;
}

/* Experience Timeline */
.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.experience-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 10%, 
        rgba(255, 255, 255, 0.3) 90%, 
        transparent 100%);
}

.experience-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-card {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.experience-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card:hover:before {
    opacity: 1;
}

.experience-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.experience-content {
    flex: 1;
}

.experience-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: white;
}

.experience-content h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.experience-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.experience-meta span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.experience-meta i {
    margin-right: 8px;
    color: #ffd700;
}

.experience-details {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.experience-details li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.experience-details li:before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #ffd700;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .experience-section {
        padding: 80px 0;
    }
    
    .experience-timeline:before {
        left: 30px;
    }
    
    .experience-card {
        margin-left: 50px;
    }
    
    .experience-icon {
        position: absolute;
        left: -80px;
        top: 0;
    }
}

@media (max-width: 767.98px) {
    .experience-section {
        padding: 60px 0;
    }
    
    .experience-card {
        flex-direction: column;
        padding: 20px;
    }
    
    .experience-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .experience-meta {
        flex-direction: column;
        gap: 10px;
    }
}
/* Contact Section */
.contact-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    color: #ffffff;
    overflow: hidden;
}

.contact-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-glow {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    filter: blur(60px);
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.contact-glow.glow-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.contact-glow.glow-2 {
    width: 400px;
    height: 400px;
    bottom: 15%;
    right: 10%;
    animation-delay: 5s;
}

/* Contact Wrapper */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* Contact Form */
.contact-form {
    position: relative;
    z-index: 1;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form label {
    position: absolute;
    top: 15px;
    left: 50px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-form input:focus + label,
.contact-form input:valid + label,
.contact-form textarea:focus + label,
.contact-form textarea:valid + label {
    top: -10px;
    left: 20px;
    font-size: 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 0 10px;
    border-radius: 20px;
    color: white;
}

.form-icon {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.contact-form input:focus ~ .form-icon,
.contact-form textarea:focus ~ .form-icon {
    color: #ffd700;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: white;
}

.contact-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    word-break: break-word;
}

.contact-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* Message Form Styles */
.message-form {
    grid-column: span 2;
}

.message-form h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .message-form {
        grid-column: span 1;
    }
    
    .contact-card {
        text-align: center;
    }
    
    .contact-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* Footer Section */
.footer-section {
    position: relative;
    padding: 60px 0 30px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.8), rgba(75, 0, 130, 0.7));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -8px 32px 0 rgba(31, 38, 135, 0.37);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    overflow: hidden;
    z-index: 1;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.6);
    z-index: -1;
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Columns */
.footer-col {
    padding: 0 15px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-logo span {
    color: #ffd700;
}

.footer-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-link::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #ffd700;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
    padding-left: 20px;
}

.footer-link:hover::before {
    left: 5px;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 15px;
    color: #ffd700;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: white;
    text-decoration: underline;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.scroll-top-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    outline: none;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-col:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .scroll-top-btn {
        position: relative;
        margin: 20px auto 0;
    }
}

@media (max-width: 767.98px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links, .footer-contact {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-link {
        padding-left: 0;
    }
    
    .footer-link::before {
        display: none;
    }
    
    .footer-link:hover {
        padding-left: 0;
    }
}