/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background: #010608;
  color: #fd7777;
}


/* Middle left description of my title */

.designation {
  color: #ccc;
  font-size: 2.0rem;
  margin-bottom: 4.2%;
  font-family: 'Georgia', Times New Roman, Times, serif;

}


.meme {
  color: #ff6600;
  font-size: 1.9rem;
  margin-left: 4.9rem;
  margin-bottom: 4%;
  font-weight: bold;
  font-family: cursive;
}

/* Navbar */
header {
  padding: 1rem 4rem;
  background: transparent;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: bold;
  color: #ff6600;
  font-size: 1.2rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 4rem;
}
.nav-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #ff6600;
}
.hire-btn {
  background: #ff6600;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem;
}
.hero-content {
  max-width: 50%;
}
.hero-content .intro {
  font-size: 0.9rem;
  color: #bbb;
}
.hero-content .name {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}
.hero-content .title {
  font-size: 2.9rem;
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 3rem;
}
.hero-content .prep {
  font-size: 2.7rem;
  font-weight: bolder;
  color: whitesmoke;
  margin-bottom: .5rem;
  margin-left: 4rem;
}

/* Socials */
.socials {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.socials a {
  font-size: 2.1rem;        /* icon size */
  color: #fff;              /* default white */
  transition: color 0.3s;
}

.socials a:hover {
  color: #ff6600;           /* orange on hover */
}



/* Services Section */
.services {
  background: #111;
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #aaa;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #1a1a1a;
  padding: 2rem 1.5rem;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card i {
  font-size: 2.5rem;
  color: #ff6600;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: #ff6600;
}

.service-card p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.service-card {
  opacity: 0; /* start hidden */
}


@keyframes rollInLeft {
  0%   { opacity: 0; transform: translateX(-80px) rotate(-8deg); }
  60%  { transform: translateX(5px) rotate(1deg); }
  100% { opacity: 1; transform: translateX(0) rotate(0); }
}
@keyframes rollInRight {
  0%   { opacity: 0; transform: translateX(80px) rotate(8deg); }
  60%  { transform: translateX(-5px) rotate(-1deg); }
  100% { opacity: 1; transform: translateX(0) rotate(0); }
}

/* start hidden so the entry looks clean */
#services .service-card { opacity: 0; will-change: transform, opacity; }

/* classes we add once via JS */
#services .service-card.enter-left  { animation: rollInLeft 1.6s cubic-bezier(.22,1,.36,1) forwards; }
#services .service-card.enter-right { animation: rollInRight 1.6s cubic-bezier(.22,1,.36,1) forwards; }

/* optional: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #services .service-card { opacity: 1 !important; animation: none !important; }
}


/* Profile Image Wrapper */
.profile-pic-wrapper {
  position: relative;
  display: inline-block;
}

/* The Image */
.profile-img {
  width: 300px;
  height: 400px;
  filter: grayscale(100%);
  border-radius: 10px;
  position: relative;
  z-index: 2;
  margin-left: 1rem;
}

/* Circular Shade Behind */
.profile-shade {
  position: absolute;
  top: 45%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 165, 0, 0.25);
  z-index: 1;
}

.container h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: #000000;
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
}

.container p {
  color: #aaa;
  max-width: 600px;
  margin: 0 auto 3rem;
  margin-bottom: 5rem;
}
.aboutme {
  background: #000000;
  margin-top: 2rem;
}

/* Fix About section */
.aboutme h2, 
.aboutme p {
  background: none;
  padding: 0;
  margin: 0 auto 1rem;
  text-align: center;
  color: #fff;
}

.aboutme h3 {
  color: #ff6600;
  margin-bottom: 1rem;
}

.about-copy p {
  text-align: justify;
  text-justify: inter-word;
  text-indent: 1.25rem;     /* first-line indent like letters */
  line-height: 1.8;
  margin: 0;
}

.about-copy h3 {
  text-align: center;
  justify-content: center;
  
}


/* Buttons */
.buttons {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}
.btn {
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
}
.primary {
  background: #ff6600;
  color: #fff;
}
.secondary {
  background: transparent;
  border: 1px solid #777;
  color: #ccc;
}

/* Stats */
.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
.stat-box {
  background: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-align: center;
}
.stat-box h3 {
  color: #ff6600;
  font-size: 1.5rem;
}
.stat-box p {
  font-size: 0.9rem;
  color: #ccc;
}

/* Hero Image */
.hero-image img {
  max-width: 400px;
  border-radius: 1300px;
  filter: grayscale(100%);
  overflow: hidden; /* prevents overflow during animation */
  width: 400px;
  height: auto;                                                                               
  
}

.contact h2, 
.contact p {
  background: none;
  padding: 0;
  margin: 0 auto 1rem;
  text-align: center;
  color: #fff;
}

.contact p.text-muted {
  color: #bbb !important;
}

/* Glow effect for send button */
.send-btn:hover {
  box-shadow: 0px 0px 15px rgba(0, 123, 255, 0.7);
  transition: 0.3s ease-in-out;
}
