/* Reset default margins and padding for consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif; /* Modern font from Google Fonts */
}

/* Enable smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Body styling with techy color palette */
body {
    background-color: #f8f9fa; /* Light grey background */
    color: #212529; /* Dark grey text */
    line-height: 1.6;
}

/* Header styling - fixed navigation bar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent white */
    z-index: 100;
    /* padding: 1rem 2rem; */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
  width: 150px; 
  height: auto;
  display: block;
}


header nav {
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: space-between; */
  padding: 10px 20px;
  background-color: #fff; 
}

header nav div img {
  height: 50px; 
  width: 100%;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}

header nav ul li a:hover {
  color: #007bff; 
}


.hero {
  position: relative;     
  width: 100%;
  height: 500px;           
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;       
}


.slogan {
  position: absolute;
  top: 50%;               
  right: 50px;             
  transform: translateY(-50%); 
  color: #fff;             
  text-align: right;     
  max-width: 400px;        
}

.slogan h1 {
  font-size: 50px;
  margin-bottom: 5px;
}


.social-icons {
  display: flex;
  justify-content: center; 
  gap: 20px; 
  margin-top: 20px; 
}

.social-icons img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1); 
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1); 
}



.slogan .btn:hover {
  background-color: #e65c00;
}


nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #6c757d; /* Grey text */
    transition: color 0.3s; /* Smooth hover transition */
}

nav ul li a:hover {
    color: #007bff; /* Blue on hover */
}

/* Hero section - full viewport height with flex layout */

#hero {
  position: relative;
  width: 100%;
  height: 85vh; 
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1; 
}

.hero-image img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

  


@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-image img {
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: perspective(600px) rotateY(10deg);
}

.hero-content p {
    font-size: 1.2rem;
   
    color: #6c757d;
}



  
  
*/

section {

    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #212529;
}



#about {
  padding: 4rem 2rem;
  background-color: #f4f6f8;
  /* max-width: auto; */
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  gap: 2rem;
  flex-wrap: wrap; /* Makes it responsive */
}

.about-image img {
  width: 100%;
  max-width: 1200px;
  border-radius: 8px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}
.about-text .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  
   
}


.btn:hover {
  background-color: #0056b3;
}

#solutions{
    background-color: #f4f6f8;
}


/* Services section - grid layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s; /* Hover lift */
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}
.service-text h2{
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.service-text h2 {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 1rem;
}
.ContactUs-text h2{
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.ContactUs-text h2 {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 1rem;
}
.Product-text h2{
  flex: 1;
  min-width: 100px;
  padding: 20px;
}

.Product-text h2 {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 1rem;
}





#technologies  {
  /* padding: 4rem 2rem; */
  text-align: center;
  background-color: #f9f9f927;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-item {
  background-color: white;
  border: px solid #dddddd9d;
  padding: 1rem;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}




.technologies  {
    background: rgba(153, 69, 69, 0.795);
    /* padding: 2rem; */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Contact Us section - centered form */
#contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

form input, form textarea {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

form button {
    background: #007bff;
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #0056b3;
}



.social-links a {
    margin: 0 1rem;
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}

/* Mobile responsiveness - stack elements and adjust sizes */
@media (max-width: 768px) {
    #hero {
        flex-direction: column;
        text-align: center;
        height: auto;
        /* padding: 4rem 2rem; */
    }
    .hero-content {
        padding-right: 0;
    }

    nav ul {
        display: none; /* Hide nav on mobile; add hamburger if needed */
    }
    .footer-content {
        flex-direction: column;
    }
   


    /* ==================== General ==================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ==================== Form ==================== */
form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.input-group {
    width: 100%;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==================== Button ==================== */
button.submit {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button.submit:hover {
    background-color: #0056b3;
}

/* ==================== Map & Contact ==================== */
.mapouter {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.gmap_iframe {
    border: 0;
}

/* Contact Info Widget */
.footer-widget {
    background-color: #343a40;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #007bff;
}

/* ==================== Footer ==================== */
.bg-dark {
    background-color: #212529 !important;
    color: #fff;
    padding: 20px 10px;
    text-align: center;
}

.bg-dark i {
    margin-right: 10px;
    color: #ff00550e;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    form .col-md-6,
    form .col-md-12 {
        width: 100%;
        padding: 0;
    }

    .row {
        flex-direction: column;
    }

    .mapouter {
        height: 180px;
    }
}

}


header, .navbar {
  background-color: #fff;
  color: white;
}


.container form {
  background: white;
  padding: 10px;
  margin-top: 10px;

}


.input-group input {
  border-radius: 5px;
}


input.form-control, textarea.form-control {
  height: 35px;
}


textarea.form-control {
  height: 50px;
  resize: none;
}


button.submit {
  background-color: #0d6efd;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}


button.submit:hover {
  background-color: #0b5ed7;
}


.mapouter {
  width: 100%;
  height: 50px;
  overflow: hidden;
  border-radius: 8px;
  margin-top: px;
}


.footer-widget.info-widget {
  background-color: #212529;
  color: #ccc;
  border-radius: 8px;
  padding: 10px;
  height: 150px;
  margin-top: 5px;
}


.contact-info i {
  color: #e4e8ec;
  margin-right: px;
}


.bg-dark {
  padding: 5px 0;
  font-size: 14px;
  letter-spacing: 0.5px;
}


.row > [class*='col-'] {
  margin-bottom: px;
}

.container {

  overflow: hidden; 
 

}

.slider {
  display: flex;
  gap: 20px;           
  animation: slide 10s linear infinite; 
  padding: 10px;
}

.slider img {
  width: 400px;         
  height: 170px;
  object-fit: cover;
}



@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* ====== Hero Section ====== */
#hero {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100vh; 
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%); 
}

/* ====== Slogan ====== */
.slogan {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  color: #fff;
  text-align: right;
  max-width: 400px;
}

.slogan h1 {
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

/* ====== Social Icons ====== */
.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.social-icons a img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
  color: rgba(248, 243, 243, 0.5);
}

.social-icons a:hover img {
  transform: scale(1.2);
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .hero-image {
    height: 70vh;
  }

  .slogan {
    right: 10px;
    max-width: 90%;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
