
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

/* General Styles */
:root {
    /* --primary-color: #5b4beb; */
    --primary-color: #6898f6;
    /* --primary-light: #cacfff; */
    --primary-light: #7781e3;
    --primary-dark: #3730a3;
    --primary-bg-light: #eef2ff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
  }



  
  /* red / orange family */
/*  :root { */
    /*--primary-color: #f56c42;  Primary color */
    /* --primary-light: #f79c6e; Lighter shade of primary */
   /* --primary-dark: #d44f29; Darker shade of primary */
    /* --primary-bg-light: #fff3e6;
    --text-dark: #2a2a2a;
    --text-light: #7d7d7d;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.375rem;
    --transition: all 0.3s ease; */
/* } */

  /* Green tones*/
  /* :root {
    --primary-color: #28a745; 
    --primary-light: #68d391; 
    --primary-dark: #1e7e34; 
    --primary-bg-light: #d1e7d1;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f1f6f4;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
} */


/* Blue tones */

/* :root {
    --primary-color: #007bff;
    --primary-light: #66b2ff; 
    --primary-dark: #0056b3; 
    --primary-bg-light: #e6f0ff;
    --text-dark: #343a40;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
} */
/* 
Purple tones */
/* :root {
    --primary-color: #9b4dca; 
    --primary-light: #a77ddb; 
    --primary-dark: #7b2f97; 
    --primary-bg-light: #f4e1ff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
} */

  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
  }
  
  section {
    padding: 5rem 0;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
  }
  
  .button-primary {
    background-color: var(--primary-color);
    color: white;
  }
  
  .button-primary:hover {
    background-color: var(--primary-dark);
  }
  
  .button-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }
  
  .button-secondary:hover {
    background-color: var(--primary-bg-light);
  }
  
  .button i {
    margin-left: 0.5rem;
  }
  
  .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: var(--primary-bg-light);
    color: var(--primary-dark);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .tech-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--primary-light);
    color: var(--primary-dark);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .gradient-text {
    background-image: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
  
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .navbar-menu {
    display: flex;
    gap: 1.5rem;
  }
  
  .navbar-link {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: var(--transition);
  }
  
  .navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
  }
  
  .navbar-link:hover {
    color: var(--primary-color);
  }
  
  .navbar-link:hover::after {
    width: 100%;
  }
  
  .navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
  }
  
  .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 10px;
  }
  
  /* Hero Section */
  .hero {
    padding-top: 7rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    position: relative;
  }
  
  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .hero-name {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    /* animation: bounce 2s infinite; */

  }
  
  .hero-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
  }
  
  .hero-bio {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-social {
    display: flex;
    gap: 1rem;
  }
  
  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
  }
  
  .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }
  
  .hero-image {
    position: relative;
  }
  
  .image-container {
    height: 24rem;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: linear-gradient(to bottom right, var(--primary-bg-light), rgba(254, 219, 219, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
  }
  
  .avatar-placeholder {
    width: 16rem;
    height: 16rem;
    color: var(--primary-color);
  }
  
  .location-tag {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-weight: 500;
  }
  
  .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    animation: bounce 2s infinite;
  }
  
  .scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
    font-size: 0.875rem;
  }
  
  .scroll-indicator i {
    margin-top: 0.5rem;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }
  
  /* About Section */
  .about {
    background-color: var(--bg-white);
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
  }
  
  .about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.125rem;
  }
  
  .image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(to bottom right, var(--primary-bg-light), rgba(219, 234, 254, 0.5));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
  }
  
  .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .skill-card {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }
  
  .skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .skill-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
  }
  
  /* Education Section */
  .education {
    background-color: var(--bg-light);
  }
  
  .timeline {
    position: relative;
    padding: 1rem 0;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: var(--primary-light);
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 3rem;
  }
  
  .timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
  }
  
  .timeline-content {
    width: 45%;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
  }
  
  .education-card {
    padding: 1.5rem;
  }
  
  .education-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .institution {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .period {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  
  .description {
    margin-bottom: 0.5rem;
  }
  
  .gpa {
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .badges {
    display: flex;
    flex-wrap: wrap;
  }
  
  /* Experience Section */
  .experience {
    background-color: var(--bg-white);
  }
  
  .experience-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .experience-card {
    display: grid;
    grid-template-columns: 1fr 3fr;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
  }
  
  .experience-card:hover {
    box-shadow: var(--shadow-lg);
  }
  
  .experience-header {
    background-color: var(--primary-bg-light);
    padding: 2rem;
  }
  
  .experience-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .company {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .technology-badges {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
  }
  
  .experience-body {
    padding: 2rem;
  }
  
  .experience-body p {
    margin-bottom: 1.5rem;
  }
  
  .experience-body h4 {
    margin-bottom: 1rem;
  }
  
  .experience-body ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .experience-body li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .experience-body i {
    color: var(--primary-color);
    margin-top: 0.25rem;
  }
  
  /* Projects Section */
  .projects {
    background-color: var(--bg-light);
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .project-image {
    height: 12rem;
    background: linear-gradient(to right, var(--primary-bg-light), rgba(219, 234, 254, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .project-icon {
    width: 4rem;
    height: 4rem;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
  }
  
  .project-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
  }
  
  .project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  .project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }
  
  .project-technologies {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
  }
  
  .project-links {
    display: flex;
    gap: 1rem;
  }
  
  .project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
  }
  
  .project-link:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  /* Contact Section */
  .contact {
    background-color: var(--bg-white);
  }
  
  .contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-card {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
  }
  
  .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
  }
  
  .contact-card h3 {
    margin-bottom: 0.5rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: var(--shadow);
  }
  
  .social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }
  
  .contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  }
  
  .submit-button {
    width: 100%;
  }
  
  /* Footer */
  .footer {
    background-color: #1f2937;
    color: white;
    padding: 2rem 0;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .copyright {
    font-size: 0.875rem;
  }
  
  .footer-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .footer-links a {
    font-size: 0.875rem;
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    color: var(--primary-light);
  }
  
  /* Back to Top Button */
  .back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
  }
  
  .back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
  }
  
  /* Responsive Styles */
  @media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-container {
      grid-template-columns: 1fr;
    }
    
    .timeline::before {
      left: 2rem;
    }
    
    .timeline-dot {
      left: 2rem;
    }
    
    .timeline-content {
      width: 80%;
      margin-left: 4rem !important;
    }
    
    .experience-card {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .navbar-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: white;
      flex-direction: column;
      padding: 1rem 0;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      border-top: 1px solid #e5e7eb;
    }
    
    .navbar-menu.show {
      display: flex;
    }
    
    .navbar-toggle {
      display: flex;
    }
    
    .hero-name {
      font-size: 2.5rem;
    }
    
    .section-title {
      font-size: 1.75rem;
    }
    
    .project-grid {
      grid-template-columns: 1fr;
    }
    
    .footer-content {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
  }
  
  @media (max-width: 576px) {
    .container {
      padding: 0 10px;
    }
    
    .hero-buttons {
      flex-direction: column;
      gap: 0.75rem;
    }
    
    .button {
      width: 100%;
    }
    
    .timeline-content {
      width: 85%;
      margin-left: 3.5rem !important;
    }
  }

  .avatar-img {
    width: 250px;          /* adjust size as needed */
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ccc; /* optional: border */
  }
  .thank-you-message {
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
  color: #d7d5d5;
  }

