@import 'https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap';
/* Global Styles */
:root {
  --primary-color: #ff6b6b;
  --secondary-color: #4ecdc4;
  --dark-color: #292f36;
  --light-color: #f7fff7;
  --accent-color: #ffd166;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-color);
  color: var(--dark-color);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 4rem;
  margin-bottom: 5rem;
  text-transform: uppercase;
  text-align: center;
  position: relative;
}

.section-title span {
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 10rem;
  height: 0.5rem;
  background: var(--secondary-color);
  border-radius: 2rem;
}

.cta {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--primary-color);
  color: white;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-top: 3rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

/* Header */
.header {
  width: 100%;
  height: 8rem;
  background-color: rgba(41, 47, 54, 0.98);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

.header .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2rem;
}

.header .brand h1 {
  font-size: 2.5rem;
  color: white;
  letter-spacing: 0.2rem;
}

.header .brand h1 span {
  color: var(--primary-color);
}

.header .nav-list {
  position: fixed;
  top: 8rem;
  left: -100%;
  width: 100%;
  height: calc(100vh - 8rem);
  background-color: rgba(41, 47, 54, 0.98);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}

.header .nav-list.active {
  left: 0;
}

.header .nav-list ul {
  list-style: none;
  text-align: center;
}

.header .nav-list ul li {
  margin: 3rem 0;
}

.header .nav-list ul li a {
  font-size: 2.5rem;
  color: white;
  font-weight: 500;
  letter-spacing: 0.1rem;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.header .nav-list ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.2rem;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.header .nav-list ul li a:hover::after {
  width: 100%;
}

.header .nav-list ul li a:hover {
  color: var(--primary-color);
}

.header .hamburger {
  display: block;
  cursor: pointer;
  z-index: 1000;
}

.header .hamburger .bar {
  display: block;
  width: 2.5rem;
  height: 0.3rem;
  margin: 0.5rem auto;
  background-color: white;
  transition: all 0.3s ease;
}

.header .hamburger.active .bar:nth-child(1) {
  transform: translateY(0.8rem) rotate(45deg);
}

.header .hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.header .hamburger.active .bar:nth-child(3) {
  transform: translateY(-0.8rem) rotate(-45deg);
}
/* End Header */

/* Hero Section */
#hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./images//abhay3.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  text-align: left;
}

#hero .hero.container {
  width: 100%;
}

#hero h1 {
  font-size: 5rem;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.2;
}

#hero h1 span {
  display: block;
  height: 0.5rem;
  width: 7rem;
  background: var(--primary-color);
  margin: 1.5rem 0;
}

/* About Section */
#about {
  padding: 10rem 0;
  background-color: white;
}

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

#about .col-left {
  flex: 1;
  min-width: 30rem;
  padding: 2rem;
}

#about .col-right {
  flex: 1;
  min-width: 30rem;
  padding: 2rem;
}

#about .about-img {
  height: 50rem;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
}

#about .about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#about .about-img:hover img {
  transform: scale(1.05);
}

#about .col-right h2 {
  font-size: 2.5rem;
  margin: 2rem 0;
  color: var(--dark-color);
}

#about .col-right p {
  font-size: 1.6rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: #555;
}

/* Skills Section */
#services {
  padding: 10rem 0;
  background-color: #f5f5f5;
}

#services .service-top {
  text-align: center;
  margin-bottom: 5rem;
}

#services .service-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 3rem;
}

#services .service-item {
  background: white;
  padding: 3rem 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#services .service-item:hover {
  transform: translateY(-1rem);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
}

#services .service-item .icon {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

#services .service-item:hover .icon {
  background: var(--primary-color);
}

#services .service-item .icon img {
  width: 5rem;
  height: 5rem;
}

#services .service-item h2 {
  font-size: 1.8rem;
  color: var(--dark-color);
  margin-top: 1rem;
}

/* Projects Section */
#projects {
  padding: 10rem 0;
  background-color: white;
}

#projects .projects-header {
  text-align: center;
  margin-bottom: 5rem;
}

#projects .all-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
}

#projects .project-item {
  background: #f5f5f5;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

#projects .project-item:hover {
  transform: translateY(-1rem);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
}

#projects .project-img {
  height: 25rem;
  overflow: hidden;
}

#projects .project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

#projects .project-item:hover .project-img img {
  transform: scale(1.1);
}

#projects .project-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#projects .project-info h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

#projects .project-info p {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: #555;
}

#projects .project-info .cta {
  margin-top: auto;
  align-self: center;
}

/* Contact Section */
#contact {
  padding: 10rem 0;
  background-color: #f5f5f5;
}

.contact-form-container {
  max-width: 60rem;
  margin: 0 auto;
  background: white;
  padding: 5rem;
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--dark-color);
  text-align: center;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 0.3rem rgba(255, 107, 107, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 15rem;
}

/* Footer */
#footer {
  padding: 5rem 0;
  background-color: var(--dark-color);
  color: white;
  text-align: center;
}

#footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-contact-info {
  flex: 1;
  min-width: 30rem;
  margin-bottom: 3rem;
}

.footer-contact-info h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.contact-info-item .icon {
  width: 4rem;
  height: 4rem;
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 50%;
}

.contact-info-item .icon img {
  width: 2rem;
  height: 2rem;
}

.contact-info-item .details h4 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-info-item .details p {
  font-size: 1.4rem;
  opacity: 0.8;
}

#footer .brand {
  margin-bottom: 3rem;
}

#footer .brand h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

#footer .brand h1 span {
  color: var(--primary-color);
}

#footer .social-icon {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

#footer .social-item {
  margin: 0 1.5rem;
  transition: all 0.3s ease;
}

#footer .social-item:hover {
  transform: translateY(-0.5rem);
}

#footer .social-item img {
  width: 5rem;
  height: 5rem;
  transition: all 0.3s ease;
}

#footer .copyright {
  margin-top: 3rem;
  font-size: 1.4rem;
  opacity: 0.8;
}

/* Responsive Design */
@media only screen and (max-width: 992px) {
  html {
    font-size: 58%;
  }
}

@media only screen and (max-width: 768px) {
  html {
    font-size: 55%;
  }

  #hero h1 {
    font-size: 4rem;
  }

  #about .col-left, 
  #about .col-right {
    flex: 100%;
    min-width: 100%;
  }

  #about .col-left {
    margin-bottom: 5rem;
  }

  .contact-form-container {
    padding: 3rem;
  }
}

@media only screen and (max-width: 500px) {
  html {
    font-size: 50%;
  }

  #hero h1 {
    font-size: 3.5rem;
  }

  .header .brand h1 {
    font-size: 2rem;
  }

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

  .contact-form-container {
    padding: 2rem;
  }
}