/* Reset and base styles */
html {
    scroll-behavior: smooth;
}

a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid #FFA500;
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #222121;
    color: #fff;
}

/* Sidebar styles (for desktop) */
.social-icons {
    position: fixed;
    top: 35%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    z-index: 1000;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 25px;
    width: 80%;
    max-width: 1200px;
    background-color: #080808;
    color: #fff;
    padding: 1.5rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border-radius: 400px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Navigation Links */
.nav-links-container {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-links li a:hover {
    color: #FFA500;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar {
        width: 95%;
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 2rem;
        border-radius: 20px;
    }

    .nav-links-container {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background-color: #080808;
        padding: 1rem 0;
    }

    .nav-links-container.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hamburger {
        display: block;
    }
}
/* Container */
.container {
    padding: 0 20px;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo and photo */
#myphoto {
    height: 45px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #FFA500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 180px;
}
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .content {
        margin-left: 0;
        padding-top: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }
}
.social-icons {
    position: fixed;
    top: 25%;
    left: 50px;  /* Move icons slightly to the left */
    display: flex;
    flex-direction: column;
    gap: 45px;
    padding: 20px;  /* Increased padding */
    z-index: 1000;
}

.social-icons a {
    margin-right: 15px;
    color: #FFA500;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fff;
}
@media (max-width: 768px) {
    .social-icons {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #111;
        flex-direction: row;
        justify-content: space-around;
        padding: 10px 10px;
        gap: 0px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    }
}
img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .logo {
        font-size: 1.1rem;
        gap: 0px;
        margin-right: 25px;
    }

    #myphoto {
        height: 35px;
    }
}
/* Heading on top of image */
.ninja-heading {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  color: #fcfbfb;
  font-size: 3.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px #171717;
  z-index: 2;
}

/* Floating Icons */
.floating-icon {
  position: absolute;
  width: 50px;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

/* Position each icon */
.icon1 {
  top: 30%;
  left: 20%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
}

.icon2 {
  top: 27%;
  right: 22%;
  width: 150px;
  height: 150px;
  animation-delay: 0.5s;
}

.icon3 {
  bottom: 10%;
  left: 20%;
  width: 180px;
  height: 100px;
  animation-delay: 1s;
}

.icon4 {
  bottom: 10%;
  right: 22%;
  width: 150px;
  height: 150px;
  animation-delay: 1.5s;
}

/* Float animation */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.ninja-bottom-heading {
  background-color: #2f3132;
  text-align: center;
  padding: 40px;
  color: #f5f4f4; /* Orange color */
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px #000;
}
.about-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 1rem;
  color: #f0f0f0;
  font-family: 'Inter', sans-serif;
}

.about-section h2 {
  font-size: 2rem;
  color: #fff;
  border-bottom: 2px solid #1e90ff;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.what-i-do {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.item {
  background: #131313;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.item h3 {
  color: #d8af0a;
  margin-bottom: 0.5rem;
}

.item p {
  font-size: 0.95rem;
  color: #ccc;
}

.skills-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-block h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.bar-label {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 0.2rem;
}

.bar {
  background: #2b2b2b;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  height: 22px;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #116ded, #2f4f93);
  color: #fff;
  padding-left: 0.5rem;
  font-size: 0.85rem;
  line-height: 22px;
  white-space: nowrap;
}
.clients-section, .fun-facts {
  padding: 40px 20px;
  text-align: center;
  color: white;
}

.clients-section h2, .fun-facts h2 {
  font-size: 2rem;
  padding-left: 10px;
  margin-bottom: 40px;
  
}

.clients-carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.clients-carousel img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #1e1d1d;
  padding: 0px;
  object-fit: contain;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.fact-card {
  background-color: #171616;
  padding: 30px 20px;
  border-radius: 12px;
  border: 3px solid #333;
  transition: 0.3s ease;
}

.fact-card:hover {
  transform: scale(1.05);
  border-color: #0af;
}

.fact-card i {
  font-size: 2rem;
  color: #0af;
  margin-bottom: 10px;
}

.fact-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 10px 0 5px;
}

.fact-number {
  font-size: 1.8rem;
  font-weight: 600;
  color: #eee;
}
.timeline-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 0px;
  color: white;
}

.timeline-column {
  flex: 1;
  min-width: 300px;
  max-width: 48%;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2rem;
  padding-left: 12px;
  margin-bottom: 30px;
}

.timeline-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.timeline-date {
  display: inline-block;
  border: 2px solid #0088ff;
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.timeline-institute {
  font-size: 0.95rem;
  color: #aaa;
  margin-top: 5px;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ddd;
}

/* Responsive Support */
@media (max-width: 768px) {
  .timeline-section {
    flex-direction: column;
  }
  .timeline-column {
    max-width: 100%;
  }
  .ninja-bottom-heading{
    padding: 15px;
    font-size: 20px;
  }
  .ninjaimg{
     width: 500px;
     height:600px;
  }
  .ninja-heading{
    top: 105px;
    font-size: 22px;
  }
  .icon1 {
  top: 25%;
  left: 15%;
  width: 70px;
  height: 70px;
  animation-delay: 0s;
}

.icon2 {
  top: 25%;
  right: 18%;
  width: 70px;
  height: 70px;
  animation-delay: 0.5s;
}

.icon3 {
  bottom: 40%;
  left: 13%;
  width: 90px;
  height: 60px;
  animation-delay: 1s;
}

.icon4 {
  bottom: 41%;
  right: 18%;
  width: 80px;
  height: 80px;
  animation-delay: 1.5s;
}
}
