@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
}
:root {
  /* Warm & Elegant scheme */
  --primary: #ffb84d; /* Warm Amber */
  --primary-hover: #e6a642; /* Darker Amber (hover) */

  --secondary: #1e1e1e; /* Charcoal Black */
  --secondary-contrast: #ffffff;

  --light-bg: #fafafa; /* Page / alternate sections */

  --text-dark: #2d2d2d; /* Body text on light bg */
  --text-light: #ffffff; /* Text on dark bg */

  /* Optional helpers */
  --border: #eaeaea;
  --muted: #6b6b6b;
  --card-bg: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 12px;

  --bg-dark: #0b0c10; /*body background color*/
  --boxes-bg: #1e3c7233;
}
body {
  background-color: var(--bg-dark);
  height: auto;
  overflow-x: hidden;
  position: relative;
}
.container {
  width: 85%;
  margin: 0px auto;
}
.left_card h2,
.service_heading h2,
.portfolio_section h2,
.education_section h2,
.testimonial_section h2,
.contact_section h2 {
  color: var(--light-bg);
  font-size: 38px;
  letter-spacing: 2px;
  text-align: center;
  margin: 0px auto 4% auto;
  width: fit-content;
  position: relative;
}
.service_heading h2:after,
.portfolio_section h2:after,
.education_section h2:after,
.testimonial_section h2:after,
.contact_section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}
html {
  scroll-behavior: smooth;
  scrollbar-width: 1px;
}
/* 
===================================
===================================
        HEADER SECTION CSS
===================================
===================================  */
header {
  position: fixed;
  position: -webkit-fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(11, 12, 16, 0.8);
  backdrop-filter: blur(10px);
  z-index: 8;
  transition: all 0.3s ease;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.logo {
  width: 220px;
}
.logo a {
  text-decoration: none;
  color: var(--light-bg);
}
.logo a sup {
  color: var(--primary);
}
.logo a h1 {
  font-size: 24px;
}
.logo img {
  width: 100%;
  display: block;
}
nav {
  display: flex;
  gap: 3rem;
  height: 100%;
}
.menu-close-btn,
.menu-open-btn {
  display: none;
}
nav a {
  text-align: center;
  font-size: 18px;
  text-decoration: none;
  color: white;
  transition: 0.1s all linear;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0px;
  background-color: var(--primary-hover);
  transition: 0.1s all linear;
}
nav a.active {
  color: var(--primary-hover) !important;
  position: relative;
}
nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-hover);
  transition: 0.1s all linear;
}
nav a:hover {
  color: var(--primary-hover);
}
nav a:hover:after {
  height: 2px;
}

/* 
===================================
===================================
        HERO SECTION CSS
===================================
===================================  */

.hero_section {
  background: var(--light-bg);
  width: 100%;
  background: linear-gradient(
    to right,
    var(--bg-dark) 30%,
    rgba(30, 60, 114, 0.1)
  );
  position: relative;
}
.hero_section .container {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}
.hero_content {
  position: relative;
  width: 40%;
  color: var(--text-dark);
}
.hero_image {
  text-align: center;
  width: 30%;
}
.hero_image img {
  max-width: 250px;
  display: none;
}
.hero_content h1 {
  font-size: 50px;
  color: var(--light-bg);
}
.hero_content p {
  font-size: 30px;
}
.btn_group {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 20px;
}
.hoveractive {
  background-color: var(--primary-hover) !important;
  color: var(--text-light) !important;
  border: 0px solid !important;
}
.btn_group a {
  width: fit-content;
  display: block;
}
.btn_group a .contact {
  width: 10rem;
  height: 2.5rem;
  background-color: transparent;
  color: var(--light-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: 0.3s all linear;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.btn_group a .contact:hover {
  background-color: var(--primary-hover);
  color: var(--text-light);
  border: none;
}

.custom-shape-divider-bottom-1755571254 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 0;
}

.custom-shape-divider-bottom-1755571254 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
}

.custom-shape-divider-bottom-1755571254 .shape-fill {
  fill: #0b0c10;
}

/* 
===================================
===================================
        ABOUT SECTION CSS
===================================
===================================  */

