@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: black;
  color: white;
}

/* Navigation */
nav {
  width: 100%;
  height: 10vh;
  position: sticky;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.nav-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo {
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.logo span {
  color: red;
  text-shadow: 0 0 10px red;
}

.hamburg,
.cancel {
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
  color: white;
  display: none;
  font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links {
  display: flex;
}

.nav-container .links a {
  position: relative;
  font-size: 1.2rem;
  color: white;
  margin: 0 20px;
  text-decoration: none;
  font-weight: 550;
  transition: 0.3s linear;
}

.nav-container .links a::before {
  position: absolute;
  content: "";
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: red;
  transition: 0.2s linear;
}

.nav-container .links a:hover::before {
  width: 100%;
}

.nav-container .links a:hover {
  color: red;
}

.dropdown {
  z-index: 100;
  position: absolute;
  top: 0;
  transform: translateY(-500px);
  width: 100%;
  height: auto;
  backdrop-filter: blur(4px) brightness(40%);
  box-shadow: 0 0 20px black;
  transition: 0.2s linear;
}

.dropdown .links a {
  display: flex;
  color: white;
  text-decoration: none;
  justify-content: center;
  padding: 15px 0;
  align-items: center;
  transition: 0.2s linear;
}

.dropdown .links a:hover {
  background-color: #077b32;
}

/* Sections */
section {
  width: 100%;
  min-height: 100vh;
  padding: 50px 0;
}

.main-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.main-container .image {
  width: 700px;
  height: 80vh;
  border-radius: 100%;
  overflow: hidden;
  box-shadow: 0 0 50px red;
}

.main-container .image img {
  width: 100%;
}

.main-container .image:hover {
  animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
  0% { scale: 1; }
  50% { scale: 1.05; }
  100% { scale: 1; }
}

.main-container .content {
  color: white;
  width: 40%;
  min-height: 100px;
}

.content h1 {
  font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span {
  color: red;
  text-shadow: 0 0 10px red;
}

.content .typewriter {
  font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
  font-weight: 600;
}

.content .typewriter-text {
  color: #ff0000;
  text-shadow: 0 0 10px #ff0000;
}

.content p {
  font-size: clamp(0.4rem, 0.2rem + 9vw, 1rem);
  margin: 10px 0;
}

.social-links i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: 0.2rem solid red;
  border-radius: 50%;
  color: red;
  margin: 5px 15px;
  font-size: 1.5rem;
  transition: 0.2s linear;
}

.social-links i:hover {
  scale: 1.3;
  color: red;
  background-color: beige;
  filter: drop-shadow(0 0 10px #ff0000);
}

.content button {
  width: 50%;
  height: 6vh;
  margin: 30px;
  background-color: red;
  color: white;
  border: none;
  outline: none;
  font-size: 120%;
  font-weight: 700;
  border-radius: 5px;
  transition: 0.2s linear;
}

.content button:hover {
  scale: 1.1;
  color: beige;
  border: 2px solid red;
  background-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 40px red;
}

.about-section,
.skills-section,
.projects-section,
.contact-section {
  text-align: center;
  padding: 50px 0;
}

.about-container,
.skills-container,
.services-container,
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Skill Section */
.skill-icon {
  font-size: 40px; /* Adjust size */
  transition: transform 0.3s ease, color 0.3s ease; /* For smooth hover effect */
}

.skill-icon:hover {
  transform: scale(1.2);
  color: #f39c12; /* Gold hover color, change as needed */
}

/* Colors for each specific skill icon */
.fab.fa-html5 {
  color: #e44d26; /* HTML5 */
}

.fab.fa-css3-alt {
  color: #2965f1; /* CSS3 */
}

.fab.fa-js {
  color: #f7df1e; /* JavaScript */
}

.fab.fa-python {
  color: #3776ab; /* Python */
}

.fab.fa-java {
  color: #007396; /* Java */
}

.fab.fa-react {
  color: #61dafb; /* React */
}

.fas.fa-database {
  color: #003b57; /* SQL & MySQL */
}

.fas.fa-robot {
  color: #a4c639; /* AI */
}


.fab.fa-node-js {
  color: #8cc84b; /* Node.js */
}

.fab.fa-bootstrap {
  color: #563d7c; /* Bootstrap */
}



/* Skills Grid with Icons */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skill {
  /* background-color: rgba(255, 0, 0, 0.1); */
  padding: 20px;
  border-radius: 10px;
  /* border: 1px solid red; */
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill i {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.skill span {
  font-size: 1.2rem;
  font-weight: 500;
}

.skill:hover {
  transform: scale(1.05);
  /* background-color: rgba(255, 0, 0, 0.2); */
}


/* Contact Form */
.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-section input,
.contact-section textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid red;
  background-color: transparent;
  color: white;
}

.contact-section button {
  background-color: red;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-section button:hover {
  background-color: rgba(255, 0, 0, 0.8);
}

/* Timeline Styles */
.timeline-section {
  padding: 50px 0;
  background-color: #111;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline {
  position: relative;
  padding: 20px 0;
  margin-top: 30px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: red;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 20px 30px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid red;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Left timeline items */
.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(odd)::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -15px;
  border: 8px solid transparent;
  border-left: 8px solid red;
}

/* Right timeline items */
 .timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-item:nth-child(even)::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -15px;
  border: 8px solid transparent;
  border-right: 8px solid red;
} 

 .timeline-content {
  background-color: rgba(255, 0, 0, 0.1);
  padding: 20px;
  border-radius: 6px;
  border: 1px solid red;
}

.timeline-content h3 {
  margin-bottom: 5px;
}

.timeline-content .date {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 10px;
} 

/* Footer Styles */
footer {
  background-color: #000;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid red;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-container p {
  margin: 10px 0;
  font-size: 0.9rem;
}

.footer-links a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: red;
}

/* Responsive Styles */
@media (max-width: 884px) {
  nav .logo {
    position: absolute;
    top: 16px;
    left: 15px;
    font-size: 1.5rem;
  }
  .main-container {
    flex-direction: column;
  }
  .nav-container .links {
    display: none;
  }
  .hamburg,
  .cancel {
    display: block;
  }
  .main-container .content {
    width: 80%;
  }
  .social-links i {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
  .main-container .image {
    z-index: -1;
    width: 50%;
    height: 60%;
  }
}

@media (max-width: 440px) {
  .main-container .image {
    width: 50%;
    height: 60%;
    margin-bottom: 0px;
  }
  .main-container .content {
    width: 80%;
  }
  .main-container button {
    margin-top: 15px;
  }
}

/* Responsive Timeline Adjustments */
@media (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    margin-bottom: 20px;
  }
  .timeline-item::before {
    top: 22px;
    left: 60px;
    border: 8px solid transparent;
    border-right: 8px solid red;
  }
  .timeline-item::after {
    left: 18px;
  }
}

/* about */

/* Contact */
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.contact-info {
  width: 45%;
}

.contact-info h4 {
  /* color: #0066cc; */
  color: red;
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-icon {
  width: 60px;
  height: 60px;
  /* background-color: #0056b3; */
  background-color: red;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 24px;
}

.info-text {
  color: #333;
}

.info-text span {
  font-weight: bold;
  display: block;
}

.contact-form {
  width: 50%;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  /* background-color: #0056b3; */
  background-color: red;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  /* background-color: #004494; */
  background-color: darkred;
}

/* Project Section */

/* About Section */
/* Timeline section */
/* Arrow Section */
.experience-section {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 40px;
  font-family: Arial, sans-serif;
  min-height: 100vh;
}

.experience-section h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: rgba(255, 71, 87, 0.3);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline:hover::after {
  background-color: #ff4757;
  width: 8px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-item:hover .timeline-content {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ff4757;
  border-radius: 50%;
  top: 25px;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.2);
}

.timeline-item:hover::before {
  background-color: #ff6b6b;
  box-shadow: 0 0 0 8px rgba(255, 71, 87, 0.2);
  transform: scale(1.2);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

.timeline-date {
  font-size: 0.9em;
  color: #ff4757;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-date {
  color: #ff6b6b;
}

.timeline-title {
  font-size: 1.2em;
  margin-bottom: 8px;
  font-weight: bold;
}

.timeline-description {
  font-size: 0.9em;
  color: #a8a9b4;
  line-height: 1.4;
}

/* Connect lines */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: #ff4757;
  top: 34px;
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd)::after {
  right: 0;
}

.timeline-item:nth-child(even)::after {
  left: 0;
}

.timeline-item:hover::after {
  width: 60px;
  background-color: #ff6b6b;
}

/* Animation classes */
.timeline-item {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.6s ease;
}

.timeline-item:nth-child(even) {
  transform: translateX(100px);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Touch ripple effect */
.timeline-content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  transition: all 0.5s ease;
  border-radius: 50%;
  pointer-events: none;
}

.timeline-content.ripple::after {
  width: 200px;
  height: 200px;
  top: calc(50% - 100px);
  left: calc(50% - 100px);
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .timeline::after {
      left: 31px;
  }
  
  .timeline-item {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
      text-align: left;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
      left: 0;
  }

  .timeline-item::before {
      left: 22px;
  }

  .timeline-item:nth-child(odd)::before {
      right: auto;
      left: 22px;
  }

  .timeline-item::after {
      left: 31px !important;
      width: 30px !important;
  }

  .timeline-item:hover::after {
      width: 40px !important;
  }
}

/* Updated Code */
/* Responsive Navigation Arrows */
.scroll-arrow {
  position: fixed;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: red;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
  z-index: 1000;
}

.scroll-up {
  bottom: 80px;
}

.scroll-down {
  bottom: 20px;
}

.scroll-arrow i {
  color: white;
  font-size: 20px;
}

.scroll-arrow:hover {
  background-color: darkred;
  transform: scale(1.1);
}

/* Responsive Main Container */
@media screen and (max-width: 1200px) {
  .main-container {
    flex-direction: column;
    padding: 20px;
  }

  .main-container .image {
    width: 80%;
    height: auto;
    margin-bottom: 30px;
  }

  .main-container .content {
    width: 90%;
    text-align: center;
  }

  .content button {
    width: 200px;
  }
}

/* Responsive About Section */
.about-section {
  padding: 50px 20px;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.about-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  max-width: 800px;
  text-align: center;
}

.about-content h2 {
  font-size: 2rem;
  color: red;
  margin-bottom: 20px;
}

.about-content h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.download-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: red;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.download-btn:hover {
  background-color: darkred;
  transform: scale(1.05);
}

/* Additional Responsive Breakpoints */
@media screen and (max-width: 768px) {
  .nav-container .links {
    display: none;
  }

  .hamburg {
    display: block;
  }

  .content h1 {
    font-size: 1.5rem;
  }

  .content .typewriter {
    font-size: 1.8rem;
  }

  .social-links i {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }

  .about-image {
    width: 200px;
    height: 200px;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }

  .about-content h1 {
    font-size: 1.3rem;
  }

  .about-content p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .content h1 {
    font-size: 1.2rem;
  }

  .content .typewriter {
    font-size: 1.5rem;
  }

  .content p {
    font-size: 0.9rem;
  }

  .social-links i {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
    margin: 5px;
  }

  .about-image {
    width: 150px;
    height: 150px;
  }
}
/* Arrow Functions */

.scroll-arrow {
  position: fixed;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: red;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-up {
  bottom: 80px;
}

.scroll-down {
  bottom: 20px;
}

.scroll-arrow i {
  color: white;
  font-size: 20px;
}

/* Hover effects */
.scroll-arrow:hover {
  background-color: darkred;
  transform: scale(1.1);
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .scroll-arrow {
      width: 35px;
      height: 35px;
      right: 15px;
  }

  .scroll-up {
      bottom: 70px;
  }

  .scroll-down {
      bottom: 15px;
  }

  .scroll-arrow i {
      font-size: 16px;
  }
}

/* Arrow Functions */

/* Responsiveness Screens */
:root {
  --mobile: 480px;
  --tablet: 768px;
  --laptop: 1024px;
  --desktop: 1200px;
}

/* General responsive rules */
html {
  font-size: 16px; /* Base font size */
}

/* Mobile First Approach */
@media screen and (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .main-container {
    padding: 1rem;
  }

  .main-container .image {
    width: 100%;
    height: auto;
    margin: 1rem 0;
  }

  .main-container .content {
    width: 100%;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .nav-container .logo {
    font-size: 1.5rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .project-card {
    width: 100%;
    margin: 1rem 0;
  }

  .contact-section {
    flex-direction: column;
  }

  .contact-info, .contact-form {
    width: 100%;
    padding: 1rem;
  }
}

/* Tablet */
@media screen and (min-width: 481px) and (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .main-container {
    padding: 2rem;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-section {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-info, .contact-form {
    width: 100%;
  }
}

/* Laptop */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .main-container {
    padding: 3rem;
  }

  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .project-card {
    width: calc(33.33% - 2rem);
  }
}

/* Desktop and larger screens */
@media screen and (min-width: 1025px) {
  .main-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .skills-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Common responsive utilities */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.text-responsive {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

/* Responsive navigation */
@media screen and (max-width: 768px) {
  .nav-container .links {
    display: none;
  }

  .hamburg {
    display: block;
  }

  .dropdown {
    display: block;
  }
}

/* Responsive animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Project Section */
 /* Navigation arrows styling */

/* Swiper navigation styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
}

.projects-section {
  padding: 4rem 2rem;
  min-height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: white;
  text-align: center;
}

.swiper {
  width: 100%;
  padding: 2rem 0 4rem 0;
}

.project-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-image {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.5rem;
  color: #2d3436;
  margin-bottom: 0.5rem;
}

.project-description {
  color: #636e72;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tag {
  background: #e0e0e0;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #2d3436;
}

/* Red navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #ff3b30 !important; /* Red color */
  background: rgba(255, 255, 255, 0.9);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: white;
  transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 22px !important;
  font-weight: bold;
}

/* Pagination bullets */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: white;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #ff3b30; /* Red color for active bullet */
}

/* Responsive styles */
@media (max-width: 768px) {
  .projects-section {
      padding: 2rem 1rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
      width: 40px !important;
      height: 40px !important;
  }
}

@media (max-width: 480px) {
  .swiper-button-next,
  .swiper-button-prev {
      width: 35px !important;
      height: 35px !important;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
      font-size: 18px !important;
  }
}

/* Certificates Section Styling */
.certificates-section {
  padding: 80px 20px;
  /* background-color: #e63946; Red background color */
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

.certificates-container {
  max-width: 1200px;
  margin: 0 auto;
}

.certificates-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: white;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.certificate-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.certificate-image {
  height: 200px;
  overflow: hidden;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-content {
  padding: 20px;
  color: #333;
}

.certificate-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  /* color: #e63946; Red text to match background */
  color: red;
}

.certificate-content p {
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #555;
}

.view-btn {
  display: inline-block;
  padding: 8px 20px;
  background-color: #e63946; /* Red button */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.view-btn:hover {
  background-color: #c1121f; /* Darker red on hover */
  transform: translateY(-3px);
}

/* Certificate Modal */
.certificate-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 900px;
  animation: scaleIn 0.3s;
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 1;
}

.close-modal:hover {
  color: #e63946;
}

#modalImage {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-buttons {
  margin-top: 20px;
  text-align: center;
}

.download-certificate {
  display: inline-block;
  padding: 10px 25px;
  background-color: #e63946;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.download-certificate:hover {
  background-color: #c1121f;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  
  .certificate-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
}

/* Footer */

/* project card */





