/* ===============================
   DARK PURPLE THEME - FULL OVERHAUL
   =============================== */

/* CSS Variables for easy customization */
:root {
  --bg-dark: #0a0a0f;
  --bg-darker: #050508;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a2e;
  --purple-primary: #a855f7;
  --purple-light: #c084fc;
  --purple-dark: #7c3aed;
  --purple-glow: rgba(168, 85, 247, 0.3);
  --white: #ffffff;
  --gray-light: #e2e8f0;
  --gray-medium: #94a3b8;
  --gray-dark: #64748b;
  --border-color: #2d2d3a;
}

/* html {
    scroll-behavior:smooth ;
} */
* {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* Global body styling */
body {
  background-color: var(--bg-dark);
  color: var(--gray-light);
}
.custom-cursor {
  overflow-x: hidden;
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--purple-primary);
  border-radius: 50%;
  pointer-events: none;
  transition:
    transform 0.1s ease,
    background-color 0.1s ease;
  will-change: transform; /* Optimize performance */
  box-shadow: 0 0 10px var(--purple-glow);
}
@media (max-width: 992px) {
  .custom-cursor {
    display: none;
  }
}
body button {
  background-color: var(--purple-primary);
  color: var(--white);
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}
button:hover {
  border: 2px solid var(--purple-light);
  background-color: var(--purple-dark);
  box-shadow: 0 0 20px var(--purple-glow);
  transition: 0.3s ease;
}
/* body h1{
  font-size: 50px;
} */

/* Loader styling */

#loader {
  border: 5px solid var(--purple-primary);
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 150px;
  height: 150px;
  background: url("./Assets/images/logo/Arhum_Noor.jpg") no-repeat center center;
  background-size: contain;
  display: block;
  animation: spin 0.7s linear 1;
  box-shadow: 0 0 30px var(--purple-glow);
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

#main-content {
  display: none;
}
/* loader end  */

.sticky {
  position: fixed;
  top: 0;
  background-color: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(168, 85, 247, 0.1);
  z-index: 1000; /* Ensure the navbar stays above other content */
  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease; /* Smooth transition for background color and box shadow */
}
.sticky.slow-transition {
  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease; /* Slow transition for background color and box shadow */
}

header {
  height: 60px;
  width: 100%;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

header nav {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  position: relative;
}

header nav ul {
  display: flex;
  flex-direction: row;
  margin: 0;
  padding-right: 55px;
  list-style: none;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

header nav ul.active {
  opacity: 1;
}

header nav ul li {
  margin: 0 10px;
}

header ul li a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: clamp(0.8rem, 2.5vw, 1.5rem);
  transition: color 0.3s ease;
}
header ul li a:hover {
  color: var(--purple-primary);
}
header p {
  font-weight: bold;
}
.hamburger {
  color: var(--white);
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  z-index: 10;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}
.hamburger:hover {
  color: var(--purple-primary);
  background: none;
  border: none;
}

.hamburger.active {
  transform: rotate(90deg);
}

.logo {
  margin: 0;
  padding: 0;
  flex-grow: 1;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.logo img {
  border: 2px solid var(--purple-primary);
  height: 40px;
  width: auto;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 10px 10px;
  }

  header nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .logo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 10px;
    top: 0px;
  }

  header nav ul {
    flex-direction: column;
    width: 100%;
    padding: 5px 0 0 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      opacity 0.3s ease;
  }

  header nav ul.active {
    opacity: 1;
    max-height: 500px; /* allow menu expansion */
  }

  header nav ul li {
    margin: 5px 0;
  }
}

/* HERO  */
.hero {
  height: 85vh;
  width: 100%;
  background-color: var(--bg-dark);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* text-align: center; */
}

.hero h1 {
  font-size: 5rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 0 40px var(--purple-glow);
}

.hero h2 {
  font-size: 2rem;
  color: var(--gray-light);
}

.hero h4 {
  font-weight: 600;
  color: var(--purple-primary);
  text-transform: uppercase;
  font-size: 1.8rem;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1rem;
  color: var(--gray-medium);
}
.hero span {
  color: var(--purple-light);
  text-transform: uppercase;
  font-weight: 700;
}
.hero .cv {
  border-radius: 50px;
  margin-top: 20px;
  margin-bottom: 25px;
  padding: 15px 30px;
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--purple-primary),
    var(--purple-dark)
  );
  box-shadow: 0 4px 20px var(--purple-glow);
}
.hero .cv:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--purple-glow);
}

