/* Global Styles */
:root {
    --primary-color: #4a6bff;
    --primary-light: #d8e0ff;
    --primary-dark: #3049b6;
    --secondary-color: #2d3e50;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-alt: #f8f9fa;
    --success-color: #28a745;
    --border-color: #eaeaea;
    --border-radius: 8px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  section {
    padding: 80px 0;
  }
  
  section:nth-child(even) {
    background-color: var(--bg-alt);
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  
  a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
  }
  
  a:hover {
    color: var(--primary-dark);
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
  }
  
  .btn i {
    margin-right: 8px;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: white;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
  }
  
  .btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary-color);
  }
  
  .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }
  
  /* Section Headers */
  .section-header {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    position: relative;
  }
  
  .section-subtitle::before,
  .section-subtitle::after {
    content: "";
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    display: inline-block;
    vertical-align: middle;
    margin: 0 8px;
  }
  
  .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    display: inline-block;
  }
  
  .section-header h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Navigation */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 24px;
    font-weight: 700;
  }
  
  .logo-text {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--border-radius);
  }
  
  .nav-links {
    display: flex;
    gap: 25px;
  }
  
  .nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  .nav-links a.active {
    color: var(--primary-color);
  }
  
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
  }
  
  .mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    display: block;
    position: absolute;
    transition: var(--transition);
  }
  
  .mobile-menu-btn span:nth-child(1) {
    top: 0;
  }
  
  .mobile-menu-btn span:nth-child(2) {
    top: 9px;
  }
  
  .mobile-menu-btn span:nth-child(3) {
    top: 18px;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }
  
  /* Hero Section */
  .hero {
    padding: 170px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
  }
  
  .hero-image-container {
    flex: 0 0 auto;
  }
  
  .profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: var(--shadow);
    object-fit: cover;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
  }
  
  .subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 25px;
  }
  
  .cta-buttons {
    display: flex;
    gap: 15px;
  }
  
  .hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,128L48,149.3C96,171,192,213,288,213.3C384,213,480,171,576,181.3C672,192,768,256,864,266.7C960,277,1056,235,1152,224C1248,213,1344,235,1392,245.3L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    z-index: 1;
  }
  
  /* About Section */
  .about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
  }
  
  .contact-link {
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .contact-link:hover {
    color: var(--primary-color);
  }
  
  .about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
  }
  
  /* Education Section */
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 0;
    margin-left: 30px;
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 70px;
  }
  
  .timeline-dot {
    position: absolute;
    left: 26px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
  }
  
  .timeline-content {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
  }
  
  .timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: rotate(45deg);
    top: 20px;
    left: -10px;
    z-index: -1;
  }
  
  .timeline-content h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
  }
  
  .institution {
    font-weight: 500;
    margin-bottom: 5px;
  }
  
  .year-score {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .education-desc {
    font-size: 15px;
  }
  
  /* Skills Section */
  .skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  
  .skill-category {
    margin-bottom: 25px;
  }
  
  .skill-category h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color);
  }
  
  .skill-bar {
    margin-bottom: 12px;
  }
  
  .skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
  }
  
  .skill-progress {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
  }
  
  .progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
  }
  
  .soft-skills-list {
    display: grid;
    gap: 20px;
  }
  
  .soft-skill-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
  }
  
  .soft-skill-item i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
  }
  
  .soft-skill-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  .soft-skill-text p {
    font-size: 14px;
    color: var(--text-light);
  }
  
  /* Projects Section */
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
  }
  
  .project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .project-image {
    height: 200px;
    overflow: hidden;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.05);
  }
  
  .project-content {
    padding: 25px;
  }
  
  .project-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
  }
  
  .project-content p {
    color: var(--text-light);
    margin-bottom: 15px;
  }
  
  .tech-stack {
    margin-bottom: 15px;
  }
  
  .tech-stack h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-color);
  }
  
  .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .tag {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 30px;
  }
  
  .project-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
  }
  
  .project-link i {
    margin-left: 5px;
    transition: var(--transition);
  }
  
  .project-link:hover {
    color: var(--primary-dark);
  }
  
  .project-link:hover i {
    transform: translateX(5px);
  }
  
  /* Contact Section */
  .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  
  .contact-info h3,
  .contact-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--secondary-color);
  }
  
  .contact-info p {
    margin-bottom: 25px;
  }
  
  .contact-details {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .contact-detail-item {
    display: flex;
    gap: 15px;
  }
  
  .contact-detail-item i {
    width: 45px;
    height: 45px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
  }
  
  .contact-detail-item h4 {
    font-size: 16px;
    margin-bottom: 0;
  }
  
  .social-links-contact {
    display: flex;
    gap: 15px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 15px;
    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(74, 107, 255, 0.1);
  }
  
  /* Footer */
  footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .footer-logo p {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .footer-link-group h4,
  .footer-social h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
  }
  
  .footer-link-group h4::after,
  .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
  }
  
  .footer-link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    transition: var(--transition);
  }
  
  .footer-link-group a:hover {
    color: white;
    transform: translateX(5px);
  }
  
  .social-links {
    display: flex;
    gap: 15px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
  }
  
  .social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }
  
  .footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    section {
      padding: 60px 0;
    }
    
    .hero {
      padding: 150px 0 80px;
    }
    
    .hero-text h1 {
      font-size: 40px;
    }
    
    .about-content,
    .contact-container {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    
    .contact-grid {
      grid-template-columns: 1fr;
    }
    
    .footer-content {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .section-header {
      margin-bottom: 40px;
    }
    
    .hero-content {
      flex-direction: column;
      text-align: center;
    }
    
    .cta-buttons {
      justify-content: center;
    }
    
    .skills-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    
    .project-grid {
      grid-template-columns: 1fr;
    }
    
    .timeline-item {
      padding-left: 60px;
    }
    
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .footer-link-group h4::after,
    .footer-social h4::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .social-links {
      justify-content: center;
    }
    
    /* Mobile Menu */
    .mobile-menu-btn {
      display: block;
    }
    
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 250px;
      height: 100vh;
      background-color: white;
      flex-direction: column;
      padding: 80px 20px 30px;
      transition: 0.4s;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.show {
      right: 0;
    }
    
    .nav-links a::after {
      display: none;
    }
    
    .nav-links a.active {
      background-color: var(--primary-light);
      padding: 8px 15px;
      border-radius: 4px;
    }
  }
  
  @media (max-width: 576px) {
    .section-header h2 {
      font-size: 28px;
    }
    
    .hero-text h1 {
      font-size: 32px;
    }
    
    .profile-image {
      width: 150px;
      height: 150px;
    }
    
    .cta-buttons {
      flex-direction: column;
      width: 100%;
    }
    
    .btn {
      width: 100%;
    }
    
    .timeline::before {
      left: 20px;
    }
    
    .timeline-item {
      padding-left: 45px;
    }
    
    .timeline-dot {
      left: 14px;
    }
  }