@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


* {
  margin: 0;
  padding: 0;
  font-family: "poppins" sans-serif;
  font-weight: 400;
  font-style: normal;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000000;
  color: #fff;
}

#typing-text {
  font-family: 'Orbitron', sans-serif;
  color: #0ff;
  position: relative;
}

#typing-text::before,
#typing-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
}

#typing-text::before {
  color: #f0f;
  z-index: -1;
  animation: glitch 3s infinite;
}

@keyframes glitch {

  0%,
  100% {
    transform: translate(0);
  }

  20% {
    transform: translate(-2px, 2px);
  }

  40% {
    transform: translate(-2px, -2px);
  }

  60% {
    transform: translate(2px, 2px);
  }

  80% {
    transform: translate(2px, -2px);
  }
}

/* Navigation Menu Styling */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  /* No background */
  padding: 20px 50px;
  box-shadow: none;
  /* No shadow */
}

/* Restored Original Logo Size */
.logo {
  height: auto;
  /* Keeps the original aspect ratio */
  max-height: 60px;
  /* Current limit */
  transition: transform 0.3s ease;

  /* ✅ Increase size */
  width: 120px;
  /* Adjust width */
  max-width: 100%;
  /* Ensures responsiveness */
}

.logo:hover {
  transform: scale(1.1);
}


/* Menu List */
ul {
  list-style: none;
  display: flex;
  gap: 8px;
  /* Tight spacing */
  margin: 0;
  padding: 0;
}

ul li {
  position: relative;
}

/* Navigation Links */
ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 8% 6px;
  /* Compact padding */
  transition: all 0.4s ease;
  position: relative;
}

/* Glow Effect on Hover */
ul li a:hover {
  color: #ff4d4d;
  text-shadow: 0 0 8px #ff4d4d, 0 0 20px #ff4d4d;
  transform: scale(1.05);
}

/* Active State */
ul li a.active {
  color: #ff4d4d;
  font-weight: 600;
}

/* Icons */
.fas {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: 0.3s;
}

.fas:hover {
  color: #ff4d4d;
}




#header {
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
  /* Prevent scrolling */
  display: flex;
  flex-direction: column;
}

/* Ensure container takes full width/height in header */
#header .container {
  width: 100%;
  height: 100%;
  max-width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.container {
  padding: 10px 10px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  /* Prevent wrapping */
  padding: 20px 10%;
  /* Ensure visibility and spacing */
  width: 100%;
  position: relative;
  z-index: 100;
}

.logo {
  width: 100px;
}

nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

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

/* Main Page Layout Fixes */
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: calc(100vh - 100px);
  /* Fill remaining height minus nav */
  padding: 0 10%;
}

.header-text {
  flex-basis: 50%;
  margin-top: 0;
  /* Remove manual margin, use flex center */
  font-size: 34px;
}

.hero-image {
  flex-basis: 45%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  max-height: 85vh;
  /* Ensure it fits in screen */
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.header-text h1 {
  font-size: 75px;
  /* Increased from 60px */
  margin-top: 20px;
}

.header-text h1 span {
  color: #ff004f;
}

/* Preloader full-screen overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  /* or your site background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Loader animation */
.loader {
  width: 60px;
  height: 60px;
  border: 6px solid #fff;
  border-top: 6px solid #ff004f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ---------------------------About---------------------------*/
#about {
  padding: 40px 0;
  /* Reduced from 80px */
  color: #ababab;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-1 {
  flex-basis: 48%;
}

.about-col-1 img {
  width: 100%;
  border-radius: 15px;
}

.about-col-2 {
  flex-basis: 48%;
}

.sub-title {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
}

/* Tab Titles Container */
.tab-titles {
  display: flex;
  margin: 20px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Subtle divider */
  padding-bottom: 10px;
}

/* Individual Tab Links */
.tab-links {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  color: #ababab;
  transition: color 0.3s ease;
}

.tab-links:hover {
  color: #fff;
}

.tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -13px;
  /* Align with border-bottom */
  transition: width 0.3s ease;
}

