/* ========================================
   Vantage International Holding - Main Styles
   ======================================== */

/* CSS Variables */
:root {
  --primary: #0bbeba;
  --primary-dark: #099d99;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #1a1a2e;
  --secondary: #f8fafa;
  --secondary-foreground: #1a1a2e;
  --muted: #f1f5f5;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --radius: 0.75rem;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

li {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0D0D0D33;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: #0D0D0D33;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  height: 80px;
}

.navbar-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  gap: 11px;
  align-items: center;
  margin-right: 54px;
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 35px;
  margin-right: 239px;
}

.navbar .nav-li.active a svg path{stroke: var(--primary);}

.navbar .container{max-width: 1348px;}
.navbar-nav a svg{transition: all 0.3s ease;}
.navbar-nav li:hover svg{transform: rotate(180deg);}
.navbar-nav li:hover svg path{stroke: var(--primary);}
.navbar-nav li:hover a{color: var(--primary);}
.navbar .nav-li.active a{color: var(--primary);}
.sub-menu { position: absolute; top: 70%; left: 50%; transform: translateX(-50%) translateY(15px); background-color: var(--primary); min-width: 300px; list-style: none; border-radius: 8px; padding: 15px 0; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); z-index: 99; text-align: left;}
.sub-menu::before { content: ''; position: absolute; top: -10px; left: 0; width: 100%; height: 20px; }
.navbar-nav li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(5px); }
.sub-menu li a { display: block; padding: 12px 25px; color: #FFFFFF; font-size: 16px; text-decoration: none; line-height: 1.4; transition: all 0.3s ease; white-space: nowrap; }
.navbar-nav li:hover .sub-menu a{color: #FFFFFF;}
.sub-menu li a:hover { background-color: rgba(255, 255, 255, 0.1); color: #FFFFFF; padding-left: 32px; }

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu li{
  /* padding: 12px; */
  position: relative;
  /* border-bottom: 1px solid var(--border); */
}
.mobile-menu li:last-child{border-bottom: 0;}

.mobile-menu li .dropdown{
  width: 60px;
  position: absolute;
    top: 10px;
    right: 0;
    text-align: center;
    cursor: pointer;
}

.mobile-menu li svg {
    transition: all 0.3s ease;
}

.mobile-menu li .dropdown.active svg{
  transform: rotate(180deg);
}

.mobile-menu a {
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  transition: color 0.2s ease;
  display: flex;
  padding: 12px;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
  padding: 0.875rem;
}

.mobile-menu .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; display: none; background-color: rgba(0, 0, 0, 0.2); box-shadow: none; min-width: 100%; padding: 0; border-radius: 0; overflow: hidden;transition: max-height 0.3s ease;max-height: 500px;}
/* .mobile-menu .sub-menu li{padding: 12px 0;} */
.mobile-menu .sub-menu li a{padding: 12px;font-size: 14px;}
.mobile-menu .sub-menu li a:hover{background: unset;color: var(--primary);}
.mobile-menu-btn .menu-icon{display: block;}
.mobile-menu-btn .close-icon{display: none;}
.mobile-menu-btn.open .close-icon{display: block;}
.mobile-menu-btn.open .menu-icon{display: none;}

@media (max-width: 1440px) {
  .navbar-inner{justify-content: space-between;}
  .navbar-logo{font-size: 16px;margin-right: 0;}
  .navbar-nav{margin-right: 0;}
}

@media (max-width: 510px) {
  .navbar-inner{height: 50px;}
  .navbar-logo{font-size: 12px;}
  .mobile-menu{top: 50px;}
}

@media (min-width: 1024px) {
  .navbar-nav {
    display: flex;
  }
}

.navbar-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #FFFFFF;
  /* transition: color 0.2s ease; */
  line-height: 23px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* .navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary);
} */

.navbar-cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-cta {
    display: block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1.5rem;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 10px 20px rgba(11, 190, 186, 0.3);
}

.btn-primary-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  padding: 0.875rem 2rem;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 0.75rem 2rem;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}



/* home */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-home {
  min-height: 750px;
}

.hero-medium {
  min-height: 600px;
}

