/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    overflow-x: hidden;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  padding: 8px 0;
  animation: ticker 15s linear infinite;
  font-size: 1rem;
  font-weight: 600;
  color: #1e40af;
  vertical-align: middle;
}

@keyframes ticker {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.main-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    min-height: 20vh;
    display: flex;
    align-items: center;
    position: relative !important;
    z-index: 100 !important;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #475569;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    height: 38px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 1px solid transparent;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #c8e9ff 0%, #e0f2fe 50%, #a9ddfa 100%);
    color: #059669;
}

/* smalll */
.btn-small {
    padding: 8px 16px;
    /* font-size: 0.875rem; */
    font-size:14px;
    

    height: 42px;
}


.play-icon {
    width: 16px;
    height: 16px;
}

/* Stats Section */
.stats {
    padding: 60px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    flex: 1 1 250px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-label {
    color: #64748b;
    font-size: clamp(1rem, 2vw, 1.875rem);
    margin-bottom: 8px;
}

.stat-value {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1e293b;
}

.stat-value.green {
    color: #059669;
}

/* Quick Apply Form */
.apply-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #cbd5e1;
    padding: 8px 0;
    color: #1e293b;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    border-bottom-color: #2563eb;
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-icon {
    width: 24px;
    height: 24px;
    background: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon svg {
    width: 14px;
    height: 14px;
    color: white;
}

.status-text {
    color: #1e40af;
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: #2563eb;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    animation: pulse-glow-blue 1.5s infinite alternate;
    background: rgba(37, 99, 235, 0.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.feature-title {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 48px;
    color: #1e40af;
}

.process-flow {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    align-items: center;
}

.process-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.process-icon svg {
    width: 32px;
    height: 32px;
    color: #2563eb;
}

.process-connector {
    width: 32px;
    height: 1px;
    background: #cbd5e1;
    margin: 0 16px;
}

.process-labels {
    display: inline-flex;
    gap: 45px;
    flex-wrap: wrap;
}

.process-label h3 {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    line-height: 1.4;
    font-family: inherit;
    color: #0d51bf;
    margin: 0 0 8px 0;
}

/* Top-level menu links */
.center-nav .nav-links > .dropdown > a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.center-nav .nav-links > .dropdown > a:hover {
    color: #059669;
}

.center-nav .nav-links .dropdown-menu li a,
.center-nav .nav-links .sub-dropdown-menu li a {
    color: #1e40af;
    max-height: none;
    overflow-y: auto;
    padding: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.center-nav .nav-links .dropdown-menu li a:hover,
.center-nav .nav-links .sub-dropdown-menu li a:hover {
    color: #059669;
    min-height: 40px;
}

/* Setup Section */
.setup-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
}

.nav-links a {
  color: #1e40af;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

/* Header with Gradient */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: linear-gradient(135deg, #c8e9ff 0%, #e0f2fe 50%, #a9ddfa 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-left img.logo {
  height: clamp(50px, 10vw, 80px);
  width: auto;
}

.header-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    background: transparent;
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #1e40af;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-left .logo {
  height: clamp(50px, 10vw, 70px);
  width: auto;
}

.header-center {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  align-items: center;
  flex: 1;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 8px 20px;
}

.header-right .di-logo {
  height: clamp(35px, 8vw, 50px);
  width: auto;
}

.center-nav {
  display: flex;
  gap: 40px;
  justify-content: flex-end;
  width: auto;
  margin-top: 8px;
  padding-right: 20px;
}

.center-nav a {
  color: #1e40af;
  text-decoration: none;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  transition: color 0.3s ease;
}

.center-nav a:hover {
  color: #0891b2;
}

.center-nav a[href="#notifications-card"] {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  padding-top: 2px;
}

.center-nav a[href="#notifications-card"] svg {
  fill: #f59e0b;
  stroke: none;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  display: block;
}

.center-nav a[href="#notifications-card"] svg circle {
  fill: #2563eb;
  stroke: #fff;
  stroke-width: 1;
}

.center-nav a[href="#notifications-card"] svg text {
  fill: #fff;
  font-weight: 700;
  font-size: 4px;
}

.center-nav a svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.center-nav a:hover svg {
  filter: drop-shadow(0 0 6px rgba(8, 145, 178, 0.4));
}

.center-nav a[href="#notifications-card"] svg circle {
  fill: #0891b2;
  stroke: #fff;
  stroke-width: 1.5;
}

.center-nav a[href="#notifications-card"] svg text {
  fill: #fff;
  font-weight: 700;
  font-size: 4px;
}

.header-left .ticker-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
}

.header-left .ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 10s linear infinite;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 600;
    color: #1e40af;
}

@keyframes move-text {
  0% { transform: translateX(100%); }
  50% { transform: translateX(-50%); }
  100% { transform: translateX(100%); }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header .logo {
  height: clamp(40px, 8vw, 60px);
  width: auto;
}

.site-title {
  text-align: center;
  flex: 1;
  font-size: clamp(1rem, 3vw, 22px);
  font-weight: 700;
  color: #1e40af;
}

.right-logo .di-logo {
  height: clamp(40px, 8vw, 60px);
  width: auto;
}

.hero {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 120px;
  position: relative !important;
  z-index: 100 !important;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #475569;
  margin-bottom: 20px;
  max-width: 700px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

.hero button {
  padding: 12px 28px;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  border: none;
  border-radius: 6px;
  background: linear-gradient(90deg, #2563eb, #0891b2);
  color: #fff;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}

.video-container {
    background: #1e40af;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 27, 49, 0.8);
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    position: relative;
}

.play-button {
    width: 64px;
    height: 64px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background: #1d4ed8;
}

.play-button svg {
    width: 24px;
    height: 24px;
    color: white;
    margin-left: 2px;
}

/* Warning Section */
.warning {
    padding: 40px 0;
}

.warning-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.warning-icon {
    width: 24px;
    height: 24px;
    color: #f59e0b;
}

.warning-content p {
    color: #64748b;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    background-color: #2b4a78;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-logo {
  max-height: 45px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-right .footer-logo {
  max-height: 40px;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #1e293b;
}

.digital-india {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-style: italic;
}

.digital-india-icon {
    width: 32px;
    height: 32px;
    background: #2563eb;
    border-radius: 50%;
    position: relative;
}

.digital-india-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
}

/* Dropdown container */
.nav-links li {
    position: relative;
}

.nav-links li a {
  text-decoration: none;
  color: #1e40af;
  font-weight: 500;
  padding: 8px 12px;
}

.nav-links li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(248, 250, 252, 0.98);
    padding: 0;
    border-radius: 8px;
    min-width: 250px;
    z-index: 1000;
    max-height: 600px;
    max-width: 90vw;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-links li:hover > .dropdown-menu {
    display: block;
    right: 0;
    left: auto;
}

.sub-dropdown {
    position: relative;
}

.sub-dropdown-menu {
    display: block !important;
    position: relative !important;
    margin: 5px 0 0 0;
    top: 0;
    left: 0%;
    background: rgba(241, 245, 249, 0.98);
    padding: 16px;
    border-radius: 8px;
    min-width: 350px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
}

.sub-dropdown-menu li a {
    display: block;
    padding: 8px 12px;
    color: #1e40af;
    text-decoration: none;
}

.sub-dropdown-menu li a:hover {
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 4px;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    position: relative;
}

.dropdown-menu li a:hover {
    background: rgba(37, 99, 235, 0.1);
}

.sub-dropdown-menu p {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word;
}

.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  background: transparent;
  position: relative;
}

.dropdown-menu::-webkit-scrollbar,
.sub-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb,
.sub-dropdown-menu::-webkit-scrollbar-thumb {
    background-color: rgba(37, 99, 235, 0.3);
    border-radius: 3px;
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

#back-to-top::before {
    content: "⬆";
    font-size: 42px;
    line-height: 1;
}

#back-to-top:hover {
    background-color: #1d4ed8;
    transform: scale(1.1);
}

.stat-card.quick-apply {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.stat-card.quick-apply .stat-label {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

.stat-card.quick-apply .apply-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.stat-card.quick-apply .btn {
    min-width: 140px;
}

.stat-card.quick-apply .btn-small {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    height: 45px;
    line-height: 45px;
    font-size: 14px;
    border-radius: 8px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 24px;
}

.stat-card .stat-label {
    color: #1e40af;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.stat-card.status-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.stat-card.status-box .stat-label {
    color: #1e293b;
    font-size: 0.875rem;
    text-align: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-icon {
    width: 24px;
    height: 24px;
    background: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-text {
    color: #1e40af;
    font-weight: 600;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sub-dropdown-menu li p {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 400px;
  padding: 15px;
  background: rgba(248, 250, 252, 0.98);
  color: #1e293b;
  font-size: 0.9rem;
  line-height: 1.4;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999;
  white-space: normal;
}

.sub-dropdown:hover .sub-dropdown-menu li p {
  display: block;
}

.sub-dropdown:hover .sub-dropdown-menu li p {
  opacity: 1;
  transform: translateY(0);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  z-index: 999;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: #2563eb;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 4px 8px;
}

.dropdown-content a:hover {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

/* Card container */
.stat-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    color: #1e293b;
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

#statCard1::before {
    background-image: url("assets/img/access.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#statCard2::before {
    background-image: url("assets/img/cloud.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#statCard3::before {
    background-image: url("assets/img/globe.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

.service-item {
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 12px 0;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.service-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.service-header h4 {
    flex-grow: 1;
    margin: 0;
    font-size: clamp(0.875rem, 2vw, 16px);
}

.expand-btn {
    background: none;
    border: 1px solid #2563eb;
    border-radius: 50%;
    color: #2563eb;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.service-item.active .expand-btn {
    transform: rotate(45deg);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 0;
}

.service-item.active .service-content {
    max-height: 500px;
    padding: 10px 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(8, 145, 178, 0.3), 0 0 15px rgba(8, 145, 178, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 25px rgba(8, 145, 178, 0.4), 0 0 35px rgba(8, 145, 178, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(8, 145, 178, 0.3), 0 0 15px rgba(8, 145, 178, 0.3);
  }
}

/* VPN Animation Section */
.vpn-animation-section {
    padding: 80px 0;
    background: rgba(248, 250, 252, 0.5);
}

.vpn-animation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.scenario-title {
    text-align: center;
    margin-bottom: 40px;
}

.scenario-title h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.scenario-title p {
    color: #64748b;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Animation Controls */
.animation-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 8px;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.control-btn.active {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.6);
    color: #1e40af;
}

.control-btn svg {
    width: 16px;
    height: 16px;
}

.vpn-diagram {
    position: relative;
    height: 400px;
    margin: 60px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: opacity 0.5s ease;
}

.vpn-diagram.hidden {
    display: none;
}

/* Device Styles */
.device {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.device-icon {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(37, 99, 235, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.device-icon svg {
    width: clamp(30px, 6vw, 40px);
    height: clamp(30px, 6vw, 40px);
    color: #2563eb;
}

.device-label {
    color: #1e293b;
    font-weight: 600;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    text-align: center;
}

.vpn-server .device-icon {
    background: rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.4);
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.2);
}

.vpn-server .device-icon svg {
    color: #1e40af;
}

/* Encryption Indicator */
.encryption-indicator {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
}

.encryption-pulse {
    width: 100%;
    height: 100%;
    background: #1e40af;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(0.8);
        opacity: 1;
    }
}

/* Direct Connection (Unsecure) */
.direct-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
    top: 50%;
    left: 120px;
    right: 120px;
    transform: translateY(-50%);
    z-index: 1;
    animation: unsecureDataFlow 5s infinite;
}

@keyframes unsecureDataFlow {
    0% {
        opacity: 0.3;
        box-shadow: 0 0 5px #ef4444;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px #ef4444, 0 0 25px #ef4444;
    }
    100% {
        opacity: 0.3;
        box-shadow: 0 0 5px #ef4444;
    }
}

.stat-sublabel {
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  font-weight: 500;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.plus-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 6px 12px;
  font-size: 18px;
  border: none;
  border-radius: 50%;
  background: #1f86c4;
  animation: pulse-glow 1.5s infinite alternate;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.plus-btn:hover {
  transform: scale(1.1);
}

.details-heading {
  color: #059669;
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Expanded square */
.stat-card.active {
  width: 100%;
  max-width: 600px;
  height: auto;
  min-height: 400px;
}

/* Service cards in services section */
#services-card .stat-card {
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
  min-height: 200px;
  cursor: pointer;
}

#services-card .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#services-card .stat-label {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: #1f86c4;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.stat-details {
  display: none;
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  text-align: left;
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  color: #1e293b;
  line-height: 1.6;
  overflow-y: auto;
  padding-right: 10px;
}

.stat-card.active {
  min-height: 400px;
}

.stat-card.active .stat-details {
  display: block;
  margin-top: auto;
}

.stat-card.active .stat-label,
.stat-card.active .stat-sublabel,
.stat-card.active .plus-btn {
  display: none;
}

.stat-details::-webkit-scrollbar-thumb:hover {
  background-color: #059669;
}

.stat-details h3 {
  color: #feffff;
  margin-bottom: 5px;
  text-align: center;
}

.stat-details {
  line-height: 1.4;
  color: #1e293b;
  font-size: clamp(0.875rem, 1.5vw, 14px);
}

/* Scrollbar styling */
.stat-card .stat-details::-webkit-scrollbar {
    width: 6px;
}

.stat-card .stat-details::-webkit-scrollbar-thumb {
    background-color: rgba(240, 246, 241, 0.3);
    border-radius: 4px;
}

/* Secure Connection Lines */
.secure-line-1 {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, #059669, transparent);
    top: 50%;
    left: 120px;
    width: 200px;
    transform: translateY(-50%);
    z-index: 1;
    animation: secureDataFlow 3s infinite;
}

.secure-line-2 {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, #059669, transparent);
    top: 50%;
    right: 120px;
    width: 200px;
    transform: translateY(-50%);
    z-index: 1;
    animation: secureDataFlow 3s infinite 0.5s;
}

@keyframes secureDataFlow {
    0% {
        opacity: 0.3;
        box-shadow: 0 0 5px #059669;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px #059669, 0 0 25px #059669;
    }
    100% {
        opacity: 0.3;
        box-shadow: 0 0 5px #059669;
    }
}

/* VPN Tunnel Visualization */
.vpn-tunnel {
    position: absolute;
    top: 45%;
    left: 120px;
    right: 120px;
    height: 10px;
    z-index: 0;
}

.tunnel-segment {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(5, 150, 105, 0.1),
        rgba(5, 150, 105, 0.2),
        rgba(5, 150, 105, 0.1)
    );
    border: 1px solid rgba(5, 150, 105, 0.3);
    border-radius: 5px;
}

.segment-1 {
    left: 0;
    width: 48%;
}

.segment-2 {
    right: 0;
    width: 48%;
}

/* Data Flow Animation */
.data-flow {
    position: absolute;
    top: 40%;
    height: 40px;
    overflow: hidden;
    z-index: 3;
}

.direct-flow {
    left: 140px;
    right: 140px;
}

.encrypted-flow-1 {
    left: 140px;
    width: 160px;
}

.encrypted-flow-2 {
    right: 140px;
    width: 160px;
}

.data-packet {
    position: absolute;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 600;
    white-space: nowrap;
    animation: packetMove 4s infinite;
    opacity: 0;
}

.data-packet[data-type="unencrypted"] {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #dc2626;
    animation: unsecurePacketMove 8s infinite;
}

.data-packet[data-type="encrypted"] {
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.4);
    color: #059669;
    animation: securePacketMove 4s infinite;
}

@keyframes unsecurePacketMove {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw - 400px));
        opacity: 0;
    }
}

@keyframes securePacketMove {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(100px);
        opacity: 0;
    }
}

/* Threat Zone Styles */
.threat-zone {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 4;
}

.active-threat {
    opacity: 1;
}

.blocked-threat {
    position: absolute;
    bottom: 200px;
    right: 10%;
    display: flex;
    top: -25px;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.blocked-threat .blocked-message {
    position: relative;
    top: -10px;
    text-align: center;
}

.threat-icon {
    top: 50px;
    width: clamp(30px, 6vw, 40px);
    height: clamp(30px, 6vw, 40px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.threat-zone .hacker-img {
  width: clamp(30px, 6vw, 40px);
  height: clamp(30px, 6vw, 40px);
  object-fit: contain;
  position: relative;
  top: -70px;
}

.threat-zone.middle-threat .threat-icon,
.threat-zone.middle-threat .threat-label {
  position: relative;
  top: -85px;
}

.active-threat .threat-icon {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.5);
    animation: activeThreatPulse 1.5s infinite;
}

.blocked-threat .threat-icon {
    background: rgba(148, 163, 184, 0.1);
    border: 2px solid rgba(148, 163, 184, 0.3);
}

.active-threat .threat-icon svg {
    width: clamp(16px, 4vw, 20px);
    height: clamp(16px, 4vw, 20px);
    color: #ef4444;
}

.blocked-threat .threat-icon svg {
    width: clamp(16px, 4vw, 20px);
    height: clamp(16px, 4vw, 20px);
    color: #94a3b8;
}

.threat-label {
    top: -25px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 500;
    text-align: center;
}

.active-threat .threat-label {
    color: #dc2626;
}

.blocked-threat .threat-label {
    color: #64748b;
}

/* Stolen Data Animation */
.stolen-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: -20px;
}

.stolen-packet {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #dc2626;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: clamp(0.6rem, 1.2vw, 0.7rem);
    animation: stolenDataFloat 2s infinite;
}

.stolen-packet:nth-child(2) {
    animation-delay: 0.3s;
}

.stolen-packet:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes stolenDataFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-5px) scale(1.05);
        opacity: 1;
    }
}

/* Blocked Message */
.blocked-message {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #64748b;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: clamp(0.6rem, 1.2vw, 0.7rem);
    margin-top: 8px;
}

@keyframes activeThreatPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    }
}

/* VPN Benefits */
.vpn-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: #059669;
}

.benefit-text h4 {
    color: #1e293b;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 4px;
}

.benefit-text p {
    color: #64748b;
    font-size: clamp(0.875rem, 1.5vw, 0.9rem);
    margin: 0;
}

/* Animation States */
.vpn-diagram.playing .data-packet {
    animation-play-state: running;
}

.vpn-diagram.paused .data-packet {
    animation-play-state: paused;
}

.services-card .service-item {
    background: rgba(241, 245, 249, 0.98);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.services-card .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.services-card .service-content {
    display: none;
    margin-top: 10px;
    color: #475569;
    font-size: clamp(0.875rem, 1.5vw, 0.9rem);
    line-height: 1.4;
}

.services-card .service-item.active .service-content {
    display: block;
}

.services-card .service-header::before {
    content: "🔹";
    margin-right: 10px;
    font-size: 1rem;
}

.services-card .service-item.active .expand-btn {
    transform: rotate(45deg);
}

.services-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    color: #1e293b;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.services-card .service-item h4 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #2563eb;
    font-weight: bold;
}

.services-card .stat-label {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    color: #1e293b;
}

.services-list {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
}

.services-list .service-item {
    flex: 1 1 calc(33.333% - 15px);
    max-width: 100%;
}

.service-item {
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 10px 0;
}

.service-item:first-child {
    border-top: none;
}

.stats-grid > .stat-card:not(.services-card) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-card:not(.services-card) .stat-label {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    margin: 0;
    color: #1e40af;
    text-align: center;
    line-height: 1.4;
}

.stat-card:not(.services-card):hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: start;
}

.general-stats .stat-card {
  background-color: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  padding: 25px;
  border-radius: 5px;
  width: 100%;
  max-width: 250px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 16px);
  margin-bottom: 10px;
  min-height: 40px;
  line-height: 40px;
}

.general-stats .stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.general-stats {
    padding: 80px 0;
}

.general-stats .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.stats-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#services-card .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#services-card {
  margin-top: -100px;
  position: relative;
  z-index: 2;
}

