:root {
    --primary-color: #9ed2f5;
    --secondary-color: #001773;
    --accent-color: #b01605;
    --light-color: #ecf0f1;
    /* --dark-color: #710000; */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(black);
    background-color: #f9f9f9;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(33, 37, 41, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.15rem;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 1rem;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: calc(100% - 2rem);
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
    color: white;
}


/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    z-index: 1;
}

.hero-title {
    font-weight: 700;
    line-height: 1.2;
    color: #2c3e50;
}

.hero-subtitle {
    color: #495057;
    max-width: 80%;
}

.hero-shape-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -100px;
    left: -100px;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    bottom: -150px;
    right: -100px;
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}

#profile-image {
    width: 100%;
    max-width: 345px;
    height: auto; /* allow it to scale naturally */
    aspect-ratio: 345 / 550; /* maintain original ratio */
    border-radius: 20px;
    margin-top: 50px;
    object-fit: cover;
    display: block;
}

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

/* Responsive Adjustments */



/* Buttons */
.btn-primary {
    background-color: var(#0029cf);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #010552;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 50px;
    position: relative;
    font-size: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 0;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

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

/* Skills */
.skill-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.skill-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
}

.divider {
    width: 80px;
    height: 3px;
    margin-top: 15px;
}

.skill-item {
    margin-bottom: 15px;
    position: relative;
}

.skill-badge {
    /* background: #f8f9fa; */
    color: #212529;
    padding: 8px 15px;
    /* border-radius: 30px; */
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 500;
    /* border: 1px solid #e9ecef; */
    transition: all 0.3s ease;
}

.skill-item:hover .skill-badge {
    /* background: #0d6efd; */
    color: rgb(7, 7, 7);
    transform: translateX(5px);
}

.skill-level {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    position: relative;
}

.skill-level::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #0a4aaa;
    border-radius: 3px;
    transform-origin: left;
    animation: skill-level 1.5s ease-out forwards;
}

.skill-tag {
    background: white;
    color: #030913;
    padding: 8px 20px;
    border-radius: 30px;
    margin: 8px;
    font-weight: 500;
    border: 1px solid #031736;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #001773;
    color: white;
    transform: scale(1.05);
}

@keyframes skill-level {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
.section {
    padding: 80px 0;
    position: relative;
}

.divider {
    width: 80px;
    height: 3px;
    margin-top: 15px;
}

/* Timeline Styling */
.timeline {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(13, 110, 253, 0.2));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    border-radius: 10px;
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.timeline-item.left {
    padding-right: 50%;
}

.timeline-item.right {
    padding-left: 50%;
}

.timeline-badge {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 50%;
    top: 30px;
    margin-left: -10px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px white, 0 2px 5px rgba(0,0,0,0.2);
}

.timeline-card {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.timeline-date {
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin: 15px;
    font-size: 0.9rem;
}

.timeline-content {
    padding: 20px;
}

.timeline-content h3 {
    font-weight: 700;
    color: #2c3e50;
}

.timeline-content h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-list {
    padding-left: 20px;
    margin-bottom: 0;
}

.timeline-list li {
    margin-bottom: 8px;
    position: relative;
}

.timeline-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
}

.skills-tags .badge {
    margin-right: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    border: 1px solid #dee2e6;
}


/* Certificate Section */
#certifications {
    position: relative;
    overflow: hidden;
  }
  
  .certification-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
  }
  
  .certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .certification-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .certification-card:hover .certification-badge {
    transform: scale(1.1);
  }
  
  .certification-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
  }
  
  .certification-card p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
  }
  
  /* Background colors for badges */
  .bg-primary { background-color: #0d6efd; }
  .bg-success { background-color: #198754; }
  .bg-warning { background-color: #ffc107; color: #212529; }
  .bg-info { background-color: #0dcaf0; }
  .bg-danger { background-color: #dc3545; }
  .bg-secondary { background-color: #6c757d; }

/* Contact */
.contact-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    color: white;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
}

/*education*/
#education {
    position: relative;
    background-color: #f8f9fa;
}

.education-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.education-header {
    padding: 25px;
    color: white;
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #0b5ed7);
}

.education-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.education-header h3 {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.education-body {
    padding: 25px;
}

.education-body h4 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.education-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    color: #6c757d;
    font-size: 0.9rem;
}

.education-meta span {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 20px;
}

.education-meta i {
    margin-right: 5px;
    font-size: 0.9rem;
}

.education-details h5 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.specialization {
    color: #6c757d;
    margin-bottom: 15px;
    font-style: italic;
}

.achievements h6 {
    font-weight: 600;
    color: #495057;
    margin: 15px 0 10px;
    font-size: 1rem;
}

.education-features {
    padding-left: 20px;
    margin-bottom: 0;
}

.education-features li {
    margin-bottom: 8px;
    position: relative;
    color: #495057;
}

.education-features li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
}


.contact-form-card,
    .contact-info-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.03);
        height: 100%;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .bg-primary-light {
        background-color: rgba(13, 110, 253, 0.1);
    }
    
    .contact-item h5 {
        color: #2c3e50;
        font-weight: 600;
    }
    
    .contact-item a {
        color: #495057;
        transition: all 0.3s ease;
    }
    
    .contact-item a:hover {
        color: var(--primary-color);
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        background: #f8f9fa;
        color: #495057;
        transition: all 0.3s ease;
    }
    
    .social-icon:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-3px);
    }
    
    /* Form Floating Labels */
    .form-floating label {
        color: #6c757d;
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }
    
    /* Status Message */
    #status.success {
        background-color: #d4edda;
        color: #155724;
        border-color: #c3e6cb;
    }
    
    #status.error {
        background-color: #f8d7da;
        color: #721c24;
        border-color: #f5c6cb;
    }

@media (max-width: 767px) {
    .education-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .education-header {
        padding: 20px;
    }
    
    .education-body {
        padding: 20px;
    }
    
    .education-header h3 {
        font-size: 1.3rem;
    }
    
    .education-body h4 {
        font-size: 1.1rem;
    }

    .certification-card {
        padding: 25px 20px;
      }
      
      .certification-card h3 {
        font-size: 1.2rem;
      }

      .timeline::before {
        left: 31px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding: 20px 0 20px 70px;
    }
    
    .timeline-badge {
        left: 31px;
    }

    
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .d-flex.gap-4 {
        flex-direction: column;
        gap: 1rem !important;
    }
}
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding: 20px 0 20px 50px;
    }
    
    .timeline-badge {
        left: 50%;
        margin-left: -10px;
    }
    
    .timeline-card {
        padding: 15px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content h5 {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .col-lg-6.order-lg-2.order-1 {
        margin-bottom: 2rem;
    }

    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 1.5rem;
        margin: 0.25rem 0;
    }
    
    .nav-link::before {
        left: 1.5rem;
    }
}