/* Developed by Bivash Maji | https://welcometojamshedpur.in/bivumaji/ */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

:root {
  --india-accent: #FF6B2B;
  --india-gold: #FFB347;
  --abroad-accent: #1A7FD4;
  --abroad-light: #5BB8FF;
  --white: #FFFFFF;
  --logo-size: 120px;
}

html, body {
  width: 100%; height: 100vh;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

/* ── SPLIT WRAPPER ── */
.split {
  display: flex;
  width: 100%; height: 100vh;
  position: relative;
}

/* ── PANELS ── */
.panel {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.7s cubic-bezier(0.77,0,0.175,1);
}

.split:has(.panel-india:hover) .panel-india { width: 62%; }
.split:has(.panel-india:hover) .panel-abroad { width: 38%; }
.split:has(.panel-abroad:hover) .panel-abroad { width: 62%; }
.split:has(.panel-abroad:hover) .panel-india { width: 38%; }

/* Background image */
.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}

.panel:hover .panel-bg {
  transform: scale(1.18);
}

.panel-india .panel-bg {
  background-image: url('india.avif');
}
.panel-abroad .panel-bg {
  background-image: url('abroad.avif');
}

/* Overlay gradient */
.panel-overlay {
  position: absolute;
  inset: 0;
  transition: opacity 0.6s ease;
}

.panel-india .panel-overlay {
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.55) 0%,
    rgba(255,107,43,0.45) 60%,
    rgba(255,107,43,0.75) 100%
  );
}
.panel-abroad .panel-overlay {
  background: linear-gradient(
    225deg,
    rgba(0,0,0,0.55) 0%,
    rgba(26,127,212,0.45) 60%,
    rgba(26,127,212,0.75) 100%
  );
}

.panel:hover .panel-overlay {
  opacity: 0.85;
}

/* ── CONTENT BOX ── */
.panel-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 40px 60px;
  text-align: center;
}

/* India side — shift left */
.panel-india .panel-content {
  margin-right: 60px;
}
.panel-abroad .panel-content {
  margin-left: 60px;
}

/* Icon ring */
.icon-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  animation: float 4s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.panel:hover .icon-ring {
  transform: scale(1.15);
}

.panel-india .icon-ring {
  background: var(--india-accent);
  box-shadow: 0 0 0 0 rgba(255,107,43,0.6);
  animation: float 4s ease-in-out infinite, pulse-orange 3s ease-in-out infinite;
}
.panel-abroad .icon-ring {
  background: var(--abroad-accent);
  box-shadow: 0 0 0 0 rgba(26,127,212,0.6);
  animation: float 4s ease-in-out infinite, pulse-blue 3s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-orange {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,43,0); }
  50% { box-shadow: 0 0 0 18px rgba(255,107,43,0); }
}
@keyframes pulse-blue {
  0%,100% { box-shadow: 0 0 0 0 rgba(26,127,212,0); }
  50% { box-shadow: 0 0 0 18px rgba(26,127,212,0); }
}

/* Heading */
.panel-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.3s forwards;
}

.panel-india .panel-title span { color: var(--india-gold); }
.panel-abroad .panel-title span { color: var(--abroad-light); }

.panel-subtitle {
  font-size: clamp(12px, 1.2vw, 15px);
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  animation: slideUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
}

/* Features list */
.features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  animation: slideUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.6s forwards;
}
.features li {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}
.features li i {
  font-size: 10px;
}
.panel-india .features li i { color: var(--india-gold); }
.panel-abroad .features li i { color: var(--abroad-light); }

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.3px;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  opacity: 0;
  animation: slideUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.75s forwards;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-105%);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.panel-india .cta-btn::before { background: var(--india-accent); }
.panel-abroad .cta-btn::before { background: var(--abroad-accent); }

.cta-btn:hover::before { transform: translateX(0); }
.cta-btn:hover { border-color: transparent; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.cta-btn span, .cta-btn i { position: relative; z-index: 1; }
.cta-btn i { transition: transform 0.3s ease; }
.cta-btn:hover i { transform: translateX(5px); }

/* ── DIVIDER LINE ── */
.divider {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0.15) 80%,
    transparent
  );
  z-index: 10;
  transform: translateX(-50%);
  transition: left 0.7s cubic-bezier(0.77,0,0.175,1);
  pointer-events: none;
}

/* ── CENTER LOGO ── */
.center-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: none;
  animation: logoIn 1.2s cubic-bezier(0.34,1.56,0.64,1) 0.2s both;
}

@keyframes logoIn {
  from { opacity: 0; transform: translate(-50%,-50%) scale(0.5); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}

.logo-badge {
  width: var(--logo-size);
  height: var(--logo-size);
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35), 0 0 0 4px rgba(255,255,255,0.25);
  padding: 2px;
  text-align: center;
  overflow: hidden;
}

.center-logo .logo-badge img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* .logo-badge .logo-icon {
  font-size: 28px;
  background: linear-gradient(135deg, var(--india-accent), var(--abroad-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2px;
}

.logo-badge .logo-text-main {
  font-family: 'Playfair Display', serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  color: #222;
  letter-spacing: 0.5px;
}
.logo-badge .logo-text-sub {
  font-size: 7.5px;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
} */

/* ── MAINTENANCE POPUP ── */
.maintenance {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  animation: popIn 0.6s cubic-bezier(0.34,1.56,0.64,1) 1.5s both;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.maintenance-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  max-width: 320px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  border-left: 4px solid var(--india-accent);
  font-family: 'DM Sans', sans-serif;
}

.maintenance-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--india-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.maintenance-body {
  font-size: 12.5px;
  color: #444;
  line-height: 1.6;
}

.maintenance-phone {
  margin-top: 8px;
  font-weight: 600;
  color: #222;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.maintenance-phone i { color: var(--abroad-accent); }

.close-btn {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s;
}
.close-btn:hover { color: #333; }

/* ── PARTICLES ── */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: drift linear infinite;
}

@keyframes drift {
  0% { opacity: 0; transform: translateY(100%) translateX(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-100vh) translateX(30px); }
}

/* ── RIPPLE ── */
.ripple-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnim 0.8s ease-out forwards;
  pointer-events: none;
}
.panel-india .ripple { background: rgba(255,107,43,0.25); }
.panel-abroad .ripple { background: rgba(26,127,212,0.25); }

@keyframes rippleAnim {
  to { transform: scale(6); opacity: 0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    :root {--logo-size: 60px; /* smaller logo for mobile */}
    html, body { overflow: auto; }
    .split { flex-direction: column; height: auto; }
    .panel { width: 100% !important; min-height: 50vh; }
    .panel-india .panel-content,
    .panel-abroad .panel-content { margin: 0; }
    .divider { left: 0; right: 0; top: 50%; bottom: auto; width: 100%; height: 2px; }
    .center-logo { top: 50%; }
    .split:has(.panel-india:hover) .panel-india,
    .split:has(.panel-abroad:hover) .panel-abroad { width: 100%; }
    .maintenance { left: 12px; right: 12px; bottom: 12px; }
    .maintenance-card { max-width: 100%; }
}
/* Developed by Bivash Maji | https://welcometojamshedpur.in/bivumaji/ */