.tab-links.active-link {
  color: #ff004f;
}

.tab-links.active-link::after {
  width: 70%;
  /* Stylish partial underline */
}

/* Tab Contents List */
.tab-contents ul li {
  list-style: none;
  margin: 20px 0;
  position: relative;
  padding-left: 20px;
  /* Space for accent border/icon */
}

/* Add a sleek left border accent to list items */
.tab-contents ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  height: 80%;
  width: 2px;
  background: linear-gradient(to bottom, #ff004f, transparent);
}

.tab-contents ul li span {
  color: #ff004f;
  font-size: 16px;
  font-weight: 600;
  display: block;
  /* Make title stand out on its own line */
  margin-bottom: 5px;
}

/* Tab Content Animation */
.tab-contents {
  display: none;
}

.tab-contents.active-tab {
  display: block;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------Skills and Tools------------------- */
#skills-tools {
  padding: 50px 0;
  background: #0a0a0a;
  /* dark background */
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.skill-item {
  background: #262626;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.skill-item i {
  font-size: 50px;
  color: #ff004f;
  /* your theme color */
  margin-bottom: 10px;
}

.skill-item h3 {
  font-size: 18px;
  margin-top: 10px;
  color: #fff;
}

.skill-item:hover {
  transform: translateY(-10px);
  background: cyan;
  box-shadow: 0 12px 20px cyan;
  ;
}

.skill-item:hover i,
.skill-item:hover h3 {
  color: black;
}

/* Certifications Section */
.certifications-section {
  padding: 100px 5%;
  /* Increased padding for breathing room */
  background: #000;
  position: relative;
}

.certifications-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 0, 79, 0.05), transparent 70%);
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
  color: white;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #ff004f;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(25, 25, 25, 0.8);
  padding: 40px 30px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

/* Gradient Border Effect on Hover */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff004f, #ffeb3b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(35, 35, 35, 0.9);
  border-color: rgba(255, 0, 79, 0.3);
}

.card-icon {
  font-size: 48px;
  color: #ff004f;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
  display: inline-block;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  color: #fff;
  text-shadow: 0 0 10px #ff004f;
}

.card-title {
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.card-desc {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 30px;
}

.card-date {
  font-size: 13px;
  color: #ff004f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  bottom: 25px;
  right: 30px;
  opacity: 0.8;
}

/* Remove old hover state that changed background to cyan */

/*---------------my project session---------------*/
#my-projects {
  padding: 80px 0;
  background: #050505;
  position: relative;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.project-card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Hover Effect: Glow Border & Lift */
.project-card:hover {
  transform: translateY(-12px);
  border-color: #ff004f;
  box-shadow: 0 20px 40px rgba(255, 0, 79, 0.15);
  background: #202020;
}

.project-header i {
  font-size: 45px;
  color: #ff004f;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-header i {
  transform: scale(1.2) rotate(-10deg);
  text-shadow: 0 0 15px rgba(255, 0, 79, 0.6);
}

.project-card h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 10px 0 15px;
  color: #fff;
  transition: color 0.3s;
}

.project-card:hover h2 {
  color: #ff004f;
}

.problem-statement,
.project-desc,
.project-outcome {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  text-align: left;
}

.problem-statement strong,
.project-outcome strong {
  color: #fff;
  font-weight: 600;
}

/* Tags Styling */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 25px;
}

.project-tags span {
  background: rgba(255, 0, 79, 0.1);
  color: #ff004f;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(255, 0, 79, 0.2);
  transition: background 0.3s;
}

.project-card:hover .project-tags span {
  background: rgba(255, 0, 79, 0.2);
}

/* Links Styling */
.project-links {
  margin-top: auto;
  display: flex;
  gap: 15px;
}

