@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
  
}

html {
  scroll-behavior: smooth;
  
}

body {
  font-family: Arial, 'Times New Roman', Times, serif;
  line-height: 2.6;
   background: rgb(248, 245, 245);
  padding-top: 70px;
}



header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  background: white;
}

/*Navigation CSS part*/
.navbar {
  display: flex;
  padding: 0 50px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.navbar input#menu-toggler {
  display: none;
}

.navbar #hamburger-btn {
  cursor: pointer;
  display: none;
  background-color: #000;
}

/* Responsive menu - for mobile */
@media (max-width: 768px) {
  #hamburger-btn {
    display: none;
  }

  #menu-toggler:not(:checked)~.all-links {
    display: none;
    flex-direction: column;
    position: absolute;
    align-items: stretch;
    flex: 1 1 100%; /* One item per row */
    top: 10px;
    left: 0;
    width: 100px;
    background-color: #444;
    padding: 100px ;
  }

  /* Show menu when toggled */
  #menu-toggler:checked ~ .all-links {
    display: flex;
    flex-direction: row;
    position: absolute;
    flex-wrap: wrap;
    gap: 2px;
    top: 10px;
    left: 10px;
    width: 100%;
    background-color: #444;
    padding: 20px;
    z-index: 10;
    font-size: 20px;
    font-family: arial,'Times New Roman', Times, serif;
    color: #fff;
    text-align: left;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;

  }

  .all-links li {
    text-align: left;
    margin: 10px 0;
  }
}

.navbar .all-links {
  padding: 2% 6% ;
  display: flex;
  align-items: right;
  text-align: right;
  font-size: 25px;
  gap: 20px;
  font-family: arial,'Times New Roman', Times, serif;
  position: relative;
  bottom: 10px;
  right: -350px;
  
  
}

.navbar .all-links:hover{
  
    color: #03a534;
    
}

.navbar .all-links li {
  padding: auto;
  position: relative;
  list-style: none;
  gap: 10px;
  
}



.navbar .logo a {
  padding: 15px;
  display: flex;
  align-items: left;
  margin-left: 0;
  text-align: left;
  left: 100px;
  padding-left: 0;
}


.navbar .logo img{
  
  position: absolute;
  height: 60px;
  width: auto;
  left: 100px;
  bottom: 38px;
  justify-content: center;
  

  
}

header a, footer a {
  margin-left: 40px;
  text-decoration: none;
  color: #140202;
  height: 100%;
  padding: 20px 0;
  display: inline-block;
}

header a:hover, footer a:hover {
  color: #08f328;
}


.homepage {
  height: 100vh;
  width: 100%;
  position: relative;
  background: url("images/web Site/bgmi.jpg");
  background-position: center;
  background-size: 1920px;

  
}

.homepage .text p{
  
  font-size: 30px;
  font-weight: bold;
}


.homepage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.homepage .content {
  display: flex;
  height: 85%;
  z-index: 3;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.homepage .content h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 10px;
}

.homepage .content .text {
  margin-bottom: 50px;
  color: #fff;
  font-size: 20px;
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.content a {
  color: #000;
  display: block;
  text-transform: uppercase;
  font-size: 18px;
  margin: 0 10px;
  padding: 10px 30px;
  border-radius: 5px;
  background: #fff;
  border: 2px solid #fff;
  transition: 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.content a:hover {
  color: #fff;
  background: rgba(247, 242, 242, 0.3);
}

section {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 100px 0; /* Uniform padding for all sections */
  min-height: 10vh; /* Each section takes at least full viewport height */
  width: 100%;
}

section h2 {
  font-size: 2rem;
}

section > p {
  text-align: center;
  font-family: arial,'Times New Roman', Times, serif;
}

section .cards {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-top: 50px;
  padding: 0 10px;
  justify-content: space-between;
}



.navbar #menu-toggler:checked~.all-links {
  left: 0;
}

.navbar .all-links li {
  font-size: 18px;
}

.navbar #hamburger-btn {
  display: block;
}



section .cards .card {
  width: calc(100% / 2 - 15px);
  margin-bottom: 30px;
}

