/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f4f7fa;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
}
h1{
    color: white;
}

h2, h3 {
    color: #333;
}

/* Hero Section */
.hero {
    background: url('https://via.placeholder.com/1600x800') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
    z-index: 1;
}

.hero h1, .hero p {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #1a73e8;
    padding: 12px 30px;
    font-size: 18px;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #0f61b8;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.service-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 50px;
    color: #1a73e8;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 16px;
    color: #666;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: #f1f1f1;
    text-align: center;
}

.about p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: center;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.testimonial-card h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact input:focus, .contact textarea:focus {
    border-color: #1a73e8;
    outline: none;
}

.contact button {
    background-color: #1a73e8;
    padding: 12px 30px;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}

.contact button:hover {
    background-color: #0f61b8;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer .social-icons a {
    color: white;
    font-size: 24px;
    margin: 0 15px;
    text-decoration: none;
}

footer .social-icons a:hover {
    color: #1a73e8;
}

/* Navigation Menu */
nav {
  margin: 27px auto 0;
  position: relative;
  width: 590px;
  height: 50px;
  background-color: #34495e;
  border-radius: 8px;
  font-size: 0;
}

nav a {
  line-height: 50px;
  height: 100%;
  font-size: 15px;
  display: inline-block;
  position: relative;
  z-index: 1;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  color: white;
  cursor: pointer;
}

nav .animation {
  position: absolute;
  height: 100%;
  top: 0;
  z-index: 0;
  transition: all .5s ease 0s;
  border-radius: 8px;
}

a:nth-child(1) {
  width: 100px;
}

a:nth-child(2) {
  width: 110px;
}

a:nth-child(3) {
  width: 100px;
}

a:nth-child(4) {
  width: 160px;
}

a:nth-child(5) {
  width: 120px;
}

nav .start-home, a:nth-child(1):hover~.animation {
  width: 100px;
  left: 0;
  background-color: #1abc9c;
}

nav .start-about, a:nth-child(2):hover~.animation {
  width: 110px;
  left: 100px;
  background-color: #e74c3c;
}

nav .start-blog, a:nth-child(3):hover~.animation {
  width: 100px;
  left: 210px;
  background-color: #3498db;
}

nav .start-portefolio, a:nth-child(4):hover~.animation {
  width: 160px;
  left: 310px;
  background-color: #9b59b6;
}

nav .start-contact, a:nth-child(5):hover~.animation {
  width: 120px;
  left: 470px;
  background-color: #e67e22;
}

/* Media Queries for Responsiveness */

/* For large screens (larger than 1200px) */
@media only screen and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* For tablets (larger than 800px) */
@media only screen and (max-width: 800px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    nav {
        width: 80%;
    }
}

/* For mobile devices (larger than 600px) */
@media only screen and (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    nav {
        width: 90%;
    }
}

.para{
    padding-bottom: 2em;
}
/* Hero Section */
.hero {
    background: url('tech1.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0; /* Increased padding for a larger appearance */
    text-align: center;
    position: relative;
    background-size: cover;  /* Ensures the background scales properly */
    background-position: center center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Darker overlay for better text visibility */
    z-index: 1;
}

.hero h1, .hero p {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 50px; /* Increased size for a more impactful header */
    margin-bottom: 20px;
}

.hero p {
    font-size: 22px; /* Increased font size for better readability */
    margin-bottom: 30px;
}

.cta-button {
    background-color: #1a73e8;
    padding: 14px 35px;
    font-size: 20px;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #0f61b8;
}