.stats-grid .stat-card {
  min-height: 180px;
  max-height: 180px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.service-header h4 {
    margin-left: 8px;
    flex-grow: 1;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.expand-btn {
    background: #059669;
    border: none;
    border-radius: 50%;
    color: #fff;
    width: 25px;
    height: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.expand-btn.active {
    transform: rotate(45deg);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 5px;
}

.service-content.open {
    padding: 10px 5px;
    max-height: 500px;
}

.notifications-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-height: 160px;
  padding: 10px 15px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  align-items: center;
  gap: 10px;
}

.notifications-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.notifications-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  background: transparent;
  border-radius: 8px;
  padding: 8px 12px;
  overflow: hidden;
  position: relative;
}

.notifications-slider-container {
  position: relative;
  width: 70%;
  overflow: hidden;
}

.notifications-panel {
  display: flex;
  gap: 10px;
  scroll-behavior: smooth;
  overflow-x: auto;
  padding: 10px 50px;
}

.notifications-panel ul {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.threat-zone.active-threat .blocked-message {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(10px, 1.5vw, 12px);
    color: #1e293b;
    font-weight: 300;
    white-space: nowrap;
}

.notifications-panel li {
  flex: 0 0 calc(100% - 100px);
  min-width: 200px;
  padding: 10px;
  background-color: #f1f5f9;
  border-radius: 5px;
  text-align: center;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #2563eb;
  outline: none;
  border: none;
  font-size: clamp(10px, 2vw, 12px);
  padding: 2px 4px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: color 0.3s;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3), 0 0 10px rgba(8, 145, 178, 0.3), 0 0 10px rgba(8, 145, 178, 0.3);
  animation: pulse-glow 1.5s infinite alternate;
}

.arrow:hover {
  color: #0891b2;
}

.arrow.left {
  left: -1px;
}

.arrow.right {
  right: -1px;
}

.stat-card .stat-details {
    display: none;
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    text-align: left;
    line-height: 1.5;
    background-color: rgba(14, 76, 120, 0.95);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: white;
}

.stat-card.active .stat-details {
    max-height: 1000px;
    display: block;
}

.notifications-track {
  overflow: hidden;
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.notifications-track ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  transition: transform 0.5s ease;
  width: 100%;
}

.notifications-track li {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 10px;
  text-align: centre;
  font-size: clamp(0.875rem, 1.5vw, 14px);
  line-height: 1.5;
  color: #1e293b;
  box-sizing: border-box;
}

.tooltip-text {
  position: absolute;
  background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: clamp(0.75rem, 1.5vw, 14px);
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: normal;
  width: max-content;
  max-width: 250px;
  display: none;
  text-align: center;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 0;
  font-family: inherit;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 15px;
}

.tooltip-text.visible {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}

.process-label {
  position: relative;
}

.process-icon:hover {
  transform: scale(1.1);
  animation: pulse-glow-blue 1.5s infinite alternate;
  background: rgba(37, 99, 235, 0.15);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

@keyframes pulse-glow-blue {
  from {
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
  }
  to {
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.4);
  }
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Tablet & Small Desktop (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        width: 95%;
        padding: 0 16px;
    }

    .main-content {
        padding-top: 80px;
    }

    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 50vh;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-flow {
        gap: 10px;
    }

    .process-labels {
        gap: 20px;
    }

    .center-nav {
        gap: 20px;
        padding-right: 10px;
    }

    .vpn-diagram {
        height: 350px;
        padding: 0 20px;
    }

    .vpn-benefits {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 32px;
    }

    .stats-grid {
        gap: 16px;
        padding: 0 16px;
    }

    #services-card .stats-grid {
        gap: 24px;
        padding: 0 16px;
    }

    .services-list .service-item {
        flex: 1 1 calc(50% - 15px);
    }
}



  
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #1e40af;
  cursor: pointer;
  transition: color 0.3s ease;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1100;
}

