/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul, li {
  list-style: none;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #060d1f;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0b1a33;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo-div {
  display: flex;
  align-items: center;
}

.logo-pic {
  height: 100px;
  width: auto;
  margin-right: 10px;
}

.logo-link {
  text-decoration: none;  /* removes underline */
  color: inherit;         /* keeps your original text color */
  display: inline-block;  /* ensures div stays clickable */
}

.name {
  font-size: 30px;
  color: #00f7e7;
  font-family: 'Montserrat', sans-serif;
}

/* Nav */
nav ul {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  font-family: 'Montserrat', sans-serif;
}

nav a {
  color: #00f7e7;
  text-decoration: none;
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  padding: 10px 15px;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  background-color: #03131f;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0, 201, 177, 0.3);
  color: #2df6ff;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #082d3e;
  top: 100%;
  left: 0;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 201, 177, 0.15);
  min-width: 200px;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: #9efef6;
  padding: 10px 15px;
  font-size: 15px;
  text-decoration: none;
  display: block;
  transition: background 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
  background-color: #00c9b125;
  color: #00fff7;
  box-shadow: 0 0 10px #00c9b1, 0 0 15px #00e6d4;
}

.banner {
  position: relative;
  height: auto;
}

.banner img {
  width: 100%;
  height: 150px;
  display: block;
}

.banner-text {
  position: absolute;
  top: 50%;           /* Center vertically */
  left: 50%;          /* Center horizontally */
  transform: translate(-50%, -50%);
  font-size: clamp(25px, 5vw, 40px); /* Responsive text */
  color: #00fff7;
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif
}

/* Tablet */
@media (max-width: 1024px) {
  img {
    height: 200px;  /* Slightly smaller on tablets */
  }
}

/* Mobile */
@media (max-width: 768px) {
  img {
    height: 190px;  /* Smaller height for mobile */
  }
}

section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
}

h1{
  color: #00f7e7;
  font-size: 30px;
  text-align: center;
  margin-bottom: 10px;
}

.DOTS{
  color:#00f7e7;
}

section p, section ul {
  font-size: 20px;
  color: #D1D1D1;
  margin-bottom: 40px;
  line-height: 1.7;
}

.content-p {
  font-size: 20px;
  color: #D1D1D1;
}

.content-drafting {
  color: #00f7e7;
  font-size: 30px;
  text-align: center;
  margin-bottom: 6px;
}

.logo-description-container {
  display: flex;
  align-items: center; /* vertically centers */
  justify-content: space-between;
  gap: 20px; /* space between logo and text */
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.logo-box img {
  max-width: 200px;
  height: auto;
}

.description-box {
  flex: 1; /* takes remaining space */
  font-size: 18px;
  line-height: 1.8;
}

.description-box h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 15px;
}

/* Mobile responsive: stack logo and description */
@media (max-width: 768px) {
  .logo-description-container {
    flex-direction: column;
    text-align: center;
  }
  .logo-box img {
    margin-bottom: 15px;
  }
}

.description-paragaph{
  font-size: 18px;
  color:slategray;
}

.left-div, .right-div {
  background-color: #0d1730; /* subtle light blue */
  padding: 15px;
  border-radius: 20px;
  color: #00C9B1;
}


/* Contact */
#contact {
  background-color: #0b1a33;
  color: #F0F4F8;
  padding: 30px;
  max-width: 1900px;
}

.contact {
  font-size: 24px;
  color: #00e6d4;
  text-align: left;
  margin-bottom: 10px;
  text-align: center;              /* centers the heading */
  border-bottom: 2px solid #0077B5; /* adds a blue line below */
  display: inline-block;           /* makes the line match the text width */
  padding-bottom: 5px; 
}

.contact-details p {
  font-size: 16px;
  margin-bottom: 3px;
  color: #F0F4F8;
}

#follow {
  background-color: #0b1a33;
  color: #F0F4F8;
  padding: 30px;
  max-width: 1900px;
}

.follow {
  font-size: 24px;
  color: #00e6d4;
  text-align: center;              /* centers the heading */
  border-bottom: 2px solid #0077B5; /* adds a blue line below */
  display: inline-block;           /* makes the line match the text width */
  padding-bottom: 5px;             /* adds little space between text and line */
}

.follow-icons {
  display: flex;             /* enables flex layout */
  gap: 13px;                 /* creates space between icons */
  margin-top: 15px;
}

.follow-icons a {
  color: #333;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s, color 0.3s;
}

