/* ================= RESET & GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary-black: #121212;
  --secondary-black: #1E1E1E;
  --dark-black: #0A0A0A;
  --accent-orange: #FF6B35;
  --light-orange: #FF8E53;
  --dark-orange: #E55A2B;
  --light-gray: #F8F9FA;
  --medium-gray: #E9ECEF;
  --dark-gray: #6C757D;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Services Specific Variables */
  --primary-color: #ff8c00;
  --bg-dark: #0a0a0a;
  --text-muted: #a0a0a0;
  --accent-gradient: linear-gradient(135deg, #ff8c00 0%, #ff4500 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  
  min-height: 100vh;
  padding-top: 0;
  color: var(--white);
  overflow-x: hidden;
}

/* ================= SMOOTH SCROLL ANIMATIONS ================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }
.stagger-delay-5 { transition-delay: 0.5s; }

/* ================= MAIN NAVBAR CONTAINER ================= */
.navbar-container {
  background: var(--primary-black);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  margin: 0;
  border-radius: 0;
  transition: var(--transition);
}

/* ================= NAVBAR ROW ================= */
.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  height: 80px;
  background: var(--dark-black);
  width: 100%;
  position: relative;
}

/* Logo Styling */
.logo {
  display: flex;
  align-items: center;
  height: 80px;
  flex-shrink: 0;
}

.logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
}


/* Search Bar */
.search-container {
  flex: 1;
  max-width: 600px;
  margin: 0 40px;
  position: relative;
  min-width: 0; /* Allow search to shrink */
}

.search-bar {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border-radius: 30px;
  border: 2px solid rgba(255, 107, 53, 0.3);
  font-size: 15px;
  background-color: rgba(30, 30, 30, 0.9);
  color: var(--white);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-bar::placeholder {
  color: var(--dark-gray);
}

.search-bar:focus {
  outline: none;
  border-color: var(--accent-orange);
  background-color: rgba(18, 18, 18, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2), 0 8px 20px rgba(0, 0, 0, 0.25);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-orange);
  font-size: 16px;
}

/* ================= SHARED KEY BUTTON DESIGN ================= */
.key-button {
  background-color: transparent;
  border: 2px solid var(--accent-orange);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--white);
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0;
  outline: none;
  overflow: visible;
  padding: 12px 28px;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition);
  user-select: none;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
  flex-shrink: 0;
}

/* Dark mode button text color (default) */
.key-button .btn-text {
  color: var(--white);
}

/* Light mode button text color adjustment */
.services-section-wrapper .key-button .btn-text {
  color: var(--dark-black);
}

.key-button:hover .btn-text {
  color: var(--white) !important;
}

.key-button::before {
  content: " ";
  width: 1.5rem;
  height: 2px;
  background: var(--accent-orange);
  top: 50%;
  left: 1.5em;
  position: absolute;
  transform: translateY(-50%);
  transform-origin: center;
  transition: var(--transition);
}

.key-button .btn-text {
  font-size: 1.05em;
  line-height: 1.33333em;
  padding-left: 2em;
  display: block;
  text-align: left;
  transition: var(--transition);
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}

.key-button .top-key {
  height: 2px;
  width: 1.5rem;
  top: -2px;
  left: 0.625rem;
  position: absolute;
  background: var(--light-orange);
  transition: width 0.5s ease-out, left 0.3s ease-out;
}

.key-button .bottom-key-1 {
  height: 2px;
  width: 1.5rem;
  right: 1.875rem;
  bottom: -2px;
  position: absolute;
  background: var(--light-orange);
  transition: width 0.5s ease-out, right 0.3s ease-out;
}

.key-button .bottom-key-2 {
  height: 2px;
  width: 0.625rem;
  right: 0.625rem;
  bottom: -2px;
  position: absolute;
  background: var(--light-orange);
  transition: width 0.5s ease-out, right 0.3s ease-out;
}

.key-button:hover {
  color: var(--white);
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  transform: translateY(-2px);
}

.key-button:hover::before {
  width: 1rem;
  background: var(--white);
}

.key-button:hover .btn-text {
  color: var(--white);
  padding-left: 1.5em;
}

