:root {
  --primary-color: #ff007f;
  --secondary-color: #7928ca;
  --accent-color: #25D366;
  --text-color: #fff;
  --dark-bg: #181818;
  --light-bg: #161616;
  --font-main: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

/* ===== BASE & RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: MS Mincho;
  background: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
  padding-top: 40px;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

/* ===== NAVBAR STRUCTURE ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background-color: rgba(17, 17, 17, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar-logo img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.navbar-logo img:hover {
  transform: scale(1.05);
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding: 0.5rem 0;
}

/* ===== NAV ITEM STATES ===== */
/* Underline Effect */
.navbar ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
  width: 100%;
}

/* Current Page Indicator */
.navbar ul li a[aria-current="page"] {
  color: var(--primary-color);
  font-weight: 600;
}

.navbar ul li a[aria-current="page"]::after {
  width: 100% !important;
  background-color: var(--primary-color);
  animation: pulseUnderline 2s infinite;
}

.navbar ul li a[aria-current="page"] i {
  color: var(--primary-color);
  animation: gentlePulse 2s infinite;
}

.navbar ul li a[aria-current="page"]::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 4px;
  background: rgba(255, 0, 127, 0.1);
  z-index: -1;
  animation: glowPulse 3s infinite;
}

/* ===== SPECIAL HOVER EFFECTS ===== */
/* Home Link - Bounce */
li a[href="index.html"]:hover {
  color: #FF6B6B;
}

li a[href="index.html"]:hover i {
  animation: bounce 0.8s ease infinite;
}

/* Services Link - Gear Spin */
li a[href="services.html"]:hover {
  color: #4ECDC4;
}

li a[href="services.html"]:hover i.fa-tools {
  animation: spin 1.5s linear infinite;
}

/* About Link */
li a[href="about.html"] {
  overflow: hidden;
}

li a[href="about.html"]:hover {
  color: #FFD166;
}

/* General Hover Lift */
li:not(:last-child) a:not(.active):not(.btn-lets-talk):hover {
  transform: translateY(-5px);
  color: #4ECDC4;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
  background: transparent;
  border: none;
  padding: 0;
  transition: all 0.3s ease;
}

.hamburger div {
  width: 100%;
  height: 3px;
  background-color: white;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}

.hamburger.active div:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
  background-color: var(--primary-color);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active div:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
  background-color: var(--primary-color);
}

/* ===== ANIMATIONS ===== */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseUnderline {
  0%, 100% { opacity: 0.8; height: 2px; }
  50% { opacity: 1; height: 3px; }
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}
  /* Hero Section */
  .hero {
    padding: 2rem 0;
  }
main{
    animation: flipIn 1s ease-out forwards;
    opacity: 0;
    transform-style: preserve-3d;
}

@keyframes flipIn {
    0% {
        transform: rotateX(90deg) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: rotateX(-20deg) scale(1.05);
        opacity: 0.5;
    }
    100% {
        transform: rotateX(0deg) scale(1);
        opacity: 1;
    }
}
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
  }
  #fullname{
    font-family: 'Edwardian Script ITC', Times New Roman, Times, serif;
  }
  .content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .content {
    flex: 1;
    max-width: 600px;
  }
  
  .greeting {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
  }
  
  h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
  }
  #main-heading{
    font-size: 2rem;
  }

  .name {
    font-size: 2rem;
    font-weight: bolder;
    font-family: var(--font-main);
    
    background: linear-gradient(
        270deg, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--accent-color), 
        var(--primary-color)
    );
    background-size: 200% 200%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    animation: animateGradient 5s linear infinite;
}

@keyframes animateGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
  h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-weight: 600;
  }
  
  .static-text {
    white-space: nowrap;
  }
  
  .typing-container {
    display: inline-block;
    min-width: 200px;
    height: 2.5rem;
    vertical-align: bottom;
    text-align: left;
  }
  
  .typing-effect {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 2rem;
  }
  
  .typing-effect::after {
    content: '|';
    animation: blink 1s infinite;
  }
  
  @keyframes blink {
    50% { opacity: 0; }
  }
  
  .description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
  }
  
  /* Buttons */
  .button-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
  }
  
  .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
  }
  
  .btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
  }
  
  .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }
  
  .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }
  
  .btn i {
    margin-right: 0.5rem;
  }
  