.about-section {
  width: 100%;
}
.about-section .container {
  padding: 8% 0px;
  display: grid;
  grid-template-columns: 2fr 2fr; /* left 1 part, right 2 parts */
  gap: 20px;
  align-items: stretch; /* sab items same height lenge */
}
.left_card {
  padding: 20px;
  border-radius: var(--radius);
  /* background-color: var(--boxes-bg);
   */
  background: linear-gradient(
    135deg,
    rgba(30, 60, 114, 0.3) 0%,
    rgba(212, 175, 55, 0.1) 100%
  );
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-direction: column;
}
.left_card img {
  width: 180px;
  border-radius: 360px;
}
.left_card h2 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 0px;
  color: var(--text-light);
}
.left_card h2:after {
  display: none;
}
.left_card span {
  color: var(--primary);
}
.left_card a {
  text-decoration: none;
}
.left_card button {
  background-color: var(--primary);
  color: var(--text-dark);
  border: none;
  border-radius: var(--radius);
  width: 8rem;
  height: 2.5rem;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s all ease-in-out;
}
.left_card button:hover {
  background-color: var(--primary-hover);
}
.right_card {
  display: grid;
  grid-template-rows: auto auto; /* do rows */
  gap: 20px;
}

.right_card > div {
  background-color: var(--boxes-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  cursor: default;
}
.skill-logos {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.skill-logos img {
  width: 70px;
}
/* .skill-logos img:nth-child(4) {
  width: 100px;
} */
.right_card h2 {
  font-size: 28px;
  margin: 0px auto 10px 0px;
  position: relative;
  color: var(--light-bg);
  width: fit-content;
}
.right_card h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}
.right_card p {
  font-size: 18px;
  line-height: 24px;
  color: var(--text-light);
}

/* 
===================================
===================================
        EDUCATION SECTION CSS
===================================
===================================  */
.education_section {
  padding: 5% 0px;
  background-image: url(../images/servicebg.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.education_section .container {
  /* border-left: 1px solid var(--primary);
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 4rem; */
  position: relative;
  max-width: 1024px;
  margin: auto;
}
.education_section .container::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--primary); /* Steel Blue line */
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}
.education {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.education.left {
  left: 0;
}

.education.right {
  left: 50%;
}
/* .education:before {
  content: "";
  position: absolute;
  left: 15px;
  top: 24px;
  width: 15px;
  height: 15px;
  background-color: var(--primary);
  border-radius: 50%;
} */
/* .education {
  padding-left: 3.5%;
  width: 80%;
  position: relative;
}
.education:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 5px;
  width: 15px;
  height: 15px;
  background-color: var(--primary);
  border-radius: 50%;
} */
.year {
  color: var(--primary);
  font-size: 18px;
}
.degree-name h3 {
  font-size: 25px;
  color: var(--light-bg);
}
.institute-name h4 {
  color: var(--muted);
  font-size: 20px;
  margin-bottom: 5px;
}
.degree-info p {
  font-size: 17px;
  color: #d9d9d9;
}
/* 
===================================
===================================
        SERVICE SECTION CSS
===================================
===================================  */

.service_section {
  width: 100%;
  height: auto;
  padding: 5% 0px;
  background-image: url(../images/wave-haikei.svg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
.service_section .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service_card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  text-align: left;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.3s all ease;
  overflow: hidden;
  cursor: default;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.service_card i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 15px;
}
.service_card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 60, 114, 0.3) 0%,
    rgba(212, 175, 55, 0.1) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.service_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.service_card:hover::before {
  opacity: 1;
}
.service_img img {
  width: 80px;
  display: block;
}
.service_text h3 {
  color: var(--text-light);
  font-size: 24px;
  margin-bottom: 15px;
}
.service_text p {
  color: var(--muted);
  font-size: 20px;
  margin-bottom: 12px;
}
.service_text a {
  display: block;
  margin: 0px auto;
}
.service_text a button {
  border-radius: var(--radius);
  background-color: var(--primary);
  color: var(--secondary);
  font-size: 17px;
  letter-spacing: 2px;
  width: 10rem;
  padding: 12px 0px;
  border: none;
  cursor: pointer;
  transition: 0.2s all linear;
}
.service_text a button:hover {
  background-color: var(--primary-hover);
}

/* 
===================================
===================================
        PORTFOLIO SECTION CSS
===================================
===================================  
*/
.portfolio_section {
  padding: 5% 0px;
}
.portfolio_container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  place-items: center;
  overflow: hidden;
  height: 32rem;
}
.portfolio {
  height: 15rem;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  width: 100%;
}
.portfolio:hover .project_info {
  opacity: 1;
}
.portfolio:hover img {
  opacity: 0.1;
  transform: scale(1.5);
}
.project_info {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  text-align: center;
  transition: 0.2s all linear;
}
.project_info h3 {
  color: var(--light-bg);
}
.project_info a {
  text-decoration: none;
  color: #0b0c10;
  background-color: var(--primary);
  width: fit-content;
  padding: 12px 25px;
  transition: 0.2s all linear;
}
.project_info a:hover {
  background-color: var(--primary-hover);
  transform: translateY(-4px);
}
.portfolio img {
  width: 100%;
  height: 100%;
  opacity: 0.8;
  object-fit: cover;
  transition: 0.2s all ease;
}
.view_buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0px;
}
.view_buttons button {
  border: none;
  border-radius: 10px;
  background-color: var(--primary);
  color: var(--secondary);
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
  transition: 0.2s all linear;
}
.view_buttons button:hover {
  background-color: var(--primary-hover);
}
.view-less {
  display: none;
}

