/* Navtra Visas - Main Stylesheet */

:root {
  /* Color Palette */
  --primary: #0056b3;      /* Professional Blue */
  --primary-dark: #003d7a; /* Darker Blue for hover states */
  --secondary: #f8f9fa;    /* Light Grey/White */
  --accent: #d4af37;       /* Gold accent */
  --text-dark: #333333;    /* Dark text */
  --text-light: #ffffff;   /* Light text */
  --text-muted: #6c757d;   /* Muted text */
  --border-color: #dee2e6; /* Border color */
  --success: #28a745;      /* Success color */
  --warning: #ffc107;      /* Warning color */
  --danger: #dc3545;       /* Danger color */
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Box Shadow */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light) !important;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: #c09c30; /* Darker gold */
  border-color: #c09c30;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.25rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--text-light);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item {
  margin-left: var(--spacing-lg);
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding: 0.75rem 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: var(--spacing-lg);
}

.mobile-toggle {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 6rem 1rem 5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-light);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/image.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* Improve CTA contrast inside hero */
.hero .btn-outline {
  color: var(--text-light);
  border-color: var(--text-light);
}

.hero .btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary) !important;
}

/* WhatsApp Float - global */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100 !important; /* above fixed header */
}

.whatsapp-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease;
}

.whatsapp-float a:hover {
  transform: scale(1.08);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease forwards;
}

.btn {
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: #fff;
  color: var(--accent);
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid #0000A0;
  color: #0000A0;
}

.btn-outline:hover {
  background: #0000A0;
  color: var(--text-light);
  transform: scale(1.05);
}

.hero-trust {
  margin-top: 2rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
  gap: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.trust-badge i {
  font-size: 1.8rem;
  color: var(--accent);
}

.trust-badge:hover {
  transform: translateY(-5px);
  color: #fff;
}

.hero-highlights {
  margin-top: 4rem;
}

.highlights-strip {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  width: 300px;
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
}

.highlight-item:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255, 255, 255, 0.2);
}

.highlight-icon i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.highlight-item:hover .highlight-icon i {
  transform: rotate(10deg) scale(1.1);
}

.highlight-text h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.highlight-text p {
  opacity: 0.85;
  font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .highlight-item {
    width: 100%;
    max-width: 350px;
  }
}


/* Services Section */
.services {
  padding: var(--spacing-xxl) 0;
  background-color: var(--secondary);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.section-title p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.service-card {
  background-color: var(--text-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--primary);
  transition: height 0.3s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.service-description {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.services-cta {
  text-align: center;
  margin-top: var(--spacing-xl);
}

/* About Section */
.about {
  padding: var(--spacing-xxl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.about-content p {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
}

.about-features {
  margin-top: var(--spacing-lg);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.feature-icon {
  color: var(--primary);
  font-size: 1.5rem;
  margin-right: var(--spacing-sm);
}

.feature-text {
  flex: 1;
}

.feature-text h4 {
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.feature-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Testimonials Section */
/* --- Base Styles (Mobile-First Approach) --- */

.testimonials {
    padding: 60px 20px; /* Slightly less padding for mobile */
    background: linear-gradient(135deg, #f4f7fc, #ffffff);
    text-align: center;
}

.section-title h2 {
    font-size: 1.8rem; /* Smaller title for mobile */
    font-weight: 700;
    color: #0a2a43;
    margin-bottom: 10px;
}

.section-title p {
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px; /* Add margin-bottom here */
}

/* Slider container */
.testimonials-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* Optional: Add some constraints if needed */
    max-width: 1200px; 
    margin: 0 auto;
}

/* Track (slides container) */
.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Adjusted transition time */
    padding: 0 10px; /* Small padding so the side slides peek (optional) */
}

/* --- Individual Testimonial Card Styling --- */

.testimonial-slide {
    flex: 0 0 100%; /* Default: One slide takes up 100% width (Full screen on mobile) */
    padding: 30px;
    margin: 0 10px; /* Spacing between slides */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
    box-sizing: border-box; /* Important for padding/margins */
}

.testimonial-quote {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #0a2a43; /* Accent color border */
}

.testimonial-name {
    font-weight: 700;
    color: #0a2a43;
    margin-bottom: 3px;
    font-size: 1rem;
}

.testimonial-title {
    color: #777;
    font-size: 0.9rem;
}

/* --- Desktop/Tablet Alignment and Responsiveness --- */

/* Tablet and larger screens (e.g., 768px and up) */
@media (min-width: 768px) {
    .testimonials {
        padding: 80px 40px;
    }
    
    .section-title h2 {
        font-size: 2.2rem; /* Desktop size */
    }

    /* Show two slides at a time */
    .testimonial-slide {
        flex: 0 0 calc(50% - 20px); /* 50% width minus the total margin (10px on each side = 20px) */
    }
}

/* Large Desktop screens (e.g., 1024px and up) */
@media (min-width: 1024px) {
    /* Show three slides at a time */
    .testimonial-slide {
        flex: 0 0 calc(33.333% - 20px); /* 33.333% width minus the total margin */
    }
}

/* Each testimonial card */
.testimonial-card {
  flex: 0 0 100%;
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 35px 25px;
  margin: 0 10px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 32px rgba(0, 102, 204, 0.2);
}

.testimonial-text {
  font-style: italic;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #0066cc;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .author-image {
  transform: scale(1.1);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: #0a2a43;
}

.author-info p {
  color: #777;
  font-size: 0.9rem;
}

/* CTA Button */
.testimonials-cta {
  margin-top: 50px;
}

.btn.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #0066cc;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.btn-primary:hover {
  background: #004999;
  transform: scale(1.05);
}




/* Assessment Form Section */
.assessment {
  padding: var(--spacing-xxl) 0;
  background-color: var(--text-light);
}

.assessment-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--text-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--text-light);
  transition: border-color 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.form-check-input {
  margin-right: var(--spacing-sm);
}

.form-check-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}



/* CTA Section */
.cta {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.cta-text {
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

/* Improve CTA outline button contrast on blue background */
.cta .btn-outline {
  color: var(--text-light);
  border-color: var(--text-light);
}

.cta .btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary) !important;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: var(--text-light);
  padding: var(--spacing-xxl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.footer-logo span {
  color: var(--accent);
}

.footer-about p {
  color: #a0a0a0;
  margin-bottom: var(--spacing-md);
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-light);
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: #a0a0a0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
}

.contact-icon {
  color: var(--primary);
  margin-right: var(--spacing-sm);
  font-size: 1.25rem;
}

.contact-text {
  color: #a0a0a0;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  color: var(--text-light);
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: var(--spacing-md);
  text-align: center;
  color: #a0a0a0;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-image {
    opacity: 0.5;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: 1;
    margin-top: var(--spacing-lg);
  }
  
  .about-content {
    order: 0;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--text-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem var(--spacing-lg) var(--spacing-lg);
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: var(--spacing-sm) 0;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: var(--spacing-sm) 0;
  }
  
  .mobile-toggle {
    display: block;
    z-index: 1002;
  }
  
  .hero {
    padding: 7rem 0 4rem;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .testimonial-card {
    padding: var(--spacing-lg);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.fade-in-delay-1 {
  animation: fadeIn 0.5s ease 0.1s forwards;
  opacity: 0;
}

.fade-in-delay-2 {
  animation: fadeIn 0.5s ease 0.2s forwards;
  opacity: 0;
}

.fade-in-delay-3 {
  animation: fadeIn 0.5s ease 0.3s forwards;
  opacity: 0;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}