/* =========================
   UdaanServices — Full CSS
   (Responsive navbar: compact mobile panel)
   ========================= */

/* RESET */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#home,
#about,
#services,
#contact {
  scroll-margin-top: 90px;  /* Adjust this value based on your header height */
}

:root {
  --font-primary: 'Inter', sans-serif;
  --font-brand: 'Orbitron', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -0.3px;
}
body {
  font-family: var(--font-primary);
}

.logo{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0%;
    padding-left: 0%;
}

/* Make logo round + perfect size */
.logo .bird-logo {
    width: 80px;
    height: 80px;
    border-radius: 20%;
    object-fit: fill;
    padding: 3px;
}

/* Text styling */
.logo h1 {
    font-size: 20px;  /* smaller font */
    display: flex;
     font-family: var(--font-brand);
  font-weight: 700;
    align-items: center;
    gap: 3px;
}

.logo h1 span {
    color: #ffffff;
}

/* Make it perfect on mobile */
@media (max-width: 600px) {

    .logo {
        gap: 6px;
    }

    .logo .bird-logo {
        width: 32px;
        height: 32px;
    }

    .logo h1 {
        font-size: 18px; /* smaller on mobile */
    }
}
#about {
  scroll-margin-top: 100px; /* height of your navbar */
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* LAYOUT CONTAINER */
.container {
  max-width: 1400px;   /* bigger for desktop */
  margin: 0 auto;
  padding: 0 24px;
}

/* ================
   HEADER / NAV
   ================ */
.header {
  background: rgba(0, 0, 0, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #ff6a00;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 5px;
}

/* Logo */
.logo h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: #ff6a00;
  letter-spacing: 0.5px;
}

.logo span {
  color: #fff;
  margin-left: 4px;
  font-weight: 600;
}

/* Desktop nav */
.nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav li {
  position: relative;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
  padding: 6px 2px;
  display: inline-block;
}

.nav a:hover {
  color: #ff6a00;
}

/* Dropdown (desktop) */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #111;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(255, 102, 0, 0.28);
  border-radius: 8px;
  top: calc(100% + 10px);
  left: 0;
  overflow: hidden;
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.dropdown-content a {
  padding: 12px 16px;
  display: block;
  border-bottom: 1px solid #333;
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background: #ff6a00;
  color: #000;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hamburger / menu toggle (desktop hidden) */
.menu-toggle {
  display: none;
  color: #ff6a00;
  font-size: 1.8rem;
  margin-left: auto;
  padding-right: 0%;
  cursor: pointer;
  user-select: none;
}

/* ================= HERO FIXED ================= */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.25;
  padding-bottom: 10px;
  letter-spacing: -0.6px;
  background: linear-gradient(90deg, #ff6a00, #42ff7b, #ff6a00);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  overflow: visible;

  animation:
    heroFloat 6s ease-in-out infinite,
    gradientMove 8s linear infinite;
}


.hero-content p {
  font-size: clamp(0.95rem, 1.5vw, 1.4rem);
  margin: 1rem auto 2rem;
  color: rgba(255,255,255,0.9);
  max-width: 720px;
  line-height: 1.6;
  animation: heroFloat 7.5s ease-in-out infinite;
}


/* CTA BUTTON */
.cta-btn {
  background: linear-gradient(135deg, #ff6a00, #ff914d);
  padding: 15px 40px;
  border-radius: 50px;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulseGlow 3s ease-in-out infinite;
}
@media (max-width: 600px) {
  .hero-content h1 {
    line-height: 1.35;
  }
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255,106,0,0.35);
}

.cta-btn:hover {
   transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255,106,0,0.35);
}
@keyframes heroFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 rgba(255,106,0,0,0.3); }
  50%  { box-shadow: 0 0 22px rgba(255,106,0,0,0.6); }
  100% { box-shadow: 0 0 0 rgba(255,106,0,0,0.3); }
}
@keyframes gradientMove {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}


/* ================= MOBILE RESPONSIVE FIX ================= */
@media (max-width: 600px) {

  .hero {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}



  .hero-content h1 {
    font-size: 2rem !important;
    line-height: 2.4rem !important;
    padding-bottom: 16px;
  }

  .hero-content p {
   font-size: 1.05rem;
    margin: 0 auto 24px;
    line-height: 1.6;
  }

  .cta-btn {
    padding: 14px 32px;
    font-size: 1.05rem;
  }
}

