footer .icon{
    margin-left: 90%;
    font-size: 35px;
}
.education-experience {
  margin-top: 20px;
}

.subheading {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 25px;
  font-weight: 600;
  text-transform: uppercase;
}

.timeline {
  position: relative;
  margin-left: 20px;
  padding-left: 30px;
  border-left: 3px solid var(--main-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 15px;
  background: var(--second-bg-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 15px 20px;
  transition: 0.3s ease;
  font-size: 15px;
}

.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -36px;
  width: 14px;
  height: 14px;
  background-color: var(--main-color);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--main-color);
}

.timeline-item .date {
  font-size: 2rem;
}

/* Resume Section Styling */
.resume-section {
  background-color: var(--second-bg-color);
  color: #fff;
  padding: 60px 30px;
  font-family: 'Segoe UI', sans-serif;
}

.resume-header {
  text-align: center;
  margin-bottom: 40px;
}

.resume-title {
  margin-top: 30px;
  font-size: 3rem;
  font-weight: 800;
  position: relative;
  text-decoration: underline;
}

.resume-subtitle {
  font-size: 2rem;
  color: #ccc;
  max-width: 800px;
  margin: 20px auto 0;
}

.section-heading {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin: 10px 0 30px;
  border-bottom: 2px solid #d4af37;
  display: inline-block;
  padding-bottom: 5px;
}

.experience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15rem;
  justify-content: center;
}

.experience-card {
  background-color: #263141;
  padding: 95px 45px;
  border-radius: 10px;
  flex: 1 1 15%;
  column-gap: 4rem;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  transition: 0.3s ease-in-out;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

.date-range {
  font-weight: 700;
  font-size: 4rem;
  color: #ffc107;
  display: block;
  margin-bottom: 10px;
}

.job-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 5px 0;
}

.company {
  text-transform: uppercase;
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.experience-card p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #ccc;
}

.experience-card ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 0.95rem;
  color: #bbb;
}

.experience-card ul li {
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .experience-grid {
    flex-direction: column;
  }
}

/* Preloader */

#preloader {
  background: #fff url('./assets/Loading_icon.gif') no-repeat center center;
  background-size: 15%;
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: opacity 0.5s ease;
  opacity: 1;
}
#preloader.hide {
  opacity: 0;
  pointer-events: none;
}
/* Projects css */
.projects{
  background-color: rgb(33, 35, 58);
}
.projects h2 {
  display: flex;
  justify-content: center;
  margin: 7rem 35%;
  font-size: 30px;
}

.heading {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: var(--text-color); 
}

.heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background-color: gainsboro ; 
  transition: width 0.4s ease;
}

.heading:hover::after {
  width: 100%;
}

.portfolio-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, auto));
  align-items: center;
  gap:4rem;
  margin-bottom: 7rem;
}
.row-icon {
  background: #263141;
  border-radius: 30px;
  border: 1px solid transparent;
  box-shadow: 0 0 5px var(--main-color);
  transition: all 0.3s ease;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  overflow: hidden; /* Prevent content from overflowing */
  position: relative;
}

.row-icon img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.row-text h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.row-icon h5 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-top: 1rem;
}

.icon-circles {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #075fe4;
}

.icon-circles i {
  font-size: 24px;
  color: var(--text-color);
}

.row-icon i{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  font-size: 27px;
  border-radius: 50%;
  color: var(--text-color);
  background: #075fe4;
  border: 2px solid var(--main-color);
}
.row-icon i:hover,
.row-icon:hover{
  border: 1px solid var(--main-color);
  transform: translateY(-5px) scale(1.03);
  cursor: pointer;
}