@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
    font-family: Lato, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
}

nav {
  background-color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  height: 70px;
  top: 0;
  z-index: 100;
  padding: 0 1.5rem;
}

.nav-logo img {
  height: 40px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  margin-right: 5%;
  color: white;
  cursor: pointer;
}

.nav-center {
  display: flex;
  gap: 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-center a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .nav-center {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 5%;
    width: 100%;
    background-color: #2c3e50;
    text-align: center;
    padding: 1rem;
  }

  .nav-center.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-logo img
  {
    height: 30px;
  }

}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
nav a:hover {
    text-decoration: underline;
}

.hero
{
    background-color: #3498db;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 40px;
}

.hero-content > div {
  flex: 1 1 400px; /* allow growing and shrinking with min width */
  max-width: 600px;
}

.hero-content div h1 {
  text-align: left;
  font-size: 1.5rem;
  color: #1a1a1a;
}

.hero-content div h1 strong {
  font-size: 1.34rem;
  font-weight: bold;
  opacity: 0.8;
}

#smaller {
  font-size: 1.35rem;
  font-weight: lighter;
  display: block;
  margin-top: 1rem;
}

.hero-content .hero-img {
  flex: 1 1 400px;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 20%;
  object-fit: cover;
}

section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}
h1, h2 {
    color: #2c3e50;
}

#services-link {
  background-color: #f8f9fa;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#services-link h2 {
  font-family: Lato, sans-serif;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center; /* centers the bottom card */
  padding: 20px;
}

.card {
  background-color: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 100%;       /* make them fill the column */
  max-width: 100%;   /* allows control when centered */
  min-height: 300px; /* same height */
}

/* Force the bottom card to span one column and be centered */
.services .card:nth-child(3) {
  grid-column: 1 / -1;           /* spans both columns */
  width: calc(50% - 10px);       /* same width as a single top card */
}

@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr; /* stack in 1 column */
  }

  .services .card {
    width: 100%;                /* fill the full width of the column */
  }

  .services .card:nth-child(3) {
    grid-column: auto;          /* reset any spanning */
    width: 100%;                /* same width as other cards */
  }
}


.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #1a73e8;
}

.card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card ul {
  padding-left: 1.2rem;
  text-align: left;
  margin: 0;
}

.card li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}


/* 📱 Mobile responsive stacking */
@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
  }
}

footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

footer h1
{
  color: white;
  font-size: 1.5rem;
  font-family: Lato;
}
.footer-icons {
  margin-bottom: 10px;
}

.footer-icons a {
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.2s ease;
}

.footer-icons img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1); /* makes icons white for dark bg */
}

.footer-icons a:hover {
  transform: scale(1.1);
}


/* #ContactUs {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 10px;
} */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
}

.contact-form {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.name-labels {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .name-labels label {
    flex: 1;
    width: 50%;
    font-size: 1.22rem;
    padding: 10px;
    opacity: 0.8;
  }

  .name-labels label strong
  {
    color: #1a1a1a;
    opacity: 0.5;
  }

.name-inputs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .name-inputs input {
    flex: 1;
    width: 50%;
    height: 1.4rem;
    font-size: 1.4rem;
    padding: 10px;
    border: 1px solid #1a1a1a;
    border-radius: 5px;
    outline: none;
  }
#Fname
{
    display: block;
}

label strong
{
  color: #1a1a1a;
  opacity: 0.5;
}

.email, .company, .message
{
    width: 50%;
    height: 1.2rem;
    font-size: 1.22rem;
    padding: 10px;
    opacity: 0.8;
}

#email, #company-input, #message-input
{
    width: 100%;
    height: 1.4rem;
    font-size: 1.4rem;
    padding: 10px;
    border: 1px solid #1a1a1a;
    border-radius: 5px;
    outline: none;
}

.contact-side-text {
  flex: 1 1 250px;
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  color: #2c3e50;
}

.contact-side-text h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}



.fancy-link {
    position: relative;
    color: #1a1a1a;
    font-size: 1.4rem;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .fancy-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -3px;
    background-color: #1a1a1a;
    transition: width 0.3s ease;
  }
  
  .fancy-link:hover {
    color: white;
  }
  
  .fancy-link:hover::after {
    width: 100%;
  }
  
  #submit {
    width: 50%;
    max-width: 300px;
    height: 3rem;
    color: #3498db;
    font-size: 1.45rem;
    text-shadow: 1px 1px 5px #1a1a1a;
  
    outline: none;
    border: none;
    border-radius: 5px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
  }
  
  /* Hover and active feedback */
  #submit:hover {
    background-color: #1a252f;
    transform: scale(1.03);
  }
  
  #submit:active {
    transform: scale(0.97);
  }
  
  /* Mobile responsiveness */
  @media (max-width: 768px) {
    #submit {
      width: 80%;
      font-size: 1.1rem;
      height: 2.8rem;
    }
  }
  
#submit:hover
{
    cursor: pointer;
    background-color: #3498db;
    color: #1a1a1a;
    text-shadow: 1px 1px 5px #2c3e50;
}


.about-me
{
  background-color: #3498db;
  color: #f4f4f4;
  width: 100%;
  height: 20%;
}

.about-me h1
{
  color: #f4f4f4;
  font-size: 2rem;
  font-weight: bold;
}

.about-me p
{
  font-size: 1.45rem;
}

.coming-soon {
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.coming-soon::after {
  content: "Coming Soon";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-color: rgba(44, 62, 80, 0.95); /* semi-transparent dark overlay */
  color: #f4f4f4;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  transform: translateY(100%);
  transition: transform 0.5s ease;
  z-index: 2;
}

.coming-soon:hover::after {
  transform: translateY(0%);
}


.card > div .fancy-link
{
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.card .fancy-link:hover
{
  color: #a1c2e3;
}

.invest-us {
  display: flex;
  justify-content: center;
  padding: 2rem;
  background-color: #f2f3f4;
}

#box {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

#box h1 {
  font-family: Lato, sans-serif;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

#box ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

#box ul > li {
  background-color: #ffffff;
  border: 1px solid #a1c2e3;
  box-shadow: 2px 2px 5px rgba(161, 194, 227, 0.4);
  border-radius: 12px;
  padding: 1rem;
  font-family: Lato, sans-serif;
  font-size: 1.1rem;
  color: #2c3e50;
  text-align: left;
}

#box ul > li strong {
  display: block;
  margin-top: 0.5rem;
  color: #1a73e8;
}
