/* ========== Global Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.4s ease-in-out;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d0d0d;
  color: #f5f5f5;
  line-height: 1.6;
  animation: fadeIn 1.2s ease-in-out;
  overflow-x: hidden; /* scroll band */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== Navbar ========== */
.navbar {
  background-color: #000 !important;
}
.navbar .nav-link {
  color: #f5f5f5 !important;
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #ff9800;
  transition: width 0.3s ease-in-out;
}
.navbar .nav-link:hover::after {
  width: 100%;
}
.navbar .btn-warning {
  background-color: #ff9800;
  border: none;
  font-weight: 600;
}

/* Brand text responsive */
.navbar-brand span {
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .navbar-brand span {
    font-size: 0.85rem;
  }
}
.navbar-brand img {
  max-height: 30px;
  height: auto;
  width: auto;
}

/* Collapse fix */
@media (max-width: 991px) {
  .navbar-collapse {
    width: 100%;       /* collapse ko full width do */
    overflow-x: hidden; /* horizontal scroll band */
  }
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;       /* items cut na ho */
  }
  .navbar .btn-warning {
    width: 100%;
    margin-top: 10px;
  }
}
.navbar-nav {
  flex-wrap: wrap;
}

/* ========== Headings ========== */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  color: #f5f5f5;
  animation: slideIn 1s ease-out;
}
.text-warning {
  color: #ff9800 !important;
}

@keyframes slideIn {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ========== Buttons ========== */
.btn-warning {
  background-color: #ff9800;
  border: none;
  font-weight: 600;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.btn-outline-light {
  border: 1px solid #f5f5f5;
  color: #f5f5f5;
}
.btn-outline-light:hover {
  background-color: #f5f5f5;
  color: #000;
}

/* ========== Cards ========== */
.card {
  border: none;
  background-color: #1a1a1a;
  transform: translateY(0);
}
.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
}
.card-title {
  color: #ff9800;
}
.card-text {
  color: #ccc;
}

/* Portfolio images zoom */
.card img {
  transition: transform 0.5s ease;
}
.card img:hover {
  transform: scale(1.1);
}

/* Team member bounce */
.card img.rounded-circle {
  animation: bounce 3s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ========== Forms ========== */
form .form-control {
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #f5f5f5;
}
form .form-control:focus {
  border-color: #ff9800;
  box-shadow: 0 0 10px #ff9800;
  transform: scale(1.02);
}

/* ========== Testimonials Stars ========== */
.text-warning {
  animation: glow 1.5s infinite alternate;
}
@keyframes glow {
  from { text-shadow: 0 0 5px #ff9800; }
  to { text-shadow: 0 0 20px #ff9800; }
}

/* ========== Footer ========== */
footer {
  background-color: #000;
  color: #aaa;
  font-size: 14px;
  padding: 20px 0;
  text-align: center;
}

/* ========== Smooth Scroll ========== */
html {
  scroll-behavior: smooth;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .card { margin-bottom: 20px; }
  .btn-warning { width: 100%; }
  .navbar .btn-warning { margin-top: 10px; width: 100%; }
  .container { padding: 0 15px; }
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111;
  color: #fff;
}

/* Hire Us Button */
.navbar .btn-hire {
  margin-left: 20px;
  padding: 8px 20px;
  font-weight: 600;
  border-radius: 4px;
}
.navbar .btn-hire:hover {
  background-color: #ffcc00;
  color: #000;
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.6);
}

/* Footer Icons */
footer a i {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
footer a:hover i {
  color: #ffcc00;
}

/* Map */
.map-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 6px;
}
.map-container iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Layout */
html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
footer {
  margin-top: auto;
}
/* Navbar collapse fix */
@media (max-width: 991px) {
  .navbar-collapse {
    width: 100%;        /* collapse ko full width do */
    overflow-x: hidden; /* horizontal scroll band */
  }
  .navbar-nav {
    flex-direction: column;   /* vertical list */
    align-items: flex-start;  /* left aligned */
    width: 100%;              /* full width items */
    flex-wrap: nowrap;        /* wrap band kar do */
  }
  .navbar .btn-warning {
    width: 100%;
    margin-top: 10px;
  }
}

/* Brand text responsive */
.navbar-brand .brand-text {
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .navbar-brand .brand-text {
    font-size: 0.85rem;
  }
}
/* Global fix */
html, body {
  width: 100%;          /* screen ke width tak limit */
  max-width: 100%;      /* koi element bahar na nikle */
  overflow-x: hidden;   /* horizontal scroll band */
}

/* Navbar collapse fix */
@media (max-width: 991px) {
  .navbar-collapse {
    width: 100%;        /* collapse ko full width do */
    overflow-x: hidden; /* collapse ke andar scroll band */
  }
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    flex-wrap: nowrap;  /* wrap band kar do */
  }
}

/* Hire Us button default */
.hire-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
}

/* Hamburger menu icon default */
.navbar-toggler {
  font-size: 1.2rem;   /* icon size */
  padding: 6px 8px;    /* box size */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .hire-btn {
    font-size: 12px;
    padding: 4px 10px;
  }
  .navbar-toggler {
    font-size: 1rem;
    padding: 4px 6px;
  }
}


