/* Custom styles for SNT Overseas website */

/* Font Family */
* {
  font-family: "Poppins", sans-serif;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animation classes */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Updated gradient backgrounds to be lighter and more vibrant */
/* Updated professional color scheme for consistency across all pages */
/* Updated gradient backgrounds to use consistent professional colors */
.gradient-blue {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.gradient-green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.gradient-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.gradient-orange {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

/* Custom hover effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Button animations */
.btn-animate {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-animate::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;
}

.btn-animate:hover::before {
  left: 100%;
}

/* Updated scrollbar colors to be lighter */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #60a5fa;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Navigation hover effects */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #60a5fa;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Service card animations */
.service-card {
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

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

.img-loaded {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

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

/* Responsive utilities */
@media (max-width: 768px) {
  .mobile-hidden {
    display: none;
  }

  .mobile-full {
    width: 100%;
  }

  .mobile-center {
    text-align: center;
  }
}

/* Custom focus styles */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

/* Updated text gradient to lighter colors */
.text-gradient {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Icon animations */
.icon-bounce:hover {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* WhatsApp button pulse effect */
.whatsapp-pulse {
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none;
  }

  body {
    color: black;
    background: white;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .auto-dark {
    background-color: #1f2937;
    color: #f9fafb;
  }
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .high-contrast {
    border: 2px solid;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Z-index utilities for proper layering */
.z-0 {
  z-index: 0;
}
.z-5 {
  z-index: 5;
}

/* Updated hero background with 45% masking and improved mobile compatibility */
/* Updated hero backgrounds with consistent professional styling and better mobile support */
/* Updated hero background with professional dark overlay and improved mobile compatibility */
.hero-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("/assets/images/hero-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Mobile optimization for hero backgrounds */
@media (max-width: 768px) {
  .hero-bg,
  .hero-student-bg,
  .hero-visitor-bg,
  .hero-business-bg,
  .hero-work-bg {
    background-attachment: scroll;
    min-height: 80vh;
  }
}

/* Updated service card background images with 45% masking */
/* Updated service card background images with consistent professional overlay */
.service-student-bg {
  background-image: linear-gradient(rgba(37, 99, 235, 0.8), rgba(37, 99, 235, 0.8)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
}

.service-visitor-bg {
  background-image: linear-gradient(rgba(37, 99, 235, 0.8), rgba(37, 99, 235, 0.8)),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
}

.service-business-bg {
  background-image: linear-gradient(rgba(37, 99, 235, 0.8), rgba(37, 99, 235, 0.8)),
    url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
}

.service-work-bg {
  background-image: linear-gradient(rgba(37, 99, 235, 0.8), rgba(37, 99, 235, 0.8)),
    url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
}

/* Updated individual hero backgrounds for visa pages with 45% masking */
/* Updated individual hero backgrounds for visa pages with consistent professional styling */
.hero-student-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

.hero-visitor-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

.hero-business-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("/assets//images/tour-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

.hero-work-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Enhanced logo styling for better visibility */
.logo-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: -30px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: brightness(1.1) contrast(1.1);
}

/* Lazy loading placeholder */
.img-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}






.main-galary-section {
  padding: 0px 0px 100px 0px;
}
.main-galary-section.domestic-galary {
  padding: 100px 0px;
}

.truva-container {
  width: 90%;
  margin: 0 auto;
}

.gallery {
  columns: 3;
  column-gap: 1.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .gallery {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .gallery {
    columns: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: calc(var(--delay) * 0.2s);
  animation-play-state: paused;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 14, 17, 0.9), transparent);
  padding: 2rem 1.5rem;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.overlay h2 {
  font-size: var(--font-24px);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.overlay p {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}



.international-main .invest-grey-round {
  visibility: hidden;
  height: 10px;
  width: 10px;
  margin-top: -25px;
}

.international-main .visa-card {
  padding: 100px 0px;
}
.international-main .visamain-image {
  border-radius: 25px 25px 0px 0px;
}
.international-main .serviceinner-card-details h3 {
  margin-top: 0;
  margin-bottom: 10px;
}
.international-main .serviceinner-card-details p {
  margin-bottom: 30px;
  height: 55px;
}
.ourservice-inner-card-data:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.truva-container {
  width: 90%;
  margin: 0 auto;
}

.visa-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 40px;
  align-items: stretch;
  margin: 0 auto;
}

.ourservice-inner-card-data {
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.visamain-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.serviceinner-card-details {
  background: #fff;
  padding: 0px 30px 30px 30px;
  border-radius: 0 0 20px 20px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.serviceinner-card-details button {
  border: none;
  background: none;
}

.serviceinner-card-details h3 {
  font-size: 28px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
  margin-top: 20px;
  line-height: 1.2;
}
.serviceinner-card-details p {
  font-size: 16px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.common-card .serviceinner-card-details h3 {
  margin-top: 0;
}

.invest-grey-round {
  background: #fff;
 
  /* border-radius: 50%; */
  padding: 10px;
  /* height: 110px;
  width: 110px; */

  /* margin-top: -70px;
  position: relative;
  object-fit: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 5px blue; */
}

@media only screen and (max-width: 1679px) {
  .visa-card {
    grid-gap: 35px;
  }
}
@media only screen and (max-width: 1199px) {
  .visa-card {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
  }

  .visamain-image {
    width: 100%;
    height: 300px;
  }

  .serviceinner-card-details h3 {
    font-size: 24px;
  }

  .serviceinner-card-details p {
    font-size: 15px;
  }
}

@media only screen and (max-width: 800px) {
  .international-main .visa-card {
    padding: 60px 0px;
  }
}

@media only screen and (max-width: 767px) {
  .visa-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 25px;
  }

  .visamain-image {
    width: 100%;
    height: 280px;
  }

  .serviceinner-card-details {
    padding: 0px 20px 20px 20px;
    min-height: 150px;
  }

  .serviceinner-card-details h3 {
    font-size: 22px;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .serviceinner-card-details p {
    font-size: 14px;
    line-height: 1.5;
  }
}
