/* Global Styles */
* {
  box-sizing: border-box;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

/* ..................................Header Styles........................... */
header {
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.logo img {
  padding: 8px 0px 2px 20px;
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  padding-right: 20px;
}

nav li {
  margin-left: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

header {
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.logo img {
  padding: 8px 0px 2px 20px;
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  padding-right: 20px;


}

nav li {
  margin-left: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;

}

/* Small screens (up to 767px) */
@media (max-width: 767px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    height: 60px;
  }

  .logo img {
    padding: 8px 0 2px 15px;
    height: 45px;
  }

  nav {
    position: relative;
  }

  nav .menu-icon {
    display: block;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    text-align: center;
  }

  nav #nav-list {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #333;
    width: 200px;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    z-index: 1;
  }

  nav #nav-list.show {
    display: flex;
  }

  nav li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  nav a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
  }
}

/* Medium screens (768px to 1023px) and Large screens (1024px and up) */
@media (min-width: 768px) {
  .menu-icon {
    display: none;
  }

  nav #nav-list {
    display: flex;
    list-style: none;
    padding-right: 20px;
  }

  nav li {
    margin-left: 20px;
  }

  nav a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
  }
}
/*........................ Hero Section Styles....................................... */
.hero {
  background: linear-gradient(to right, #1c2331, #2c3e50, #34495e);
  width: 100%;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  margin-top: 1rem;
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 30px;
}

.hero .btn {
  background-color: #fff;
  color: #1c2331;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.hero .btn:hover {
  background-color: #f4f4f4;
}

/* ....................About Section Styles............................... */
.about {
  background-color: #f8f8f8;
  padding: 30px 20px;
  text-align: center;
  margin-top: 1rem;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-heading {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in-out;
}

.about-content {
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  animation: slideUp 1s ease-in-out;
}

.about-content p {
  margin-bottom: 20px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*....................... Services Section Styles .......................................*/
.services-section {
  background: center / cover no-repeat;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: 1rem;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.services-header {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #fff;
}

.services-header h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.services-header p {
  font-size: 16px;
  line-height: 1.5;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card {
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 2px;
  text-align: left;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 50px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card .service-description {
  font-size: 14px;
  line-height: 1.5;
  max-height: 30px;
  overflow: hidden;
  transition: max-height 0.3s;
  padding-left: 1rem;
}

.service-card.active .service-description {
  max-height: 1000px;
}

.service-card .read-more-container {
  margin-top: 5px;
  position: relative;
  text-align: center;
}

.service-card .read-more {
  display: inline-block;
  color: #0077b6;
  cursor: pointer;
  transition: color 0.3s;
}

.service-card .read-more:hover {
  color: #005a8d;
}

.service-card .read-more-content {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 5px;
}

/* Media Queries for Mobile View */
@media (max-width: 767px) {
  .logo img {
    padding: 8px 0px 2px 20px;
    height: 50px;
  }

  nav li {
    margin-left: 10px;
  }

  nav a {
    font-size: 14px;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero .btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .about {
    padding: 20px;
  }

  .about-heading {
    font-size: 28px;
  }

  .about-content {
    font-size: 14px;
  }

  .services-section {
    padding: 20px;
  }

  .services-header h2 {
    font-size: 28px;
  }

  .services-header p {
    font-size: 14px;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card .service-description {
    font-size: 12px;
  }

  .service-card .read-more-content {
    font-size: 12px;
  }
}
  /*..................... Team Section Styles..................................... */
  .team {
    background-color: #f5f5f5;
    padding: 30px 20px;
    margin-top: 1rem;
  }

  .team h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
  }

  .team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .team-member {
    width: 300px;
    margin:20px 11px;
  }

  .team-member-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .team-member-info {
    padding: 20px;
  }

  .team-member h3 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
  }

  .team-member p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    text-align: center;
  }

  /* Responsive Styles */
  @media (max-width: 991px) {
    .team-member {
      width: 250px;
    }

    .team-member img {
      height: 250px;
      object-fit: cover;
    }
  }

  @media (max-width: 767px) {
    .team-member {
      width: 100%;
      max-width: 400px;
    }

    .team-member img {
      height: 300px;
      object-fit: cover;
    }
  }

  @media (max-width: 575px) {
    .team {
      padding: 20px;

    }

    .team h2 {
      font-size: 24px;
    }

    .team-member {
      margin: 15px;
    }

    .team-member-info {
      padding: 15px;
    }

    .team-member h3 {
      font-size: 18px;
    }

    .team-member p {
      font-size: 14px;
    }
  }




 /*..................... contact..................................... */

.contact {
  background-color: #f2f2f2; /* Light gray background color */
  color: #333;
  padding: 10px 20px;
  margin-top: 1rem;
}

.contact h2 {
  text-align: center;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  margin-right: 0;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item img {
  width: 50px;
  height: 50px;
  margin-right: 5px;
}

.contact-item p {
  margin: 0;
}

form {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
}

input, textarea {
  margin-bottom: 20px;
  padding: 10px;
  border: none;
  border-radius: 4px;
}

textarea {
  height: 150px;
}

button[type="submit"] {
  background-color: #1abc9c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #16a085;
}

/* Media query for larger screens */
@media (min-width: 768px) {
  .contact {
    padding: 10px 150px;
  }

  .contact-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .contact-info {
    flex-basis: 40%;
    margin-right: 50px;
    margin-bottom: 0;
  }

  form {
    flex-basis: 50%;
  }
}

/*..................... frequent ask question..................................... */
.faq {
  background-color: #e6e6e6; /* Slightly darker gray background color */
  padding: 50px 20px;
  margin: 20px 0; /* Add some margin to the FAQ section */
}

.faq h2 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.faq-item h3 {
  color: #333;
  margin-top: 0;
}

.faq-item p {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 0;
}
/*...............................useful link........................... */

.useful-link{
  padding-bottom: 10px;
  color: #000;
  font-size: 24px;
  text-align: center;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 2px; /* Reduced gap */
  margin-bottom: 10px;
}

.footer-links a {
  color: #333; /* Dark gray color for the links */
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding: 5px; /* Reduced padding */
}

.footer-links a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #333; /* Dark gray color for the link underline */
  bottom: -2px; /* Reduced bottom position */
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.footer-links a:after {
  content: ">";
  margin-left: 5px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #666; /* Slightly darker gray color on hover */
}

.footer-links a:hover:before {
  width: 100%;
}

.footer-links a:hover:after {
  transform: translateX(5px);
}

.footer-links div:last-child {
  grid-column: 1 / -1;
  justify-self: center;
}
/* Mobile Styles */
@media (max-width: 767px) {
  section {
    padding: 20px; /* Reduced padding for mobile */
  }

  .useful-link {
    font-size: 20px; /* Reduced font size for mobile */
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 5px;
  }

  .footer-links a {
    padding: 3px 10px; /* Reduced padding for mobile */
    font-size: 14px;
  }

  .footer-links a:before {
    height: 1px; /* Reduced height for mobile */
    bottom: -1px; /* Reduced bottom position for mobile */
  }

  .footer-links div:last-child {
    width: 100%;
    text-align: center;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
  section {
    padding: 30px; /* Reduced padding for tablet */
  }

  .useful-link {
    font-size: 22px; /* Slightly reduced font size for tablet */
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for tablet */
    grid-template-rows: repeat(2, 1fr); /* 2 rows for tablet */
    grid-gap: 2px; /* Reduced gap for tablet */
  }

  .footer-links a {
    padding: 4px; /* Reduced padding for tablet */
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  section {
    padding: 40px 150px; /* Original padding for desktop */
  }

  .useful-link {
    font-size: 24px; /* Original font size for desktop */
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    grid-template-rows: repeat(2, 1fr); /* 2 rows for desktop */
    grid-gap: 2px; /* Reduced gap for desktop */
  }

  .footer-links a {
    padding: 5px; /* Original padding for desktop */
  }
}



/*..................... footer..................................... */
.footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.social-icons p {
  margin-right: 20px;
  font-size: 16px;
}

.footericon {
  display: inline-block;
  margin: 0 10px;
  color: #fff;
  font-size: 24px;
  transition: color 0.3s;
}

.footericon:hover {
  color: #ccc;
}

.footericon .fab {
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.3s;
}

.footericon .fab:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.footericon .fab.fa-facebook { color: #3b5998; }
.footericon .fab.fa-twitter { color: #1da1f2; }
.footericon .fab.fa-telegram { color: #0088cc; }
.footericon .fab.fa-instagram { color: #e1306c; }
.footericon .fab.fa-tiktok { color: #000; }
.footericon .fab.fa-linkedin { color: #0077b5; }
.footericon .fab.fa-whatsapp { color: #25d366; }

#design-by {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

#design-by:hover {
  color: #ccc;
}

@media (max-width: 767px) {
  .footer {
    padding: 15px 0;
  }

  .social-icons {
    margin-bottom: 15px;
  }

  .social-icons p {
    font-size: 14px;
    margin-right: 15px;
  }

  .footericon {
    font-size: 20px;
    margin: 0 8px;
  }

  .footericon .fab {
    width: 32px;
    height: 32px;
    line-height: 32px;
  }

  #design-by {
    font-size: 12px;
  }
}



.portfolio-section {
  padding: 80px 0;
  background-color: #fff;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.section-description {
  font-size: 18px;
  color: #666;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #f8f8f8;
}


.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.project-title {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
}

.project-description {
  color: #fff;
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.portfolio-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0077b6;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.portfolio-link:hover {
  background-color: #005e8d;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}







