/********** Template CSS **********/
/* ===== FORCE REMOVE GREEN FROM BOOTSTRAP ===== */

/* Override Bootstrap primary color */
:root {
  --bs-primary: #0d0d0d !important;
}

/* All primary buttons */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #0d0d0d !important;
  border-color: #0d0d0d !important;
  color: #fff !important;
}
.bg-black {
  background-color: #000 !important;
}


/* Outline primary buttons */
.btn-outline-primary {
  color: #0d0d0d !important;
  border-color: #0d0d0d !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #0d0d0d !important;
  color: #fff !important;
  border-color: #0d0d0d !important;
}

/* Button links */
.btn-link,
.btn-link:hover {
  color: #fff !important;
  background: transparent !important;
}

/* Anchor hover (VERY IMPORTANT) */
a:hover {
  color: inherit !important;
}

/* Footer fix */
.footer a,
.footer a:hover {
  color: #fff !important;
  background: transparent !important;
  border: none !important;
}

/* Remove green focus ring */
.btn:focus,
.btn:active,
button:focus {
  box-shadow: none !important;
  outline: none !important;
}

.footer .copyright {
  text-align: center;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #FFFFFF !important;
    color: var(--primary) !important;
    border-color: #FFFFFF !important;
}

/*** Read More Button ***/
.read-more-btn {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
    border: 2px solid var(--primary) !important;
    transition: .5s;
}

.read-more-btn:hover {
    background-color: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}
/* ======================
   NAVBAR
======================= */
.custom-navbar {
  background: #000000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 999;
  padding: 0 40px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Navbar after scroll */
.custom-navbar.scrolled {
  height: 70px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

/* ======================
   LOGO
======================= */
.navbar-logo {
  height: 50px;
  transition: all 0.3s ease;
  margin-left: 58px; /* Desktop pe margin rakho */
}

.custom-navbar.scrolled .navbar-logo {
  height: 50px;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

/* ======================
   DESKTOP MENU - CENTERED
======================= */
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 35px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.desktop-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Underline animation */
.desktop-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.desktop-menu a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.desktop-menu a:hover::after {
  width: 100%;
}

/* ======================
   CONTACT BUTTON - DESKTOP ONLY
======================= */
.desktop-contact {
  border: 2px solid #ffffff;
  border-radius: 25px;
  padding: 8px 25px !important;
  color: #ffffff;
  background: transparent;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  line-height: normal;
  margin-right: 70px;
}

.desktop-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.desktop-contact:hover {
  color: #000000;
  transform: translateY(-2px);
}

.desktop-contact:hover::before {
  transform: translateX(0);
}

/* ======================
   BURGER MENU - MOBILE ONLY
======================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ======================
   MOBILE MENU OVERLAY
======================= */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ======================
   MOBILE MENU
======================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  transition: right 0.4s ease;
  z-index: 999;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.show {
  right: 0;
}

/* Mobile menu header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo img {
  height: 35px;
  filter: brightness(0) invert(1);
}

.close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

/* Mobile menu content */
.mobile-menu-content {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 80px);
  padding: 0 25px;
}

/* Mobile links */
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  padding: 30px 0;
}

.mobile-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  padding: 15px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.mobile-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.mobile-links a i {
  width: 25px;
  text-align: center;
}

/* Contact button container at bottom */
.mobile-contact-container {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-btn {
  width: 100%;
  border: 2px solid #ffffff;
  border-radius: 25px;
  padding: 15px !important;
  color: #ffffff;
  background: transparent;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
  background: #ffffff;
  color: #000000;
}

/* ======================
   RESPONSIVE
======================= */
@media (max-width: 991px) {
  .desktop-menu {
    display: none;
  }

  .desktop-contact {
    display: none;
  }

  .burger {
    display: flex;
  }

  .custom-navbar {
    padding: 0 20px;
    height: 70px;
  }

  .navbar-logo {
    height: 40px;
    margin-left: 0; /* Mobile pe margin hata do */
  }

  .mobile-menu {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    width: 250px;
  }
  
  .mobile-links a {
    font-size: 16px;
    padding: 12px 15px;
  }
  
  .mobile-contact-btn {
    font-size: 15px;
    padding: 12px !important;
  }
}

/* Desktop specific margin (992px se upar) */
@media (min-width: 992px) {
  .navbar-logo {
    margin-left: 58px; /* Desktop pe margin rakho */
  }
  
  .desktop-contact {
    margin-right: 70px; /* Desktop pe contact button ka margin */
  }
}

/* Body padding to account for fixed navbar */
body {
  padding-top: 80px;
}

.custom-navbar.scrolled + body {
  padding-top: 70px;
}

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/hero-bg.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 28px;     
    overflow: hidden;             
}

.service-item:hover {
    background: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    border-radius: 20px !important;  
}

.service-item .p-4 {
    transition: all 0.5s ease;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: var(--light) !important;
}

.service-item i {
    transition: all 0.5s ease;
}

.service-item:hover i {
    transform: scale(1.1);
}


/* How it works section */
.step-number {
  font-size: 1rem;
  font-weight: bold;
  color: var(--light);
  margin-bottom: 15px;
  background-color: var(--dark);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseFloat 3s ease-in-out infinite;
}
  

h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

p {
  color: #555;
  line-height: 1.6;
}

.how-img{
   border-radius: 15px;
  transition: transform 0.3s ease;
}

.how-img:hover {
  transform: scale(1.05);
}

@keyframes pulseFloat {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
  }
  50% {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 0 25px 8px rgba(0, 0, 0, 0.15);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
  }
}
/* For alternating order on small screens */
@media (max-width: 767px) {
  .order-md-1,
  .order-md-2 {
    order: initial !important;
  }
}

