* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}
.container1 {
    width: 90%;
    margin: 0 auto;
    background-image: url('/images/container1.jpg');
    background-size: cover;
}
.container2 {
    width: 90%;
    margin: 0 auto;
   background-image: url('/images/container2.jpg');
   background-size: cover;
}
.container3 {
    width: 100%;
    margin: 0 auto;
   background-image: url('/images/divImg.jpg');
   background-size: cover;
}
.container {
    width: 90%;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: #1d354d;
    color: #fff;
    padding: -0.5rem 0;
    border: 1px solid #333;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

header nav {
    margin-top: 20px;
    float: right;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 1rem;
}

header nav ul li a {
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

header nav ul li a:hover {
    background-color: #555;
}

/* Hero Section */
.hero {
    background-image: url('/images/hero.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight:bolder ;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: bolder;
    font-family: 'Poppins';
}

.hero .btn {
    background-color: #007bff;
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #0056b3;
}

/* Services Section */
.services {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-card {
    background-color: #fff;
    padding: 20px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    background-image: url('/images/divImg.jpg');
    background-size: cover;
    border-radius: 8px;
   
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 20px;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Services Section */
.services {
    margin-top: 50px;
    text-align: center;
    font-family: 'Poppins';
  }
  
  .services h2 {
    font-size: 2.5rem;
    color: #2c3e50;
  }
  
  .service-cards {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
  }
  .card a {
    text-decoration: none;
  }
  .card {
    overflow-wrap: break-word;
    background-color: #ecf0f1;
    padding: 30px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
    background-image: url('/images/divImg.jpg');
    background-size: cover;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  }
  
  .card:hover {
    transform: translateY(-10px);
  }
  
  .card h3 {
    font-size: 1.8rem;
    color: #2c3e50;
  }
  
  .card p {
    font-size: 1rem;
    color: #7f8c8d;
  }
  

/* Footer Section */
footer {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

/* Responsive for small device */
@media (max-width: 768px) {
    header nav {
        float: none;
        text-align: center;
        margin-top: -28px;
        flex-direction: row;
    }
    
    header nav ul {
        margin-top: 10px;
    }

    header nav ul li {
        display: inline-block;
        margin: 10px 0;
    }

    .service-cards {
        justify-content: center;
    }

    .service-card {
        width: 80%;
        margin-bottom: 20px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .contact form input, .contact form textarea {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services h2 {
        font-size: 2rem;
    }

    .service-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .contact form input, .contact form textarea {
        width: 90%;
    }
}