/* Tablet optimization */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }

}
/* Medium screens / Tablets (768px – 1024px) – Fixes alignment & cutoff on iPad Air etc. */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    height: auto;              /* Allow content to determine height if needed */
    min-height: 50vh;          /* Tall enough but not rigid */
    padding-top: 20px; /* Top: space for fixed header, bottom: prevent cutoff, sides: better text width */
    justify-content: center;   /* Reliable vertical centering */
  }

  .hero-content h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem); /* Slightly smaller than desktop for better fit */
    line-height: 1.2;
    padding-bottom: 10px;
  }

  .hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 680px;
    margin: 1.5rem auto 2.5rem;
  }

  .cta-btn {
    padding: 15px 38px;
    font-size: 1.1rem;
  }
}
@media (min-width: 820px) and (max-width: 1180px) {
  .hero {
    height: 45vh;              /* Allow content to determine height if needed */
    min-height: 30vh;          /* Tall enough but not rigid */
    padding: 140px 40px 100px; /* Top: space for fixed header, bottom: prevent cutoff, sides: better text width */
    justify-content: center;   /* Reliable vertical centering */
  }


}

.about-media {
  width: 100%;
  max-width: 600px;        /* controls size on desktop */
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-media img {
  width: 100%;
  height: 340px;
  border-radius: 22px;
  object-fit: cover;
 box-shadow: 0 25px 50px rgba(255, 255, 255, 0.08);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.about-media:hover img {
  transform: scale(1.04);
  box-shadow: 0 35px 70px rgba(255, 255, 255, 0.15);
}




.about-heading {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
  color: #1f3b73;
}

.about-content {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr; /* image slightly larger */
  gap: 60px;
  align-items: center; /* 👈 perfect vertical alignment */
}



/* Right: Text */
.about-text {
  flex: 1;
   max-width: 700px;
  text-align: left;
}


.about-text p {
  font-size: clamp(0.95rem, 1.5vw, 1.4rem);;
  line-height: 1.85;
  color: rgba(255,255,255,0.9);;
}

/* Mobile View */
/* Mobile Optimization */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }


  .about-media {
    max-width: 100%;
  }


  .about-media img {
    height: 260px;
  }

}

.section {
  padding: 80px 0;
}
/* Sections */
.about{
  padding: 10px 0;
  text-align: center;
}
.services {
  padding: 20px 0;
  text-align: center;
}
.about h2, .services h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: #ff6a00;
}

/* Section Title */
.services-title {
  text-align: center;
  font-size: 42px;
  color: #ff6a00;
  margin-bottom: 40px;
  font-weight: 800;
}

/* Container */
.services-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
}
.service-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}


/* Box Style */
.service-box {
  width: 100%;
  background: #0d0d0d;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #222;
  box-shadow: 0 0 15px rgba(255,255,255,0.06);
  transition: 0.3s ease-in-out;
}
.services .container {
  max-width: 1400px;
}
/* Hover Effect */
.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0px 0px 25px rgba(255, 136, 0, 0.4);
  border-color: #ff8800;
}

/* IMAGE covers full top */
.service-img {
  width: 100%;
  aspect-ratio: 16 / 9;     /* perfect for services / illustrations */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* CONTENT AREA */
.service-content {
  padding: 20px;
  text-align: center;
}

.service-content h3 {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-content p {
  color: #cfcfcf;
  font-size: 15.5px;
    font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);

}

/* Mobile */
@media (max-width: 768px) {
  .service-box {
    width: 100%;
    max-width: 350px;
  }
}
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr;
  }
}


/* ================= FOOTER ================= */

.footer {
  background: #000;
  color: #fff;
 padding: 70px 20px 30px;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

/* subtle top border */
.footer::before {
  content: "";
  width: 90%;
  height: 2px;
  background: #1f1f1f;
  position: absolute;
  top: 0;
  left: 5%;
}

@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: 1fr !important;   /* Single column */
    gap: 30px;
  }

  .service-box {
    max-width: 420px;
    margin: 0 auto;          /* Center each box */
  }
}

