@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
}

a {
  text-decoration: none;
}

/* Initially hide all fade items */
.fade-item {
  opacity: 0;
  transform: translateY(50px);
  visibility: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When a fade-item becomes visible */
.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}


/* -------------Navbar Section------------- */

.navbar {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  color: white;
  background: linear-gradient(rgba(35, 89, 239, 0.95), rgba(35, 48, 239, 0.95));
  border-bottom: 1px dotted white;
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: all 0.3s ease-in;
}

.navbar .nav-left {
  width: fit-content;
  height: fit-content;
  font-size: 28px;
  margin-left: 60px;
}

.navbar .nav-right {
  width: fit-content;
  height: fit-content;
  font-size: 18px;
  margin-left: 60px;
}

.navbar .nav-right ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-right: 60px;
}

.navbar .nav-right ul li {
  list-style-type: none;
  cursor: pointer;
  position: relative;
  outline: none;
}
.navbar .nav-right ul li a {
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}
.navbar.nav-right ul li a:focus-visible {
  outline: none;
}
.navbar .nav-right ul li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0px;
  height: 0.8px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}
.navbar .nav-right ul li:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 100000;
  scale: 0.8;
}

.navbar .hamburger div {
  width: 35px;
  height: 5px;
  background-color: #ffffff;
  margin: 6px 0;
  transition: all 0.4s ease;
}

/* Scrolled Navbar Style */

.nav-scrolled {
  color: black;
  background: white;
  height: 50px;
  box-shadow: 2px 0px 4px black;
}
.nav-scrolled .nav-left {
  width: fit-content;
  height: fit-content;
  font-size: 24px;
  margin-left: 60px;
}
.nav-scrolled .nav-right {
  width: fit-content;
  height: fit-content;
  font-size: 16px;
  margin-left: 60px;
}
.nav-scrolled .nav-right ul li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}
.nav-scrolled .nav-right ul li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0px;
  height: 0.8px;
  background-color: #000000;
  transition: width 0.3s ease;
}
.nav-right ul li a:focus-visible {
  outline: none;
}

.nav-scrolled .hamburger div {
  width: 35px;
  height: 5px;
  background-color: #000000;
  margin: 6px 0;
  transition: all 0.4s ease;
}

/* ---------------------Hero Section-------------------- */

.hero-section {
  width: 100%;
  height: 68vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(rgba(35, 89, 239, 0.95), rgba(35, 48, 239, 0.95)),
    url(img/hero-bg.jpg);
  border-bottom: 1px dotted #000000;
}

.hero-content {
  width: auto;
  height: 100%;
  margin-left: 100px;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: white;
}
.hero-content h3 {
  font-size: 25px;
}
.hero-content h1 {
  font-size: 62px;
  line-height: 60px;
}
.element span {
  font-size: 30px;
}

.hero-img {
  width: 480px;
  height: auto;
  margin-right: 90px;
}
.hero-img img {
  width: 100%;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 20px;
  margin-top: 10px;
}
.hero-buttons .hireBtn, .contactBtn {
  padding: 12px 0px;
  background-color: white;
  font-size: 15px;
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  box-shadow: 1px 1px 3px rgba(0, 15, 97, 0.522);
}
.hero-buttons a {
  color: rgb(0, 50, 252);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 12px 24px;
}
.hero-buttons .hireBtn:hover,
.contactBtn:hover {
  background-color: transparent;
  color: white;
}
.hero-buttons .hireBtn:hover a , .hero-buttons .contactBtn:hover a{
  color: white;
}
.hero-buttons .hireBtn:focus-visible,
.contactBtn:focus-visible {
  outline: none;
}

/* -------------------- Expertise Section ----------------- */

.expertise {
  width: 100%;
  height: fit-content;
  min-height: 800px; /* Minimum height */
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem; /* Increased gap for spacing */
  border-bottom: 1px dotted #000000;
  padding: 2rem 5%; /* Added padding for better spacing */
}

.expertise-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.expertise-heading p {
  color: #646464;
  font-size: 1rem;
  font-weight: 500;
}

.expertise-heading h1 {
  font-size: 2.8rem; /* Responsive font size */
}

.expertise-para {
  width: 60%; /* Adjusted for better responsiveness */
  text-align: center;
  color: #646464;
  font-weight: 200;
  font-size: 1rem;
}

.expertise-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
  width: 100%;
}

.expertise-grid-top,
.expertise-grid-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.expertise-boxes {
  width: 100%;
  max-width: 80%; /* Limiting width for better responsiveness */
  height: fit-content;
  display: flex;
  align-items: start;
  justify-content: start;
  cursor: pointer;
  transition: all 0.4s ease;
  flex-direction: row; /* Default layout is column */
  box-shadow: 1px 1px 3px #00000080;
  border-radius: 10px;
  overflow: auto;
}

.expertise-img {
  font-size: 3.50rem; /* Scalable icon size */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px; /* Scalable height */
  width: 9.375rem; /* Scalable width */
  border: 1.2px solid blue;
  border-radius: 10px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  transition: all 0.2s ease;
}

.expertise-img i {
  transition: all 0.3s ease;
  color: rgb(0, 60, 255);
}

