*,
*::after,
*::before {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
}

:root {
  --primary-color: rgb(77, 138, 203);
  --secondary-color: #fda03c;
  --primary-background: rgba(41, 44, 48, 0.6);
}

header {
  background: rgba(63, 70, 79, 0.6);
  background-image: url('./images/pexels-mikebirdy-4002393.jpg');
  background-size: cover;
  background-position: bottom;
  height: 100vh;
  width: 100%;
  display: block;
  top: 0;
  left: 0;
  padding: 40px;
}

nav {
  background-color: var(--primary-background);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  margin-top: 20px;
  margin-inline: 15%;
  border-radius: 50px 50px 0 0;
  -webkit-border-radius: 50px 50px 0 0;
  -moz-border-radius: 50px 50px 0 0;
  -ms-border-radius: 50px 50px 0 0;
  -o-border-radius: 50px 50px 0 0;
  display: flex;
  align-items: center;
}

.logo h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
}

.logo h1 span {
  color: var(--primary-color);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  cursor: pointer;
}

.burger {
  display: none;
  cursor: pointer;
  z-index: 1000;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
}

/* Hero Section */
.hero {
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  background: var(--primary-background);
  margin-inline: 15%;
  height: 80vh;
}

.hero h2 {  
  font-size: 30px;
  font-weight: 800;
}

.hero h2 strong {
  color: rgb(119, 176, 236);
}

.cta {
  background-color: var(--primary-color);
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  margin-top: 160px;
  border-radius: 5px;
}

.cta:hover {
  background-color: var(--secondary-color);
}

/* Services Section */
.services {
  text-align: center;
  background: #eaeaea;
}

.services h2 {
  font-size: 3rem;
  font-weight: 800;
  padding-block: 100px 40px;
  color: rgb(28, 34, 41);
}

/* Container for services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 50px 15%;
  background-color: rgb(50, 64, 78);
  /* background-image: url('./images/16091.jpg');
  background-size: cover;
  background-repeat: no-repeat; */
}

/* Service card styling */
.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-10px); /* Slight lift on hover */
}

/* Icon styling */
.service-icon {
    margin-bottom: 15px;
}

.service-icon img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%; /* Round the icon */
    border: 3px solid #ddd;
    padding: 5px;
}

/* Title styling */
.service-card h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Description styling */
.service-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}


/* About Us Section */
.about {
  padding: 100px 15%;
  text-align: center;
  background-color: #d8dede;
}

.about h2 {
    position: relative;
    display: inline-block;
    z-index: 2;
    font-size: 3rem;
    font-weight: 600;
    color: rgb(84, 115, 151);
}

.about h2::after {
    content: "";
    position: absolute;
    z-index: -1; 
    left: 0;
    right: 0;
    bottom: -3px; 
    height: 30px; 
    background-color: #041225; 
    transform: skewX(-10deg); 
}

.about p {
  font-size: 1.2rem;
  color: #333;
  margin-top: 20px;
}

.contact {
  padding: 50px;
  background-color: #f4f4f4;
  text-align: center;
}

/* Responsive Design for Tablet (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .about,
    .services-grid {
        padding-inline: 10%;
    }

    .hero {
        margin-inline: 10%;
    }
}

/* Responsive Design for Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    .about,
    .services-grid {
        padding-inline: 5%;
    }

    .hero {
        margin-inline: 5%;
    }
}


footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

.whatsapp_float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.whatsapp-icon {
  margin-top: 10px;
  width: 40px;
  height: 40px;
}

.map {
  width: 100%;
}

.map iframe {
  width: 100%;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    header {
       background-position: bottom right;
       padding-inline: 5%;
    }
    nav {
      margin-top: 20px;
      margin-inline: 5%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: #333;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        transform: scale(0);
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transition: all 300ms ease-in-out;
        -webkit-transition: all 300ms ease-in-out;
        -moz-transition: all 300ms ease-in-out;
        -ms-transition: all 300ms ease-in-out;
        -o-transition: all 300ms ease-in-out;
        z-index: 1000;
}

    .burger {
        display: block;
    }

    .nav-links.active {
        display: flex;
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
}
}