.menu-toggle:hover {
  color: #0891b2;
}


/* Mobile (max-width: 768px) */
/* Fix navbar alignment issues on smaller screens */
@media screen and (max-width: 768px) {

  .site-header {
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    text-align: center;
     display: flex;
  flex-wrap: wrap;        /* allows items to move to next line if needed */
 
  justify-content: space-between;
  padding: 10px 15px;     /* reduce padding on small screens */
  width: 100%;
  box-sizing: border-box;
  }
 

  .header-left,
  .header-center,
  .header-right {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

 .center-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #c8e9ff 0%, #e0f2fe 50%, #a9ddfa 100%);
  border-radius: 0 0 12px 12px;
  padding: 10px 0;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}


  .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
      display: flex; /* horizontal row */
    flex-wrap: wrap; /* allow wrapping if screen is too small */
    justify-content: center;
    gap: 5px; /* spacing between links */
    padding: 10px 0;
    list-style: none;
     margin: 0;
   
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    margin: 0;
    


  }
  .header-left img.logo {
  max-height: 50px;       /* prevents logos from being too tall */
  height: auto;
  width: auto;
  margin-right: 10px;
}


  .nav-links a {
    display: block;
    width: auto;
    padding: 6px 10px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* prevents breaking inside link text */
    background: linear-gradient(135deg, #c8e9ff 0%, #e0f2fe 50%, #a9ddfa 100%);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #0f172a;
  }

  .nav-links a:hover {
    background-color: #bae6fd;
  }

  /* Optional: make dropdown menus full-width */
  .dropdown-menu,
  .sub-dropdown-menu {
    left: 0;
    right: 0;
    width: 100%;
  }

  .center-nav a {
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  }

  



/* Show nav when active */
.center-nav.active {
  /* display: block; */
    display: flex;           /* NOT block */
  flex-direction: column;  /* make it vertical */
  animation: slideDown 0.3s ease forwards;

}

/* Slide down animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
  

  /* @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  } */

   .process-flow {
    flex-direction: row;
    justify-content: center;
    /* align-items: flex-start; */
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 20px;
    padding: 10px;
    scroll-behavior: smooth;
     position: relative;
    display: flex;
    align-items: center;
    
    
    gap: 0; 
  }

  .process-step {
     position: relative;
     gap: 8px;
     margin: 0 20px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 90px; /* keeps spacing consistent */
    flex-shrink: 0;  /* prevents items from squishing */
  }

  .process-icon {
    margin: 0 auto 8px auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .process-step h3.process-label {
  margin: 0;
  text-align: center;
  line-height: 1.2;
}

  .process-connector {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 40px;
    height: 2px;
    background: #cbd5e1;
    transform: translateY(-50%);
     z-index: 1;
  }
  .process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 0px);
    width: 40px;
    height: 2px;
    background: #cbd5e1;
    transform: translateY(-50%);
    z-index: 1;
  }

  /* Remove line after last icon */
  .process-step:last-child::after {
    display: none;
  }

  /* Hide the connector for the last icon */
  .process-step:last-child .process-connector {
    display: none;
  }
  .process-labels {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
  }

  .process-label h3 {
    text-align: center;
    margin-top: 8px;
  }

  /* Optional: smooth scroll + subtle scrollbar */
  .process-flow::-webkit-scrollbar {
    height: 6px;
  }

  .process-flow::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.3);
    border-radius: 3px;
  }
}
#hamburger {
  display: none;
  font-size: 32px;
  color:  rgba(37, 99, 235, 0.3);
}

