/* styles.css */

body {
  margin: 0;
  font-family: Arial, sans-serif;
 
}

header {
  background-color: #333;
  color: #fff;
  position: fixed;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo h1 {
  margin: 0;
  text-decoration: none;
  color: #ffffff;
}

.navbar {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  display: block;
}

.nav-links a:hover {
  background-color: #555;
}

.dropdown {
  display: none;
  position: absolute;
  background-color: #333;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1;
}

.dropdown li a {
  padding: 10px 20px;
}

.nav-links li:hover .dropdown {
  display: block;
}

.mobile-nav {
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
      display: none; /* Hide nav links by default */
      flex-direction: column;
      
      position: absolute;
      top: 35px; /* Adjust based on header height */
      left:-16vw;
      background-color: #333;
  }
  .logo h1 {
      font-size: 4vw;
  }
  .nav-links.active {
      display: flex; /* Show nav links when active */
  }

  .mobile-nav {
      display: block;
  }
  .mobile-nav i{
      margin-right: 4vw;
      font-size: 5vw;
  }
}

/* Hero Section */
.hero {
  background: url('/TV-geyser/tv-repairing-service.jpg') no-repeat center center/cover;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-text {
  padding: 0px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 3em;
  margin: 0 0 10px;
}

.hero p {
  font-size: 1.2em;
  margin: 0 0 20px;
}

.btn-book-now {
  padding: 10px 20px;
  font-size: 1em;
  color: white;
  background-color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-book-now:hover {
  background-color: white;
  color: black;
  border: 1px solid black;
}

/* Responsive Hero Text */
@media (max-width: 768px) {
  .hero h1 {
      font-size: 2em;
  }

  .hero p {
      font-size: 1em;
  }
}
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(0, 3%, 25%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat Alternates", sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--white-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}



.services-1 {
  padding: 20px;
  text-align: center;
}

.services-1 h2 {
  margin-bottom: 20px;
}

.service-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.service-item {
  width: 150px;
  margin: 10px;
  text-align: center;
}

.service-item img {
  width: 100px;
  height: 100px;
}

.sticky-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sticky-btn {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 15px;
  background-color: #ffffff;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.sticky-btn img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.sticky-btn.call-btn {
  background-color: #1367d4ef;
}

.sticky-btn.whatsapp-btn {
  background-color: #25D366;
}

.sticky-btn:hover {
  background-color: #0056b3;
}

.sticky-btn.whatsapp-btn:hover {
  background-color: #1b9e3d;
}

@media (max-width: 768px) {
  .nav-links {
      display: none;
  }
  .burger {
      display: flex;
  }
  .nav-active {
      display: flex;
      flex-direction: column;
  }
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--black-color);
  z-index: var(--z-fixed);
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--white-color);
  font-weight: var(--font-medium);
}

.nav__close, 
.nav__toggle {
  display: flex;
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    left: -100%;
    top: 0;
    background-color: var(--black-color);
    width: 100%;
    height: 100%;
    padding: 6rem 3.5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left .4s;
  }

  .nav__item {
    transform: translateX(-150px);
    visibility: hidden;
    transition: transform .4s ease-out, visibility .4s;
  }

  .nav__item:nth-child(1) {
    transition-delay: .1s;
  }
  .nav__item:nth-child(2) {
    transition-delay: .2s;
  }
  .nav__item:nth-child(3) {
    transition-delay: .3s;
  }
  .nav__item:nth-child(4) {
    transition-delay: .4s;
  }
  .nav__item:nth-child(5) {
    transition-delay: .5s;
  }
}

.nav__list, 
.nav__social {
  display: flex;
}

.nav__list {
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link {
  position: relative;
  color: var(--white-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  transition: opacity .4s;
}

.nav__link i {
  font-size: 2rem;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}

.nav__link span {
  position: relative;
  transition: margin .4s;
}

.nav__link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--white-color);
  transition: width .4s ease-out;
}

/* Animation link on hover */
.nav__link:hover span {
  margin-left: 2.5rem;
}

