@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
:root {
  --bg: #f5f5f5;
  --fg: #222;

  --card-bg: rgb(255, 255, 255);
}
/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
}

/* ===== Header Layout ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background-color: #f3f3f9;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===== Logo Section ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: #1e1e2f;
}

.logo img {
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 40%;
}

/* ===== Nav + Button Wrapper ===== */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  justify-content: flex-end;
}

/* ===== Navigation Links ===== */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 500;
  color: #333;
  font-size: 16px;
  padding: 6px 8px;
  transition: color 0.3s ease;
}

.nav a i {
  font-size: 18px;
}

/* ===== Get in Touch Button ===== */
.btn-touch {
  padding: 10px 22px;
  background: #4c00ff;
  color: #fff;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-touch:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 0, 255, 0.2);
}
.nav a:hover i {
  transform: scale(1.2);
  color: #4c00ff;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  /* Hide nav-text and RATHOUR span */
  .nav-text {
    display: none;
  }

  .rathore-text {
    display:none;
  }

  /* Adjust header padding */
  .header {
    padding: 9px 10px;
    flex-wrap:initial;
  }

  /* Adjust logo spacing */
  .logo {
    font-size: 20px;
    gap: 8px;
  }

  .logo img {
    height: 60px;
    width: 60px;
  }

  /* Make nav + button a flex row */
  .navbar-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 19px;
    margin-top: 8px;
  }

  /* Nav links spacing */
  .nav {
    gap: 12px;
  }

  .nav a {
    padding: 6px;
    font-size: 16px;
  }

  .nav a i {
    font-size: 20px;
  }

  /* Adjust "GET IN TOUCH" button */
  .btn-touch {
    padding: 9px 14px;
    font-size: 13px;
    border-radius: 20px;
    white-space: nowrap;
  }
}
/* Hero Section */
.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding: 60px 20px;
  align-items: center;
  justify-content: space-around;
  overflow: hidden;
  background: linear-gradient(135deg, #1b1f5a, #3b1e4a, #2f2f2f);
}


/* Left Side */
.hero-left {
  position: relative;
  z-index: 2;
  text-align: left;
  color: #fff;
}

.hero-left h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.hero-left h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero-left p {
  margin-top: 10px;
  font-size: 16px;
  color: #ddd;
}

/* Animated Name */
.name-text {
  display: inline-block;
  animation: fadeName 3s infinite;
}

@keyframes fadeName {
  0%, 100% { opacity: 0; transform: translateY(10px); }
  50% { opacity: 1; transform: translateY(0); }
}

/* Hire Me Button */
.btn {
  font-size: 15px;
  padding: 10px 25px;
  border-radius: 10px;
  background-color: #6c63ff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: #574bff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px rgba(108, 99, 255, 0.3);
}

/* Right Side Image */
.hero-right {
  position: relative;
  z-index: 2;
}

.profile-pic {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  animation: float 6s ease-in-out infinite;
}

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

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
}

.about {
  padding: 90px 40px;
  background-color: #f8f9ff;
  font-family: 'Poppins', sans-serif;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-img img {
  width: 300px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 300px;
  font-style:unset;
}

.about-text h2 {
  font-size: 2.2rem;
  color: #1b1baa;
  font-weight: 600;
  margin-bottom: 20px;
  font-style: inherit;
}

.about-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  box-shadow: 0 5px 20px rgba(16, 11, 11, 0.05);
}

.about-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, #7b2ff7, #00a8ff, #ff6ec4, #4facfe);
  animation: wave-border 6s ease-in-out infinite;
}

@keyframes wave-border {
  0%, 100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

.about-box p {
  line-height: 1.8;
  font-size: 1.05rem;
  color: #0a0505;
  margin-bottom: 20px;
  font-style: calc(10,9);
}

.btn-cv {
  display: inline-block;
  margin-top: 20px;
  background: #7b2ff7;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(123, 47, 247, 0.3);
  transition: 0.3s ease;
}

.btn-cv:hover {
  background: #5f22c6;
  transform: translateY(-2px);
}


.services {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(to right, #fdfbfb, #ebedee);
}

.services h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #222;
  position: relative;
}

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

.card {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(25, 71, 224, 0.1);
}

.card img {
  width: 100px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #333;
}

.card p {
  font-size: 1rem;
  color: #070313;
  line-height: 1.6;
}

.skills-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 80px 40px;
  background: linear-gradient(120deg, #2c3e50, #8e44ad);
  color: #fff;
}

.skills-left {
  flex: 1 1 300px;
  max-width: 400px;
  margin-right: 40px;
}

.skills-left h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.skills-left p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.skills-grid {
  flex: 2 1 600px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.skill-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
  overflow: hidden;           /* ✅ Prevent text overflow */
  height: 100%;               /* ✅ Ensure all cards have equal height */
  word-wrap: break-word;      /* ✅ Break long words if needed */
}

.skill-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 15px auto; /* Horizontally center */
  display: block;
}

.skill-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 0.95rem;
  color: #e0e0e0;
}