.hero .arrow {
  font-size: 35px;
  background: none;
  border: none;
  animation: move infinite 2s linear;
}

.hero .arrow ion-icon {
  position: absolute;
  left: 30px;

  color: var(--purple-primary);
}

.experience {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-top: 20px;
}

.experience h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 10px;
  color: var(--white);
}

.experience p {
  color: var(--gray-medium);
}

@keyframes move {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero h4 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .experience h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 4rem;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero h4 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .experience h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 20px 10px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero h2 {
    font-size: 1.3rem;
  }

  .hero h4 {
    font-size: 1rem;
  }

  .hero p {
    font-size: 0.8rem;
  }

  .experience h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 1rem;
  }

  .hero h4 {
    font-size: 0.9rem;
  }

  .hero p {
    font-size: 0.7rem;
  }

  .experience h2 {
    font-size: 1rem;
  }
}
/* 
========================
SkILLS AND TOOLS SECTION
======================== */

.skills {
  padding: 60px 20px;
  background-color: var(--bg-darker);
}

.skills-content {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--purple-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 3px;
  font-weight: 600;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.section-text {
  font-size: 14px;
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto 30px;
}

.skills-toggle {
  display: flex;
  justify-content: center;
}

.toggle-btn {
  margin: 35px;
  height: 50px;
  width: 125px;
  cursor: pointer;
  margin: 0 5px;
  transition:
    background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s;
  background-color: var(--bg-card);
  color: var(--gray-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.toggle-btn.active,
.toggle-btn:hover {
  background-color: var(--purple-primary);
  color: var(--white);
  border-color: var(--purple-primary);
  box-shadow: 0 0 20px var(--purple-glow);
}

.skills-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.skills-list,
.tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.skills-list li,
.tools-list li {
  list-style: none;
  margin: 10px;
}

.skill-card {
  position: relative;
  padding: 15px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.skill-card:hover {
  border-color: var(--purple-primary);
  box-shadow: 0 4px 20px var(--purple-glow);
}

.skill-card img {
  width: 50px;
  height: 50px;
}

.tooltip {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--purple-primary);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  font-weight: 600;
}

.skill-card:hover .tooltip {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

/* 
=============================
SkILLS AND TOOLS SECTION ENDS
============================= */

/* ===================
    HIRE SECTION START
====================== */

.Hire {
  background: linear-gradient(
    135deg,
    var(--purple-dark),
    var(--purple-primary)
  );
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.Hire-text {
  justify-content: center;
  color: var(--white);
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.Hire-text h1 {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.Hire-text button {
  margin: 0;
  height: 50px;
  width: 150px;
  padding: 0;
  border-radius: 50px;
  background-color: var(--white);
  color: var(--purple-dark);
  font-weight: 700;
}
.Hire-text button:hover {
  background-color: var(--bg-dark);
  color: var(--white);
  border: 2px solid var(--white);
}

@media (max-width: 576px) {
  .Hire {
    height: auto;
    padding: 15px 0;
  }
  .Hire h1 {
    margin: 10px 0;
    font-size: 0.9rem;
  }
  .Hire-text {
    gap: 10px;
  }
  .Hire-text button {
    margin: 0;
    width: 130px;
    height: 45px;
    font-size: 0.9rem;
  }
}
/* =================
    HIRE SECTION END
==================== */

/* ====================
    PROJECT SECTION
===================== */
.projects {
  background-color: var(--bg-dark);
  margin: auto;
  padding: 40px 20px;
}

.projects .title-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.projects .section-subtitle {
  color: var(--purple-primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

.projects .section-title {
  color: var(--white);
  font-size: 32px;
  margin: 10px 0;
  font-weight: 700;
}

.projects li {
  list-style: none;
}

.projects .section-text {
  color: var(--gray-medium);
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto;
}

.projects .slider-wrapper {
  position: relative;
}

.projects .slider {
  overflow: hidden;
  width: 100%;
}
.projects p {
  color: var(--gray-light) !important;
  font-size: 1.2rem;
}
.projects h1 {
  font-size: 4rem !important;
  font-weight: 700;
  color: var(--white);
}
.projects .slider-wrapper p {
  color: white !important;
  font-style: italic;
}

.projects .slider-container {
  flex-wrap: nowrap;
  display: flex;
  overflow-x: auto;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  gap: 20px; /* optional, for spacing */
  padding-bottom: 10px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.projects .slider-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.projects .slider-item {
  flex-shrink: 0;
  width: 32%;
}

.projects .projects-card {
  border-radius: 15px;
  overflow: hidden;
  background: var(--bg-card);
  position: relative;
  transition: 0.7s ease;
  border: 1px solid var(--border-color);
}
.projects .projects-card:hover {
  border-color: var(--purple-primary);
  box-shadow: 0 10px 40px var(--purple-glow);
}

.projects .img-cover {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: 0.7s ease;
  display: block;
}

.projects .card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-55%, -50%);
  color: white;
  text-align: center;
  opacity: 0;
  transition: 0.7s ease;
  width: 100%;
  padding: 10px;
}

.projects .projects-card:hover .img-cover {
  opacity: 0.2;
  transform: scale(0.95);
}

.projects .projects-card:hover .card-content {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.projects .slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.projects .slider-control {
  background: none;
  border: 2px solid var(--purple-primary);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.projects .slider-control:hover {
  background: var(--purple-primary);
  color: var(--white);
  box-shadow: 0 0 20px var(--purple-glow);
}
.projects .slider-control .arrow {
  border: 4px solid var(--purple-primary);
  border-width: 0 2px 2px 0;
  padding: 5px;
  display: inline-block;
  transition: 0.3s ease;
}

.projects .slider-item a {
  text-decoration: none;
  color: var(--purple-light);
  font-size: 1.2rem;
  font-weight: 700;
}

.projects .slider-control.prev .arrow {
  transform: rotate(135deg); /* Left arrow */
}

.projects .slider-control.next .arrow {
  transform: rotate(-45deg); /* Right arrow - this was wrong before */
}

.projects .slider-control:hover .arrow {
  border-color: var(--white);
}

/* =====================
    PROJECT SECTION END
======================== */

/* ====================
    PROJECT MODEL START
======================= */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  background-color: var(--bg-card);
  margin: 5% auto;
  padding: 15px;
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 1000px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.modal-content h4 {
  color: var(--bg-darker);
}

.modal-header {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.modal-header h2 {
  margin: 0;
  flex-grow: 1;
  color: var(--border-color);
}

.modal-body {
  padding: 20px;
}

.modal-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.modal-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-light) !important;
}
.pro-link {
  margin: 1rem;
}
.pro-link h4 {
  color: var(--white);
}
.pro-link a {
  text-decoration: none;
  color: var(--purple-light);
}

.close {
  margin-left: 20px;
  color: var(--gray-dark);
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: var(--purple-primary);
  text-decoration: none;
  cursor: pointer;
}

.modal .skills {
  margin-top: 20px;
  background-color: var(--bg-card);
  padding: 15px;
  border-radius: 10px;
}

.modal .skills h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.modal .skill-badge {
  display: inline-block;
  margin: 5px 5px 5px 0;
  padding: 10px 15px;
  border: 1px solid var(--purple-primary);
  border-radius: 8px;
  background-color: var(--bg-darker);
  color: var(--purple-light);
  font-size: 14px;
  font-weight: 600;
}
/* ====================
    PROJECT MODEL END
======================= */

/* ================
    REVIEWS SECTION 
=================== */
#reviews {
  background-color: var(--bg-darker);
}
#reviews h1 {
  font-weight: 700;
  color: var(--white);
}
#reviews p {
  font-size: 20px;
  color: var(--gray-light);
}
#reviews .card {
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
#reviews button {
  border-radius: 0px !important;
}
#reviews .review-slider {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

#reviews .review-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
/* =====================
    REVIEWS SECTION END
======================== */

/* ================
    CONTACT SECTION 
=================== */
.hello {
  align-content: center;
  height: 550px;
  padding: 20px;
  background-color: var(--bg-dark);
}

.hello button {
  margin: 35px;
  height: 50px;
  width: 125px;
}
.hello h1 {
  margin: 2rem;
  font-weight: 700;
  color: var(--white);
}
.hello h4 {
  color: var(--purple-primary);
  font-weight: 600;
  letter-spacing: 2px;
}
.hello p {
  color: var(--gray-medium);
}

.hello .socials {
  padding: 5px;
}

.hello .socials ul {
  display: inline;
  list-style: none;
}

.hello .socials li {
  justify-content: space-between;
  text-decoration: none;
  display: inline;
}

.hello .socials a {
  margin: 5px;
  text-decoration: none;
}

.hello .socials ion-icon {
  font-size: 30px;
  font-weight: bold;
  padding: 10px;
  border-radius: 100px;
  color: var(--white);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.hello .socials ion-icon:hover {
  background-color: var(--purple-primary);
  border-color: var(--purple-primary);
  box-shadow: 0 0 20px var(--purple-glow);
  transition: 0.3s;
}

.animated-border {
  position: relative;
  display: inline-block;
  margin: 35px;
  height: 50px;
  width: 125px;
  line-height: 50px;
  text-align: center;
  background: transparent;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border: 2px solid transparent;
  background-color: var(--purple-primary);
  transition: color 0.3s ease;
  border-radius: 50px;
  box-shadow: 0 4px 20px var(--purple-glow);
}

.animated-border::before,
.animated-border::after {
  content: "Say Hello";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--purple-light);
  box-sizing: border-box;
  border-radius: 50px;
}

.animated-border::before {
  clip-path: polygon(0 0, 0% 0%, 0% 100%, 0 100%);
  animation: border-animation 2s linear infinite;
}

.animated-border::after {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  animation: border-animation 2s linear infinite reverse;
}
@media (max-width: 576px) {
  .animated-border {
    height: 45px;
    width: 120px;
    line-height: 45px;
    margin: 15px;
    font-size: 14px;
    border-radius: 50px;
  }

  .animated-border::before,
  .animated-border::after {
    border-radius: 50px;
  }
}

@keyframes border-animation {
  0% {
    clip-path: polygon(0 0, 0% 0%, 0% 100%, 0 100%);
  }
  25% {
    clip-path: polygon(0 0, 100% 0%, 0% 100%, 0 100%);
  }
  50% {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 100%);
  }
  75% {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 100% 100%);
  }
  100% {
    clip-path: polygon(0 0, 0% 0%, 100% 100%, 0 100%);
  }
}

/* ====================
    CONTACT SECTION END 
======================= */

/* ================
    FOOTER SECTION 
=================== */
footer {
  display: flex;
  align-items: center;
  height: 70px;
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
}
footer a {
  color: var(--purple-light);
  text-decoration: none;
}
footer p {
  text-align: center;
  color: var(--gray-medium);
}
/* =====================
    FOOTER SECTION END
======================== */

/*============
    ARROW TOP
============== */
.arrow-top ion-icon {
  position: fixed;
  bottom: 75px;
  right: 25px;
  width: 55px;
  height: 55px;
  color: var(--purple-primary);
  scroll-behavior: smooth;
  filter: drop-shadow(0 0 10px var(--purple-glow));
}

@media (max-width: 768px) {
  .arrow-top ion-icon {
    display: none;
  }
}

/* ===============
    ARROW TOP ENDS
================== */

/* Responsive adjustments */

@media (max-width: 992px) {
  .projects .slider-item {
    width: 48%;
  }
}

@media (max-width: 768px) {
  .projects .slider-container {
    flex-wrap: nowrap;
    gap: 16px;
  }

  .projects .slider-item {
    width: 100%;
  }

  .projects .img-cover {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .projects h1 {
    color: #fff;
    font-size: 2.5rem !important;
    margin: 0.5rem 0;
  }
  .projects {
    padding: 20px 10px;
  }
  .projects .section-title {
    font-size: 24px;
  }
  .projects .section-text {
    font-size: 14px;
    padding: 0 10px;
  }
  .projects .img-cover {
    height: 220px;
  }
  .projects .card-content {
    padding: 5px;
  }
  .projects .card-title {
    font-size: 20px;
  }
  .projects .card-text {
    font-size: 14px;
  }
  .projects .slider-controls {
    gap: 10px;
  }
  .projects .slider-control {
    width: 35px;
    height: 35px;
  }
  .projects .slider-control .arrow {
    padding: 4px;
  }
}

@media (max-width: 768px) {
  .hello {
    height: auto;
    padding: 20px;
  }

  .hello .container {
    padding: 0;
  }

  .hello h1 {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  .hello p {
    font-size: 1rem;
    margin: 1rem 0;
  }

  .hello button {
    width: 100%;
    margin: 15px 0;
  }

  .hello .socials ul {
    display: flex;
    justify-content: center;
    padding: 0;
  }

  .hello .socials li {
    margin: 0 5px;
  }

  .hello .socials ion-icon {
    font-size: 25px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .hello h1 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
  }

  .hello p {
    font-size: 0.9rem;
    margin: 0.5rem 0;
  }

  .hello button {
    width: 100%;
    margin: 10px 0;
    height: 40px;
  }

  .hello .socials ion-icon {
    font-size: 20px;
    padding: 5px;
  }
}

/* about  */

.about {
  margin: 0;
  background-color: var(--bg-dark);
  padding: 20px 0;
}

.about button {
  width: 100%;
  padding: 16px;
  background: var(--bg-card);
  color: var(--gray-light);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
  border: none;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}
.about .about-item span {
  color: var(--white);
  font-weight: bold;
}
.about-item span {
  color: var(--white);
  font-weight: bold;
  font-size: 0.9rem;
  /* text-align: right; */
}

/* about model */

#imgModal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0; /* shorthand for top, right, bottom, left = 0 */
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
  padding: 40px 20px;
}

#imgModal .modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border: 5px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

#imgModal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

/* Optional: Adjust image size slightly for smaller screens */
@media (max-width: 768px) {
  #imgModal .modal-content {
    max-height: 70vh;
  }

  #imgModal .close-btn {
    font-size: 30px;
    top: 15px;
    right: 20px;
  }
}

/* Model end  */

@media (max-width: 576px) {
  .about button {
    text-wrap: balance;
    font-size: 8px;
    padding: 12px;
    width: 90%;
    margin: 10px;
  }
}
.about button:hover {
  background-color: var(--purple-primary);
  box-shadow: 0 0 20px var(--purple-glow);
}
.tab-btn-list {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.about {
  color: white;
}
.tab-btn-item {
  flex: 1; /* Make each button take up equal space */
}

/* Tab button base style */
.tab-btn {
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

@media (max-width: 576px) {
  .tab-btn-item {
    width: 20%; /* 2 buttons per row on small screens */
    /* min-width: 50%; */
  }
  .title {
    font-size: 10px;
  }
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--purple-primary);
  box-shadow: 0 0 20px var(--purple-glow);
  border-color: var(--purple-primary);
  color: var(--white) !important;
}

.tab-content {
  display: none;
  padding: 30px;
}

.award-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.tab-content.active {
  display: block;
  animation: fade 500ms linear forwards;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.img-holder {
  position: relative;
  overflow: hidden;
}

.about-banner {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.about-banner img {
  width: 80%;
  height: auto;
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.about p {
  color: var(--gray-light);
  margin: 0;
  font-size: 0.95rem;
}

.about-list {
  margin-top: 20px;
}

.about-item {
  margin-bottom: 20px;
  font-size: 1rem;
  /* display: flex; */
  justify-content: space-between;
  align-items: flex-start;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-link {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--purple-primary);
}
/* Mobile responsive for about items */
@media (max-width: 768px) {
  .about-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-item p {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .about-item span {
    font-size: 0.8rem;
  }

  .social-list {
    gap: 10px;
    margin-top: 5px;
  }
}

.progress-bar {
  background-color: var(--bg-card);
  height: 6px;
  border-radius: 3px;
}

.progress-fill {
  background-color: var(--purple-primary);
  height: 100%;
  border-radius: 3px;
}
.education-section p,
.education-section h2,
.education-section small {
  color: var(--white) !important;
}

.education-card-box {
  border: 2px solid var(--border-color);
  border-radius: 12px !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background-color: var(--bg-card);
  color: var(--gray-light);
}

.education-card-box h5 {
  color: var(--white) !important;
}

.education-card-box p {
  color: var(--gray-medium) !important;
}

.education-card-box:hover {
  border: 2px solid var(--purple-primary);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--purple-glow);
  background-color: var(--purple-primary) !important;
  color: var(--white) !important;
}

.education-card-box:hover p,
.education-card-box:hover .edu-number {
  color: var(--white) !important;
  opacity: 1 !important;
}

.edu-number {
  color: rgba(255, 255, 255, 0.05);
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.education-card-box:hover .edu-number {
  color: rgba(255, 255, 255, 0.25);
}

@media (min-width: 576px) {
  .tab-btn-list {
    display: flex;
    flex-wrap: wrap;
  }

  .tab-btn-item {
    width: 50%;
  }

  .about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .tab-btn-item {
    width: 20%;
  }

  .grid-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (min-width: 992px) {
  .grid-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
/* Skillset Section */
.skill-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.skill-list li {
  margin-bottom: 20px;
}

.skill-wrapper {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--white);
}

.value {
  font-weight: bold;
  color: var(--purple-light);
}

.progress-bar {
  background-color: var(--bg-card);
  border-radius: 6px;
  border: 1px solid var(--border-color);
  position: relative;
  height: 8px;
  overflow: hidden;
}

.progress-fill {
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-primary));
  height: 100%;
  border-radius: 6px;
  position: relative;
  transition: width 0.4s ease-in-out;
}

.skill-wrapper span {
  font-size: 1.1rem;
}

.skill-wrapper .value {
  color: var(--purple-light);
}

.skill-wrapper .span {
  font-size: 1.1rem;
  color: var(--gray-light);
}

/* Responsive Design for Skillset */
@media (max-width: 576px) {
  .skill-wrapper {
    font-size: 1rem;
  }

  .value {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  .skill-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .skill-list {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    /* gap: px; */
  }
}

.services-section p,
.services-section h2,
.services-section small {
  color: var(--white) !important;
}

.service-box {
  border: 2px solid var(--border-color);
  border-radius: 12px !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background-color: var(--bg-card);
  color: var(--gray-light);
}

.service-box h5 {
  color: var(--border-color) !important;
}

.service-box p {
  color: var(--gray-medium) !important;
}

.service-box:hover {
  border: 2px solid var(--purple-primary);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--purple-glow);
  background-color: var(--purple-primary) !important;
  color: var(--white) !important;
}

.service-box p,
.service-box span {
  transition: color 0.3s ease;
}

.service-box:hover span {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Change color of <p> and <span> when the card is hovered */
.service-box:hover p,
.service-box:hover span {
  color: #ffffff !important;
}

/* Hover effect for <img> */
.service-box:hover img {
  filter: brightness(0) invert(1) !important;
}

.service-box img {
  width: 50px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.service-box .service-number {
  font-size: 3rem;
  position: absolute;
  bottom: 15px;
  right: 20px;
  color: rgba(255, 255, 255, 0.05);
  font-weight: 900;
  z-index: 0;
  transition: color 0.3s ease;
}

.service-box:hover .service-number {
  color: rgba(255, 255, 255, 0.15) !important ;
}

.service-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 576px) {
  .service-box .service-number {
    font-size: 2.5rem;
  }
}

/* ================
SERVICES STYLING END 
=================== */

/* ================
AOS (ANIMATE ON SCROLL) - GPU ACCELERATED
=================== */

/* Fade Up Animation - GPU Accelerated with transform + opacity only */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth easing curves for professional feel */
@media (prefers-reduced-motion: reduce) {
  [data-aos],
  [data-aos].aos-animate {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==================
BUTTON HOVER ANIMATIONS
==================== */

/* Professional button scale on active/hover */
button:active {
  transform: scale(0.98);
  transition: transform 0.15s ease;
}

button:hover {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Service boxes - subtle lift on hover */
.service-box {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  will-change: transform;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

/* Award cards hover effect */
.award-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  will-change: transform;
}

.award-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Skill cards - smooth interactions */
.skill-card {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  will-change: transform;
}

.skill-card:hover {
  transform: scale(1.1) translateY(-5px);
  opacity: 0.9;
}

/* Project cards */
.projects-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  will-change: transform;
}

.projects-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

/* Smooth link interactions */
a {
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

a:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* ==================
AOS ANIMATIONS END
==================== */