.follow-icons a:hover {
  transform: scale(1.2);
}

.fa-instagram{
  font-size: 30px;
  background: linear-gradient(45deg, #FCAF45, #F77737, #E1306C, #833AB4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fa-whatsapp {
  color: #25D366;
  font-size: 28px;
  transition: transform 0.3s;
}

.fa-whatsapp:hover {
  transform: scale(1.1);
}

.fa-x-twitter {
  font-size: 28px;   /* adjust size if needed */
  color: #000;       /* pure black */
  transition: 0.3s;
}

.fa-x-twitter:hover {
  color: #000;       /* stays black on hover (optional) */
  transform: scale(1.1); /* optional hover effect */
}


/* ✅ Service Cards Grid */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px; /* a bit more breathing room between cards */
  margin-top: 20px; /* controlled spacing from previous section */
}

.services-cards{
  padding: 30px;
  width: 100%;
  margin: auto;
  background-color: #D1D1D1;
  border-radius: 10px;
}

.service-card img {
  width: 120px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;      /* makes the image a block element */
  margin-left: auto;   /* centers horizontally */
  margin-right: auto;  /* centers horizontally */
  transition: transform 0.3s ease;
}

.service-card img:hover {
  transform: scale(1.1); /* slight zoom effect on hover */
}

.service-card {
  background-color: #0b1a33; /* light, subtle background */
  color: #00C9B1; /* readable dark navy text */
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0; /* 🔥 removed margin-top that caused the big gap */
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  text-align: center;
}

.service-card p {
  font-size: 16px;
  color: slategray;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

/* Animations */
.intro-animate {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.intro-animate.show {
  opacity: 1;
  transform: translateX(0);
}

.service-card-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.service-card-animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background-color: #0b1a33;
  color: #F0F4F8;
  text-align: center;
  padding: 15px 30px;
}

/* Responsiveness */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  section, #contact {
    padding: 40px 20px;
  }

  .banner-div {
    height: 200px;
  }
}

/* Hamburger Menu Button */
.nav-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #00C9B1;
  cursor: pointer;
  margin-left: auto;
  margin-top: 10px;
  z-index: 1001;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  padding: 10px;          /* ensures a bigger square area */
  border-radius: 8px;     /* rounded square */
}

.nav-toggle:hover {
  transform: scale(1.1);
  background-color: rgba(0, 201, 177, 0.2); /* glowing square hover */
  color: #00fff7;                          /* brighter icon color */
  box-shadow: 0 0 10px rgba(0, 201, 177, 0.4);
}

/* Mobile Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;      /* Stack items vertically */
    align-items: flex-start;     /* Align items to left */
    padding: 15px 20px;
  }

  .logo-div {
    order: 1;
    width: 100%;
    margin-bottom: 10px;         /* Space below logo */
    display: flex;
    align-items: center;
  }

  .nav-toggle {
    display: block;
    order: 2;
    margin-left: auto;              /* Remove left auto margin */
    margin-top: 0;
    align-self: flex-start;      /* Align hamburger left */
    font-size: 32px;             /* Slightly bigger hamburger */
    cursor: pointer;
  }

  nav {
    order: 3;
    width: 100%;
    display: none;
    background-color: #0b1a33;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  nav ul li {
    width: 100%;
    text-align: left;
  }

  /* Dropdown styling for mobile */
  .dropdown-menu {
    position: static;
    display: none;
    background-color: #082d3e;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}


@media (max-width: 768px) {
  /* Disable hover dropdown menu */
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  /* Show dropdown only when open */
  .dropdown.open .dropdown-menu {
    display: block;
    position: static;       /* Make submenu flow naturally below */
    border-radius: 10px;
    margin-top: 5px;        /* Space above submenu */
    padding-left: 15px;
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav a {
    font-size: 23px;
    display: block;
  }

  /* Add margin between submenu list items */
  .dropdown-menu li {
    margin-bottom: 10px;
  }

  .dropdown-menu li:last-child {
    margin-bottom: 0;
  }

  .dropdown-menu li a {
    font-size: 18px;
    margin-top: 5px;
    padding-top: 20px;
    padding-bottom: 25px;
  }
}

/* ✅ Add this at the VERY END of web.css */
@media (max-width: 768px) {
  /* Disable hover opening for mobile */
  .dropdown:hover .dropdown-content {
    display: none;
  }

  /* Enable click opening for mobile */
  .dropdown.open .dropdown-content {
    display: block;
  }
}