.hero-small {
  min-height: 500px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.hero-pattern .circle {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-pattern .circle-1 {
  top: 80px;
  left: 40px;
  width: 288px;
  height: 288px;
}

.hero-pattern .circle-2 {
  bottom: 80px;
  right: 40px;
  width: 384px;
  height: 384px;
}

.hero-pattern .circle-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 8rem 1rem;
  width: 100%;
}

.hero-content.center {
  text-align: center;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  max-width: 48rem;
  line-height: 1.7;
}

.hero-content.center p {
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}
 .cta-banner {
    overflow: hidden;
    padding: 5rem 0;
    background: url(/wp-content/themes/vihsey/images/home-row4-bg.webp?v=2) left top no-repeat;
    background-size: cover;
  }

.cta-banner-content {
    text-align: center;
  }

  .cta-banner h2 {
    color: #ffffff;
    margin-bottom: 1rem;
  }

  .cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
  }

@media (min-width: 1024px) {
  .cta-banner {
    padding: 7rem 0;
  }
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (max-width: 1240px) {
    .hero h1{font-size: 28px;}
    .hero p{font-size: 18px;line-height: 26px;}
  }
@media (max-width: 1024px) {
    h2{font-size: 22px;}
    h3{font-size: 18px;}
}
@media (max-width: 510px) {
  .cta-banner p{font-size: 16px;line-height: 22px;}
}

.hero-text-container {
  max-width: 48rem;
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 7rem 0;
  }
}

.section-primary {
  background-color: var(--primary);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .grid-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
}

/* Cards */
.card {
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.card-secondary {
  background-color: var(--secondary);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background-color: rgba(11, 190, 186, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

/* .card:hover .card-icon {
  background-color: rgba(11, 190, 186, 0.2);
} */

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.card h3 {
  margin-bottom: 1rem;
}

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

.card-center .card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
}

.card-center .card-icon svg {
  width: 32px;
  height: 32px;
}

/* Image Boxes */
.image-box {
  aspect-ratio: 4/3;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(11, 190, 186, 0.1), rgba(11, 190, 186, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.image-box:hover {
  transform: scale(1.02);
}

.image-box-content {
  text-align: center;
  padding: 2rem;
}

.image-box-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  background-color: rgba(11, 190, 186, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-box-icon svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.image-box-content span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

/* Links */
.link-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.link-arrow:hover {
  color: var(--primary-dark);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.link-arrow.primary{background-color: var(--primary);color: var(--primary-foreground);font-size: 14px;line-height: 23px;padding: 14px 20px 14px 16px;border-radius: 12px;}
.link-arrow.primary:hover{background-color: var(--primary-dark);box-shadow: 0 10px 20px rgba(11, 190, 186, 0.3);}

/* Service Lists */
.service-list {
  background-color: rgba(248, 250, 250, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 24px;
  margin-bottom: 36px;
}

.section-secondary .service-list {
  background-color: var(--background);
}

.service-list h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-list-grid.cols-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .service-list-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-list-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background-color: rgba(11, 190, 186, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.service-item span {
  font-size: 0.875rem;
  color: var(--foreground);
}

.service-item-sm .service-item-icon {
  width: 32px;
  height: 32px;
}

.service-item-sm .service-item-icon svg {
  width: 16px;
  height: 16px;
}

/* Steps */
.step-card {
  position: relative;
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.step-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card-content {
  padding-top: 1rem;
}

.step-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background-color: rgba(11, 190, 186, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

/* .step-card:hover .step-card-icon {
  background-color: rgba(11, 190, 186, 0.2);
} */

.step-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.875rem;
}

/* Disclaimer Box */
.disclaimer-box {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
}

.disclaimer-box p {
  font-size: 0.75rem;
  line-height: 1.6;
}


/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--foreground);
  color: #ffffff;
  padding: 3rem 0;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links .separator {
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Animations
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

.animate-delay-4 {
  transition-delay: 0.4s;
}

/* ========================================
   Responsive Utilities
   ======================================== */
.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

@media (min-width: 1024px) {
  .lg-order-1 {
    order: 1;
  }
  
  .lg-order-2 {
    order: 2;
  }
}

/* Scroll margin for anchor links */
[id] {
  scroll-margin-top: 100px;
}