/* #mobileMenu {
  display: none;
  list-style: none;
  padding: 0;
} */

@media (max-width: 768px) {
  #hamburger {
    display: block;
  }

 
  #mobileMenu {
    background:  rgba(37, 99, 235, 0.3);
    padding: 10px;
  }


  #mobileMenu.active {
    display: block;
  }
}
/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
  /* Container */
  .container {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  /* Header */
  .site-header {
    flex-direction: column;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    padding: 6px 10px;
    width: 100%;
  }

  .header-left,
  .header-center,
  .header-right {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .header-left img.logo,
  .header-left .logo,
  .site-header .logo {
    max-height: 40px;
    width: auto;
  }

  .header-right .di-logo,
  .right-logo .di-logo {
    height: 35px;
  }

  .logo-badge {
    font-size: 1.5rem;
    padding: 8px 12px;
  }

  .logo-text {
    font-size: 0.875rem;
  }

  

  /* Center Nav */
  .center-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #c8e9ff 0%, #e0f2fe 50%, #a9ddfa 100%);
    border-radius: 0 0 12px 12px;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
  }

  .center-nav.active {
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease forwards;
  }

  .center-nav a {
    font-size: 0.75rem;
    padding: 6px 10px;
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    text-decoration: none;
    color: #0f172a;
    border-radius: 6px;
    background: linear-gradient(135deg, #c8e9ff 0%, #e0f2fe 50%, #a9ddfa 100%);
  }

  .center-nav a:hover {
    background-color: #bae6fd;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
    gap: 5px;
    list-style: none;
    margin: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  /* Hero */
  .hero {
    width: 100%;
    padding: 60px 20px 40px; /* top, sides, bottom */
    box-sizing: border-box;
    text-align: center;
  }


  
/* Hero Title */
.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 16px;
  line-height: 1.2;
  max-width: 800px;
}

/* Hero Description */
.hero p {
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 24px;
  gap: 10px;
}

  .hero button,
.hero .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
    margin: 5px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.hero button:hover,
.hero .btn:hover {
    background-color: #bae6fd;
}

  .btn-small {
    padding: 8px 14px;
    height: 38px;
    font-size: 0.8rem;
  }

  /* Stats cards */
  .stats-grid .stat-card {
    padding: 16px;
    min-height: 130px;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  /* Sections */
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  /* Feature icons */
  .feature-icon,
  .process-icon,
  .device-icon {
    width: 50px;
    height: 50px;
  }

  .feature-icon svg,
  .process-icon svg,
  .device-icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-title,
  .process-label h3,
  .device-label {
    font-size: 0.875rem;
  }

  /* VPN diagram */
  .vpn-diagram {
    height: 250px;
  }

  /* Controls */
  .control-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .expand-btn {
    width: 22px;
    height: 22px;
    font-size: 16px;
  }

  /* Footer */
  .footer {
    padding: 30px 0;
  }

  .footer-logo {
    max-height: 35px;
  }

  .footer-right .footer-logo {
    max-height: 30px;
  }

  #back-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }

  #back-to-top::before {
    font-size: 28px;
  }

  /* Notifications */
  .notifications-box {
    min-height: 120px;
    padding: 8px;
  }

  .notifications-slider {
    padding: 6px;
  }

  .notifications-track li {
    font-size: 0.8rem;
    padding: 8px;
  }

  .process-flow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;       /* allow wrapping on small screens */
    gap: 10px;             /* spacing between steps */
    padding: 10px;
    overflow-x: hidden;    /* hide horizontal overflow */
    width: 100%;
    box-sizing: border-box;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 70px;       /* reduce min-width for small screens */
    flex-shrink: 1;        /* allow shrinking if needed */
    margin: 0 5px;
}

.process-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.process-step h3.process-label {
    font-size: 0.75rem;    /* smaller label text */
    margin: 0;
    line-height: 1.2;
}

/* Connector line between steps */
.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 0px);
    width: 20px;          /* shorten connector for smaller screens */
    height: 2px;
    background: #cbd5e1;
    transform: translateY(-50%);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}
  /* Scrollbar */
  .center-nav::-webkit-scrollbar {
    height: 6px;
  }
  .center-nav::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.3);
    border-radius: 3px;
  }
}