.btn-link {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-link:hover {
  color: #ff004f;
  transform: translateX(3px);
}

.btn-link i {
  font-size: 16px;
  /* Reset icon size for small buttons */
  margin-bottom: 0;
  color: inherit;
}


/* ---------services-------------------------------- */
/* --------- Services Section - Professional & Clean ---------------- */
#services {
  padding: 100px 0;
  background-color: #0f0f0f;
  position: relative;
  z-index: 1;
}

#services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#services .sub-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #fff;
  position: relative;
  display: block;
}

#services .sub-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #ff004f;
  margin: 15px auto 0;
  border-radius: 2px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #1a1a1a;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Elegant accent line on top */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ff004f;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  background: #202020;
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: #333;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Image Styling - Clean & Sharp */
.service-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
  background: #111;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: grayscale(100%) opacity(0.8);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
  filter: grayscale(0%) opacity(1);
}

.service-card i {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ff004f;
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.1);
}

.service-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

.service-card p {
  color: #a0a0a0;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: auto;
}

.service-card a i {
  font-size: 12px;
  margin-bottom: 0;
  transition: transform 0.3s ease;
}

.service-card a:hover {
  color: #ff004f;
}

.service-card a:hover i {
  transform: translateX(5px);
  color: #ff004f;
}

/* Watermark Number - Subtle & Professional */
.service-card {
  counter-increment: service-count;
}

.service-card::after {
  content: "0" counter(service-count);
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  font-family: sans-serif;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service card reveal style from JS */
.service-card.service-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------My Work (Gallery) Section------------------------ */
#gallery {
  padding: 80px 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

#gallery .sub-title {
  text-align: center;
  margin-bottom: 60px;
}

#gallery .sub-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff004f, #ffeb3b);
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
  perspective: 1000px;
}

.work {
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: fadeInUp 0.8s ease-out backwards;
}

.work::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s;
}

.work:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 0, 79, 0.2);
}

.work:hover::before {
  opacity: 1;
}

.work img {
  width: 100%;
  height: 350px;
  /* Fixed height for uniformity */
  object-fit: cover;
  border-radius: 15px;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work:hover img {
  transform: scale(1.15);
}

.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), #ff004f);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}

.work:hover .layer {
  height: 100%;
}

.layer h3 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s 0.1s;
}

.layer p {
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s 0.2s;
}

.work:hover .layer h3,
.work:hover .layer p {
  transform: translateY(0);
  opacity: 1;
}

.layer a {
  margin-top: 10px;
  color: #ff004f;
  text-decoration: none;
  font-size: 18px;
  line-height: 50px;
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  transform: scale(0);
  transition: transform 0.4s 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.work:hover .layer a {
  transform: scale(1);
}

.layer a:hover {
  background: #000;
  color: #fff;
}

/* Extra Work Container Animation */
.extra-work-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease-in-out;
  opacity: 0;
}

.extra-work-container.show {
  max-height: 2000px;
  opacity: 1;
  margin-top: 40px;
}

/* See More Button Styling */
/* See More Button - Premium Gradient Glow */
.btn {
  display: block;
  margin: 60px auto;
  width: fit-content;
  padding: 16px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(90deg, #ff004f, #ffeb3b);
  background-size: 200% auto;
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
  box-shadow: 0 5px 20px rgba(255, 0, 79, 0.4);
  border: none;
  text-transform: uppercase;
  font-size: 14px;
}

.btn:hover {
  background-position: right center;
  transform: translateY(-5px);
  box-shadow:
    0 15px 30px rgba(255, 0, 79, 0.6),
    0 0 20px rgba(255, 235, 59, 0.4);
}

.btn:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 79, 0.4);
}

/* Optional internal shine */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.btn:hover::after {
  transform: scaleX(1);
}

/* ------------------Testimonials---------------- */
/* #testimonials {
  padding: 80px 20px;
  background: black;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 50px;
  font-weight: bold;
}

.testimonial-container {
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  animation: slide 15s infinite ease-in-out;
}

.testimonial-card {
  background: #262626;
  border-radius: 15px;
  padding: 30px;
  min-width: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.testimonial-card img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  color: white;
}

.testimonial-card h4 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 0.95rem;
}

.testimonial-card p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 10px;
}

@keyframes slide {
  0%, 20% { transform: translateX(0); }
  25%, 45% { transform: translateX(-100%); }
  50%, 70% { transform: translateX(-200%); }
  75%, 100% { transform: translateX(0); }
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 100%;
    padding: 20px;
  }

  .testimonial-slider {
    flex-direction: column;
    animation: none;
  }
} */