.key-button:hover .top-key {
  left: -2px;
  width: 0px;
}

.key-button:hover .bottom-key-1,
.key-button:hover .bottom-key-2 {
  right: 0;
  width: 0;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--white);
  background: rgba(255, 107, 53, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 107, 53, 0.3);
  margin-left: 20px;
  flex-shrink: 0;
}

.hamburger:hover {
  background: rgba(255, 107, 53, 0.2);
  color: var(--accent-orange);
  transform: rotate(90deg);
}

/* ================= MOBILE SIDEBAR MENU ================= */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background: var(--secondary-black);
  z-index: 1002;
  transition: left 0.4s ease;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.3);
  border-right: 3px solid var(--accent-orange);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 25px;
  background: var(--dark-black);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.sidebar-logo img {
  height: 60px;
  filter: brightness(1.1);
}

.close-sidebar {
  font-size: 28px;
  color: var(--white);
  cursor: pointer;
  background: rgba(255, 107, 53, 0.1);
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.close-sidebar:hover {
  background: rgba(255, 107, 53, 0.2);
  color: var(--accent-orange);
  transform: rotate(90deg);
}

.sidebar-menu {
  padding: 20px 0;
  list-style: none;
  flex: 1;
  overflow-y: auto;
}

.sidebar-menu > li {
  padding: 0;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  padding: 18px 25px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-menu-item:hover {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent-orange);
  padding-left: 30px;
}

.sidebar-menu-item i {
  font-size: 14px;
  margin-right: 12px;
  width: 20px;
  text-align: center;
  transition: var(--transition);
}

.sidebar-menu-item .arrow {
  margin-left: auto;
  font-size: 12px;
}

.sidebar-menu-item.active .arrow {
  transform: rotate(180deg);
  color: var(--accent-orange);
}

/* Mobile Mega Menu in Sidebar */
.mobile-mega-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: rgba(10, 10, 10, 0.8);
}

.mobile-mega-menu.active {
  max-height: 500px;
  overflow-y: auto;
}

.mobile-mega-column {
  padding: 20px 25px;
}

.mobile-mega-column h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.mobile-mega-column ul {
  list-style: none;
  padding-left: 10px;
}

.mobile-mega-column li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 0;
  transition: var(--transition);
  border-left: 2px solid transparent;
  padding-left: 15px;
  position: relative;
}

.mobile-mega-column li:hover {
  color: var(--light-orange);
  border-left-color: var(--accent-orange);
}

/* Sidebar Footer with Contact Button */
.sidebar-footer {
  padding: 25px;
  background: var(--dark-black);
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  flex-shrink: 0;
}

/* Mobile Contact Button */
.mobile-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--accent-orange), var(--dark-orange));
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  cursor: pointer;
}

.mobile-contact-btn i {
  margin-right: 12px;
  font-size: 18px;
}

.mobile-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, var(--light-orange), var(--accent-orange));
}