.grid-text-cont {
  width: 100%;
  height: 100%;
  padding: 1rem;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.expertise-boxes:hover {
  background-color: rgb(0, 76, 255);
  color: white;
}

.expertise-boxes:hover .expertise-grid-text p {
  color: rgb(211, 211, 211);
}

.expertise-boxes:hover .expertise-img {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  background-color: #fff;
}

.expertise-boxes:hover .expertise-img i {
  transform: scale(1.15);
}

.expertise-grid-text {
  display: flex;
  justify-content: start;
  flex-direction: column;
  gap: 0.5rem;
  text-align: justify;
  height: 100%;
}

.expertise-grid-text h1 {
  font-size: 1.4rem; /* Scalable title size */
}

.expertise-grid-text p {
  font-size: 0.8rem; /* Responsive paragraph text */
  color: #8c8c8c;
  font-weight: 100;
}

/* -----------------Experience Section--------------- */

.experience {
  width: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px dotted #000000;
}

.experience-heading {
  text-align: center;
  margin-top: 18px;
}

.experience-heading p {
  color: #646464;
  font-size: 15px;
  font-weight: 500;
}

.experience-heading h1 {
  font-size: 45px;
}

.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 80%;
}

/* Flex styling for timeline items */
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.timeline-icon {
  font-size: 50px;
  color: rgb(0, 76, 255);
  border: 2px solid rgb(0, 76, 255);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0.5px 0.5px 1.5px #00000080;

}

.timeline-content {
  background-image: linear-gradient(45deg, rgb(0, 4, 255), rgb(0, 76, 255) , rgb(58, 134, 255));
  color: white;
  padding: 20px;
  border-radius: 10px;
  flex-grow: 1;
  width: calc(100% - 100px); /* Adjust width to fit within smaller screens */
  box-shadow: 1px 1px 3px #00000080;
}

.timeline-content h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.timeline-content .timeline-date {
  font-size: 14px;
  color: #d3d3d3;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 16px;
  line-height: 1.5;
  color: #f1f1f1;
}

/* ------------Portfolio Section------------- */

.portfolio {
  width: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 0;
  gap: 20px;
  border-bottom: 1px dotted #000000;
}

.portfolio-heading {
  text-align: center;
  margin-top: 18px;
}

.portfolio-heading p {
  color: #646464;
  font-size: 15px;
  font-weight: 500;
}

