/* Color Scheme Variables for Light and Dark Themes */
:root {
  --primary-color: #ff99bf;
  --background-color: #ffffff;
  --text-color: #121212;
  --accent-color: #dd79a1;
  --toggle-bg: #e0e0e0;
  --button-hover-color: #dd79a1;
  --font-family: 'Poppins', sans-serif;
  --transition-duration: 0.3s;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --shadow-hover: rgba(0, 0, 0, 1.9);
}

[data-theme='dark'] {
  --background-color: #1d1f27;
  --text-color: #ffffff;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color var(--transition-duration), color var(--transition-duration);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* Header */
header {
  background-color: var(--background-color);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
}



nav {
  display: flex;
  gap: 20px;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
}

nav a:hover { color: var(--primary-color); }

/* Hamburger Menu (Hidden on Desktop) */
.phone-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-color);
  background: none;
  border: none;
  outline: none;
  margin-left: auto;
}

.phone-toggle.active {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: var(--background-color);
    width: 200px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  nav ul.active {
    display: flex;
  }

  .phone-toggle {
    display: block;
  }
}

/* Hero Section */
#hero {
  /*background: url('assets/img') no-repeat center/cover;*/
  /*height: 100vh;*/
  /*display: flex;*/
  /*align-items: center;*/
  /*justify-content: center;*/
  /*text-align: center;*/
  /*color: var(--background-color);*/
  position: relative;
  width: 100%;
  height: 80vh; /* Full-screen height */
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video fills the section properly */
  z-index: 1;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 225px;
  color: var(--background-color);
  padding: 20px;
}

#hero h1 {
  font-size: 2.5rem;
  margin-top: 5rem;
  color: deeppink;
}
#hero p {
  color: var(--text-color);
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 20px;
}
#hero button {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 10px 25px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
#hero button:hover { background-color: #ff77a8; }


/* Theme Toggle Switch */
.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 2rem;
}

.theme-switch {
  position: relative;
  width: 50px;
  height: 20px;
  background-color: #ccc;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Hide Checkbox from theme switcher*/
#theme-toggle {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-switch .toggle-slider {
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: var(--text-color);
  border-radius: 50%;
  left: 2px;
  transition: transform 0.4s ease;
}

/* controls toggle slider logic for theme switch*/
#theme-toggle:checked + .theme-switch .toggle-slider {
  transform: translateX(25px);
  background-color: var(--background-color); /*this is the color of the button on the them switcher*/
  transition-delay: 0.2s;
}

#theme-toggle:checked + .theme-switch {
  background-color: var(--primary-color);
}

/* Language Toggle Flags */
.language-toggle {
  display: flex;
  position: absolute;
  top: 60px;  /* Positioned below the theme switch */
  right: 20px;
  gap: 15px;
}

.language-toggle img {
  width: 30px;
  height: 20px;
  cursor: pointer;
  margin-top: 12px;
  /*border: 1px solid #ccc;*/
  border-radius: 3px;
  transition: transform 0.3s;
}

.language-toggle img:hover {
  transform: scale(1.3);
}

/* Services Section */
#services {
  padding: 60px 40px;
  background-color: var(--background-color);
  text-align: center;
}
#services h2 {
  color: var(--primary-color);
  margin-bottom: 20px; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* Service Cards Hover Effect */
.service-cards .card {
  background-color: var(--background-color);
  border-radius: 12px;
  margin-top: 30px;
  padding: 20px;
  box-shadow: 0 12px 15px rgba(115, 113, 113, 0.1);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.card {
  background-color: var(--background-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.1);
}

.card .crdlink {
  position: absolute;
  width: 100%;
  height: 20%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Social Icons Styles */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.social-icons li {
  margin: 0 10px;
}

.social-icons li a img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(86%) sepia(15%) saturate(3780%) hue-rotate(290deg) brightness(97%) contrast(110%);
}

.social-icons li a img:hover {
  transform: scale(1.2);
  filter: brightness(0) saturate(100%) invert(80%) sepia(20%) saturate(5000%) hue-rotate(305deg) brightness(95%) contrast(104%);
}

/*!* Testimonials *!*/
/*#testimonials {*/
/*  padding: 60px 40px;*/
/*  background-color: var(--background-color);*/
/*}*/
/*.testimonial-slider {*/
/*  display: flex;*/
/*  overflow-x: auto;*/
/*  gap: 20px;*/
/*}*/
/*.slide {*/
/*  min-width: 300px;*/
/*  padding: 20px;*/
/*  background-color: var(--background-color);*/
/*  border-radius: 10px;*/
/*  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
/*}*/

/* Footer */
footer {
  background-color: var(--background-color);
  padding: 20px;
  text-align: center;
  color: var(--primary-color);
}
footer {
  text-align: center;
  padding: 30px 0px;
}

/* Responsive Navigation */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .logo {
    max-width: 150px; /* Scale down further for tablets */
  }
  nav ul {
    display: none;
    flex-direction: column;
    background-color: var(--background-color);
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    padding: 10px;
    border-radius: 8px;
  }
  nav ul.active  {
    display: flex;
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
  }

  .language-toggle{
    max-width: 50px;
    max-height: 50px;
    margin-bottom: 10px;
    margin-right: 10px;
  }
  .hero-overlay {
    margin-top: 150px; /* Adjust margin for smaller screens */
    padding: 15px;
  }

  .button .btnlink{
    position: absolute;
    width: 100%;
    height: 50%;
    z-index: 1;
  }

  .hero-overlay h1 {
    font-size: 2.5rem; /* Smaller font for tablets */
  }

  .hero-overlay p {
    font-size: 1rem; /* Smaller paragraph font for tablets */
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 120px; /* Scale down further for smaller phones */
  }
  .hero-overlay {
    margin-top: 100px; /* Adjust for smaller mobile devices */
    padding: 10px;
  }

  .hero-overlay h1 {
    font-size: 2rem; /* Even smaller font for phones */
  }

  .hero-overlay p {
    font-size: 0.9rem; /* Adjust paragraph font size */
  }
  .phone-toggle {
    display: block; /* Show hamburger menu on small screens */
  }
}
