/* 
  Calltwo.shop Bootstrap Theme (Repaired + Optimized)
  Fixed & Updated by ChatGPT
  Compatible with Bootstrap 5
  Theme: White + Orange
*/

:root {
  --primary: #ff7600;
  --primary-dark: #d35400;
  --gray-light: #f1f1f1;
  --gray: #999;
  --dark: #333;
  --font-main: 'Open Sans', Arial, Helvetica, sans-serif;
}

html, body {
  overflow-x: hidden;
  font-family: var(--font-main);
  background-color: #ff7600;
  font-size: 14px;
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, span, p {
  font-family: var(--font-main);
}

/* Global reset */
* {
  border-radius: 0 !important;
  box-sizing: border-box;
}

/* ============ TOP BAR ============ */
.templatemo-top-bar {
  min-height: 40px;
  background-color: #eeeeee;
}

/* ============ NAVIGATION ============ */
.templatemo-top-menu {
  background-color: #fff;
  min-height: 100px;
  z-index: 1000;
  width: 100%;
}

.templatemo-top-menu .navbar-brand {
  padding: 0;
  margin-top: 25px;
}

.navbar {
  margin-bottom: 0;
  border: none;
}

.navbar-nav > li > a {
  padding: 12px 20px;
  color: #666;
  transition: 0.3s;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > .active > a {
  background-color: var(--primary);
  color: #ff7600 !important;
}

/* ============ CAROUSEL ============ */
#templatemo-carousel {
  background: url('Phone_only_works_on_speaker.webp') no-repeat center center / cover;
  height: 500px;
  position: relative;
  overflow: hidden;
}

#templatemo-carousel .item {
  height: 500px;
}

#templatemo-carousel .carousel-inner > .item > img {
  position: absolute;
  width: 100%;
  height: 500px;
  object-fit: cover;
  left: 0;
  top: 0;
}

#templatemo-carousel .carousel-caption {
  bottom: 100px;
  text-align: center;
  color: #ff7600;
}

@media (max-width: 768px) {
  #templatemo-carousel {
    background: url('Phone_only_works_on_speaker.webp') no-repeat center center / cover;
    height: 400px;
  }
  #templatemo-carousel .carousel-caption {
    bottom: 60px;
    padding: 0 20px;
  }
}

/* ============ WELCOME SECTION ============ */
.templatemo-welcome {
  border-bottom: 1px solid #ccc;
  padding: 60px 0;
  text-align: center;
}

.templatemo-slogan {
  font-size: 42px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.subheader {
  color: var(--primary);
  font-size: 14px;
}

/* ============ SERVICES ============ */
.templatemo-service {
  padding: 80px 0;
}

.templatemo-service-item {
  text-align: center;
  margin-bottom: 40px;
}

.templatemo-service-item i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.templatemo-service-item h4 {
  font-weight: 600;
}

.templatemo-service-item p {
  color: #666;
  font-size: 15px;
  margin-top: 15px;
}

/* ============ BUTTONS ============ */
.btn-orange {
  background-color: var(--primary);
  border: none;
  color: #fff;
  padding: 10px 25px;
  transition: 0.3s;
}

.btn-orange:hover {
  background-color: var(--primary-dark);
  color: #fff;
}

.btn-green {
  background-color: #2ecc71;
  border: none;
  color: #fff;
  padding: 10px 25px;
  transition: 0.3s;
}

.btn-green:hover {
  background-color: #27ae60;
}

/* ============ TEAM SECTION ============ */
.templatemo-team {
  background: url('../images/background.png') no-repeat center center / cover;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.team-member {
  margin-bottom: 30px;
  position: relative;
}

.team-member img {
  width: 100%;
  border-radius: 10px;
}

.team-member .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 118, 0, 0.85);
  opacity: 0;
  transition: 0.4s;
}

.team-member:hover .overlay {
  opacity: 1;
}

.overlay a {
  color: #fff;
  font-size: 20px;
  margin: 10px;
}

/* ============ PROJECT / GALLERY ============ */
.templatemo-project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.templatemo-project-box {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: 0.3s;
}

.templatemo-project-box img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  display: block;
}

.templatemo-project-box:hover {
  border-color: var(--primary);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  color: #ff7600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.templatemo-project-box:hover .project-overlay {
  opacity: 1;
}

/* ============ CONTACT SECTION ============ */
#templatemo-contact {
  padding: 100px 0;
  border-top: 1px solid #ccc;
}

.templatemo-contact-map {
  height: 350px;
  margin-bottom: 20px;
}

.contact_right form input,
.contact_right form textarea {
  border: 1px solid #ccc;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

.contact_right form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 25px;
}

/* ============ FOOTER ============ */
.templatemo-footer {
  border-top: 2px solid #ccc;
  padding: 50px 0;
  background: #fff;
  text-align: center;
  color: #444;
}

.templatemo-footer .social-links a {
  display: inline-block;
  margin: 0 5px;
  color: var(--primary);
  font-size: 20px;
  transition: 0.3s;
}

.templatemo-footer .social-links a:hover {
  color: var(--primary-dark);
}

/* ============ RESPONSIVE FIXES ============ */
@media (max-width: 991px) {
  .templatemo-slogan {
    font-size: 32px;
  }

  .templatemo-service-item {
    margin-bottom: 50px;
  }

  .templatemo-team {
    padding: 60px 20px;
  }
}

@media (max-width: 576px) {
  .templatemo-slogan {
    font-size: 26px;
  }

  .templatemo-service {
    padding: 50px 10px;
  }
}
