 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 #preloader {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg, #0f0f0f 0%, #121212 100%);
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 9999;
     transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
 }

 .loader-container {
     position: relative;
     width: 140px;
     height: 140px;
     perspective: 800px;
     transform-style: preserve-3d;
 }

 .cube {
     position: absolute;
     width: 100%;
     height: 100%;
     transform-style: preserve-3d;
     animation: cubeRotate 4s infinite ease-in-out;
 }

 .cube-face {
     position: absolute;
     width: 80px;
     height: 80px;
     background: rgba(255, 255, 255, 0.05);
     border: 2px solid rgba(255, 255, 255, 0.1);
     backface-visibility: visible;
     transform-style: preserve-3d;
     box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
 }

 .front {
     transform: translateZ(40px);
     background: linear-gradient(45deg, #3b82f6, #60a5fa);
 }

 .back {
     transform: rotateY(180deg) translateZ(40px);
     background: linear-gradient(45deg, #8b5cf6, #a78bfa);
 }

 .right {
     transform: rotateY(90deg) translateZ(40px);
     background: linear-gradient(45deg, #ec4899, #f472b6);
 }

 .left {
     transform: rotateY(-90deg) translateZ(40px);
     background: linear-gradient(45deg, #14b8a6, #2dd4bf);
 }

 .top {
     transform: rotateX(90deg) translateZ(40px);
     background: linear-gradient(45deg, #f59e0b, #fbbf24);
 }

 .bottom {
     transform: rotateX(-90deg) translateZ(40px);
     background: linear-gradient(45deg, #6366f1, #818cf8);
 }

 .progress-bar {
     position: absolute;
     bottom: -50px;
     left: -30px;
     width: 200px;
     height: 4px;
     background: rgba(255, 255, 255, 0.1);
     border-radius: 2px;
     overflow-x: hidden;
 }

 .progress {
     height: 100%;
     width: 0%;
     background: linear-gradient(to right, #3b82f6, #8b5cf6);
     transition: width 0.2s ease;
 }

 .loading-text {
     position: absolute;
     bottom: -80px;
     left: 0;
     right: 0;
     text-align: center;
     font-size: 12px;
     font-weight: 500;
     letter-spacing: 2px;
     text-transform: uppercase;
     color: rgba(255, 255, 255, 0.6);
 }

 @keyframes cubeRotate {
     0% {
         transform: rotateX(0deg) rotateY(0deg);
     }

     25% {
         transform: rotateX(90deg) rotateY(90deg);
     }

     50% {
         transform: rotateX(180deg) rotateY(180deg);
     }

     75% {
         transform: rotateX(270deg) rotateY(270deg);
     }

     100% {
         transform: rotateX(360deg) rotateY(360deg);
     }
 }

 .container-fluid {
     width: 100%;

 }

 .content {
     width: 100% !important;
     min-height: 100vh;
     display: none;
     padding: 5rem 2rem;
     text-align: center;
     opacity: 0;
     transition: opacity 0.8s ease;
 }

 .content h1 {
     font-size: 3rem;
     font-weight: 700;
     margin-bottom: 1rem;
     background: linear-gradient(to right, #3b82f6, #8b5cf6);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
 }

 .content p {
     font-size: 1.2rem;
     line-height: 1.6;
     color: rgba(255, 255, 255, 0.7);
     max-width: 600px;
     margin: 0 auto;
 }

 .preloader-done {
     transform: translateY(-100%);
     opacity: 0;
 }

 /* Custom Styles & Gradient Background */
 :root {
     --primary-color: #007bff;
     /* Blue */
     --secondary-color: #6f42c1;
     /* Purple */
     --tertiary-color: #e83e8c;
     /* Pink */
     --text-light: #f8f9fa;
     --text-dark: #212529;
     --inter-font: 'Inter', sans-serif;
     --transition-speed: 0.3s;
 }

 body {
     font-family: var(--inter-font);
     /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--tertiary-color) 100%); */
     background-color: white;
     background-attachment: fixed;
     /* Ensures fixed background for smooth scrolling */
     color: var(--text-dark);
     scroll-behavior: smooth;
     overflow-x: hidden;

 }


 /* Styling for the overall content wrapper to create a clean card effect on the gradient */
 .content-wrapper {
     width: 100% !important;
     background-color: #ffffff;
     min-height: 100vh;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
 }

 /* Navbar Styling */
 .navbar {
     background-color: rgb(255, 255, 255);
     transition: background-color var(--transition-speed) ease-in-out;

     font-weight: 600;
 }

 /* Navbar logo left align fix */
 #mainNav .navbar-brand {
     height: 50px;
     margin-right: auto;
     /* logo ला left ला push करतो */
     padding: 0;
     display: flex;
     align-items: center;
 }

 .navbar-brand {
     width: 150px;
     height: 150px;
 }

 /* Logo image size & alignment */
 #mainNav .navbar-brand img {
     height: 70px;
     /* desktop size */
     object-fit: contain;
     display: block;
 }

 .navbar-brand img {
     width: 100%;
     height: 100%;
 }

 @media (max-width: 768px) {
     #mainNav .navbar-brand img {
         height: 32px;
     }
 }

 /* .navbar-transparent {
     background-color: rgba(0, 0, 0, 0.1);
     border-bottom: 1px solid rgba(0, 0, 0, 0.2);
 }  */

 .navbar-scrolled {
     background-color: rgba(255, 255, 255, 0.95);
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

 .nav-link {
     font-size: 15px;
     color: var(--text-dark) !important;
     transition: color var(--transition-speed);
 }

 .navbar-scrolled .nav-link {
     color: var(--text-dark) !important;
 }

 .nav-link:hover {
     color: var(--tertiary-color) !important;
 }

 /* home Section Styling */
 #home {
     width: 100% !important;
     padding-top: 10rem;
     padding-bottom: 10rem;
     margin: 0;
     height: 100vh;
     display: flex;
     justify-content: center;
     align-items: center;
     background: linear-gradient(-45deg, #ffffff, #ffffff);
     background-size: 400% 400%;
     animation: gradientBG 15s ease infinite;
     font-family: sans-serif;
     color: rgb(0, 0, 0);
     font-size: 2em;
     min-height: 100vh;
     position: relative;
     overflow: hidden;
 }

 /* SVG DOT PATTERN BACKGROUND */
 #home::before {
     content: "";
     position: absolute;
     inset: 0;
     background-image: url("../download.svg");
     background-repeat: repeat;
     z-index: 1;
 }

 #home .animate-on-scroll {
     position: relative;
     z-index: 2;
 }


 @keyframes gradientBG {
     0% {
         background-position: 0% 50%;
     }

     50% {
         background-position: 100% 50%;
     }

     100% {
         background-position: 0% 50%;
     }
 }

 /* Call-to-Action Buttons */
 .btn-cta {
     border-radius: 50px;
     padding: 12px 30px;
     font-weight: 700;
     transition: all var(--transition-speed);
     transform: translateY(0);
 }

 .btn-primary-gradient {
     background: linear-gradient(90deg, #6f42c1, #e83e8c);
     border: none;
 }

 .btn-primary-gradient:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 15px rgba(232, 62, 140, 0.4);
 }

 /* Card and Service Hover Effects */
 /* SECTION */
 .services-section {
     padding: 80px 0;
     position: relative;
 }

 /* WRAPPER */
 .slider-wrapper {
     position: relative;
     width: 100%;
 }

 /* CONTAINER */
 .slider-container {
     overflow: hidden;
     padding: 0 70px;
 }

 /* SLIDER */
 .services-slider {
     display: flex;
     gap: 24px;
     transition: transform 0.4s ease;
     touch-action: pan-y;
 }

 /* CARD ITEM */
 .service-item {
     flex: 0 0 25%;
 }

 /* CARD */
 .service-card {
     height: 100%;
     padding: 30px;
     text-align: center;
     border-radius: 20px;
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(15px);
     border: 1px solid rgba(255, 255, 255, 0.229);
     box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
     transition: 0.3s;
 }
.service-card p{
    color: black;
}
 .service-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);

 }

 /* ICON */
 .service-icon {
     font-size: 42px;
     color: #ff7300;
     margin-bottom: 15px;
 }

 /* TEXT */
 .service-card h5 {
    color: #007bff;
     font-size: 20px;
     margin-bottom: 10px;
 }

 .service-card p {
     font-size: 14px;
     color: #6D8196;
 }

 /* ARROWS */
 .service-arrow {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(0, 0, 0, 0.25);
     border: none;
     color: rgb(255, 255, 255);
     font-size: 15px;
     padding: 14px 18px;
     cursor: pointer;
     border-radius: 50%;
     z-index: 10;
     backdrop-filter: blur(10px);
 }

 .service-arrow:hover {
     background: rgba(255, 145, 0, 0.45);
 }

 .service-arrow.left {
     left: 20px;
 }

 .service-arrow.right {
     right: 20px;
 }

 /* RESPONSIVE */
 @media(max-width:1200px) {
     .service-item {
         flex: 0 0 33.33%;
     }
 }

 @media(max-width:768px) {
     .slider-container {
         padding: 0 40px;
     }

     .service-item {
         flex: 0 0 50%;
     }
 }

 @media(max-width:480px) {
     .slider-container {
         padding: 0 20px;
     }

     .service-item {
         flex: 0 0 100%;
     }
 }


 /* Stats Counter Styling */
 .stat-box {
     background-color: var(--secondary-color);
     color: var(--text-light);
     border-radius: 1rem;
     padding: 1.5rem;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }

 .stat-number {
     font-size: 3rem;
     font-weight: 800;
 }

 /* Portfolio Gallery */
 .gallery-item {
     width: 100%;
     height: 90%;
     overflow: hidden;
     border-radius: 0.75rem;
 }

 .gallery-img {
     width: 100%;
     height: 100%;
     transition: transform 0.5s ease;
     filter: brightness(0.9);
 }

 .gallery-item:hover .gallery-img {
     transform: scale(1.05);
     filter: brightness(1);
 }

 /* FAQ Accordion Styling */
 .accordion-button:not(.collapsed) {
     color: var(--tertiary-color);
     background-color: #f7f3f9;
     box-shadow: none;
 }

 .accordion-button:focus {
     box-shadow: none;
     border-color: #e83e8c33;
 }

 /* Contact Form Styling */
 .form-control:focus {
     border-color: var(--secondary-color);
     box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
 }

 /* Scroll-based Animation (using classes for Intersection Observer) */
 .animate-on-scroll {
     opacity: 0;
     transform: translateY(20px);
     transition: opacity 0.8s ease-out, transform 0.8s ease-out;
 }

 .animate-on-scroll.fade-in {
     opacity: 1;
     transform: translateY(0);
 }

 /* Floating Buttons Above Bottom Navbar */
 .float-whatsapp,
 .float-instgram {
     position: fixed;
     width: 50px;
     height: 50px;
     right: 20px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: 24px;
     z-index: 999 !important;
     /* Always above navbar */
 }


 /* Facebook icon थोड़ा वर */
 .float-instgram {
     bottom: 80px;
     background: linear-gradient(45deg,
             #f58529,
             #dd2a7b,
             #8134af,
             #515bd4);
 }

 /* Facebook icon थोड़ा वर */
 .float-whatsapp {
     bottom: 25px;
     background-color: #1877f2;
 }

 #float-whatsapp:hover {
     transform: scale(1.1) rotate(5deg);
 }

 /* Facebook Icon */
 .float-instgram {
     background: #1877f2;
 }

 /* WhatsApp Icon */
 .float-whatsapp {
     background: #25D366;
 }

 /* Mobile – Set exact bottom positions */
 @media (max-width: 768px) {
     .float-whatsapp {
         bottom: 80px !important;
         /* WhatsApp icon just above navbar */
     }

     .float-instgram {
         bottom: 140px !important;
         /* instgram icon above WhatsApp */
     }
 }

 @media (max-width: 768px) {
     nav ul {
         display: flex !important;
         flex-direction: row !important;
         justify-content: space-around !important;
         align-items: center !important;
         width: 100%;
         padding: 10px 0;
         margin: 0;
         background: #fff;
     }

     nav ul li {
         list-style: none;
     }

     nav ul li a {
         display: block;
         padding: 8px 10px;
         color: #000 !important;
         font-size: 14px;
         text-decoration: none;
     }
 }

 @media (max-width: 768px) {
     nav {
         position: fixed !important;
         bottom: 0 !important;
         top: auto !important;
         left: 0;
         width: 100%;
         background: #fff;
         z-index: 9999;
         border-top: 1px solid #ccc;
     }
 }


 /* Hide hamburger menu in mobile */
 @media (max-width: 768px) {
     .menu-toggle {
         display: none !important;
     }
 }


 /* Show top navbar only on Laptop */
 @media (max-width: 992px) {
     #mainNav {
         display: none;
     }
 }

 /* Mobile Bottom Navbar */
 .bottom-nav {
     position: fixed;
     bottom: 0;
     left: 0;
     width: 100%;
     background: #1b1b1b;
     display: flex;
     justify-content: space-around;
     align-items: center;
     padding: 12px 0;
     border-radius: 20px 20px 0 0;
     z-index: 999;
 }

 .nav-item {
     text-align: center;
     color: #cccccc;
     font-size: 12px;
     text-decoration: none;
 }

 .nav-item .icon {
     display: block;
     font-size: 20px;
     margin-bottom: 3px;
 }

 /* Center Circular Logo Button */
 .center-btn {
     width: 50px;
     height: 55px;
     background: #c0c0c0;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     position: relative;
     top: -22px;
     box-shadow: 0 0 20px rgba(140, 60, 183, 0.7);
 }

 .center-btn img {
     width: 100%;
     height: 100%;
 }

 /* Bottom Navbar visible only on Mobile */
 @media (min-width: 992px) {
     .bottom-nav {
         display: none;
     }
 }

 .portfolio {
     width: 100%;
     background: #ffffff;
     padding-bottom: 40px;
 }

 .portfolio h2 {
     text-align: center;
     font-size: 2.5rem;
     color: orange;
     margin: 1rem 0;
     padding-top: 2rem;
 }

 .portfolio h1 {
     text-align: center;
     font-size: 3rem;
     color: #000000;
     margin: 1rem 0;
 }

 .album {
     display: flex;
     flex-wrap: wrap;
     gap: 15px;
     justify-content: center;
     padding: 20px;
     overflow: hidden;
 }

 .alb {
     width: 120px;
     height: 220px;
     overflow: hidden;
     border-radius: 10px;
     position: relative;
 }

 .alb video {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.4s ease;
 }

 /* ✅ Zoom video on hover, not container */
 .alb:hover video {
     transform: scale(1.3);
     z-index: 2;
 }

 /* ✅ Responsive Fix */
 @media (max-width: 768px) {
     .alb {
         width: 130px;
         height: 200px;
     }

     .portfolio h1 {
         font-size: 2rem;
     }

     .portfolio h2 {
         font-size: 1.6rem;
     }
 }

 @media (max-width: 480px) {
     .alb {
         width: 100px;
         height: 160px;
     }
 }


 /* footer  */
 .footer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  background: transparent !important;
}
/* Footer Section */
.footer {
  background: url("../gradient-1766171538252.png");
  color: #0f172a;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid #e2e8f0;
  width: 100%;
  background-repeat: no-repeat;
    background-size: cover;
}
/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
/* Company Info */
.company-info {
  margin-bottom: 1.5rem;
}
.logo-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.logo {
  height: 3rem;
  width: 4rem;
  color: #4f46e5;
}
.company-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-left: 0.5rem;
}
.company-description {
  color: #4f46e5;
  margin-bottom: 1.5rem;
}
/* Social Links */
.social-links {
    font-size: 1.5rem;
  display: flex;
  gap: 1rem;
}
.social-link {
  color: #2a20ed;
  transition: color 0.2s;
}
.social-link:hover {
  color: #000000;
}
.social-icon {
  height: 1.5rem;
  width: 1.5rem;
}
/* Footer Sections */
.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #ea3b35;
}
/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
}
.contact-icon {
  height: 1.5rem;
  width: 1.5rem;
  color: #4f46e5;
  margin-right: 0.75rem;
  margin-top: 0.125rem;
}
/* Bottom Footer */
.bottom-footer {
  border-top: 1px solid #ffffff;
  padding-top: 2rem;
}
.bottom-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: white;
}
.copyright {
  color: #475569;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1rem;
  font-size: 0.875rem;
}
/* Responsive Breakpoints */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bottom-footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .copyright {
    margin-bottom: 0;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}