/* Social Icons Container */
/* Social Icons */
.social-icons {
    display: flex;
    text-decoration: none;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    text-decoration: none;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease, color 0.1s ease;
  }
  
  
  /* Base Animation */
  .social-icons a:hover {
    transform: scale(1.2) rotate(5deg);
  }
  
  /* Individual Hover Effects */
  /* TikTok */
  #tiktok:hover {
    background-color: #000000;
    box-shadow: 0 0 15px #69C9D0, 0 0 30px #EE1D52, 0 0 60px #69C9D0, 0 0 90px #EE1D52;
    text-shadow: 0 0 10px #d06994, 0 0 20px #EE1D52;
  }
  
  /* LinkedIn */
  #linkedin:hover {
    background-color: #0077B5;
    box-shadow: 0 0 15px #0077B5, 0 0 30px #26485a, 0 0 60px #0077B5, 0 0 90px #0077B5;
    text-shadow: 0 0 10px #00b509, 0 0 20px #0077B5;
  }
  
  /* GitHub */
  #github:hover {
    background-color: #333;
    box-shadow: 0 0 15px #6e5494, 0 0 30px #520fb8, 0 0 60px #988aac, 0 0 90px #40039b;
  }
  
  /* Animation - Subtle Color Rotation (Optional Fancy Touch) */
  @keyframes hueRotate {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(360deg); }
  }
  
  .social-icons a {
    animation: hueRotate 1s linear infinite;
  }
  
  /* YouTube */
  .social-icons a[aria-label="YouTube"]:hover {
    background: #ff0000 !important;
    color: white !important;
  }
  
  /* Profile Image */
  .image-container {
    flex: 1;
    display: flex;
    border-radius: 50% ;
    justify-content: center;
    position: relative;
  }
  
  .profile-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
    box-shadow: 0 0 10px var(--primary-color),
                0 0 20px var(--primary-color),
                0 0 30px var(--primary-color),
                0 0 40px var(--primary-color);
}

.profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px var(--primary-color),
                0 0 30px var(--primary-color),
                0 0 45px var(--primary-color),
                0 0 60px var(--primary-color);
}
@media (max-width: 1024px) {
  .image-container {
    display: none;
  }
  main{ height: fit-content;}
}


  
  /* Partners Section */
  .partners-section {
    background: var(--light-bg);
    padding: 2rem 0;
    height: fit-content;
    margin-top: 1rem;
  }
  
  .partners-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  #partners-heading{
    text-align: center;
  }
  .partners-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
  }
  
  .partners-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
  }
  
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
  }
  
  .partner-item {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    height: 60px;
  }
  
  .partner-logo {
    max-width: 50px;
    height: 50px;
    gap: 1rem;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);;
    border-radius: 12px;
    opacity: 0.8;
    transition: all 0.3s ease;
  }
  
  .partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
  }
  
  /* Footer */
  .site-footer {
    background: var(--light-bg);
    color: white;
    padding: 3rem 0 0;
    position: relative;
    overflow: hidden;
  }
  
  .footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .footer-brand img {
    border-radius: 50%;
  }
  
  .footer-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .footer-text {
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
  }
  
  .footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .footer-nav h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  .footer-nav h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
  }
  
  .footer-nav ul, .footer-contact ul {
    list-style: none;
  }
  
  .footer-nav li, .footer-contact li {
    margin-bottom: 0.8rem;
  }
  
  .footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .footer-contact i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
  }
  
  .footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .footer-social a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
  }
  
  .footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
  }
  
  .legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
  }
  
  .legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .legal-links a:hover {
    color: var(--primary-color);
  }
  
  /* Mobile Styles */
  @media (max-width: 768px) {
    .navbar {
      padding: 1rem;
    }
    .partners-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .navbar ul {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 80px);
      background: var(--dark-bg);
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 2rem;
      gap: 2rem;
      transition: left 0.3s ease;
    }
  
    .navbar ul.active {
      left: 0;
    }
  
    .hamburger {
      margin-right: 2em;
      display: flex;
    }
  
    .content-container {
      flex-direction: column-reverse;
      text-align: center;
    }
  
    .content {
      margin-bottom: 3rem;
      align-items: center;
    }
  
    h1 {
      font-size: 2.8rem;
    }
  
    h2 {
      justify-content: center;
      flex-direction: column;
      align-items: center;
    }
  
    .static-text {
      margin-right: 0;
      margin-bottom: 0.5rem;
    }
  
    .typing-container {
      min-width: 150px;
      height: 2rem;
      display: inline-flex;
      justify-content: center;
    }
    .typing-effect{
      font-size: small;
      font-weight: 300;
    }
    .description {
      margin-left: auto;
      margin-right: auto;
      width: 90%;
    }
  
    .button-group, .social-icons {
      justify-content: center;
    }
  
    .image-container {
      order: -1;
      margin-bottom: 1rem;
      margin-top: -3rem;
    }
  
    .profile-img {
      max-width: 250px;
      box-shadow: 0 0 25px var(--primary-color),
                  0 0 50px rgba(78, 42, 207, 0.7),
                  0 0 75px rgba(0, 255, 252, 0.5);
    }
  }
  
  @media (max-width: 480px) {
    h1 {
      font-size: 2.2rem;
    }
    .partners-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .partners-title{
      font-size: medium;
    }
    h2 {
      font-size: 1.5rem;
    .btn {
      padding: 0.7rem 1.5rem;
      font-size: 0.9rem;
    }
  
    .partner-logo {
      max-width: 80px;
    }
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  } 
  /* Show hamburger menu on all tablets (768px-1024px) and mobile */
@media (max-width: 1024px) {
  /* Hide regular menu */
  .navbar ul {
      position: fixed;
      top: 70px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 70px);
      background: var(--dark-bg);
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 2rem;
      gap: 2rem;
      transition: left 0.3s ease;
  }

  .navbar ul.active {
      left: 0;
  }

  /* Show hamburger */
  .hamburger {
      display: flex;
  }

  /* Adjust logo size for tablets */
  .navbar-logo img {
      height: 40px;
  }
}

/* Optional: Specific iPad Pro 12.9" landscape fix */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .navbar ul {
      gap: 1rem; 
  }
}