@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&display=swap");
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  box-sizing: border-box;

  /* Combine gradient with background image */
  background-image:url('/images/bg-f.jpg');
  background-size: cover; 
  background-repeat: no-repeat; 
  background-attachment: fixed;
  background-position: center; 
  background-color: #000; 

  font-family: "Josefin Sans", Arial, sans-serif;
  color: white;
}
#desktop-nav{
  justify-content: space-between;
  .logo{
    margin-left: -1600px;
  }
}
.presence{
  display: none;
}


.navbar-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.navbar.transparent {
  background: transparent;
  transition: background 0.3s ease-in-out;
}

.logo {
  width: 100px;
}
header{
  width: 100%;
}

.hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 30px;
  height: 4px;
  background: white;
  display: block;
  border-radius: 2px;
}

.overlay-menu {
  background-image: url("/images/bg-f.jpg");
  background-size: cover;

  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: #1e1e1e;
  overflow-x: hidden;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}

.overlay-menu .closebtn {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

.overlay-content {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 50px;
  color: white;
  height: 100%;
  overflow-y: auto;
}

.overlay-left ul {
  list-style: none;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.overlay-left li {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
}

.overlay-left a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.overlay-left a:hover {
  color: #ff0055;
}
.overlay-right{
  display: none;
}
/* .overlay-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 20px;
  justify-items: start;
}

.overlay-right .service-category {
  margin-bottom: 20px;
}

.overlay-right .service-category h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
}

.overlay-right .service-category ul {
  list-style: none; 
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
}

.overlay-right .service-category ul li {
  margin-bottom: 8px;
}

.overlay-right > :nth-child(4) {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.overlay-right > :nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.overlay-right > :nth-child(3) {
  grid-column: 3;
  grid-row: 2;
} */

.services-title {
  font-size: 40px;
  align-self: flex-end;
  margin-top: 30px;
  color: #ff0055;
}

.service-category h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.service-category ul {
  list-style: none; 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  padding: 0;
  font-size: 18px;
}

.service-category ul li::before {
  content: "➤ ";
  color: #ff0055;
}

header,
.hero {

  color: white;
  justify-content: center;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 60px;
  height: 100vh;
  overflow: hidden;
}

/* Blog Card Styles */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}
.card {
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-content {
  padding: 15px;
}
.card-content h2 {
  margin: 0 0 10px;
  font-size: 1.5em;
  color: white;
}
.card-content p {
  margin: 0 0 15px;
  color: white;
  line-height: 1.5;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  color: #999;
  margin-bottom: 15px;
}
.read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.read-more:hover {
  background-color: #0056b3;
}
/* Footer Styles */
@media  (max-width: 768px) {
  body {
      margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100vh;
  width: 100vw;

  /* Mobile-optimized background setup */
  background-image: ('/images/bg-f.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed; /* Prevent jank on mobile scroll */
  background-color: #000; /* Fallback */

  font-family: "Josefin Sans", Arial, sans-serif;
  color: white;
  overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .desktop-navbar{
    display: none;
  }
  .navbar {
    /* margin-right: -200px; */
    margin-left: 320px;
    
    padding: 15px;
  }
  #mobile-nav{
    margin-top: -12px;
  }
.hamburger{
  margin-top: -60px;
  margin-left: 50px;
}
  .logo {
    margin-left: -580px;
    /* margin-top: -350px; */
    width: 90px;
    border-radius: 50%;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    /* margin-left: -18em; */
  }

  .overlay-menu {
    padding-top: 40px;
  }

  .overlay-content {
    flex-direction: column;
    padding: 10px;
  }

  .overlay-left ul {
    align-items: center;
  }

  .overlay-left li {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .overlay-right {
   display: none;
  }

  .overlay-right .service-category h3 {
display:none;  }

  .overlay-right .service-category ul {
display: none;
  }

  .services-title {
    font-size: 30px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    /* width: 100vw; */
    /* padding: 10px 15px 10px 15px; */
    height: auto;
  }

  .hero-content {
    margin-top: 20px;
    max-width: 100%;
    text-align: center;
    font-size: 20px;
  }

  .hero-subtitle {
    text-align: center;
    font-size: 20px;
    margin-left: -5em;
  }

  .hero-title {
    font-size: 30px;
    /* margin-left: -3em; */
    margin-top: 10px;
  }

  .hero-button {
    width: 200px;
    font-size: 16px;
    /* margin:10px 50px 20px; */
  }

  .hero-image img {
    /* margin-right: 0; */
    width: 100%;
    /* margin: 10px 50px 20px; */
  }

  .carousel-container {
    gap: 0.2em;
    width: 100%;

  }

  .carousel-item {
    width: 150px;
  }

  .carousel-button {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .app-images {
    flex-direction: column;
    width: 100%;
    gap: 1em;
    /* margin-left: -50px; */
    height: auto;
    /* padding: 20px; */
  }

  .app-images img {
    /* width: ; */
    height: auto;
  }

  .section-title {
    font-size: 2.5em!important;
    line-height: 2em!important;
    /* margin: 80px 80px 80px -80px; */
  }

  .section-description{
    font-size: 1.2em;
  line-height: 1.6rem;
  /* margin: 10px 20px 20px; */
  text-align: center; 
  /* padding-right: 90px; */
    
  }
  .column-description {
    font-size: 1.5em;
    line-height: 2rem;
  }
  #text p{
    margin-left: -10px!important;
  }
.tab-images{
  flex-direction: row;
  overflow-x: auto;
  white-space: nowrap;
}
  .row {
    flex-direction: column;
    align-items: left;
  }

  .question-section {
    height: auto;

    /* padding: 40px 20px; */
  }

  .typewriter {
    /* margin-left: -3em!important; */
    font-size: 2.5rem;
    max-width: 80%;
  }

  .chat-icon {
    width: 40px;
  }

  .services-section {
    /* padding: 30px 10px; */
    text-align: center;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-content: center;
    gap: 15px;
  }

  .service-item h3 {
    font-size: 18px;
    margin-left: -6px!important;
  }

  .service-item p {
    font-size: 10px;
  }
  .img{
    width: 60%;
  }
  #btn{
    width: auto;
    /* padding: 0; */
    margin-left: -0.2px!important;
   
  }
  /* .contact {
    /* padding: 40px 20px; */
  /* } */ */

  .contact-title {
    font-size: 2rem;
  }

  .contact-description {
    font-size: 1rem;
  }

  .form-input,
  .form-textarea {
    width: 100%;
  }

  .form-button {
    width: 8em;
  }

  .presence-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .presence h2 {
    font-size: 50px;
    line-height: 60px;
  }

  .presence-item img {
    width: 60%;
    margin-left: 75px;
    margin-right: auto;
  }

  .presence-item h4 {
    font-size: 30px;
    line-height: 40px;
  }

  .presence-item p {
    font-size: 16px;
    line-height: 24px;
  }

  footer .col {
    min-width: 200px;
  }

  footer .col img.logo {
    width: 120px;
  }

  footer .col h4 {
    font-size: 28px;
  }

  footer .col ul li {
    font-size: 14px;
  }

  footer .row img {
    max-width: 150px;
  }

  .tabs-container {
    flex-direction:column;
    width: 80%;
  }

  .tab-content {
    margin-left: 0;
    margin-top: 10px;
  }

  .floating-button .main-fab {
    width: 30px;
    height: 50px;
  }

  .floating-button .fab-options img {
    width: 30px;
    height: 40px;
  }

  .popup-content {
    width: 95%;
    max-height: 70vh;
    padding: 15px;
  }

  .close-btn {
    font-size: 20px;
  }
}