:root {
  --primary-color: #ff3300;
  --secondary-color: #2c2c2c;
  --background-color: #0d0d0d;
  --text-color: #e0e0e0;
  --card-bg-color: #242424;
  --border-color: #3a3a3a;
  --font-family: Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}


.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-right: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hire-me-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hire-me-btn:hover {
  background-color: #ac4b00;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  max-width: 50%;
}

.hero .subtitle {
  color: #707070;
  font-weight: 600;
}

.hero h1 {
  margin: 0.5rem 0;
  color: #959595;
}

.hero .job-title {
  font-size: 50px;
  font-weight: 900;
  background: linear-gradient(to right, #984300, #FD6F00, #CA5900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero .description {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #b0b0b0;
}

.hero-buttons .btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #ac4b00;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--border-color);
  margin-right: 1rem;
}

.btn-secondary:hover {
  background-color: var(--border-color);
  color: #fff;
}

.social-links {
  margin-top: 2.5rem;
}

.social-links a {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:first-child {
  margin-left: 0;
  margin-right: 1.5rem;
}

.social-links a:hover {
  color: var(--primary-color);
}

.hero-image {
  max-width: 50%;
}

.hero-image .myphoto {
  width: 100%;
  border-radius: 20px;
  animation: float 4s ease-in-out infinite;
}

.circle {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  top: 46%;
  right: 13%;
}

/* @keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
} */

/* General Section Styling */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  color: #fff;
}


.services {
  text-align: center;
  padding: 60px 20px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #aaa;
  font-size: 16px;
  margin-bottom: 40px;
}

.section-subtitlee {
  color: #aaa;
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 30px 20px;
  transition: 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.2);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.5);
}

.service-card i {
  font-size: 40px;
  margin-bottom: 15px;
  background: linear-gradient(to right, #ff6600, #ff3300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ff6600;
}

.service-card p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

.about-content button {
  width: 200px;
  height: 60px;
  border-radius: 15px;
  margin-left: 120px;
  background-color: #ff3300;
  color: white;
  border: none;
}

.about-content button:hover {
  background-color: rgb(136, 75, 0);
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.5);
  transition: all .5s ease;
}

.about-para {
  text-align: justify;
  color: #959595;
}

/* About Section */
.about .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-image {
  flex: 1;
}

.about-image .myphoto {
  width: 80%;
  border-radius: 15px;
}

.about-image .Rectangle {
  position: absolute;
  height: 600px;
  left: 200px;

}

.about-content {
  flex: 1;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-content p {
  margin-bottom: 2rem;
  color: #b0b0b0;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-tag {
  background-color: var(--card-bg-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  font-weight: 500;
}

.skill-tag:hover {
  background-color: #ff3300;
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.5);
  transition: all .5s ease;
}

.my-skills {
  text-align: center;

}

.my-skills img {
  margin-left: 50px;
  margin-bottom: 40px;
}

/* Projects Section */
.projects {
  background-color: var(--background-color);
}

.my-but {
  text-align: center;
  margin: 40px;
}

.my-but button {
  width: 170px;
  height: 50px;
  margin-left: 10px;
  background-color: #333;
  color: #C6C6C6;
  border-radius: 15px;
  border: none;
}

.my-but button:hover {
  background-color: #ff3300;
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.5);
  color: #fff;
  transition: all .5s ease;
}

.my-but .active {
  background-color: #ff3300;
  color: #fff;
}

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

.project-card {
  background-color: var(--card-bg-color);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.project-info p {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
}

.project-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.project-link i {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(5px);
}

/* Contact Section */
.contact-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-top: -.5rem;
  margin-bottom: 3rem;
  color: #b0b0b0;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.contact-form .form-group {
  display: flex;
  flex-wrap: wrap;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #959595;
  font-family: var(--font-family);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form button {
  width: 20%;
  padding: 1rem;
  background-color: #000000;
  font-size: 1.1rem;
  border-radius: 8px;
  color: #959595;
  border: none;
  float: right;
  clear: both;
}

.contact-form button:hover {
  color: white;
  background-color: #ff3300;
  transition: all .5s ease;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.container h2 {
  color: var(--primary-color);
}

.footer-an a {
  text-decoration: none;
  color: #959595;
  margin-right: 30px;
}

.footer-an a:hover {
  color: #ff3300;
  transition: all .5s ease;
}

.footer-social a {
  color: #959595;
  font-size: 1.2rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.container span {
  color: #959595;
  margin-right: 20px;
}

.container p {
  color: #959595;
}

.container hr {
  width: 500px;
  background-color: #959595;
}

.footer-social a:last-child {
  margin-right: 0;
}

.footer-social a:hover {
  color: var(--primary-color);
}

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

  .hero-content,
  .hero-image {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 3rem;
  }

  .social-links {
    justify-content: center;
    display: flex;
  }

  .social-links a:first-child {
    margin-right: 0;
  }

  .about .container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Will be handled by JS for toggle */
  }

  .hire-me-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .contact-form .form-group {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer .container {
    flex-direction: column;
    gap: 1rem;
  }
}

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

  .hero .job-title {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}