/* Portfolio Page Styles */
.portfolio-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
    margin-bottom: 30px;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 13, 13, 0.9), rgba(13, 13, 13, 0.7));
    opacity: 0;
    transition: .5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .img-fluid {
    transition: .5s;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.portfolio-item:hover .img-fluid {
    transform: scale(1.1);
}

/* Portfolio Technology Stack Styles */
.portfolio-item .badge.bg-secondary {
    background-color: rgba(13, 13, 13, 0.8) !important;
    color: white !important;
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.portfolio-item .badge.bg-secondary:hover {
    background-color: var(--primary) !important;
    transform: translateY(-2px);
}

.portfolio-item .btn-sm {
    padding: 8px 16px !important;
    font-size: 0.85rem;
    font-weight: 600;
}

.portfolio-item .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item .btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item .btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

/* Flex layout for buttons */
.portfolio-item .d-flex.gap-2 {
    gap: 10px !important;
}

/* Technology stack heading */
.portfolio-item h6.text-primary {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-item .d-flex.flex-wrap.gap-2 {
        gap: 8px !important;
    }
    
    .portfolio-item .badge {
        font-size: 0.7rem;
        padding: 0.3em 0.6em;
    }
    
    .portfolio-item .btn-sm {
        padding: 6px 12px !important;
        font-size: 0.8rem;
    }
}

/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 20px;
    border-bottom: 1px solid var(--primary);
}

.team-item .btn:hover {
    background: var(--primary);
    color: #FFFFFF;
}


/* Testimonial Section Responsive Fixes */
.carousel-item {
    padding: 1rem;
}

.testimonial-quote {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    z-index: 10;
    transition: all 0.3s ease;
}

.testimonial-quote i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .carousel-item {
        padding: 0.5rem;
    }
    
    .carousel-item .row {
        gap: 1.5rem !important;
    }
    
    .carousel-item .col-md-4 {
        margin-bottom: 0.5rem;
    }
    
    .carousel-item .col-md-8 {
        padding: 0.5rem;
    }
    
    .carousel-item .col-md-8 div {
        padding: 1rem !important;
    }
    
    .carousel-item img {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 576px) {
    .carousel-item .row {
        gap: 1rem !important;
        flex-direction: column;
    }
    
    .carousel-item .col-md-4,
    .carousel-item .col-md-8 {
        order: 0 !important;
    }
    
    .carousel-item .col-md-8 div {
        padding: 0.75rem !important;
        margin-top: 0.5rem;
    }
    
    .carousel-item .lead {
        font-size: 1rem !important;
    }
    
    .carousel-item span i {
        font-size: 1.25rem;
    }
}

/*** Package ***/
.package-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.package-item img {
    transition: .5s;
}

.package-item:hover img {
    transform: scale(1.1);
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img/booking.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Blog Slider Styling with Clickable Cards ***/

/* Make entire blog card clickable */
.blog-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.blog-card-link:hover {
    text-decoration: none !important;
    color: inherit;
}

/* Blog Slider Container */
.blog-slider-container {
    overflow: hidden;
    padding: 20px 0;
    margin: 0 -15px;
}

.blog-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Blog Slider Track */
.blog-slider-track {
    display: flex;
    gap: 30px;
}

/* Blog Slider Item */
.blog-slider-item {
    flex: 0 0 350px;
    min-width: 350px;
}

/* Blog Card Styling */
.blog-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.blog-card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* Image Container */
.blog-image-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card-hover:hover .blog-image {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card-hover:hover .blog-overlay {
    opacity: 1;
}

/* Blog Content */
.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.blog-card-hover:hover .blog-title {
    color: var(--primary);
}

.blog-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Full width for slider */
.blog-slider-container {
    margin: 0 calc(-50vw + 50%);
    padding: 20px calc(50vw - 50%);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-slider-item {
        flex: 0 0 320px;
        min-width: 320px;
    }
}

@media (max-width: 992px) {
    .blog-slider-item {
        flex: 0 0 300px;
        min-width: 300px;
    }
    
    .blog-image-container {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog-slider-item {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .blog-image-container {
        height: 180px;
    }
    
    .blog-content {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .blog-slider-item {
        flex: 0 0 250px;
        min-width: 250px;
    }
    
    .blog-image-container {
        height: 160px;
    }
    
    .blog-title {
        font-size: 1rem;
    }
    
    .blog-description {
        font-size: 0.85rem;
    }
}

/*** Blog Page Specific Styles ***/

/* Hero Header for Blog Page */
.blog-hero-header {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), 
                url(../img/blog-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Blog Page Grid Layout */
.blog-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.blog-card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* Blog Image Container */
.blog-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card-hover:hover .blog-image-container img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card-hover:hover .blog-overlay {
    opacity: 1;
}

/* Blog Content */
.blog-content {
    padding: 25px;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.blog-card-hover:hover .blog-title {
    color: var(--primary);
}

.blog-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .blog-image-container {
        height: 220px;
    }
    
    .blog-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .blog-image-container {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .blog-image-container {
        height: 180px;
    }
    
    .blog-content {
        padding: 15px;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
    
    .blog-description {
        font-size: 0.85rem;
    }
}

/*** Contact Preview Section - Using Global Button Styles ***/
.contact-preview-section {
    background: linear-gradient(rgba(20, 20, 31, .4), rgba(20, 20, 31, .4)), 
                url(../img/Join-us.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Make text pure white */
.contact-preview-section h1,
.contact-preview-section h6.section-title,
.contact-preview-section .contact-preview-text {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Specifically for section title background */
.contact-preview-section h6.section-title {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary) !important;
}

/* Text with more opacity for better readability */
.contact-preview-text {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Optional: Additional overlay for better text contrast */
.contact-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(0, 0, 0, 0.3) 0%, 
                rgba(0, 0, 0, 0.2) 50%, 
                rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.contact-preview-section > .container {
    position: relative;
    z-index: 2;
}

/* Use ONLY global button styles - NO custom button styles here */
/* The button will automatically use your global .btn-primary styles */

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-preview-section {
        background-attachment: scroll;
        padding: 3rem 0 !important;
    }
    
    .contact-preview-text {
        font-size: 1rem !important;
        line-height: 1.5;
        max-width: 90% !important;
    }
}

/* Animation for section */
@keyframes fadeInContact {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-preview-section .wow.fadeInUp {
    animation: fadeInContact 0.8s ease forwards;
}


/* Contact Form - Black & White Theme Only */
.contact-form-container {
  position: relative;
  overflow: hidden;
}

.form-control, .form-select {
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  border-radius: 12px !important;
}

.form-control:focus, .form-select:focus {
  border-color: #0d0d0d !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 13, 13, 0.25) !important;
}

.form-control-lg {
  padding: 0.75rem 1rem;
}

.file-upload-area {
  transition: all 0.3s ease;
  border: 2px dashed #dee2e6;
}

.file-upload-area:hover {
  border-color: #0d0d0d;
  background-color: rgba(13, 13, 13, 0.05);
}

.file-drop-zone {
  transition: all 0.3s ease;
  border-radius: 8px;
}

.file-drop-zone:hover {
  background-color: rgba(13, 13, 13, 0.05);
}

.cursor-pointer {
  cursor: pointer;
}

/* Black Theme Buttons */
.btn-dark {
  background-color: #0d0d0d !important;
  border-color: #0d0d0d !important;
  color: #fff !important;
}

.btn-dark:hover {
  background-color: #000 !important;
  border-color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.btn-outline-dark {
  color: #0d0d0d !important;
  border-color: #0d0d0d !important;
  background-color: transparent;
}

.btn-outline-dark:hover {
  background-color: #0d0d0d !important;
  color: #fff !important;
  border-color: #0d0d0d !important;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-weight: 600;
}

.icon-wrapper, .icon-wrapper-small {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-wrapper-small {
  width: 48px;
  height: 48px;
}

.list-group-item {
  border: 1px solid #e9ecef;
  border-radius: 8px !important;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.list-group-item:hover {
  background-color: rgba(13, 13, 13, 0.05);
  border-color: #0d0d0d;
}

/* Progress Bar - Black Theme */
.progress-bar.bg-dark {
  background-color: #0d0d0d !important;
}

/* Section Title - Black Theme */
.section-title.text-dark {
  color: #0d0d0d !important;
}

.section-title.text-dark::before,
.section-title.text-dark::after {
  background: #0d0d0d !important;
}

/* Icons - Black Theme */
.fa-lg.text-dark,
.fa-2x.text-dark {
  color: #0d0d0d !important;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .col-lg-6.offset-lg-3 {
    margin-left: 0 !important;
  }
  
  .btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }
  
  .progress {
    width: 80px !important;
  }
}

@media (max-width: 767.98px) {
  .bg-white.rounded.shadow-sm {
    padding: 1.5rem !important;
  }
  
  .btn-lg.rounded-pill {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .d-flex.justify-content-between {
    flex-direction: column;
    gap: 1rem;
  }
  
  .ms-auto {
    margin-left: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .col-lg-10 {
    padding-left: 0;
    padding-right: 0;
  }
  
  .form-control-lg, .form-select-lg {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
  
  .modal-dialog {
    margin: 1rem;
  }
}

/* Remove all orange references from global CSS */
/* Replace existing orange colors with dark/black */

:root {
    --primary: #0d0d0d;
    --secondary: #6c757d; /* Changed from orange to gray */
    --light: #F5F5F5;
    --dark: #14141F;
}

/* Fix button hover (remove orange) */
.btn-primary:hover {
    background-color: #000 !important;
    color: #FFFFFF !important;
    border-color: #000 !important;
}

/* Animation classes */
.wow {
  visibility: hidden;
}

.animated {
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.fadeInLeft {
  animation-name: slideInLeft;
}

.fadeInRight {
  animation-name: slideInRight;
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Career Page Specific Styles */

/* Thank You Message */
.thank-you-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.thank-you-message.show {
  opacity: 1;
  visibility: visible;
}

.thank-you-content {
  background: linear-gradient(135deg, rgba(20, 20, 31, 0.95), rgba(13, 13, 13, 0.95));
  padding: 50px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.thank-you-icon {
  font-size: 80px;
  color: #28a745;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.thank-you-icon .fa-check-circle {
  font-size: 80px;
}

.thank-you-content:hover .thank-you-icon {
  transform: scale(1.05);
}

.thank-you-content h3 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: white;
  font-weight: 600;
}

.thank-you-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Process Card Specific Styles */
.process-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--primary) !important;
}

.process-card:hover .text-dark {
  color: var(--primary) !important;
}

.process-card:hover .text-muted {
  color: #666 !important;
}

.process-card:hover .rounded-circle.bg-dark {
  background: linear-gradient(135deg, var(--primary), #222) !important;
  transform: scale(1.05);
}

/* Job Card Specific Styles */
.job-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--primary) !important;
}

.job-card:hover .card-title {
  color: var(--primary) !important;
}

.job-card:hover .rounded-circle.bg-light {
  background-color: #f8f9fa !important;
  transform: scale(1.05);
}

.job-card:hover .text-dark:not(.card-title) {
  color: #333 !important;
}

.job-card:hover .text-muted {
  color: #666 !important;
}

/* Fix Modal Cancel Button */
.btn-secondary {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: white !important;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #5a6268 !important;
  border-color: #545b62 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Section Title Styles (like Contact page) */
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 2px;
  top: 50%;
  left: -40px;
  background: var(--primary);
  z-index: -1;
  transform: translateY(-50%);
}

.section-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 2px;
  top: 50%;
  left: -60px;
  background: var(--primary);
  z-index: -1;
  transform: translateY(-50%);
}

/* Button Hover Effects */
.btn-primary {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(13, 13, 13, 0.3);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn-primary:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

/* Badge Hover Effects */
.badge.bg-dark {
  transition: all 0.3s ease;
}

.badge.bg-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(13, 13, 13, 0.2);
}

/* Form Input Hover Effects */
.form-control {
  transition: all 0.3s ease;
}

.form-control:hover {
  border-color: #aaa;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 13, 13, 0.15) !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container-xxl {
    max-width: 1140px;
  }
}

@media (max-width: 992px) {
  .container-xxl {
    max-width: 960px;
  }
  
  .section-title::before,
  .section-title::after {
    width: calc(100% + 60px);
    left: -30px;
  }
  
  .thank-you-content {
    padding: 30px 20px;
  }
  
  .thank-you-content h3 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .modal-dialog {
    margin: 10px;
  }
  
  .modal-content {
    max-height: calc(100vh - 20px);
  }
  
  .container-xxl {
    max-width: 720px;
  }
  
  .section-title::before,
  .section-title::after {
    width: calc(100% + 40px);
    left: -20px;
  }
  
  .process-card:hover,
  .job-card:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 576px) {
  .container-xxl {
    max-width: 540px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .card-body {
    padding: 1.25rem !important;
  }
  
  .modal-body {
    padding: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }
  
  .thank-you-content {
    padding: 20px 15px;
  }
  
  .thank-you-content h3 {
    font-size: 1.75rem;
  }
}

/* Fix Job Cards Alignment */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body .mt-auto {
  margin-top: auto;
  padding-top: 15px;
}

/* Fix Badge Colors */
.badge.bg-dark {
  background-color: var(--primary) !important;
  color: var(--light) !important;
}

.badge.bg-secondary {
  background-color: #6c757d !important;
  color: white !important;
}

/* Form Improvements */
.input-group .btn-outline-dark {
  border-color: var(--primary);
  color: var(--primary);
}

.input-group .btn-outline-dark:hover {
  background-color: var(--primary) !important;
  color: white !important;
}

/* Modal Header Text */
.modal-header.bg-dark .modal-title {
  color: white !important;
}

/* Additional Skills Input */
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 13, 13, 0.15);
}

/* Ensure proper spacing */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

@media (max-width: 768px) {
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Smooth scrolling for job details */
html {
  scroll-behavior: smooth;
}

/* Fix modal backdrop */
.modal-backdrop {
  z-index: 1040;
}

.modal {
  z-index: 1050;
}

/* Animation classes */
.wow {
  visibility: hidden;
}

.animated {
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

/* Professional shadow depth */
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* Hover state for all interactive elements */
button, .btn, .badge, .card, .form-control, .form-select {
  transition: all 0.3s ease !important;
}

/* Professional color transitions */
.text-dark {
  transition: color 0.3s ease;
}

.text-muted {
  transition: color 0.3s ease;
}

/* Professional icon hover effects */
.fa {
  transition: transform 0.3s ease;
}

.process-card:hover .fa,
.job-card:hover .fa {
  transform: scale(1.1);
}

/* Remove white text color on hover */
.process-card:hover *,
.job-card:hover * {
  color: inherit !important;
}

/* Specific color changes on hover */
.process-card:hover h5 {
  color: var(--primary) !important;
}

.job-card:hover .card-title {
  color: var(--primary) !important;
}

/* Keep text colors appropriate */
.process-card .text-dark,
.job-card .text-dark {
  color: #212529 !important;
}

.process-card .text-muted,
.job-card .text-muted {
  color: #6c757d !important;
}

/*** Dropdown Fix for Career Page ***/

/* Main dropdown styling */
.form-select {
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
  border: 2px solid #e9ecef !important;
  color: #000000 !important;
  border-radius: 12px !important;
}

.form-select:focus {
  background-color: #ffffff !important;
  border-color: #0d0d0d !important;
  color: #000000 !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 13, 13, 0.25) !important;
}

/* Dropdown options - Black background with white text */
.form-select option {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Hover state for dropdown options */
.form-select option:hover {
  background-color: #333333 !important;
  color: #ffffff !important;
}

/* Selected option */
.form-select option:checked,
.form-select option:selected {
  background-color: #0d0d0d !important;
  color: #ffffff !important;
}

/* Fix for modal dropdown */
.modal .form-select {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.modal .form-select option {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Remove Bootstrap's default blue */
select.form-select:not([multiple]):not([size]) {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
}

/* For Firefox */
@-moz-document url-prefix() {
  .form-select {
    background-color: #ffffff !important;
    color: #000000 !important;
  }
  
  .form-select option {
    background-color: #000000 !important;
    color: #ffffff !important;
  }
}

/* For Chrome/Safari */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .form-select {
    background-color: #ffffff !important;
    color: #000000 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }
  
  .form-select option {
    background-color: #000000 !important;
    color: #ffffff !important;
  }
}

/* For Edge */
select::-ms-expand {
  display: none;
}

/* Fix placeholder option color */
.form-select option[value=""] {
  color: #666666 !important;
  background-color: #000000 !important;
}

/* Ensure hover states are consistent */
.form-select:hover,
.form-select:active {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #0d0d0d !important;
}

/********** Internship Section Specific CSS**********/

/* Internship Badges*/
.badge.bg-success {
  background-color: #198754 !important;
  color: white !important;
}

/* Tab Navigation - Using existing dark button styles */
.btn-group .btn-dark {
  background-color: #0d0d0d !important;
  border-color: #0d0d0d !important;
  color: #fff !important;
}

.btn-group .btn-outline-dark {
  color: #0d0d0d !important;
  border-color: #0d0d0d !important;
  background-color: transparent !important;
}

.btn-group .btn-outline-dark:hover {
  background-color: #0d0d0d !important;
  color: #fff !important;
  border-color: #0d0d0d !important;
}

/* Internship Alert Box - Using light theme */
.alert-light.border {
  background-color: #f8f9fa !important;
  border-color: #e9ecef !important;
  color: #212529 !important;
}

.alert-light.border h6 {
  color: #0d0d0d !important;
}

/* Internship features icons - Using dark theme */
.fa-check-circle.text-dark {
  color: #0d0d0d !important;
}

/* Responsive Tab Navigation */
@media (max-width: 768px) {
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-group .btn {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 8px !important;
  }
}

/* Tab button active state */
.btn-group .btn-dark:active,
.btn-group .btn-dark.active {
  background-color: #000 !important;
  border-color: #000 !important;
}

/* Stipend text colors */
.text-success {
  color: #198754 !important; /* Only for paid status */
}

/* Internship type badge */
.badge.bg-secondary {
  background-color: #6c757d !important;
  color: white !important;
}

/* Responsive fixes for internship cards */
@media (max-width: 576px) {
  .badge {
    font-size: 0.75rem !important;
    padding: 0.25em 0.5em !important;
  }
  
  .btn-group .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
  }
}

/*** Footer ***/



   .footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50%;
    transition: 0.3s;
  }
  
  .footer .btn.btn-social:hover {
    color: var(--primary);
    background: #ffffff;
  }
  
  .footer .btn.btn-link {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    text-transform: capitalize;
    transition: 0.3s;
  }
  
  .footer .btn.btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
  }
  
  .footer .btn.btn-link:hover {
    letter-spacing: 1px;
  }
  
  .footer p,
  .footer p i {
    color: #ffffff;
  }
  
  .footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .footer .copyright a {
    color: #ffffff;
  }
  
  .footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
  }
  
  /* AGENCY TECH STACK STYLES */

/* Agency tech card - White by default */
.agency-tech-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  /* Hover overlay - Hidden by default */
  .hover-overlay {
    background: rgba(0, 0, 0, 0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(10px);
    z-index: 2;
  
  }
  
  .hover-content {
    transform: translateY(20px);
    transition: transform 0.4s 0.1s;
    opacity: 0;
  }
  
  /* Hover effects - Card turns black, text turns white */
  .agency-tech-card:hover {
    background: #000 !important;
    border-color: #000;
    transform: translateY(-8px);
   
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border-radius :70px !important;
  }
  
  /* On hover, hide main content */
  .agency-tech-card:hover .main-content {
    opacity: 0;
  }
  
  /* On hover, show overlay with white text */
  .agency-tech-card:hover .hover-overlay {
    background: #000;
    opacity: 1;
    transform: translateY(0);
  }
  
  .agency-tech-card:hover .hover-overlay .hover-content {
    transform: translateY(0);
    opacity: 1;
  }
  
  /* Scale up icon on hover */
  .agency-tech-card:hover .icon-wrapper {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.05);
  }
  
  /* Smooth transitions for all elements */
  .agency-tech-card,
  .agency-tech-card *,
  .main-content,
  .hover-overlay,
  .hover-content {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Animation for cards appearing */
  .agency-tech-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Stagger animation */
  .row > div:nth-child(1) .agency-tech-card { animation-delay: 0.1s; }
  .row > div:nth-child(2) .agency-tech-card { animation-delay: 0.2s; }
  .row > div:nth-child(3) .agency-tech-card { animation-delay: 0.3s; }
  .row > div:nth-child(4) .agency-tech-card { animation-delay: 0.4s; }
  .row > div:nth-child(5) .agency-tech-card { animation-delay: 0.5s; }
  .row > div:nth-child(6) .agency-tech-card { animation-delay: 0.6s; }
  .row > div:nth-child(7) .agency-tech-card { animation-delay: 0.7s; }
  .row > div:nth-child(8) .agency-tech-card { animation-delay: 0.8s; }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .agency-tech-card {
      padding: 1.5rem !important;
    }
    
    .icon-wrapper {
      width: 70px !important;
      height: 70px !important;
    }
    
    .agency-tech-card:hover {
      transform: translateY(-5px);
    }
  }


  /* Custom CSS for 5 cards per row */
@media (min-width: 1400px) {
    .col-xxl {
      flex: 0 0 auto;
      width: 20%; /* 5 cards per row */
    }
  }
  
  /* Smaller card styling */
  .agency-tech-card-small {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-height: 180px;
  }
  
  /* Smaller icon wrapper */
  .icon-wrapper-small {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .icon-wrapper-hover-small {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Hover overlay - Hidden by default */
  .hover-overlay {
    background: rgba(0, 0, 0, 0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(8px);
    z-index: 2;
  }
  
  .hover-content {
    transform: translateY(15px);
    transition: transform 0.3s 0.1s;
    opacity: 0;
  }
  
  /* Hover effects - Card turns black, all text white */
  .agency-tech-card-small:hover {
    background: #000 !important;
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  }
  
  /* On hover, hide main content */
  .agency-tech-card-small:hover .main-content {
    opacity: 0;
  }
  
  /* On hover, show overlay with white text */
  .agency-tech-card-small:hover .hover-overlay {
    background: #000;
    opacity: 1;
    transform: translateY(0);
  }
  
  .agency-tech-card-small:hover .hover-overlay .hover-content {
    transform: translateY(0);
    opacity: 1;
  }
  
  /* Scale up icon on hover */
  .agency-tech-card-small:hover .icon-wrapper-small {
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.05);
  }
  
  /* Smooth transitions for all elements */
  .agency-tech-card-small,
  .agency-tech-card-small *,
  .main-content,
  .hover-overlay,
  .hover-content {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Row spacing */
  .row.g-3 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .agency-tech-card-small {
      padding: 1rem !important;
      min-height: 160px;
    }
    
    .icon-wrapper-small {
      width: 50px !important;
      height: 50px !important;
    }
    
    h6 {
      font-size: 0.8rem !important;
    }
    
    p.small {
      font-size: 0.7rem !important;
    }
  }



  /* ================= Text Colors ================= */
.text-dark {
  color: #000 !important;
}

.text-dark-75 {
  color: rgba(0, 0, 0, 0.75) !important;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* ================= Borders ================= */
.border-dark-10 {
  border-color: rgba(0, 0, 0, 0.1) !important;
}

/* ================= Images ================= */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

.rounded-3 {
  border-radius: 0.75rem !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175)}