/* @media screen and (max-width: 768px) {
  .center-nav.scroll-animate {
    display: flex;
    animation: scrollLeft 20s linear infinite;
  }

  @keyframes scrollLeft {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }
} */



/* Very Small Mobile (max-width: 360px) */
@media screen and (max-width: 360px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .center-nav a {
        font-size: 0.7rem;
        padding: 4px 6px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .process-icon {
        width: 45px;
        height: 45px;
    }

    .process-icon svg {
        width: 20px;
        height: 20px;
    }

    .device-icon {
        width: 45px;
        height: 45px;
    }

    .device-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* 📱 Compact Mobiles (Viewport width: 361px–389px) */
@media screen and (min-width: 360px) and (max-width: 389px) {
  /* Container */
  .container {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  /* Header */
  .site-header {
    flex-direction: column;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    padding: 6px 8px;
    width: 100%;
  }

  .header-left,
  .header-center,
  .header-right {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .header-left img.logo,
  .site-header .logo {
    max-height: 36px;
    width: auto;
  }

  .header-right .di-logo {
    height: 32px;
  }

  .logo-badge {
    font-size: 1.25rem;
    padding: 6px 10px;
  }

  .logo-text {
    font-size: 0.8rem;
  }

  /* Navigation */
  .center-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #c8e9ff 0%, #e0f2fe 50%, #a9ddfa 100%);
    border-radius: 0 0 12px 12px;
    padding: 8px 0;
    margin-top: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
  }

  .center-nav.active {
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease forwards;
  }

  .center-nav a {
    font-size: 0.7rem;
    padding: 5px 8px;
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    text-decoration: none;
    color: #0f172a;
    border-radius: 6px;
    background: linear-gradient(135deg, #c8e9ff 0%, #e0f2fe 50%, #a9ddfa 100%);
  }

  .center-nav a:hover {
    background-color: #bae6fd;
  }

  /* Hero */
  .hero {
    width: 100%;
    padding: 50px 16px 30px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 14px;
    line-height: 1.25;
  }

  .hero p {
    font-size: 0.75rem;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .hero button,
  .hero .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 6px;
    margin: 4px;
    cursor: pointer;
    display: inline-block;
  }

  .btn-small {
    padding: 6px 12px;
    height: 36px;
    font-size: 0.75rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  /* Process Flow (fixed version) */
  .process-flow {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 18px;
    padding: 10px 0;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    position: relative;
  }

  .process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    min-width: 70px;
    flex-shrink: 0;
  }

  /* Icon Circle */
  .process-icon {
    width: 45px;
    height: 45px;
    background: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
  }

  /* Label below icons */
  .process-step h3.process-label {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-top: 6px;
    max-width: 80px;
    min-height: 2.4em;
    word-wrap: break-word;
    text-align: center;
  }

  /* Connector Lines (only one per gap) */
  .process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 9px);
    width: 25px;
    height: 2px;
    background-color: #cbd5e1;
    transform: translateY(-50%);
    z-index: 1;
  }

  .process-step:last-child::after {
    display: none;
  }

  /* VPN Diagram */
  .vpn-diagram {
    height: 220px;
    padding: 20px 10px;
  }

  .device-icon {
    width: 45px;
    height: 45px;
  }

  .device-label {
    font-size: 0.75rem;
  }

  .control-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  /* Benefits */
  .vpn-benefits {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
  }

  .benefit-item {
    width: 260px;
    padding: 16px;
  }

  .benefit-text h4 {
    font-size: 0.9rem;
  }

  .benefit-text p {
    font-size: 0.75rem;
  }

  /* Footer */
  .footer {
    padding: 25px 0;
  }

  .footer-logo {
    max-height: 30px;
  }

  #back-to-top {
    width: 38px;
    height: 38px;
    bottom: 12px;
    right: 12px;
  }

  #back-to-top::before {
    font-size: 26px;
  }
}

