
:root {
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-dark: #334155;
    --text-light: #64748b;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #06b6d4, #3b82f6);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.profile-pic-large {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: block;
  margin: 0 auto;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    position: relative;
    transition: var(--transition);
    margin: 0 0.5rem;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Profile Image */
.profile-image-wrapper {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    padding: 4px;
    margin: 0 auto;
    position: relative;
    transition: var(--transition);
    animation: profilePulse 2s ease-in-out infinite;
}

.profile-image:hover {
    transform: scale(1.1);
}

.profile-initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

@keyframes profilePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    50% { box-shadow: 0 0 0 20px rgba(59, 130, 246, 0); }
}

/* Hero Content */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping */
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    overflow-x: auto; /* Adds scroll if needed */
}
.hero-subtitle::-webkit-scrollbar {
    display: none; /* Hide scrollbar on mobile */
}
.role-item,
.separator {
    font-size: 1rem;
}


.role-item {
    display: inline-block;
    transition: var(--transition);
}

.role-item:hover {
    transform: scale(1.05);
    color: #fbbf24;
}

.separator {
    color: var(--primary-color);
    margin: 0 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: slideInUp 1s ease-out 0.4s both;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-medium);
    color: white;
}

.download-btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
/* Small screen adjustments */
@media (max-width: 576px) {
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 10px; /* Gap between buttons */
        align-items: center;
    }
    .hero-cta .btn {
        width: 80%; /* Make buttons same width on mobile */
        text-align: center;
    }
    .download-btn {
        margin-top: -1px;
        padding: 0.3rem 0.8rem; /* Make download button smaller */
        font-size: 0.85rem;
    }
}

/* for dark mode */
/* 🌙 Smooth transition for all elements */
* {
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* 🌙 Dark Mode Base */
body.dark-mode {
  background: linear-gradient(135deg, #181820, #20202a);
  color: #f5f5f7;
}

/* ✅ General Text Colors */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode p,
body.dark-mode span,
body.dark-mode li {
  color: #ffffff !important;
}

/* ✅ Navbar */
body.dark-mode .navbar {
  background: rgba(30, 30, 45, 0.85) !important;
  backdrop-filter: blur(12px);
}
body.dark-mode .navbar-brand {
  color: #fff !important;
}
body.dark-mode a.nav-link {
  color: #f5f5f7 !important;
}
body.dark-mode a.nav-link:hover {
  color: #4db8ff !important;
}

/* ✅ Hero Section */
body.dark-mode .hero-section {
  background: transparent;
  color: #fff;
}
body.dark-mode .hero-title {
  color: #fff;
}

/* ✅ Generic Sections */
body.dark-mode section {
  background: transparent;
  color: #f5f5f7;
}

/* ✅ Cards (Generic, Skills, Certificates) */
body.dark-mode .card,
body.dark-mode .skill-card,
body.dark-mode .certificate-card {
  background: #24243b !important;
  color: #fff !important;
  border: 1px solid #33334d;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
}

/* ✅ Project Cards */
body.dark-mode .project-card {
  background: #24243b !important;
  color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  padding: 15px;
}
body.dark-mode .project-card h4,
body.dark-mode .project-card p {
  color: #f5f5f7 !important;
}

/* ✅ Project Overlay */
body.dark-mode .project-overlay {
  background: rgba(0, 0, 0, 0.6);
}
body.dark-mode .project-category {
  background: #4db8ff;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ✅ Carousel Controls */
body.dark-mode .carousel-control-prev-icon,
body.dark-mode .carousel-control-next-icon {
  filter: invert(1);
}

/* ✅ Buttons */
body.dark-mode .btn {
  background-color: #4db8ff;
  color: #fff;
  border: none;
}
body.dark-mode .btn:hover {
  background-color: #369fe0;
}

/* ✅ Links */
body.dark-mode a {
  color: #4db8ff;
}
body.dark-mode a:hover {
  color: #6cc2ff;
}

/* ✅ Footer */
body.dark-mode footer {
  background: #1a1a28;
  color: #fff;
}

/* ✅ Profile Image Modal */
body.dark-mode .modal-content {
  background: #24243b;
  border: 2px solid #4db8ff;
}

/* ✅ Education Section */
/* Education Section - Dark Mode */
body.dark-mode #education {
  background: transparent;
}

body.dark-mode .timeline-card {
  background: #24243b !important;
  color: #fff !important;
  border: 1px solid #33334d;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

body.dark-mode .timeline-icon {
  background: #24243b !important;
  color: #4db8ff !important;
  border: 3px solid #4db8ff !important;
}

body.dark-mode .timeline-date {
  color: #4db8ff !important;
}


/* ✅ Skills Section */
body.dark-mode .skill-card {
  background: #24243b;
  color: #fff;
  border: 1px solid #33334d;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
body.dark-mode .skill-icon {
  color: #4db8ff;
}
body.dark-mode .skill-bar {
  background: #3a3a55;
}
body.dark-mode .skill-progress {
  background: #4db8ff;
}
/* Certificate Card Dark Mode */
body.dark-mode .certificate-card {
  background: #24243b !important;
  color: #fff !important;
  border: 1px solid #33334d;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

body.dark-mode .certificate-content h4 {
  color: #fff !important;
}

body.dark-mode .certificate-content .issuer {
  color: #4db8ff !important;
}

body.dark-mode .certificate-details {
  color: #ccc !important;
}

/* Verified Badge */
body.dark-mode .verified-badge {
  background: #4db8ff;
  color: #fff;
}

/* Skill Badges */
body.dark-mode .skill-badge {
  background: #4db8ff;
  color: #fff;
}

/* Button */
body.dark-mode .show-button {
  background: #4db8ff;
  color: #fff;
}
body.dark-mode .show-button:hover {
  background: #369fe0;
}




/* CTA Buttons */
.hero-cta {
    animation: slideInUp 1s ease-out 0.8s both;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary.cta-btn {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-medium);
}

.btn-primary.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-outline-primary.cta-btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

.btn-outline-primary.cta-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    color: white;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.scroll-indicator a:hover {
    color: white;
    transform: scale(1.2);
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40%, 43% { transform: translateX(-50%) translateY(-10px); }
    70% { transform: translateX(-50%) translateY(-5px); }
    90% { transform: translateX(-50%) translateY(-2px); }
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-content {
    position: relative;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
    z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.timeline-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-5px);
}

.timeline-date {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.achievements {
    list-style: none;
    margin-top: 1rem;
}

.achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.achievements li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 576px) {
    #education .section-title {
        font-size: 1.5rem; /* Smaller heading */
    }
    #education .section-subtitle {
        font-size: 0.9rem; /* Subtitle slightly smaller */
    }
    #education .timeline-date {
        font-size: 0.85rem;
    }
    #education h4 {
        font-size: 1rem;
    }
    #education h5 {
        font-size: 0.9rem;
    }
    #education p,
    #education li {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}


/* Skills Section */
.skill-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-10px);
}