/* Mobile Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1200px) {
  .nav-row {
    padding: 12px 30px;
  }
  
  .search-container {
    margin: 0 30px;
  }
}

@media (max-width: 992px) {
  .nav-row {
    padding: 12px 20px;
  }
  
  .logo img {
    height: 100px;
  }
  
  .search-container {
    margin: 0 20px;
  }
  
  .hamburger {
    display: flex;
  }
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .nav-row {
    height: 70px;
    padding: 10px 15px;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .logo {
    order: 1;
    height: 60px;
    flex: 0 0 auto;
  }
  
  .logo img {
    height: 70px;
  }
  
  .search-container {
    order: 2;
    margin: 0 10px;
    flex: 1;
    min-width: 0;
    display: block !important;
  }
  
  .search-bar {
    padding: 10px 15px 10px 40px;
    font-size: 14px;
  }
  
  .search-icon {
    left: 15px;
    font-size: 14px;
  }
  
  /* HIDE DESKTOP CONTACT BUTTON ON MOBILE */
  .desktop-contact {
    display: none !important;
  }
  
  .hamburger {
    order: 3;
    width: 45px;
    height: 45px;
    margin-left: 0;
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .nav-row {
    padding: 8px 12px;
    height: 65px;
  }
  
  .logo img {
    height: 60px;
  }
  
  .search-bar {
    padding: 8px 12px 8px 35px;
    font-size: 13px;
  }
  
  .search-icon {
    left: 12px;
  }
  
  .hamburger {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  
  .mobile-sidebar {
    width: 280px;
    left: -280px;
  }
  
  .sidebar-header {
    padding: 20px;
  }
  
  .sidebar-logo img {
    height: 50px;
  }
  
  .sidebar-footer {
    padding: 20px;
  }
  
  .mobile-contact-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* VERY SMALL SCREENS */
@media (max-width: 400px) {
  .nav-row {
    padding: 6px 10px;
    height: 60px;
  }
  
  .logo img {
    height: 50px;
  }
  
  .search-bar {
    padding: 6px 10px 6px 30px;
    font-size: 12px;
  }
  
  .search-icon {
    left: 10px;
    font-size: 12px;
  }
  
  .hamburger {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  
  .mobile-sidebar {
    width: 100%;
    left: -100%;
  }
}

/* ================= HERO SECTION CSS ================= */

/* Hero Section Container */
.hero-section {
  background: linear-gradient(135deg, #1E1E1E, #0A0A0A);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  margin-top: 0;
}

/* Hero Container */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Content */
.hero-content {
  max-width: 600px;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 107, 53, 0.1);
  color: #FF6B35;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.hero-badge i {
  font-size: 14px;
}

/* Hero Title */
.hero-title {
  font-size: 3.2rem;
  margin-bottom: 25px;
  line-height: 1.1;
  font-weight: 700;
}

.hero-title span {
  color: #FF6B35;
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 107, 53, 0.2);
  z-index: -1;
}

/* Hero Description */
.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 550px;
  line-height: 1.8;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  cursor: pointer;
  gap: 12px;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #FF6B35, #E55A2B);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.hero-btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FF6B35;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 60px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: #FF6B35;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Visual/Image */
.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

/* Decorative Elements */
.hero-decoration {
  position: absolute;
  z-index: 1;
}

.hero-decoration-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  top: 10%;
  left: -150px;
}

.hero-decoration-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  bottom: 20%;
  right: -100px;
}

/* ================= RESPONSIVE DESIGN FOR HERO ================= */

/* Large Screens (1200px and below) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-container {
    gap: 40px;
  }
}

/* Tablets (992px and below) */
@media (max-width: 992px) {
  .hero-section {
    padding: 100px 20px 60px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-description {
    margin: 0 auto 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual img {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Small Tablets (768px and below) */
@media (max-width: 768px) {
  .hero-section {
    padding: 90px 15px 50px;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-stats {
    gap: 30px;
    flex-wrap: wrap;
  }
}

/* Mobile Phones (576px and below) */
@media (max-width: 576px) {
  .hero-section {
    padding: 80px 15px 40px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .hero-badge {
    font-size: 13px;
    padding: 8px 20px;
  }
}

/* Small Mobile Phones (400px and below) */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-badge {
    font-size: 12px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 25px;
  }
}

/* ================= Web Development & Designing Company in Lahore ================= */




.main_section{
    padding:40px 0;
    display:flex;
    justify-content:center;
}


.d_k_h{
    border-radius:0 50px 0 50px;

    width:90%;               
    max-width:1400px;
    background:linear-gradient(90deg,#0A0A0A,#1c1c1c);
    color:white;
    text-align:center;
    padding:35px 20px;
}


.d_k_h h2{
    margin:0;
    font-size:28px;
}


.text_section{
    padding:10px 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:30px; 
}

.text_card{
    width:90%;
    max-width:1400px;
    background:#ff4400b8;
    color:#ddd;
    padding:35px;
    border-radius:50px 0 50px 0;
    text-align:center;
    transition:0.3s ease;
}

.text_card:hover{
   border-bottom: 2px solid black;
}
.text_card p{
    margin:0;
    line-height:1.8;
    font-size:16px;
}

.highlight{
    color:#000000;
    font-weight:800;
}

/* Web Development & Designing Company in Lahore */

/* web  development services in karachi */


/* web  development services in karachi end */
