/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  background: #121212;
}



.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00aaff;
}

.hero {
  display: grid; /* Use grid layout for better control */
  grid-template-columns: 1fr 1fr; /* Split the hero into two equal columns */
  align-items: center;
  padding: 100px 10%; /* Add padding for breathing room */
  height: 100vh;
  background: linear-gradient(135deg, #004e92, #000428);
}

.hero-content {
  max-width: 600px; /* Prevent excessive line length */
  animation: fadeInLeft 1.2s ease-in-out;
}

.headline {
  font-size: 3.5rem; /* Larger font for headlines */
  font-weight: 700;
  line-height: 1.2; /* Reduce spacing between lines */
  color: #ffffff;
}

.subheadline {
  font-size: 1.2rem;
  margin: 20px 0 40px;
  color: #d1d1d1;
}

.hero-image img {
  width: 100%; /* Ensure the image takes up full space */
  max-width: 700px; /* Optional: Limit maximum width for very large screens */
  animation: zoomIn 1.2s ease-in-out;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.btn-primary1 {
  background-color: #00aaff;
  padding: 15px 30px;
  text-decoration: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.btn-primary1:hover {
  background-color: #0086cc;
}


/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr; /* Stack the content vertically on smaller screens */
    text-align: center;
    padding: 80px 5%;
  }

  .hero-content {
    max-width: 100%; /* Use full width on smaller screens */
  }

  .hero-image img {
    max-width: 80%;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .headline {
    font-size: 2.5rem; /* Adjust font size for smaller screens */
  }

  .subheadline {
    font-size: 1rem;
  }
}


/*About us*/
.about-us {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 10%;
  background-color: #ffffff; /* Clean white background */
  color: #333333;
  position: relative;
  overflow: hidden;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 40px;
  align-items: center;
}

.about-content {
  max-width: 600px; /* Fix the max width for predictable text wrapping */
  z-index: 1; /* Ensure it stays on top of any background decoration */
}

.about-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #004e92;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555555;
}

.about-content .btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  color: #ffffff;
  background-color: #004e92;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.about-content .btn:hover {
  background-color: #003a6b;
}

.about-image img {
  width: 100%; /* Makes the image responsive */
  max-width: 600px; /* Prevents the image from growing too large */
  height: auto; /* Ensures the image maintains aspect ratio */
  animation: fadeIn 1.5s ease-in-out;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr; /* Stack vertically */
    text-align: center;
  }

  .about-content {
    max-width: 90%; /* Adjust text width for smaller screens */
    margin: 0 auto; /* Center-align the content */
  }

  .about-image img {
    margin-top: 20px;
    max-width: 80%;
  }
}

/*Services*/
.services {
  background-color: #f9f9f9; /* Light background for contrast */
  padding: 60px 10%; /* Spacing around the entire section */
  text-align: center; /* Center-align all text */
}

.services-header {
  margin-bottom: 50px; /* Space between the header and the grid */
}

.services-header h2 {
  font-size: 2.5rem; /* Larger header font size */
  color: #004e92; /* Header color */
  margin-bottom: 20px; /* Space below the title */
}

.services-header p {
  font-size: 1.2rem; /* Description text size */
  color: #555555; /* Subtle text color */
  margin: 0 auto; /* Center-align the text */
  max-width: 800px; /* Limit width for readability */
}

.services-grid {
  display: grid; /* Use CSS grid for layout */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid with minimum item width */
  gap: 40px; /* Space between grid items */
  max-width: 1000px; /* Restrict the grid width */
  margin: 0 auto; /* Center the grid horizontally */
}

.service-item {
  background: #ffffff; /* White background for cards */
  padding: 20px; /* Inner padding for content */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect */
  text-align: center; /* Center content within the card */
}

.service-item:hover {
  transform: translateY(-5px); /* Lift card on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

.service-item img {
  width: 70px; /* Set icon size */
  height: auto;
  margin-bottom: 20px; /* Space below icon */
}

.service-item h3 {
  font-size: 1.5rem; /* Service title size */
  color: #333333; /* Title color */
  margin-bottom: 15px; /* Space below the title */
}

.service-item p {
  font-size: 1rem; /* Description text size */
  color: #555555; /* Subtle text color */
  line-height: 1.6; /* Improve readability */
}

/* Responsive Design */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for medium screens */
    max-width: 90%; /* Relax the width on smaller screens */
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 column for smaller screens */
  }
}


/*contact*/
.contact-section {
  background: #ffffff;
 /* Website's light background color */
  padding: 80px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns for cards */
  gap: 20px;
  flex: 1 1 50%; /* Adjusts width for responsiveness */
}

.info-card {
  background-color: #ffffff; /* Card background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.info-card i {
  font-size: 2.5rem;
  color: #002c5f; /* Primary theme color */
  margin-bottom: 10px;
}

.info-card h3 {
  font-size: 1.4rem;
  color: #002c5f;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.contact-form {
  flex: 1 1 40%; /* Slightly smaller width for the form */
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 2rem;
  color: #002c5f;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f9f9f9;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.btn-primary {
  display: inline-block;
  width: 100%;
  background-color: #002c5f; /* Primary button color */
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3; /* Hover color */
}

/*footer*/
/* Footer Section */
.footer-section {
  background-color: #002c5f; /* Matches primary color scheme */
  color: #ffffff;
  padding: 40px 20px;
  font-size: 1rem;
  width: 100%;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 calc(33% - 20px); /* Divides into 3 equal columns */
}

.footer-about h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.5;
  color: #d1d1d1;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #ffffff;
}

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

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 10px;
  color: #d1d1d1;
}

.footer-links ul li a {
  text-decoration: none;
  color: #d1d1d1;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #1e90ff; /* Lighter blue for hover effect */
}

.footer-contact ul li strong {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #d1d1d1;
}
/*Portfolio*/

.portfolio-section {
  background: #f9f9f9;
  padding: 100px 20px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  color: #002c5f;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 50px;
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.portfolio-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 44, 95, 0.8);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.portfolio-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.portfolio-overlay p {
  font-size: 1.2rem;
  margin: 0;
}
