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

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
  }
  
  body {
    line-height: 1.6;
  }
  
  /* Navbar */
  header {
    background-color: #fff;
    padding: 10px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img {
    height: 40px;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
  } 
  
  
  /* Active State Styling */
  .nav-links a:hover,
  .nav-links a.active {
    color: #3b82f6; /* White text */
  }

  /* Default "Contact Us" Button Styling */
.nav-links .contact {
  background-color: #4a90e2; /* Button blue background */
  color: #ffffff; /* White text */
  padding: 10px 20px; /* Larger padding for button look */
  font-weight: bold;
  border-radius: 20px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2); /* Subtle shadow */
}

/* Hover Effect for Contact Us */
.nav-links .contact:hover {
  background-color: #2563eb; /* Darker blue on hover */
  box-shadow: 0 6px 8px rgba(37, 99, 235, 0.3);
}

  
  .hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
  }

  /* Black Line Divider Below Navbar */
.menu-divider {
  width: 100%;
  height: 2px; /* Thickness of the line */
  background-color: #000000; /* Black color */
  margin-top: 10px; /* Space between the menu and the line */
}


.hero {
  background: url('images/contact.png');
  background-size: 100% 100%; /* Make sure image stretches to cover full width and height */
  background-position: center center; /* Center the image */
  background-repeat: no-repeat; /* Avoid repeating */
  background-color: transparent; /* Ensure no background color behind the image */
  height: 100vh; /* Full viewport height */
  width: 100%; /* Full width */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  margin: 0; /* Remove any margin */
  padding: 0; /* Remove any padding */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .hero {
    height: 80vh; /* Adjust height for medium screens */
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh; /* Adjust height for smaller screens */
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh; /* Adjust height for very small screens */
  }
}
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .hero-content {
    z-index: 1;
  }
  
  .btn-primary {
    background-color: #4a90e2;
    color: #fff;
    padding: 20px 30px;
    align-self: center;
    justify-content: center;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
  }

  /* Responsive adjustments */
@media (max-width: 1200px) {
  .btn-primary {
    padding: 15px 25px; /* Reduce padding for medium screens */
    font-size: 0.9rem; /* Slightly smaller font size */
  }
}

@media (max-width: 768px) {
  .btn-primary {
    padding: 12px 20px; /* Reduce padding further for smaller screens */
    font-size: 0.85rem; /* Smaller font size */
  }
}

@media (max-width: 480px) {
  .btn-primary {
    padding: 10px 15px; /* Even smaller padding for very small screens */
    font-size: 0.8rem; /* Smallest font size */
  }
}
  
/* Stats Section */
.gallery {
    background-color: rgb(27, 27, 27);
    color: #fff;
    text-align: center;
    padding: 40px 5%;
  }
  
  .stats-container {
    display: flex;
    justify-content: space-around; /* Horizontal alignment */
    flex-wrap: wrap; /* Wrap on smaller screens */
    gap: 20px;
    margin-bottom: 20px; /* Space between stats and button */
  }

  .stats {
    background-color: #4a90e2;
    color: #fff;
    text-align: center;
    padding: 40px 5%;
  }
  
  .stats-container {
    display: flex;
    justify-content: space-around; /* Horizontal alignment */
    flex-wrap: wrap; /* Wrap on smaller screens */
    gap: 20px;
    margin-bottom: 20px; /* Space between stats and button */
  }
  
  .stat-item {
    flex: 1;
    min-width: 120px; /* Prevent items from shrinking */
    text-align: center;
  }
  
  .stat-item span {
    display: block;
    font-size: 2.5rem; /* Large font for numbers */
    font-weight: bold;
  }
  
  .stat-item p {
    margin-top: 5px;
    font-size: 1rem; /* Smaller font for description */
  }
  
  .stats-button {
    text-align: center; /* Center button horizontally */
  }
  
  .btn-secondary {
    background-color: #fff;
    color: #4a90e2;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
  }

  .btn-secondary:hover {
    background-color: black;
    color: #4a90e2;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
  }
  
  
  
  /* Responsive */
  @media (max-width: 768px) {
    .nav-links {
      position: absolute;
      top: 60px;
      right: 0;
      background-color: #fff;
      width: 100%;
      height: 100vh;
      flex-direction: column;
      align-items: center;
      display: none;
    }

    .nav-links li {
      margin: 10px 0; /* Optional: Add margin to all links for spacing */
    }
  
    .contact {
      margin-top: 20px; /* Adjust space between Careers and Contact Us */
      background-color: #3b82f6; /* Button blue background */
      color: #ffffff; /* White text */
      padding: 10px 20px; /* Larger padding for button look */
      font-weight: bold;
      border-radius: 10px; /* Rounded corners */
      box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2); /* Subtle shadow */
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .hamburger {
      display: flex;
    }
  
    .line.line1.open {
      transform: rotate(45deg) translate(5px, 5px);
    }
  
    .line.line2.open {
      opacity: 0;
    }
  
    .line.line3.open {
      transform: rotate(-45deg) translate(5px, -5px);
    }
  }
  
  @media (max-width: 768px) {
  .hero {
    height: 70vh; /* Adjust height for smaller screens */
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh; /* Further adjust for very small screens */
    background-size: contain; /* Show the entire image for small devices */
  }
}

