:root {
  --orange: #fb8631;
  --feroza: #00bcd4;
  --dark: #1e1e1e;
  --light: #ffffff;
  --gray: #f5f5f5;
}
.e-btn.dark, .e-btn:hover{
  background-color: #fb8631!important;
    color: #fff;
}
.navbar-brand img {
  height: 50px;
}

.modal-backdrop.show {
    opacity: 0;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

/* Modal backdrop darker */
.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.65);
}

/* Modal content box */
#autoModal .modal-content {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  background: #fff;
  border: none;
  position: relative;
  animation: scaleIn 0.3s ease-out;
}

/* Close button */
#autoModal .close {
  border: none;
  outline: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}
#autoModal .close:hover {
  transform: rotate(90deg) scale(1.1);
}

/* Modal text */
#autoModal .modal-text div:first-child {
  font-size: 1.3rem;
  font-weight: 600;
  color: #b50000; /* red heading */
}

/* Paragraph inside modal */
#autoModal .modal-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

/* CTA Button */
#autoModal .modal-btn {
  background: #b50000;
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}
#autoModal .modal-btn:hover {
  background: #900000;
  transform: translateY(-2px);
}

/* Animation */
@keyframes scaleIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsive padding */
@media (max-width: 576px) {
  #autoModal .modal-content {
    padding: 1.2rem !important;
  }
  #autoModal .modal-text p {
    font-size: 0.9rem;
  }
}



/* navbar brand */
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px; /* SAME GAP as social icons */
  text-decoration: none;
  justify-content: center;
  flex-wrap: wrap;
}

/* Logo Image */
.brand-link img {
  height: 50px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* Brand Name */
.brand-link h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--orange);
  margin: 0;
  transition: color 0.3s ease;
}

/* Hover Effects */

.sec-title {
    font-size: 2.4em;
    position: relative;
    font-weight: lighter;
    text-transform: uppercase;
    color: var(--orange);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .brand-link {
    gap: 8px;
  }
  .brand-link img {
    height: 42px;
  }
  .brand-link h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .brand-link img {
    height: 36px;
  }
  .brand-link h3 {
    font-size: 14px;
  }
}

/* products */
.systems-list-view .system {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 50vh;
  min-height: 400px;
}

.systems-list-view .system .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.systems-list-view .system .title {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 65%;
  color: #070707;
    font-weight: bold!important;
  font-size: 1.75em;
  margin: 0;
  z-index: 2;
  transition: all 0.5s ease;
}

.systems-list-view .system .menu-items {
  position: absolute;
  top: 62%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 2;
}

.systems-list-view .system .menu-item {
  padding: 5px 10px;
  color: #110e0e;
}

/* HOVER EFFECTS */
.systems-list-view .system:hover .img {
  transform: scale(1.1);
}

.systems-list-view .system:hover .title {
  top: 50%;
  color: #fb8631;
}

.systems-list-view .system:hover .menu-items {
  transform: translateY(0);
  opacity: 1;
}

/* MOBILE */
@media screen and (max-width: 768px) {
  .systems-list-view .system {
    height: 30vh;
    min-height: 220px;
  }
  .systems-list-view .system .title {
    font-size: 1.2em;
  }
  .systems-list-view .system .menu-items {
    top: 60%;
  }
}


/* mission vison */

section.mission-vision {
  max-width: 1200px;
  margin: auto;
}

.mv-header {
  text-align: center;
  padding: 50px 20px 20px;
}

.mv-header h2 {
  font-size: 2.4rem;
  color: var(--orange);
  margin: 0;
}

.mv-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 20px;
  gap: 30px;
}

.mv-block:nth-child(odd) {
  background: var(--light);
  flex-direction: row;
}

.mv-block:nth-child(even) {
  background: #eaf9fb;
  flex-direction: row-reverse;
}

.mv-image {
  flex: 1;
  text-align: center;
}

.mv-image img {
  max-width: 250px;
  width: 100%;
}

.mv-content {
  flex: 2;
}

.mv-content p,
.mv-content ul {
  font-size: 1rem;
  color: #333;
  margin: 0;
}

.mv-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.mv-content ul li {
  margin: 8px 0;
  padding-left: 25px;
  position: relative;
}


/* Responsive */
@media (max-width: 768px) {
  .mv-block {
    flex-direction: column !important;
    text-align: center;
  }

  .mv-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .mv-content {
    text-align: center;
  }
}
/* Contact Section */
.contact-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-image {
  flex: 1 1 500px;
  background-image: url("../images/contact.png");
  background-size: cover;
  background-position: center;
  height: 300px;
  border-radius: 8px;
}

.contact-details {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--orange);
  margin-top: 4px;
}

.contact-item .contact-text {
  flex: 1;
}

.contact-text h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  color: var(--feroza);
}

.contact-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Form + Map Row */
.contact-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-form-box {
  flex: 1 1 500px;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form-box h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--orange);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-input,
.contact-textarea {
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
}

.contact-textarea {
  min-height: 120px;
}

.contact-form-button {
  padding: 14px;
  font-size: 1rem;
  background-color: var(--feroza);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.contact-form-button:hover {
  background-color: #0097a7;
}

/* Map Box */
.contact-map-box {
  flex: 1 1 500px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-top,
  .contact-bottom {
    flex-direction: column;
  }

  .contact-image,
  .contact-details,
  .contact-form-box,
  .contact-map-box {
    flex: 1 1 100%;
  }
}

/* social media */
.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--orange);
  color: var(--light);
  font-size: 18px;
  transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

.footer-social-link:hover {
  background-color: var(--feroza);
  color: var(--dark);
  transform: scale(1.1);
}