/* ------------------contacts---------------- */
.contact-left {
  flex-basis: 35%;
}

.contact-right {
  flex-basis: 60%;
}

.contact-left p {
  margin-top: 30px;
}

.contact-left p i {
  color: #ababab;
  margin-right: 15px;
  font-size: 25px;
}

.contact-left p i:hover {
  color: #ff004f;
  transition: 0.5s;
  transform: translateY(-5px);
  background-color: #ff004f;
  box-shadow: 0 0 5px #ff004f,
    0 0 20px #ff004f,
    0 0 50px #ff004f,
    0 0 100px #ff004f,
    0 0 200px #ff004f;
  color: black;
}


.social-icons {
  margin-top: 30px;
}

/* ----------------- Contact Section - Sleek Redesign ----------------- */
#contact {
  padding: 80px 0 20px;
  background: radial-gradient(circle at top left, #1a1a1a, #000);
  position: relative;
  overflow: hidden;
}

/* Background Abstract Glow */
#contact::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 79, 0.05), transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 0;
  pointer-events: none;
}

.contact-left {
  flex-basis: 40%;
  padding-right: 40px;
  z-index: 1;
}

.contact-right {
  flex-basis: 55%;
  z-index: 1;
}

.sub-title {
  font-size: 50px;
  margin-bottom: 20px;
  background: -webkit-linear-gradient(#fff, #999);
  background: linear-gradient(#fff, #999);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-cta {
  font-size: 18px;
  color: #888;
  margin-bottom: 40px;
  font-weight: 300;
}

.contact-left p {
  margin-top: 25px;
  font-size: 16px;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s;
}

.contact-left p:hover {
  transform: translateX(10px);
  color: #fff;
}

.contact-left p i {
  color: #ff004f;
  font-size: 20px;
  background: rgba(255, 0, 79, 0.1);
  padding: 10px;
  border-radius: 50%;
}

/* Social Icons - Floating Style */
.social-icons {
  margin-top: 50px;
  display: flex;
  gap: 20px;
}

.social-icons a {
  text-decoration: none;
  font-size: 22px;
  color: #ccc;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #222;
}

.social-icons a:hover {
  color: #fff;
  background: #ff004f;
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 0, 79, 0.4);
  border-color: #ff004f;
}

/* Glassmorphism Form */
.contact-right form {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Minimalist Inputs */
form input,
form textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #333;
  background: transparent;
  padding: 15px 10px;
  margin: 15px 0;
  color: #fff;
  font-size: 16px;
  border-radius: 0;
  /* Square edges for bottom border style */
  transition: all 0.3s ease;
}

form input:focus,
form textarea:focus {
  border-bottom-color: #ff004f;
  background: linear-gradient(to top, rgba(255, 0, 79, 0.05), transparent);
}

form .btn2 {
  padding: 15px 50px;
  font-size: 16px;
  margin-top: 30px;
  cursor: pointer;
  background: #fff;
  /* High contrast button */
  color: #000;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  transition: 0.3s;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: auto;
  /* Put visuals on the button text */
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

form .btn2:hover {
  background: #ff004f;
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 0, 79, 0.3);
  transform: translateY(-3px);
}

/* refined copyright */
/* ------------ Enhanced Footer ------------- */
footer {
  background: #0f0f0f;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 25px;
  gap: 30px;
}

.footer-brand h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
}

.footer-brand h2 span {
  color: #ff004f;
}

.footer-brand p {
  color: #888;
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 15px;
  transition: all 0.3s;
  position: relative;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ff004f;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #ff004f;
  transition: width 0.3s;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
  background: #ff004f;
  border-color: #ff004f;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 5px 15px rgba(255, 0, 79, 0.3);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 14px;
  padding-top: 10px;
}