/* 
===================================
===================================
      TESTIMONIALS SECTION CSS
===================================
===================================  
*/
.testimonial_section {
  background-image: url(../images/wave-haikei.svg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
.testimonials {
  text-align: center;
}
.testimonials-item {
  padding: 5%;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  width: 85% !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.testimonials-item p {
  color: var(--light-bg);
  font-size: 20px;
  text-align: center;
}
.testimonials-item p:nth-child(2) {
  color: var(--primary);
  font-size: 30px;
}
.testimonials-item h3 {
  font-size: 24px;
  color: var(--primary-hover);
  text-align: center;
  text-transform: capitalize;
}
.slick-dots li.slick-active button:before {
  opacity: 0.75;
  color: var(--primary) !important;
}
.slick-dots li button:before {
  color: var(--muted) !important;
}
#testimonial-btn {
  width: fit-content;
  display: block;
  margin: 5% auto 0px auto;
  text-decoration: none;
  background-color: var(--primary);
  color: var(--secondary);
  padding: 15px 30px;
  transition: 0.2s all linear;
  border-radius: var(--radius);
  font-size: 18px;
}
#testimonial-btn:hover {
  background-color: var(--primary-hover);
}

/* 
===================================
===================================
      Contact SECTION CSS
===================================
===================================  
*/
.contact_section {
  padding: 8% 0px;
}
.social_links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  gap: 20px;
}
.link {
  width: 20rem;
  text-align: center;
  height: 10rem;
}
.link a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: 0.2s all linear;
}
.link a:hover {
  background-color: var(--primary-hover);
}
.link a:hover i {
  color: var(--secondary);
}
.link a i {
  font-size: 50px;
  color: var(--primary);
  transition: 0.2s all linear;
}
.link img {
  width: 50px;
  transition: 0.2s all linear;
}
#fiverr-black {
  display: none;
}

/* 
===================================
===================================
      FOOTER SECTION CSS
===================================
===================================  
*/
footer {
  background-color: #000;
  text-align: center;
  padding: 5% 0px;
  position: relative;
  height: auto;
}
footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}
.footer-menu nav {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.copyright {
  text-align: center;
  /* position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%; */
}
.copyright p {
  color: var(--primary);
}

/* ===================
 */
@media screen and (max-width: 768px) {
  .education_section .container::after {
    left: 20px; /* line left side pe aa jaye */
  }

  .education {
    width: 100%;
    padding-left: 60px; /* thoda space line aur box ke beech */
    padding-right: 25px;
  }

  .education.right {
    left: 0%; /* Right wale bhi left pe aa jayein */
  }
}