.homepage .content h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.homepage .content .text {
  font-size: 17px;
}


/*Homa-section-Services-part*/

/* General styling */


.sec1 {
  text-align: center;
  margin-bottom: 40px;
}

.sec1 h5 {
  color: #3498db;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.sec1 h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin: 0;
}

/* Services grid layout */
.sec2 {
  display: flex;
  justify-content: center;
}

.main1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 1600px;
  
}

.Main1 {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.Main1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3498db, #2c3e50);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.Main1:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.Main1:hover::before {
  opacity: 1;
}

.Main1 h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.Main1 p {
  color: #7f8c8d;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.Main1:hover h3,
.Main1:hover p {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .main1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main1 {
    grid-template-columns: 1fr;
  }
  
  .sec1 h2 {
    font-size: 2rem;
  }
}

/*Home-section-Client-part*/

 /* Client Logo Slider */
 .client-slider {
  padding: 40px 0;
}

.client-slider .sec1 {
  text-align: center;
  margin-bottom: 30px;
}

.client-slider .slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
  padding: 20px 0;
}

.client-slider .slider-track {
  display: flex;
  align-items: center;
  animation: slide 40s linear infinite;
  will-change: transform;
}

.client-slider .slider-track:hover {
  animation-play-state: paused;
}

.client-slider .slider-container::before,
.client-slider .slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.client-slider .slider-container::before {
  left: 0;
  background: linear-gradient(to right, #f5f5f5, rgba(245, 245, 245, 0));
}

.client-slider .slider-container::after {
  right: 0;
  background: linear-gradient(to left, #f5f5f5, rgba(245, 245, 245, 0));
}

.client-slider .slider-track img {
  height: auto;
  max-height: 1000px;
  width: auto;
  max-width: 1000px;
  margin: 0 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.slider-track img:hover {
  background: linear-gradient(45deg, #a8e063, #56ab2f); /* Green gradient */
  box-shadow: 0 0 15px rgba(60, 160, 101, 0.8); /* Light green glow */
  transform: scale(1.02); /* Slight scaling for a smooth effect */
  transition: all 0.3s ease-in-out; /* Smooth transition */
  border-radius: 20px; /* Rounded corners */
}


@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/*Home-section - aboutUs Part*/

/* About 3G Associates Section - Scoped Styles */
.about-3g-section {
  padding: 60px 20px;
 
  margin: 40px 0;
}

.about-3g-section .sec1 {
  text-align: center;
  margin-bottom: 40px;
}

.about-3g-section .sec1 h5 {
  color: #3a7bd5;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-3g-section .sec1 h2 {
  color: #333;
  font-size: 2.5rem;
  margin: 0;
  position: relative;
  display: inline-block;
}

.about-3g-section .sec1 h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, #3a7bd5, #00d2ff);
  bottom: -10px;
  left: 20%;
  border-radius: 3px;
}

.about-3g-section ul {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.about-3g-section li {
  background: white;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.about-3g-section li:hover {
  transform: translateY(-3px);
}

.about-3g-section li p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  padding-left: 30px;
  position: relative;
}

.about-3g-section li p::before {
  content: '•';
  color: #3a7bd5;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-3g-section {
    padding: 40px 15px;
  }
  
  .about-3g-section .sec1 h2 {
    font-size: 2rem;
  }
  
  .about-3g-section li {
    padding: 15px;
  }
}
/*Management and owenership css part*/

.manage-owen{
  align-items: center;
}


/*Top Heading of Very component*/
.A1 {
  backdrop-filter: blur(100px);
  /* Green transparent background */
  background: rgba(245, 247, 246, 0.2); /* Green with 20% opacity */
  
  /* Blur effect */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  
  /* Light green border */
  border: 1px solid rgba(115, 117, 115, 0.3);
  
  /* Optional extras */
  border-radius: 12px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 100, 0, 0.1); /* Subtle green shadow */
  /* Container styling */
  display: flex;
  justify-content: flex-start; /* Changed from center to flex-start */
  padding: 80px;
  width: 100%; /* Ensure full width */
  box-sizing: border-box; /* Include padding in width calculation */
}

/* Section Title */
.A1 h2 {
  font-size: 3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: black;
  /* Removed display:flex and justify-content as they're redundant */
  margin: 0; /* Remove default margins */
  padding: 0; /* Remove default padding */
  text-align: left; /* Explicit left alignment */
  width: 100%; /* Take full container width */
}


/*Services CSS part*/

.services {
  text-align: center;
  background: rgb(248, 245, 245);
  color: rgb(7, 6, 6);
  padding: 60px 20px;
}

.services .cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  max-width: 80%;
  margin: auto;
}

.services .cards .card {
  display: flex;
  flex-direction: row; /* Stack content vertically */
  align-items: flex-start;    /* Center horizontally */
  justify-content: space-between;
  width: 100%;
  padding: 30px;
  background: rgb(172, 219, 206);
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  gap: 40px; /* Reduce gap for tighter spacing */
}

.services .cards .card img {
  width: 40%;       /* Makes image responsive (adjusts to card width) */
  max-width: 400px;  /* Prevents excessive stretching */
  height: auto;      /* Maintains aspect ratio */
  border-radius: 10px;
  object-fit: cover; /* Adds space below the image */
}
.services .cards .card .text-content{
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.services .cards .card h3 {
  margin:0 0 15px 0;         /* Remove default margins */
  font-size: 28px;
  text-align: left;
  text-decoration: underline;
  font-weight: bold;
  
       /* Ensures h3 comes after p (if p is order: 1) */
}

.services .cards .card p {
  font-size: 24px;
  line-height: 1.5;
  
  text-align: left;
  margin: 0;
   
  
}

/* Hover effect */
.services .cards .card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}



/*Project CSS part*/

.portfolio{
  text-align: center;
  background: rgb(248, 245, 245);
  color: black;
  padding: 60px 20px;
}

.portfolio .card {
  height: 500px;
  box-shadow: 0 6px 12px rgba(14, 13, 13, 0.2);
  border-radius: 15px; /* Softened edges */
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: #ffffff;
}

.portfolio .card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(14, 13, 13, 0.3);
}

