:root {
  --primary-color: #E6532C;
  --secondary-color: #004D40;
  --accent-color: #FFD700;
  --accent-hover: #B3391B;
  --text-color: #1A1A1A;
  --bg-color: #F4F7F9;
  --white: #FFFFFF;
  --service-bg: #fffefc;
  --service-border: #ececec;
  --swiper-theme-color: var(--primary-color);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-center {
  text-align: center;
}

.light-bg {
  background-color: #F9FBFD;
}

.section {
  padding: 20px 0;
  background-color: var(--white);
}

.section h2,
.about-subsection h3 {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 16px;
  border-left: 4px solid var(--accent-color);
  padding-left: 12px;
}

.section h3 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-top: 16px;
  margin-bottom: 8px;
  padding-left: 6px;
  border-left: 3px solid var(--accent-color);
}

.section-icon {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  transition: transform 0.3s ease;
  filter: none !important;
}

.section-icon:hover {
  transform: scale(1.2);
}

#about ul {
  margin-bottom: 16px;
}

#about ul li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  list-style: none;
}

#about ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.navbar {
  background: var(--white);
  color: var(--primary-color);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img.responsive-logo {
  height: auto;
  max-height: 50px;
  width: auto;
  max-width: 100%;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-hover);
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary-color);
}

.hero {
  background: linear-gradient(to bottom right, #004D40dd, #E6532Cdd), url('images/telecom-bg.jpg') no-repeat center/cover;
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  border-radius: 0 0 30px 30px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
}

.about-subsection {
  background-color: #FAFAFA;
  padding: 18px;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
  margin-bottom: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-subsection:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.about-subsection-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.about-subsection-container .about-subsection {
  flex: 1 1 48%;
  min-width: 280px;
}


/* Service Section */
#services {
  padding: 60px 0;
  background-color: #f9f9f9;
}

#services h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: #222;
}

.service-image {
  flex: 1 1 48%;
  min-width: 300px;
  height: 250px; /* Landscape shape */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Prevent zoom spillover */
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image img:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}


.service-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

.service-image {
  flex: 1 1 48%;
  min-width: 300px;
}

.service-image img {
  width: 100%;
  height: 250px;
  object-fit: contain; /* ensures full image is visible */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.service-text {
  flex: 1 1 48%;
  min-width: 300px;
}

.service-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.service-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-color); /* fallback or use #444 */
  font-size: 1rem;
  line-height: 1.6;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color); /* fallback: #007BFF or your brand color */
  font-size: 1.2rem;
  line-height: 1;
}


.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  padding: 20px;
  background-color: #FDFDFD;
  border-radius: 12px;
}

.logo-grid img {
  width: 190px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.logo-grid img:hover {
  transform: scale(1.05);
}

#clients.section {
  padding-bottom: 10px;
}

#operators.section {
  padding-top: 10px;
}

.contact-section {
  padding: 50px 20px;
  background-color: var(--bg-color);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form,
.contact-info {
  flex: 1 1 45%;
  min-width: 300px;
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--service-border);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.contact-form h2,
.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: var(--white);
  color: var(--text-color);
  margin-bottom: 15px;
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--accent-hover);
}

.contact-info p {
  margin: 10px 0;
  color: var(--secondary-color);
}

.contact-info a {
  color:#0000FF;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.map-container {
  margin-top: 20px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100% !important;
  height: 250px;
  border: none;
}


.site-footer {
  background: #111;
  color: var(--white);
  text-align: center;
  padding: 16px;
}

/* call chat symbol*/
/* Floating icons only on mobile */
.floating-contact {
  display: none;
}


/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 2rem;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    margin: 10px 0;
  }

  .logo-grid img {
    max-width: 120px;
    max-height: 70px;
  }

  .logo img.responsive-logo {
    max-height: 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-subsection-container {
    flex-direction: column;
  }

  .service-block {
    flex-direction: column;
  }

  .service-image{
    flex: 1 1 100%;
    text-align: center; /* Ensures inline elements (like img) align center */
  }

  .service-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0; /* Optional spacing */
  }

  .service-image img {
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block; /* Ensures image respects margin auto */
  }

  /* contact section*/
  .contact-section {
    padding: 30px 15px;
  }

  .contact-form,
  .contact-info {
    padding: 15px;
  }

  .contact-form h2,
  .contact-info h3 {
    font-size: 1.4rem;
  }

  .contact-info p {
    font-size: 0.95rem;
    word-break: break-word;
  }

  .contact-info a {
    font-size: 0.95rem;
  }

  .map-container iframe {
    height: 200px;
  }

  /* Fix for floating icons not showing */
  .floating-contact {
    position: fixed;
    right: 12px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
  }

  .floating-contact .contact-icon img {
    width: 50px;
    height: 50px;
    padding: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .floating-contact .contact-icon img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  }
}