/* 🎯 iPhone 13 Pro (Viewport width: 390px–399px) */
@media screen and (min-width: 390px) and (max-width: 399px) {
  /* Container */
  .container {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  /* Header */
  .site-header {
    flex-direction: column;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    padding: 6px 10px;
    width: 100%;
  }

  .header-left,
  .header-center,
  .header-right {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .header-left img.logo,
  .header-left .logo,
  .site-header .logo {
    max-height: 40px;
    width: auto;
  }

  .header-right .di-logo,
  .right-logo .di-logo {
    height: 35px;
  }

  .logo-badge {
    font-size: 1.5rem;
    padding: 8px 12px;
  }

  .logo-text {
    font-size: 0.875rem;
  }

  /* Center Nav */
  .center-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #c8e9ff 0%, #e0f2fe 50%, #a9ddfa 100%);
    border-radius: 0 0 12px 12px;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
  }

  .center-nav.active {
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease forwards;
  }

  .center-nav a {
    font-size: 0.75rem;
    padding: 6px 10px;
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    text-decoration: none;
    color: #0f172a;
    border-radius: 6px;
    background: linear-gradient(135deg, #c8e9ff 0%, #e0f2fe 50%, #a9ddfa 100%);
  }

  .center-nav a:hover {
    background-color: #bae6fd;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
     gap: 5px;
    list-style: none;
    margin: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  /* Hero */
  .hero {
    width: 100%;
    padding: 60px 20px 40px;
    box-sizing: border-box;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 16px;
    line-height: 1.2;
    max-width: 800px;
  }

  .hero p {
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 24px;
    gap: 10px;
  }

  .hero button,
  .hero .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
    margin: 5px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    transition: all 0.2s ease;
  }

  .hero button:hover,
  .hero .btn:hover {
    background-color: #bae6fd;
  }

  .btn-small {
    padding: 8px 14px;
    height: 38px;
    font-size: 0.8rem;
  }

  /* Stats cards */
  .stats-grid .stat-card {
    padding: 16px;
    min-height: 130px;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  /* Sections */
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  /* Feature icons */
  .feature-icon,
  .process-icon,
  .device-icon {
    width: 50px;
    height: 50px;
  }

  .feature-icon svg,
  .process-icon svg,
  .device-icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-title,
  .process-label h3,
  .device-label {
    font-size: 0.875rem;
  }

  /* VPN diagram */
  .vpn-diagram {
    height: 250px;
  }

  /* Controls */
  .control-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .expand-btn {
    width: 22px;
    height: 22px;
    font-size: 16px;
  }

  /* Footer */
  .footer {
    padding: 30px 0;
  }

  .footer-logo {
    max-height: 35px;
  }

  .footer-right .footer-logo {
    max-height: 30px;
  }

  #back-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }

  #back-to-top::before {
    font-size: 28px;
  }

  /* Notifications */
  .notifications-box {
    min-height: 120px;
    padding: 8px;
  }

  .notifications-slider {
    padding: 6px;
  }

  .notifications-track li {
    font-size: 0.8rem;
    padding: 8px;
  }

  
  


 

  /* Scrollbar */
  .center-nav::-webkit-scrollbar {
    height: 6px;
  }

  .center-nav::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.3);
    border-radius: 3px;
  }


  .process-flow {
  display: flex;
  justify-content: center;
  align-items: flex-start;    /* ensures icons stay aligned at the top */
  flex-wrap: nowrap;          /* keeps them on one line */
  gap: 20px;                  /* even spacing between steps */
  padding: 10px 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;           /* allows scrolling on very small screens */
  scroll-behavior: smooth;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-width: 70px;
  flex-shrink: 0;             /* prevents them from squishing unevenly */
}

/* Icon container */
.process-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

/* Step label */
.process-step h3.process-label {
  font-size: 0.75rem;
  margin-top: 6px;
  line-height: 1.2;
  text-align: center;
  max-width: 80px;
  word-wrap: break-word;
}

/* Connector lines between icons */
/* Connector line between steps */
.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 9px);
  width: 28px;          /* shorten connector for smaller screens */
  height: 2px;
  background: #cbd5e1;
  transform: translateY(-50%);
  z-index: 1;
}

.process-step:last-child::after {
  display: none;
}



}

/* Desktop Large Screens (min-width: 1440px) */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-content {
        max-width: 900px;
    }

    .vpn-animation-container {
        max-width: 1400px;
    }
}

/* Ultra Wide Screens (min-width: 1920px) */
@media screen and (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero-content {
        max-width: 1000px;
    }

    .vpn-animation-container {
        max-width: 1600px;
    }
}

/* Landscape Mobile Fix */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 0 30px;
    }

    .vpn-diagram {
        height: 250px;
    }

    .main-content {
        padding-top: 50px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .footer,
    #back-to-top,
    .animation-controls {
        display: none;
    }

    .main-content {
        padding-top: 0;
    }

    .stat-card,
    .benefit-item,
    .feature {
        break-inside: avoid;
    }
}