/* If you want this behavior on ALL screen sizes (even desktop), simply override the main rule: */
.services-container {
  grid-template-columns: 1fr;   /* Uncomment this line if you want single column everywhere */
  gap: 40px;
}

@media (min-width: 1025px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);  /* Restore 2 columns only on large desktops */
  }
}

/* Layout */
.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  justify-content: space-between;
  width: 100%;
  padding: 0 10px;
}

/* Headings */
.footer-column h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.footer-column h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Text */
.footer-column p,
.footer-column li,
.footer-column a {
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.8;
}

/* Links */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  text-decoration: none;
  position: relative;
  transition: color .3s ease;
}

/* underline hover effect */
.footer-column a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ff0033;
  left: 0;
  bottom: -4px;
  transition: width .3s ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-column a:hover::after {
  width: 100%;
}

/* Brand text */
.brand p {
  max-width: 320px;
}

/* Social */
.social-icons a {
  font-size: 22px;
  margin-right: 18px;
  display: inline-block;
  transition: transform .3s ease, color .3s ease;
}

.social-icons a:hover {
  color: #ff0033;
  transform: translateY(-4px);
}

/* Footer bottom */
.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 14px;
  color: #999;
}

/* ================= RESPONSIVE ================= */


@media (max-width: 600px) {
  .footer {
    padding: 50px 25px 25px;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .brand p {
    margin: auto;
  }

  .social-icons a {
    margin: 0 12px;
  }
}



/* ================
   MOBILE / RESPONSIVE NAV BEHAVIOR
   (Compact centered panel under header)
   ================ */
@media (max-width: 992px) {
  /* slightly reduce gaps on medium screens */
  .nav ul { gap: 1.6rem; }
  .logo h1 { font-size: 1.85rem; }
}

@media (max-width: 768px) {

  /* Show hamburger */
  .menu-toggle {
    display: block;
  }

  /* Hide desktop inline nav */
  .nav ul {
    /* we'll use a centered absolute panel below header */
    position: absolute;
    top: calc(100% + 10px); /* just under header */
    left: 50%;
    transform: translate(-50%, -8px);
    width: 92%;
    max-width: 480px;
    background: #000;
    border-radius: 10px;
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 6px 18px rgba(255,106,0,0.03);
    border: 1px solid rgba(255,106,0,0.06);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    z-index: 1050;
  }

  /* Visible state */
  .nav ul.active {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Ensure nav links are full width and nicely spaced */
  .nav li {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .nav li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    font-size: 1.05rem;
  }

  /* mobile dropdown content */
  .dropdown-content {
    position: static;
    background: #111;
    box-shadow: none;
    border-radius: 8px;
    width: 92%;
    max-width: 440px;
    margin: 6px 0 0 0;
    overflow: hidden;
    display: none; /* toggled via JS to .show */
    border: 1px solid rgba(255,106,0,0.04);
  }

  .dropdown-content a {
    padding: 12px 18px;
    font-size: 1rem;
    border-bottom: 1px solid #333;
  }

  .dropdown-content.show {
    display: block !important;
  }

  /* rotate icon when active */
  .dropbtn i {
    margin-left: 8px;
    transition: transform 0.25s ease;
  }
  .dropbtn.active i {
    transform: rotate(180deg);
  }

  /* Tidy header spacing on mobile */
  .header .container {
    padding: 12px 16px;
  }

  /* Slightly smaller hero heading on mobile */
  .hero-content h1 { font-size: 2.6rem; line-height: 1.05; }
  .hero { padding-top: 72px; }
}

/* ================
   Small polish: focus states, accessibility, transitions
   ================ */
.nav a:focus,
.nav a:active {
  outline: none;
  color: #ff6a00;
}

/* optional: small active state for menu toggle — JS toggles .active */
.menu-toggle.active { transform: rotate(90deg); transition: transform 0.25s ease; }

/* Floating animations (unchanged) */
.delay1 { animation-delay: 3s; }
.delay2 { animation-delay: 6s; }
.delay3 { animation-delay: 9s; }

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}
/* WhatsApp Floating Button - Top Right Corner */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background-color: #1ebe57;
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* Optional: On very small screens, move it a bit lower so it doesn't overlap header */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }
}