.made-with i {
  color: #ff004f;
  animation: heartBeat 1.5s infinite;
  margin: 0 5px;
}

@keyframes heartBeat {

  0%,
  100% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.3);
  }

  30% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.3);
  }

  60% {
    transform: scale(1);
  }
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 55px;
  height: 55px;
  background: #ff004f;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1001;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(255, 0, 79, 0.5);
  background: linear-gradient(135deg, #ff004f, #d40042);
}

/* -----------------css for small screens----------- */
nav .fas {
  display: none;
}

@media only screen and (max-width: 600px) {
  #header {
    background-image: url(myimage2.jpg);
    background-size: 80%;
    background-position: right -50% center;
  }

  /* .about-col-1 img {
    width: 80%; 
    margin-left: auto; 
    margin-right: auto;
    display: block;
  } */

  .header-text {
    margin-top: 60%;
    font-size: 16px;
  }

  .header-text h1 {
    font-size: 30px;
  }

  nav .fas {
    display: block;
    font-size: 25px;
  }

  nav ul {
    background: #ff004f;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    padding-top: 50px;
    z-index: 1000;
    transition: right 0.3s ease;
  }

  /* Responsive Tweaks for Services & Gallery */
  @media only screen and (max-width: 600px) {

    #services,
    #gallery {
      padding: 50px 0;
    }

    .services-list,
    .work-list {
      grid-template-columns: 1fr;
      gap: 30px;
      margin-top: 30px;
    }

    .service-card {
      padding: 30px 20px;
      min-height: auto;
    }

    .service-card h2 {
      font-size: 20px;
    }

    .service-image {
      height: 180px;
    }
  }

  nav ul li {
    display: block;
    margin: 25px;
  }

  nav ul .fas {
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }

  .sub-title {
    font-size: 40px;
  }

  .about-col-1,
  .about-col-2 {
    flex-basis: 100%;
  }

  .about-col-1 {
    margin-bottom: 30px;
  }

  .about-col-2 {
    font-size: 14px;
  }

  .tab-links {
    font-size: 16px;
    margin-top: 20px;
  }

  .contact-left,
  .contact-right {
    flex-basis: 100%;
  }

  .copyright {
    font-size: 14px;
  }
}

#msg {
  color: #61b752;
  margin-top: -40px;
  display: block;
}

/* =========================================
   UPDATED PORTFOLIO STYLES (2026)
   ========================================= */

/* Hero Section Updates */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding-top: 10%;
  /* Increased padding to center vertically */
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
}

.header-text {
  margin-top: 0;
  /* Reset margin since we use padding-top on row */
  flex: 1;
  max-width: 650px;
}

/* Ensure header handles absolute positioning */
#header {
  position: relative;
  overflow: hidden;
  /* Prevent scrollbar from shifting image right */
  /* Keep existing background props */
}

.hero-image {
  position: absolute;
  right: -50px;
  /* Slight move right */
  bottom: 0;
  width: 50%;
  height: 90%;
  /* Adjust based on nav height */
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 1;
}

.hero-image img {
  height: 100%;
  width: auto;
  max-width: none;
  /* Allow it to grow */
  border: none;
  box-shadow: none;
  border-radius: 0;
  object-fit: cover;
}

.header-text {
  position: relative;
  z-index: 2;
  /* Text above image */
}

.header-text h1 {
  font-size: 50px;
  margin-top: 20px;
  line-height: 1.2;
}

/* Responsive tweaks */
@media only screen and (max-width: 800px) {
  .header-row {
    flex-direction: column-reverse;
    /* Put image on top on mobile if desired, or column for text first */
    padding-top: 20%;
    gap: 30px;
  }

  .header-text {
    text-align: center;
    max-width: 100%;
  }

  .hero-btns {
    justify-content: center;
  }

  /* Reset hero image for mobile */
  .hero-image {
    position: relative;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    right: auto;
    bottom: auto;
  }

  .hero-image img {
    height: auto;
    width: auto;
    max-width: 50%;
    /* Adjusts relative to screen width */
    max-height: 50vh;
    /* Prevents taking up too much vertical space */
    border-radius: 10px;
    /* Optional: Adds a consistent look */
  }
}

