/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9ff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  .navbar {
    background: linear-gradient(135deg, #d8b4f8, #fbc7d4);
    color: #fff;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #6c5ce7;
  }
  
  .hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
  }
  
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .header {
    background: linear-gradient(135deg, #d8b4f8, #fbc7d4);
    color: #fff;
    padding: 100px 20px;
    position: relative;
  }
  
  .header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  
  .subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
  }
  
  .profile-pic img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  
  .social-icons {
    margin-top: 20px;
  }
  
  .social-icons a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #6c5ce7;
    transform: scale(1.2);
  }
  
  .about, .skills, .projects, .experience, .contact {
    padding: 60px 20px;
  }
  
  h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #6c5ce7;
  }
  
  p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #6c5ce7;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s ease;
  }
  
  .btn:hover {
    background: #4a47a3;
  }
  
  .footer {
    background: #6c5ce7;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
  
  /* Skeleton Loading */
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .loader .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #6c5ce7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  /* Animations */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .project-card {
    background: #f3cce8;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  }
  
  .project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  
  .chart-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .chart-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .chart-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  }
  
  .chart-description {
    font-size: 1rem;
    margin-top: 10px;
    color: #000000;
  }
  
 /* Contact Section */
.contact {
  background-color: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

/* Main Header Styling */
.contact-header {
  width: 100%;
  font-size: 45px;
  color: #6c5ce7;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

/* Contact Container */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
  gap: 40px;
}

/* Contact Information */
.contact-info {
  flex: 1;
  min-width: 320px;
  padding: 20px;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 18px;
  margin-bottom: 25px;
  color: #333;
}

.contact-item i {
  font-size: 28px;
  margin-right: 15px;
  color: #d8b4f8;
  transition: transform 0.3s;
}

.contact-item i:hover {
  transform: scale(1.2);
}

.contact-item a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #005582;
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  flex: 1;
  min-width: 320px;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 26px;
  color: #6c5ce7  ;
  text-align: center;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.contact-form textarea {
  resize: none;
}

.contact-form .btn {
  background-color:#d8b4f8;
  color: white;
  padding: 12px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form .btn:hover {
  background-color: #b85b8d;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }
}

  
  /* About Me Section */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Ensure text is on the left and image on the right */
  gap: 20px;
}

.about-content p {
  flex: 1; /* Allow text to take available space */
  font-size: 1.2rem; /* Adjust text size */
  line-height: 1.6;
}

.about-image {
  width: 300px; /* Smaller size */
  height: 300px; /* Ensure it's a square */
  border-radius: 50%; /* Make it an oval/circular */
  object-fit: cover; /* Maintain aspect ratio */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for aesthetics */
  border: 4px solid #b85b8d; /* Optional: Add an outline around the image */
}
/* Experience Section */
.experience-cards {
  display: flex;
  flex-direction: column; /* Align items vertically */
  gap: 20px; /* Space between each experience box */
  align-items: center; /* Center items horizontally */
}

/* Individual Experience Card */
.experience-card {
  width: 90%;
  max-width: 800px; /* Maintain a readable width */
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* Title Styles */
.experience-card h3 {
  font-size: 1.5rem;
  color: #6c5ce7;
  margin-bottom: 5px;
}

/* Role & Date */
.experience-card .role {
  font-weight: bold;
  color: #7a7a7a;
  float: right; /* Aligns role title to the right */
}

.experience-card .date-location {
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
}

/* List Styling */
.experience-card ul {
  margin-top: 10px;
  padding-left: 20px;
}

.experience-card ul li {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* Tools */
.experience-card .tools {
  font-weight: bold;
  margin-top: 10px;
  color: #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .experience-card {
      width: 95%;
  }
  
  .experience-card .role {
      float: none;
      display: block;
      margin-top: 5px;
  }
}

/* Responsiveness for small screens */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column; /* Stack content vertically */
    text-align: center;
  }

  .about-image {
    margin-top: 20px; /* Space above the image */
  }
}

  /* Responsive Design */
  @media (max-width: 768px) {
    .header h1 {
      font-size: 2rem;
    }
  
    .subtitle {
      font-size: 1.2rem;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      gap: 10px;
      background: #fff;
      position: fixed;
      top: 0;
      right: -100%;
      width: 250px;
      height: 100%;
      padding: 20px;
      box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
      transition: right 0.3s ease;
    }
  
    .nav-links.active {
      right: 0;
    }
  
    .nav-links a {
      color: #333;
    }
  
    .hamburger {
      display: block;
    }
  
    .sidebar-overlay {
      display: block;
    }
  
    .project-grid {
      grid-template-columns: 1fr;
    }
  
    .chart-cards {
      grid-template-columns: 1fr;
    }
  }