/* Color borders per skill */
.skill-card.html { border-color: #e44d26; }
.skill-card.css { border-color: #2965f1; }
.skill-card.js { border-color: #f7df1e; }
.skill-card.figma { border-color: #a259ff; }
.skill-card.ps { border-color: #31a8ff; }
.skill-card.wp { border-color: #21759b; }
.skill-card.canva { border-color: #21759b; }
.skill-card.logo { border-color: #bf40ff; }

.skill-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
/* ===== Base Styling ===== */
.project-section {
  text-align: center;
  padding: 60px 20px;
}

.project-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.project-subtitle {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #555;
}

/* ===== Project Grid ===== */
.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  width: 280px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.project-info {
  padding: 16px;
}

.project-info h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.project-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
}

.details-btn {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}

.details-btn:hover {
  background: #333;
}

/* ===== Media Queries ===== */

/* Tablets */
@media (max-width: 1024px) {
  .projects-container {
    gap: 24px;
  }

  .project-card {
    width: 240px;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .projects-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .project-card {
    width: 100%;
    max-width: 340px;
  }

  .project-info h3 {
    font-size: 1rem;
  }

  .project-info p {
    font-size: 0.85rem;
  }

  .details-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}
.project-title {
  font-size: 2.6rem;
  font-weight: 600;
  color: #1d1d1f;
}

.project-subtitle {
  font-size: 1.1rem;
  color: #555;
}

.more-projects {
  margin-top: 40px;
  font-size: 1rem;
  font-style: italic;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .tabs {
    flex-direction: column;
  }
  .tab-btn {
    width: 100%;
  }
  .project-card {
    width: 90%;
  }
}

/* ===== Base Styling ===== */
.testimonial-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.testimonial-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1c1c1e;
  margin-bottom: 10px;
  animation: fadeInDown 0.6s ease-in-out;
}

.testimonial-subtitle {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease-in-out;
}

.testimonial-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== Testimonial Card ===== */
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  width: 100%;
  max-width: 960px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
  flex: 1;
  text-align: left;
}

.testimonial-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.testimonial-text p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.testimonial-text strong {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #000;
  font-size: 1rem;
}

.testimonial-text .company {
  font-size: 0.95rem;
  color: #888;
}

/* ===== Avatars ===== */
.avatars {
  margin-top: 14px;
  display: flex;
  align-items: center;
}

.avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 6px;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.avatars img:hover {
  transform: scale(1.1);
}

/* ===== Client Image ===== */
.testimonial-image img {
  width: 130px;
  height: 130px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.testimonial-image img:hover {
  transform: scale(1.05);
}

/* ===== Animations ===== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ===== Responsive Media Queries ===== */
@media (max-width: 1024px) {
  .testimonial-card {
    flex-direction: column-reverse;
    text-align: center;
    padding: 25px;
  }

  .testimonial-text {
    text-align: center;
  }

  .testimonial-image img {
    width: 110px;
    height: 110px;
    margin-bottom: 15px;
  }
}

@media (max-width: 600px) {
  .testimonial-title {
    font-size: 2rem;
  }

  .testimonial-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }

  .testimonial-card {
    width: 95%;
    padding: 20px;
  }

  .testimonial-text h3 {
    font-size: 1.3rem;
  }

  .testimonial-text p {
    font-size: 1rem;
  }

  .testimonial-image img {
    width: 95px;
    height: 95px;
  }

  .avatars img {
    width: 30px;
    height: 30px;
  }
}
 .get-in-touch {
    color: #0058c5;
    font-size: 36px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .get-in-touch:hover {
    color: #433bb1;
  }
 .container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 50px auto;
}

.left {
  flex: 1;
  background: #fff;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.left p {
  color: #777;
  margin-bottom: 30px;
}

.left img {
  max-width: 100%;
  height: auto;
}

.right {
  flex: 1;
  padding: 50px 30px;
  background: #f9f9f9;
}

form input,
form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: none;
  background: #eaeaea;
  font-size: 16px;
  border-radius: 5px;
}

form button {
  background: #000;
  color: #fff;
  padding: 15px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background: #333;
}

.hidden {
  display: none;
}

#thankyou-msg {
  margin-top: 20px;
  font-size: 18px;
  color: green;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.h2{
  color: #1b1baa;
  text-align: center;
}
/* Footer */
footer {
  background: #f0f0f0;
  padding: 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.5px;
  margin-top: 40px;
}

.footer {
  background-color: #0e0e18;
  color: white;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.footer-top {
  max-width: 700px;
  margin: 0 auto 50px;
}

.footer-top h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-top p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #cccccc;
}

.btn-green {
  display: inline-block;
  background-color: #00c471;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-green:hover {
  background-color: #00a960;
}

/* Main Footer Container */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

/* Social Icons */
.footer-left .social-icons a {
  color: white;
  font-size: 20px;
  margin-right: 15px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-left .social-icons a:hover {
  color: #00c471;
}

/* Footer Links */
.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li {
  margin-bottom: 10px;
}

.footer-center ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-center ul li a:hover {
  color: #00c471;
}

/* Contact Info */
.footer-right p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-right strong {
  display: inline-block;
  width: 60px;
  font-weight: bold;
  color: #00c471;
}


  /* Hero Section */
  .hero {
    padding: 40px 20px 30px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 40px;
    word-break: break-word;
  }

  .hero h1 span {
    font-size: 32px;
    display: block;
  }

  .hero p {
    font-size: 14px;
    margin: 10px 0 20px;
  }

  .hero .btn {
    font-size: 15px;
    padding: 10px 25px;
    border-radius: 10px;
  }

  /* Profile Image */
  .hero-img {
    margin: 30px auto 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }

  .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  /* Wave Background if used */
  .wave-bg {
    margin-top: -50px;
    width: 100%;
    height: auto;
  }