.header-text h1 {
  font-size: 50px;
  margin-top: 20px;
  line-height: 1.2;
}

.role-badge {
  display: inline-block;
  background: rgba(255, 0, 79, 0.2);
  color: #ff004f;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 0, 79, 0.4);
}

.hero-subtext {
  font-size: 18px;
  color: #ccc;
  margin: 20px 0 30px;
  max-width: 600px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Override generic .btn for hero to reset margins if needed */
.hero-btns .btn {
  margin: 0;
}

.btn-primary {
  background: #ff004f;
  border: 1px solid #ff004f;
  color: #fff;
}

.btn-primary:hover {
  background: transparent;
  color: #ff004f;
  box-shadow: 0 0 10px #ff004f;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* About Section Enhancements */
.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #ababab;
}

.about-text strong {
  color: #fff;
  font-weight: 600;
}

/* Skills Categories (Replaces Grid) */
.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.skill-category {
  background: #262626;
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease;
  border-left: 4px solid #ff004f;
  height: 100%;
}

.skill-category:hover {
  transform: translateY(-5px);
  background: #333;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.skill-category h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-category h3 i {
  color: #ff004f;
}

.skill-list {
  list-style: none;
  padding: 0;
}

.skill-list li {
  margin: 10px 0;
  color: #ccc;
  font-size: 15px;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.skill-list li::before {
  content: "▹";
  color: #ff004f;
  position: absolute;
  left: 0;
  /* font-size: 18px; */
}

.skill-list li:last-child {
  border-bottom: none;
}

/* Detailed Project Cards - Premium Overhaul */
.projects-list {
  gap: 40px;
}

.project-card {
  background: #161616;
  /* Deeper dark */
  padding: 35px;
  border-radius: 18px;
  transition: all 0.4s ease;
  border: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Gradient Top Border Line on Hover */
.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff004f, #ffeb3b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border-color: #333;
  /* Keep border subtle, let the glowing line do the work */
}

.project-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.project-header i {
  font-size: 30px;
  color: #ff004f;
  background: rgba(255, 0, 79, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.project-card:hover .project-header i {
  background: #ff004f;
  color: #fff;
  transform: rotate(360deg);
}

.project-header h2 {
  font-size: 26px;
  color: #fff;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.problem-statement {
  font-size: 14px;
  color: #ffcccb;
  margin-bottom: 15px;
  background: rgba(255, 0, 79, 0.08);
  padding: 12px 15px;
  border-radius: 8px;
  border-left: 3px solid #ff004f;
}

.project-desc {
  font-size: 15px;
  color: #bfbfbf;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.project-tags span {
  background: #252525;
  color: #ccc;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid #333;
  transition: all 0.3s;
}

.project-card:hover .project-tags span {
  border-color: #ff004f;
  color: #fff;
}

.project-outcome {
  font-size: 13px;
  color: #4caf50;
  /* Success Green */
  margin-bottom: 25px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-outcome::before {
  content: '\f00c';
  /* FontAwesome Check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  background: rgba(76, 175, 80, 0.1);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.project-links {
  display: flex;
  gap: 15px;
  margin-top: auto;
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
}

.btn-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Primary Link (Live Demo) */
.btn-link:first-child {
  background: #ff004f;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 0, 79, 0.2);
}

.btn-link:first-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 79, 0.4);
}

/* Secondary Link (GitHub/Case Study) */
.btn-link:not(:first-child) {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-link:not(:first-child):hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-link i {
  font-size: 16px;
}

/* Responsive tweaks */
@media only screen and (max-width: 600px) {
  .header-text h1 {
    font-size: 32px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}