.portfolio .cards .card {
  padding: 15px;
  border: 2px solid rgba(11, 204, 37, 0.2);
  background: white;
}

.portfolio .cards .card:hover {
  color: #08f328;
  border-color: #08f328;
}

.portfolio .card img {
  height: 50%;
  width: 50%;
  padding-bottom: 20px;
  aspect-ratio: 16 / 8;
  border-radius: 10px; /* Making edges more circular */
  
}

.portfolio .card h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.portfolio .card h4 {
  font-size: 18px;
  font-weight: normal;
  color: #666;
}

/* Adding subtle animation */
.portfolio .card:hover h3 {
  color: #08f328;
  transform: scale(1.1);
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.portfolio .card:hover h4{
  color: #03a534;
  transform: scale(2.1);
  transition:  color 0.3s ease-in-out, transform 0.3s ease-in-out;
}





/* About Us Section */
.service {
  text-align: center;
  background: rgb(248, 245, 245);
  color: black;
  padding: 60px 20px;
}




/* Description Text */
.service p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  opacity: 1;
  font-family: Arial, 'Times New Roman', Times, serif;
  color: black;
  
}


/* Main Container Box */
.service-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Grid Layout for Items */
.cards1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
}

/* Individual Card Styling */
.card1 {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  cursor: pointer;
}

/* Card Heading */
.card1 h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffd700; /* Gold Text */
}

/* Card Text */
.card1 p {
  font-size: 1rem;
  line-height: 1.5;
  color: black;
}

/* Hover Effects */
.card1:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .service h2 {
      font-size: 2rem;
  }

  .service p {
      font-size: 1rem;
  }

  .cards1 {
      grid-template-columns: 1fr;
  }

  .service-container {
      padding: 20px;
  }
}


/* Contact Section Styling */




/* Contact Section */
.contact-map-section {
  display: flex;
  justify-content: space-between;
  padding: 50px;
  gap: 20px;
  flex-direction: row-reverse; /* Changed this to reverse the order */
  text-align: center;
  background: rgb(248, 245, 245);
  color: white;
  padding: 60px 20px;
}