.nav__link:hover i {
  opacity: 1;
  visibility: visible;
}

.nav__link:hover span::after {
  width: 100%;
}

/* Sibling fade animation */
.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
  opacity: .4;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.nav__social {
  column-gap: 1rem;
}

.nav__social-link {
  color: var(--white-color);
  font-size: 1.5rem;
  transition: transform .4s;
}

.nav__social-link:hover {
  transform: translateY(-.25rem);
}

/* Show menu */
.show-menu {
  left: 0;
}

/* Animation link when displaying menu */
.show-menu .nav__item {
  visibility: visible;
  transform: translateX(0);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }

  .nav__toggle, 
  .nav__close {
    display: none;
  }

  .nav__link {
    font-size: var(--normal-font-size);
  }

  .nav__link i {
    font-size: 1.5rem;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3.5rem;
  }

  .nav__menu {
    display: flex;
    align-items: center;
    column-gap: 3.5rem;
  }
}


.content-table {
  margin-top: .5vh;
    align-items: center;
justify-content: center;
    border-collapse: collapse;
    font-size: 0.9em;
    min-width: 400px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.content-table thead tr {
    background-color: #2c2c2c;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
}

.content-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
    border-bottom: 2px solid #4a4b4b;
}

.content-table tbody tr.active-row {
    font-weight: bold;
    color: #a3a3a3;
}
.container .row{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}
.row section.col{
    display: flex;
    flex-direction: column;
}
.row section.left{
    flex-basis: 35%;
    min-width: 320px;
    margin-right: 60px;
}
.row section.right{
    flex-basis: 60%;
}
section.left .contactTitle h2{
    position: relative;
    font-size: 28px;
    color: #313131;
    display: inline-block;
    margin-bottom: 25px;
}
section.left .contactTitle h2::before{
    content: '';
    position: absolute;
    width: 50%;
    height: 1px;
    background-color: #888;
    top: 120%;
    left: 0;
}
section.left .contactTitle h2::after{
    content: '';
    position: absolute;
    width: 25%;
    height: 3px;
    background-color: rgb(43, 41, 41);
    top: calc(120% - 1px);
    left: 0;
}
section.left .contactTitle p{
    font-size: 17px;
    color: #131212;
    letter-spacing: 1px;
    line-height: 1.2;
    padding-bottom: 22px;
}
section.left .contactInfo{
    margin-bottom: 16px;
}
.contactInfo .iconGroup{
    display: flex;
    align-items: center;
    margin: 25px 0px;
}
.iconGroup .icon{
    width: 45px;
    height: 45px;
    border: 2px solid rgb(39, 39, 39);
    border-radius: 50%;
    margin-right: 20px;
    position: relative;
}
.iconGroup .icon i{
    font-size: 20px;
    color: #ddd;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.iconGroup .details span{
    display: block;
    color: #242323;
    font-size: 18px;
}
.iconGroup .details span:nth-child(1){
    text-transform: uppercase;
    color: #181717;
}
section.left .socialMedia{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 22px 0px 20px;
}
.socialMedia a{
    width: 35px;
    height: 35px;
    text-decoration: none;
    text-align: center;
    margin-right: 15px;
    border-radius: 5px;
    background-color: rgb(20, 20, 20);
    transition: 0.4s;
}
.socialMedia a i{
    color: #ffffff;
    font-size: 18px;
    line-height: 35px;
    border: 1px solid transparent;
    transition-delay: 0.4s;
}
.socialMedia a:hover{
    transform: translateY(-5px);
    background-color: #1d1d1d;
    color: rgb(49, 50, 51);
    border: 1px solid dodgerblue;
}
.socialMedia a:hover i{
    color: dodgerblue;
}


.footer-container {
  display: flex;
  justify-content: space-around;
  max-width: 70vw;
  margin: auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 20px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-section p, .footer-section form {
  margin: 10px 0;
}

.footer-section form input, .footer-section form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
}

.footer-section form button {
  background-color: #fff;
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.footer-section form button:hover {
  background-color: #444;
  color: #fff;
}

@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
  }
}

