/* Mobile Responsive Styles */

/* Reset and Global Mobile Styles */
* {
  box-sizing: border-box;
}

/* Mobile Header Styles */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-logo img {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.mobile-logo img:hover {
  transform: scale(1.05);
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  cursor: pointer;
  padding: 8px;
  z-index: 9999;
  position: relative;
  border-radius: 4px;
  transition: background-color 0.3s ease;
 
}

/* .hamburger-menu:hover {
  background-color: rgba(14, 165, 233, 0.2);
} */

/* Animated Hamburger Icon */
.animated-icon1 {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

.animated-icon1 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.animated-icon1 span:nth-child(1) {
  top: 0px;
}

.animated-icon1 span:nth-child(2) {
  top: 10px;
}

.animated-icon1 span:nth-child(3) {
  top: 20px;
}

.animated-icon1.open span:nth-child(1) {
  top: 11px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.animated-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.animated-icon1.open span:nth-child(3) {
  top: 11px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/* .hamburger-menu:hover .animated-icon1 span {
  background-color: #0ea5e9;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.4);
} */

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
  z-index: 9998;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-content {
  padding: 80px 25px 30px;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.mobile-nav-item:hover {
  background-color: rgba(14, 165, 233, 0.1);
}

.mobile-nav-link {
  color: white;
  text-decoration: none;
  padding: 18px 15px;
  display: block;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
  transition: left 0.6s ease;
}

.mobile-nav-link:hover::before {
  left: 100%;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #0ea5e9;
  padding-left: 25px;
  background-color: rgba(14, 165, 233, 0.1);
}

.mobile-nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #0ea5e9;
}

/* Mobile Services Section */
.mobile-services-section {
  background-color: #0ea5e9 !important;
  margin-top: 10px;
}

.mobile-services-section .mobile-nav-link {
  font-weight: 600;
  color: white !important;
  background-color: #0ea5e9;
}

.mobile-sub-service {
  background-color: rgba(14, 165, 233, 0.1);
  margin-left: 15px;
  border-left: 3px solid #0ea5e9;
}

.mobile-sub-service .mobile-nav-link {
  font-size: 14px;
  padding: 15px 20px;
  color: #b3d9f2;
}

.mobile-sub-service .mobile-nav-link:hover {
  color: #0ea5e9;
  background-color: rgba(14, 165, 233, 0.2);
  padding-left: 30px;
}

/* Mobile Menu Content - Add more padding for scrollable content */
.mobile-menu-content {
  padding: 80px 25px 50px;
  min-height: 100vh;
}

.mobile-social-icons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social-link {
  color: white;
  font-size: 22px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mobile-social-link:hover {
  color: white;
  background: #0ea5e9;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

/* Mobile Backdrop */
.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Prevent body scroll when mobile menu is open */
.mobile-menu-opened {
  overflow: hidden !important;
}

.mobile-menu-opened body {
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* Mobile Hero Section */
.mobile-hero {
  display: none;
  position: relative;
  overflow: hidden;
}

.mobile-hero .hero-swiper {
  height: 100vh;
  position: relative;
}

.mobile-hero .swiper-slide {
  height: 100vh;
  position: relative;
}

.mobile-hero .rs-banner-bg-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  z-index: 1;
}

.mobile-hero .rs-banner-bg-thumb::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

.mobile-hero .rs-banner-item-wrapper {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 3;
}

.mobile-hero .rs-banner-content {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 0 25px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.mobile-hero .rs-banner-title {
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.2;
  margin-bottom: 25px;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out;
  color: white !important;
  text-align: center !important;
  max-width: 95%;
  letter-spacing: 0.5px;
}

.mobile-hero .rs-banner-subtitle {
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out 0.2s both;
  text-align: center !important;
  max-width: 90%;
  letter-spacing: 0.3px;
}

.mobile-hero .rs-banner-btn {
  animation: fadeInUp 1s ease-out 0.4s both;
  margin-top: 10px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Swiper Controls for Mobile */
.mobile-hero .swiper-pagination {
  bottom: 30px !important;
  z-index: 5;
}

.mobile-hero .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  margin: 0 6px !important;
  transition: all 0.3s ease !important;
}

.mobile-hero .swiper-pagination-bullet-active {
  background: #0ea5e9 !important;
  transform: scale(1.2);
}

/* Mobile Verticals Section */
.mobile-verticals {
  display: none;
  padding: 50px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.mobile-verticals::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23000000" opacity="0.02"/><circle cx="80" cy="80" r="1" fill="%23000000" opacity="0.02"/><circle cx="40" cy="60" r="1" fill="%23000000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.mobile-verticals > * {
  position: relative;
  z-index: 2;
}

.mobile-verticals-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 15px;
}

.mobile-verticals-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #06b6d4);
  border-radius: 2px;
}

.mobile-verticals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.mobile-vertical-card {
  background: white;
  border-radius: 16px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.mobile-vertical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
  transition: left 0.6s ease;
}

.mobile-vertical-card:hover::before {
  left: 100%;
}

.mobile-vertical-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.2);
  border-color: #0ea5e9;
}

.mobile-vertical-card:nth-child(odd):hover {
  transform: translateY(-8px) rotate(1deg);
}

.mobile-vertical-card:nth-child(even):hover {
  transform: translateY(-8px) rotate(-1deg);
}

.mobile-vertical-card img {
  width: 100%;
  max-width: 90px;
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.mobile-vertical-card:hover img {
  transform: scale(1.1);
}

.mobile-vertical-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #2d3748;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.mobile-vertical-card:hover strong {
  color: #0ea5e9;
}

/* Desktop Navigation Hover Effects */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #06b6d4);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: #0ea5e9;
  transform: translateY(-2px);
  background-color: rgba(14, 165, 233, 0.05);
  border-radius: 6px;
  padding-left: 25px;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
}

.nav-link.active {
  color: #0ea5e9;
  background-color: rgba(14, 165, 233, 0.1);
  border-radius: 6px;
}

.nav-link.active::after {
  width: 100%;
}

/* Enhanced desktop navigation container */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-item .nav-link {
  padding: 10px 10px;
  display: block;
  text-decoration: none;
  border-radius: 6px;
  margin: 0 2px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Mobile Content Sections */
.mobile-content-section {
  display: none;
  padding: 40px 20px;
  background: white;
}

.mobile-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.mobile-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #0ea5e9;
  border-radius: 2px;
}

/* Button Styles for Mobile */
.rs-btn {
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.rs-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.rs-btn:hover::before {
  left: 100%;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading {
  animation: pulse 2s infinite;
}

/* Media Queries */
@media (min-width: 769px) {
  /* Desktop Navigation Enhanced Hover Effects */
  .nav-link:hover {
    color: #0ea5e9 !important;
    transform: translateY(-2px);
    background-color: rgba(14, 165, 233, 0.05) !important;
    border-radius: 6px;
    padding-left: 25px !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
  }

  .nav-link:hover::before {
    left: 100%;
  }

  .nav-link:hover::after {
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Hide desktop elements on mobile */
  .main-grid,
  .verticals-grid,
  .our-verticals-section {
    display: none !important;
  }
  
  /* Show mobile elements */
  .mobile-header {
    display: flex;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .mobile-hero {
    display: block;
  }
  
  .mobile-verticals {
    display: block;
  }

  .mobile-content-section {
    display: block;
  }

  /* Mobile adjustments for existing elements */
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .rs-btn {
    padding: 14px 28px;
    font-size: 14px;
    border-radius: 6px;
  }
  
  .swiper-pagination {
    bottom: 25px;
  }
  
  .swiper-pagination-bullet {
    margin: 0 6px;
  }

  /* Hide preloader on mobile for better performance */
  #pre-load {
    display: none !important;
  }

  /* Mobile typography */
  h1, h2, h3 {
    line-height: 1.2;
  }

  /* Section spacing adjustments */
  .section-space {
    padding: 40px 0;
  }

  /* Container adjustments */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* About section mobile responsive */
  .rs-about-area {
    padding: 40px 0;
  }

  .rs-about-content {
    text-align: left;
    padding: 20px 0;
  }

  /* Services section mobile responsive */
  .rs-services-area {
    padding: 40px 0;
  }

  .rs-services-slide-wrapper {
    margin-top: 30px;
  }

  /* Why choose section mobile responsive */
  .rs-why-choose-area {
    padding: 40px 0;
  }

  .rs-why-choose-item-wrapper {
    margin-top: 30px;
  }

  .rs-why-choose-item {
    margin-bottom: 30px;
  }

  /* Portfolio section mobile responsive */
  .rs-portfolio-area {
    padding: 40px 0;
  }

  .rs-portfolio-item {
    margin-bottom: 20px;
  }

  /* Testimonial section mobile responsive */
  .rs-testimonial-area {
    padding: 40px 0;
  }

  /* Blog section mobile responsive */
  .rs-blog-area {
    padding: 40px 0;
  }

  /* Footer mobile responsive */
  .rs-footer-area {
    padding: 40px 0 20px;
  }

  .rs-footer-widget {
    margin-bottom: 30px;
  }

  /* Contact section mobile responsive */
  .rs-contact-area {
    padding: 40px 0;
  }

  /* FAQ section mobile responsive */
  .rs-faq-area {
    padding: 40px 0;
  }

  /* Form elements mobile responsive */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Modal adjustments for mobile */
  .modal-dialog {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
}

@media (max-width: 1024px) {
 
  .main-grid,
  .verticals-grid,
  .our-verticals-section {
    display: none !important;
  }
 
  .our-brands-section{
    display: none !important;
  }

  
  /* Show mobile elements */
  .mobile-header {
    display: flex;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .mobile-hero {
    display: block;
  }
  
  .mobile-verticals {
    display: block;
  }

  .mobile-content-section {
    display: block;
  }

  /* Mobile adjustments for existing elements */
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .rs-btn {
    padding: 14px 28px;
    font-size: 14px;
    border-radius: 6px;
  }
  
  .swiper-pagination {
    bottom: 25px;
  }
  
  .swiper-pagination-bullet {
    margin: 0 6px;
  }

  /* Hide preloader on mobile for better performance */
  #pre-load {
    display: none !important;
  }

  /* Mobile typography */
  h1, h2, h3 {
    line-height: 1.2;
  }

  @media (max-width: 768px) {
  /* Hide desktop logo in mobile view */
  .col-lg-2 {
    display: none !important;
  }
}


  /* Section spacing adjustments */
  .section-space {
    padding: 40px 0;
  }

  /* Container adjustments */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* About section mobile responsive */
  .rs-about-area {
    padding: 40px 0;
  }

  .rs-about-content {
    text-align: left;
    padding: 20px 0;
  }

  /* Services section mobile responsive */
  .rs-services-area {
    padding: 40px 0;
  }

  .rs-services-slide-wrapper {
    margin-top: 30px;
  }

  /* Why choose section mobile responsive */
  .rs-why-choose-area {
    padding: 40px 0;
  }

  .rs-why-choose-item-wrapper {
    margin-top: 30px;
  }

  .rs-why-choose-item {
    margin-bottom: 30px;
  }

  /* Portfolio section mobile responsive */
  .rs-portfolio-area {
    padding: 40px 0;
  }

  .rs-portfolio-item {
    margin-bottom: 20px;
  }

  /* Testimonial section mobile responsive */
  .rs-testimonial-area {
    padding: 40px 0;
  }

  /* Blog section mobile responsive */
  .rs-blog-area {
    padding: 40px 0;
  }

  /* Footer mobile responsive */
  .rs-footer-area {
    padding: 40px 0 20px;
  }

  .rs-footer-widget {
    margin-bottom: 30px;
  }

  /* Contact section mobile responsive */
  .rs-contact-area {
    padding: 40px 0;
  }

  /* FAQ section mobile responsive */
  .rs-faq-area {
    padding: 40px 0;
  }

  /* Form elements mobile responsive */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Modal adjustments for mobile */
  .modal-dialog {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
}


@media (max-width: 480px) {
  .mobile-verticals {
    padding: 15px 15px;
  }

  .mobile-verticals-grid {
    gap: 15px;
  }
  
  .mobile-vertical-card {
    padding: 20px 12px;
    border-radius: 12px;
  }
  
  .mobile-vertical-card img {
    max-width: 70px;
  }
  
  .mobile-vertical-card strong {
    font-size: 11px;
    letter-spacing: 0.5px;
  }
  
  .mobile-verticals-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .mobile-hero .rs-banner-title {
    font-size: 30px !important;
    line-height: 1.3;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .mobile-hero .rs-banner-subtitle {
    font-size: 16px !important;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .mobile-hero .rs-banner-content {
    padding: 0 20px;
  }

  .mobile-header {
    padding: 12px 15px;
  }

  .mobile-logo img {
    height: 38px;
  }

  .animated-icon1 {
    width: 26px;
    height: 18px;
  }

  .animated-icon1 span {
    height: 2.5px;
  }

  .animated-icon1 span:nth-child(2) {
    top: 8px;
  }

  .animated-icon1 span:nth-child(3) {
    top: 16px;
  }

  .animated-icon1.open span:nth-child(1),
  .animated-icon1.open span:nth-child(3) {
    top: 9px;
  }

  .mobile-menu-overlay {
    width: 90%;
    max-width: 280px;
  }

  .mobile-menu-content {
    padding: 70px 20px 25px;
  }

  .mobile-nav-link {
    font-size: 15px;
    padding: 16px 12px;
  }

  .mobile-social-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  /* Smaller buttons on very small screens */
  .rs-btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  /* Typography adjustments */
  .mobile-section-title {
    font-size: 22px;
  }

  /* Container spacing */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 360px) {
  .mobile-verticals-title {
    font-size: 22px;
  }

  .mobile-hero .rs-banner-title {
    font-size: 22px !important;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .mobile-hero .rs-banner-subtitle {
    font-size: 14px !important;
    margin-bottom: 18px;
  }

  .mobile-hero .rs-banner-content {
    padding: 0 15px;
  }

  .mobile-vertical-card {
    padding: 15px 10px;
  }

  .mobile-vertical-card img {
    max-width: 60px;
  }

  .mobile-vertical-card strong {
    font-size: 10px;
  }

  .mobile-nav-link {
    font-size: 14px;
  }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .mobile-hero {
    min-height: 100vh;
  }

  .mobile-hero .rs-banner-title {
    font-size: 28px !important;
    margin-bottom: 15px;
  }

  .mobile-hero .rs-banner-subtitle {
    font-size: 15px !important;
    margin-bottom: 20px;
  }

  .mobile-hero .rs-banner-content {
    padding: 0 40px;
  }

  .mobile-verticals {
    padding: 30px 20px;
  }

  .mobile-verticals-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
}

/* High DPI display adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .mobile-vertical-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here if needed */
}

/* Additional Mobile Responsive Fixes */

/* Ensure proper z-index stacking */
.mobile-header {
  z-index: 1001;
}

.mobile-menu-overlay {
  z-index: 1000;
}

.mobile-backdrop {
  z-index: 999;
}

/* Smooth transitions for mobile sections */
.mobile-content-section,
.mobile-verticals,
.mobile-hero {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  
  /* * {
    max-width: 100%;
  } */
}

/* Mobile header transition effects */
.mobile-header {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
  backdrop-filter: blur(10px);
}

/* Loading states for better UX */
.mobile-vertical-card.loading {
  pointer-events: none;
}

.mobile-vertical-card.loading img {
  animation: pulse 1.5s infinite;
}

/* Enhanced focus styles for accessibility */
.mobile-nav-link:focus,
.hamburger-menu:focus,
.mobile-social-link:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .mobile-vertical-card {
    border: 2px solid #000;
  }
  
  .mobile-nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-overlay,
  .mobile-backdrop,
  .hamburger-line,
  .mobile-vertical-card,
  .mobile-nav-link,
  .rs-btn {
    transition: none !important;
    animation: none !important;
  }
  
  .mobile-hero .rs-banner-title,
  .mobile-hero .rs-banner-btn {
    animation: none !important;
  }
}

/* Print styles */
@media print {
  .mobile-header,
  .mobile-menu-overlay,
  .mobile-backdrop,
  .hamburger-menu {
    display: none !important;
  }
}

/* Landscape specific adjustments for phones */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .mobile-header {
    padding: 10px 20px;
  }
  
  .mobile-logo img {
    height: 41px;
  }
  
  .mobile-hero .rs-banner-title {
    font-size: 22px !important;
  }
  
  .mobile-verticals {
    padding: 30px 20px;
  }
}

/* Extra small devices specific styles */
@media (max-width: 320px) {
  .mobile-verticals-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .mobile-vertical-card {
    max-width: 200px;
    margin: 0 auto;
  }
  
  .mobile-menu-overlay {
    width: 95%;
  }
}