.contact-form, .map {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 45%;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-form:hover, .map:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-map-section h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1a0f0f;
  text-decoration: underline;
}

.input-field {
  margin-bottom: 20px;
}

.input-field label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #555;
  margin-bottom: 5px;
  text-align: left;
}

.input-field input, .input-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  outline: none;
}

.input-field input:focus, .input-field textarea:focus {
  border-color: #007BFF;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background-color: #007BFF;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.map iframe {
  border-radius: 10px;
  width: 100%;
  height: 300px;
}




/*Footer CSS part*/
footer {
  background: #000; /* Black Background */
  color: white; /* White Text */
  padding: 40px 0;
  font-size: 14px;
}

.footer-top {
  padding-bottom: 30px; /* Fixed padding issue */
  background-color: #000; /* Black */
}

.footer-top .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.address-section, .contact-section {
  width: 48%;
  padding: 20px;
}

.address-section {
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-weight:bold;

}

.contact-section {
  text-align: right;
  gap: 5px;
}

.contact-section h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color:white; /* White Text */
  
}

.address-section h4{
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color:white; /* White Text */
  
}



.contact-section a {
  color: #0bec1e; /* Yellow for visibility */
  text-decoration: none;
}

.contact-section a:hover, .address-section a:hover {
  text-decoration: underline;
}

.container-1 {
  background-color: #000; /* Black */
}

.copyright {
  background: #000; /* Black */
  text-align: center;
  color: white;
  padding: 10px;
  border-top: 1px solid #444;
}

.credits {
  background: #000; /* Black */
  text-align: center;
  color: white;
  font-size: 13px;
}

.credits a {
  color: #0bec1e; /* Yellow */
  text-decoration: none;
}

.credits a:hover {
  text-decoration: underline;
}

/* Footer section */

/* Career Section  CSS part*/
.career-section {
  background: rgb(248, 245, 245);
  color: white;
  padding: 30px 30px;
  text-align: center;
  display: flex; /* Enables Flexbox */
  justify-content: flex-end; /* Moves content to the right */
  align-items: center;
  
}

/* Form Container */
.container {
  max-width: 700px;
  width: 100%;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333;
  margin-right: 1000px; /* Pushes form from the right edge */
}

/* Heading of carrar page*/

/* Left-align the Career section text */
.career-text {
  text-align: left;
  padding-left: 1000px; /* Adjust left spacing as needed */
  height: 100px;
}

.career .name {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
}

.slowgen h3 {
  font-size: 60px; /* Adjusted font size for better readability */
  font-weight: 10; /* Removed 'px' as it's not needed for font-weight */
  margin-bottom: 10px; /* Increased margin for better spacing */
  font-family: Arial, 'Times New Roman', Times, serif;
  color: black;
  align-items: baseline;
  
 /* Added inline property */
  text-shadow: 6px 6px 6px rgba(0, 0, 0, 0.7); /* Increased shadow effect */
}

.slowgen p {
  font-size: 30px; /*  consistent font size for paragraph */
  max-width: 700px; /* Increased max-width for a better text width */
  line-height: 1.6; /* Improved line height for better readability */
  font-weight: 400; /* Regular font weight for better balance with bold headings */
  font-family: Arial, 'Times New Roman', Times, serif;
  margin: 0 auto; /* Center the paragraph text */
  text-align: justify; /* Justify text for better alignment */
  color: #000;
  display: inline; /* Added inline property */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Added shadow */
}



/* Form Styling */
.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

input:focus, select:focus {
  border-color: #4b79a1;
  outline: none;
}

/* Submit Button */
.submit-btn {
  background: #4b79a1;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #283e51;
}



/* Responsive */
@media (max-width: 768px) {
  .navbar .all-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .navbar .logo img {
    height: 50px;
  }

  .homepage .content h1 {
    font-size: 30px;
  }

  .homepage .content .text {
    font-size: 15px;
  }

  section h2 {
    font-size: 1.5rem;
  }

  section > p {
    font-size: 1rem;
  }

  section .cards .card {
    width: calc(100% - 20px);
    margin-bottom: 20px;
  }
}