.skill-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.skill-icon.frontend {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.skill-icon.backend {
    background: linear-gradient(135deg, #10b981, #047857);
}

.skill-icon.design {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(10deg);
}

.skill-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-item span:first-child {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-out;
}

.skill-percentage {
    font-size: 0.9rem;
    color: var(--text-light);
    float: right;
}

/* Projects Section */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--text-dark);
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-10px);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(139, 92, 246, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.6); /* dark circle background */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-size: 50% 50%;
  background-repeat: no-repeat;
  background-position: center;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M5.5 0L4.1 1.4 6.7 4 4.1 6.6 5.5 8l4-4-4-4z' transform='rotate(180 4 4)'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M2.5 0L1.1 1.4 3.7 4 1.1 6.6 2.5 8l4-4-4-4z'/%3E%3C/svg%3E");
}


.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: white;
}

.project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.project-content {
    padding: 2rem;
}

.project-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #f1f5f9;
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Certificates Section */
.certificate-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.certificate-card:hover::before {
    transform: scaleX(1);
}

.certificate-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-5px);
}

.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.certificate-badge {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.verified-badge {
    background: #10b981;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.certificate-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.issuer {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.certificate-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.certificate-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    background: #e0f2fe;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-badge:hover {
    background: var(--primary-color);
    color: white;
}

.show-button {
    text-decoration: none;
    background: white;
    color: skyblue;
    border: 2px solid skyblue;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.show-button:hover {
    border-radius: 25px;
    background: skyblue;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0 20px skyblue, 0 0 40px rgba(135, 206, 235, 0.7);
}


/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #1e293b, #475569);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
}

.contact-items {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-details h5 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.contact-details p {
    color: white;
    font-weight: 600;
    margin: 0;
}

.contact-social .social-links {
    justify-content: flex-start;
    margin-bottom: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    color: white;
}

.send-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    color: white;
}

.success-message i {
    font-size: 3rem;
    color: #10b981;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 4rem;
        padding-right: 1rem;
    }
    
    .timeline-item .timeline-icon {
        left: -25px !important;
        right: auto !important;
    }
    
    .project-filters {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Selection styles */
::selection {
    background-color: var(--primary-color);
    color: white;
}