.portfolio-heading h1 {
  font-size: 45px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 80%;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 1px 1px 3px #000000f0;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 30, 255, 0.818);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.portfolio-overlay a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  padding: 8px 16px;
  border: 1px solid white;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.portfolio-overlay a:hover {
  background-color: white;
  color: rgb(0, 76, 255);
}

/* ----------------Pricing Section---------------- */

#pricing {
  width: 100%;
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px dotted #000000;
}
.pricing-heading {
  margin-bottom: 40px;
}
.pricing-heading p {
  color: #646464;
  font-size: 15px;
  font-weight: 500;
}
.pricing-heading h1 {
  font-size: 45px;
  margin: 10px 0;
}
.pricing-heading .subtext {
  font-size: 16px;
  color: #646464;
  font-weight: 200;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pricing-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 300px;
  padding: 20px;
  box-shadow: 1px 1px 5px #000000be;
  transition: transform 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-10px);
}
.pricing-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.pricing-card .price {
  font-size: 28px;
  color: #007bff;
  margin-bottom: 10px;
}
.pricing-card .description {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.pricing-card ul li {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.pricing-card ul li i {
  color: #007bff;
  margin-right: 10px;
}

.pricing-card .pricing-btn {
  padding: 12px 24px;
  background-color: rgb(0, 50, 252);
  color: white;
  font-size: 15px;
  border: 2px solid rgb(0, 50, 252);
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 1px 1px 3px #00000080;
}
.pricing-card .pricing-btn:hover {
  background-color: white;
  color: rgb(0, 50, 252);
}

/* Styling for Basic Plan */
.pricing-card:nth-child(1) {
  border: 2px solid rgb(83, 83, 83);
}
.pricing-card:nth-child(2) {
  border: 2px solid rgb(0, 106, 255);
}
.pricing-card:nth-child(3) {
  border: 2px solid rgb(8, 0, 161);
}
/* Styling for Pro Plan */
.pro-card {
  background: linear-gradient(
    to bottom,
    rgba(0, 123, 255, 0.1),
    rgba(0, 123, 255, 0.05)
  );
}

/* -----------------Blog Section------------- */

.blog-section {
  background-color: #f5f5f5;
  padding: 50px 0;
  border-bottom: 1px dotted #000000;
}

.blog-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.blog-section .container h4 {
  font-size: 15px;
  color: #646464;
  text-align: center;
  margin-top: 10px;
}
.blog-section .section-title {
  font-size: 45px;
  text-align: center;
  margin-bottom: 20px;
}

.blog-section .section-description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
  color: #646464;
  font-weight: 200;
}

.blog-posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.blog-post {
  width: 30%;
  background-color: white;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.blog-post .post-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-post .post-date {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.blog-post .post-excerpt {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.blog-post .post-full {
  font-size: 16px;
  color: #333;
  display: none;
  margin-bottom: 15px;
}

.blog-post .read-more,
.blog-post .read-less {
  color: #0056b3;
  text-decoration: none;
  font-weight: bold;
  display: none;
}

.blog-post .read-more:hover,
.blog-post .read-less:hover {
  text-decoration: underline;
}

.blog-post:nth-child(1) .read-more {
  display: inline-block;
}
.blog-post:nth-child(1) .read-less {
  display: none;
}

.blog-post:nth-child(2) .read-more {
  display: inline-block;
}
.blog-post:nth-child(2) .read-less {
  display: none;
}

.blog-post:nth-child(3) .read-more {
  display: inline-block;
}
.blog-post:nth-child(3) .read-less {
  display: none;
}

.blog-post .read-less {
  display: none;
}

.blog-post .read-more {
  display: inline-block;
}

.blog-post .post-full {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-post .post-full h4,
.blog-post .post-full h5 {
  color: #333;
  font-weight: bold;
  margin-top: 10px;
}

.blog-post .post-full ul,
.blog-post .post-full ol {
  margin-left: 20px;
}

.blog-post .post-full li {
  margin-bottom: 8px;
}

.blog-post {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.263);
}

.read-more,
.read-less {
  color: #007bff;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

.read-more:hover,
.read-less:hover {
  text-decoration: underline;
}

/* --------------Review Section------------- */

.reviews {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 60px 0;
  gap: 30px;
  border-bottom: 1px dotted #000000;
}

.reviews-heading {
  text-align: center;
}

.reviews-heading p {
  color: #646464;
  font-size: 15px;
}

.reviews-heading h1 {
  font-size: 45px;
  color: #000000;
}

.reviews-slider {
  display: flex;
  overflow: hidden;
  width: 60%;
  height: 400px;
  position: relative;
  border-radius: 10px;
}

.review-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #007bff;
  border-radius: 10px;
  box-shadow: inset 2px 2px 40px rgba(0, 7, 136, 0.634),
    inset -2px -2px 40px rgba(0, 7, 136, 0.634);
  transition: transform 0.5s ease;
}

.review-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.review-item .client-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: white;
}

.review-item .client-position {
  font-size: 16px;
  color: #303030;
  margin-bottom: 15px;
}

.review-item .review-text {
  width: 60%;
  font-size: 18px;
  color: #dbdbdb;
  text-align: center;
  line-height: 1.6;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 99999;
  transition: background-color 0.3s ease;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* ----------------Contact Section---------------- */

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
  border-bottom: 1px dotted #000000;
}

.contact-image img {
  max-width: 450px;
  height: auto;
  border-radius: 8px;
}

.contact-form {
  width: 50%;
  padding-left: 20px;
}

.contact-form h4 {
  color: #646464;
  font-size: 15px;
}
.contact-form h2 {
  font-size: 45px;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #136ac7;
  border-radius: 4px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border: 2px solid blue;
  outline: none;
}

.contact-form button {
  padding: 10px 20px;
  background-color: rgb(0, 50, 252);
  color: white;
  font-size: 15px;
  border: 2px solid rgb(0, 50, 252);
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 1px 1px 2px rgba(0, 9, 61, 0.542);
}

.contact-form button:hover {
  background-color: white;
  color: rgb(0, 50, 252);
}

/* --------------------Footer Section-------------------- */

.footer {
  width: 100%;
  height: auto;
  background-image: linear-gradient(to top, rgb(0, 0, 129), rgb(0, 64, 255));
  padding: 20px 0; /* Add padding for better spacing on smaller screens */
}

.footer-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column-reverse;
  gap: 30px; /* Reduce gap for smaller screens */
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; /* Reduce gap between icons */
}

.social-icons a {
  text-decoration: none;
  font-size: 30px;
  background-color: white;
  padding: 10px; /* Adjust padding for smaller screens */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.467);
  transition: all 0.3s ease;
}

.fa-brands {
  transition: all 0.3s ease;
  color: rgb(0, 21, 255);
}

.social-icons a:hover .fa-brands {
  font-size: 40px; /* Reduce hover font size for smaller screens */
  color: white;
}

.social-icons a:hover {
  background-color: transparent;
  color: white;
  padding: 0;
  box-shadow: none;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap; /* Enable wrapping for smaller screens */
  justify-content: center;
  align-items: center;
  gap: 20px; /* Reduce gap between navigation links */
  padding: 0; /* Remove extra padding */
}

.footer-nav ul li {
  list-style-type: none;
  padding: 8px; /* Adjust padding for smaller screens */
  border-radius: 8px;
  transition: all 0.3s linear;
  cursor: pointer;
}

.footer-nav ul li a {
  text-decoration: none;
  color: white;
}

.footer-nav ul li:hover {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.467);
}

.footer-end {
  width: 100%;
  padding: 10px 0; /* Adjust padding for better spacing */
  text-align: center; /* Ensure centered text alignment */
  color: rgb(191, 191, 191);
  background-color: #333;
  font-size: 14px; /* Adjust font size for readability */
}
