/* Modern CSS Enhancements for Mobileware Website */

/* Body padding for fixed header */
body {
  padding-top: 80px; /* Adjust based on your header height */
}

/* Enhanced Header & Navigation */
#header {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(69, 145, 237, 0.1);
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transform: none !important; /* Prevent any transform changes */
}

#header.sticky {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo img {
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Modern Navigation Enhancements */
.business1-menu > ul > li > a {
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}

.business1-menu > ul > li > a:hover {
  color: var(--primary-color);
  font-size: 1.05em;
  font-weight: 600;
}

.business1-menu > ul > li > a:active {
  color: #2d5a8b;
  font-size: 1.02em;
}

/* Enhanced Dropdown Menus */
.business1-menu > ul > li > ul {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(69, 145, 237, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.business1-menu > ul > li:hover > ul {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.business1-menu > ul > li > ul > li > a {
  padding: 12px 20px;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 2px 8px;
}

.business1-menu > ul > li > ul > li > a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

/* Modern Toggle Menu */
.toggleMenu {
  background: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.toggleMenu:hover {
  background: var(--primary-color);
  color: white;
}

.toggleMenu .icon-bar {
  transition: all 0.3s ease;
}

/* Enhanced Slider */
.slider {
  position: relative;
  overflow: hidden;
}

.slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(69, 145, 237, 0.1) 0%, rgba(44, 119, 211, 0.1) 100%);
  z-index: 1;
}

.tp-banner-container {
  position: relative;
  z-index: 2;
}

/* Modern Content Sections */
.block {
  position: relative;
  overflow: hidden;
}

.block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(69, 145, 237, 0.02) 0%, rgba(44, 119, 211, 0.02) 100%);
  z-index: -1;
}

/* Enhanced Cards */
.our-cases-box {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(69, 145, 237, 0.1);
  overflow: hidden;
}

.our-cases-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(69, 145, 237, 0.15);
  border-color: var(--primary-color);
}

.our-cases-box > span {
  overflow: hidden;
  border-radius: 12px;
}

.our-cases-box > span > img {
  transition: transform 0.4s ease;
}

.our-cases-box:hover > span > img {
  transform: scale(1.1);
}

.our-cases-box h3 {
  color: var(--text-primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.our-cases-box:hover h3 {
  color: var(--primary-color);
}

/* Modern Buttons */
.our-cases-box > a {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.our-cases-box > a::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.5s ease;
}

.our-cases-box > a:hover::before {
  left: 100%;
}

.our-cases-box > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(69, 145, 237, 0.3);
}

/* Enhanced Testimonials */
.testimonial-sec li {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(69, 145, 237, 0.1);
}

.testimonial-sec li:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(69, 145, 237, 0.15);
}

.testimonial-sec li > span > img {
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.testimonial-sec li:hover > span > img {
  transform: scale(1.1);
  border-color: var(--primary-dark);
}

/* Modern Footer */
footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1b1d 100%);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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="50" cy="50" r="1" fill="rgba(69, 145, 237, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

footer .container {
  position: relative;
  z-index: 2;
}

/* Enhanced Form Elements */
.input-style {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  background: white;
}

.input-style:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(69, 145, 237, 0.1);
  transform: translateY(-2px);
}

.submit {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: 12px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit::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.5s ease;
}

.submit:hover::before {
  left: 100%;
}

.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(69, 145, 237, 0.3);
}

/* Modern Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-slide-up {
  animation: slideInUp 0.6s ease-out;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .business1-menu > ul > li > ul {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  
  .business1-menu > ul > li > ul > li > a {
    padding: 8px 15px;
    margin: 0;
    border-radius: 0;
  }
  
  .our-cases-box {
    margin-bottom: 2rem;
  }
  
  .testimonial-sec li {
    margin-bottom: 2rem;
  }
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 5px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
}

/* Enhanced Focus States */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Modern Loading States */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern Grid Layout */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

/* Enhanced Social Media Icons */
.social-networkb li {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-networkb li:hover {
  transform: translateX(-5px);
  box-shadow: 0 8px 25px rgba(69, 145, 237, 0.3);
}

/* Modern Image Hover Effects */
.image-hover {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.image-hover img {
  transition: transform 0.4s ease;
}

.image-hover:hover img {
  transform: scale(1.1);
}

.image-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(69, 145, 237, 0.2) 0%, rgba(44, 119, 211, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-hover:hover::after {
  opacity: 1;
} 