/* General Section Styling */
.section {
  padding: 40px 20px;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Expertise Cards */
.expertise-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background-color: #4a90e2;
  color: white;
  border-radius: 10px;
  padding: 20px;
  width: calc(33.333% - 40px); /* 3 cards per row */
  min-width: 250px; /* Ensure cards don't shrink too small */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.card .btn-primary {
  background-color: white;
  color: #4a90e2;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: #0056b3;
  color: #4a90e2,
}

.card .btn-primary:hover {
  background-color: #0056b3;
  color: white;
}

/* Recent Projects Gallery */
.projects-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.projects-gallery img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card {
    width: calc(50% - 20px); /* 2 cards per row */
  }

  .projects-gallery img {
    max-width: 200px; /* Shrink image size */
  }
}

@media (max-width: 480px) {
  .card {
    width: 100%; /* Full width for smaller screens */
  }

  .projects-gallery img {
    max-width: 100%; /* Full width for smaller screens */
  }

  .social-icons {
    display: flex;
    margin-right: 3rem; /* Ensure social icons have the same margin on the right */
    gap: 10px;
  }
}


/* Clients Section */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding: 20px 0;
}

.clients-grid img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%); /* Optional for a cleaner look */
  transition: filter 0.3s ease;
}

.clients-grid img:hover {
  filter: grayscale(0); /* Highlight on hover */
}

/* Footer */
.footer {
  background-color: #000;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.footer-left {
  flex: 1;
  min-width: 250px;
}

.footer-left img {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-left p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  margin-right: 3rem; /* Add this margin to match the space */
}

.social-icons {
  display: flex;
  margin-right: 3rem; /* Ensure social icons have the same margin on the right */
  gap: 10px;
  padding-left: 4.5rem;
}

.footer-left .social-icons img {
  margin-right: 10px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}


.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

h2 {
  margin-left: 0%;
  justify-self: start;
}

.contact-section {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
  }
  
  .contact-header h2 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 0.5rem;
  }
  
  .contact-header p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    background-color: #497cf2;
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    outline: none;
  }
  
  .contact-form .submit-btn {
    background-color: #fff;
    color: #497cf2;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .contact-form .submit-btn:hover {
    background-color: #497cf2;
    color: #fff;
    border: 1px solid #fff;
  }
  
  .get-in-touch {
    margin-top: 2rem;
  }
  
  .get-in-touch h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
  }
  
  .get-in-touch .email-btn {
    background-color: #497cf2;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .get-in-touch .email-btn:hover {
    background-color: #355bb3;
  }
  
  .get-in-touch p {
    font-size: 1rem;
    color: #333;
  }
  
  .get-in-touch a {
    text-decoration: none;
    color: #497cf2;
  }

  /* Blog Section Styling */
.blog-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .blog-section .section-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .blog-section .section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
  }
  
  .blog-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .blog-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .blog-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .blog-content h3 {
    font-size: 20px;
    color: #007bff;
    margin-bottom: 10px;
  }
  
  .blog-content h3 a {
    text-decoration: none;
    color: inherit;
  }
  
  .blog-content h3 a:hover {
    text-decoration: underline;
  }
  
  .blog-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
  }
  
  .read-more {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .read-more:hover {
    text-decoration: underline;
  }

  /* Blog Content */
.blog-content1 {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  .blog-main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
  }
  
  .blog-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
  }
  
  .blog-content ul {
    list-style-type: disc;
    margin: 1rem 0;
    padding-left: 1.5rem;
  }
  
  .blog-content ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #444;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .blog-header h1 {
      font-size: 2rem;
    }
  
    .blog-header p {
      font-size: 1rem;
    }
  
    .blog-content {
      padding: 1rem;
    }
  
    .blog-content p, .blog-content ul li {
      font-size: 0.9rem;
    }
  }