* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: #333;
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}
select {
  font-family: "Arial", sans-serif;
  background: #333;
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
  height: 40px;
  padding: 10px;
}

#existingPlans {
  max-height: 60vh;
  overflow-y: auto;
}

.freeze-col {
  position: sticky;
  background: #333;
  z-index: 2;
}

.freeze-col-0 {
  left: 0;
  min-width: 60px;
  z-index: 3;
}
.freeze-col-1 {
  left: 60px;
  min-width: 120px;
  z-index: 3;
}
.freeze-col-2 {
  left: 180px;
  min-width: 150px;
  z-index: 3;
}
thead th {
  position: sticky;
  top: 0;
  background: #333;
  z-index: 4;
}
thead th.freeze-col-0,
thead th.freeze-col-1,
thead th.freeze-col-2 {
  z-index: 5;
}
table,
th,
td {
  border: 1px solid #807e7e;
}
th,
td {
  height: 16px;
  padding: 4px;
  text-align: left;
}
/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 3rem;
  background: rgba(23, 23, 23, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.loading-placeholder {
  text-align: center;
  padding: 2.5rem;
  color: #888;
  font-style: italic;
}

.loading-placeholder p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo .logo-icon {
  background: #049abf;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.logo .logo-text {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: bold;
  color: white;
}

.nav-links {
  display: flex;
  gap: 1.875rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: clamp(0.875rem, 1.5vw, 0.875rem);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #049abf;
}

.auth-buttons {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  flex-wrap: wrap;
}

.auth-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #049abf;
  background: transparent;
  color: #049abf;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  white-space: nowrap;
}

.auth-btn:hover {
  background: #049abf;
  color: white;
}

.auth-btn.signup {
  background: #049abf;
  color: white;
}

.auth-btn.signup:hover {
  background: #037a9a;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/* Hero Section - Completely responsive */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 3rem 3rem;
  position: relative;
  background: linear-gradient(135deg, #171717 0%, #1a1a1a 100%);
  gap: 2rem;
}

.hero-content {
  flex: 1;
  max-width: 100%;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero .highlight {
  color: #049abf;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin-bottom: 1.875rem;
  color: #cccccc;
  line-height: 1.8;
}

.cta-button {
  background: #049abf;
  color: white;
  padding: clamp(0.75rem, 1.5vw, 0.9375rem) clamp(1.5rem, 3vw, 1.875rem);
  border: none;
  border-radius: 5px;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: #037a9a;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-placeholder {
  width: 100%;
  max-width: clamp(300px, 50vw, 600px);
  height: clamp(250px, 40vw, 400px);
  background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 50%, #2b2b2b 100%);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #049abf;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: bold;
  border: 3px dashed #049abf;
  position: relative;
  overflow: hidden;
}

.hero-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(4, 154, 191, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(4, 154, 191, 0.05) 0%,
      transparent 50%
    );
}

.hero-placeholder span {
  z-index: 2;
  position: relative;
  text-align: center;
  line-height: 1.4;
}

.image-icon {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.image-icon img {
  z-index: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Services Section */
.services {
  padding: 6rem 3rem;
  text-align: center;
}

.services h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.625rem;
}

.services-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #cccccc;
  margin-bottom: 3.75rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.875rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: #2b2b2b;
  padding: 2.5rem 1.875rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid #333;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #049abf;
  box-shadow: 0 20px 40px rgba(4, 154, 191, 0.1);
}

.service-icon {
  font-size: clamp(2.5rem, 4vw, 3rem);
  color: #049abf;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.9375rem;
  color: #049abf;
}

.service-card p {
  color: #cccccc;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

/* Plans Section */
.plans {
  padding: 6rem 3rem;
  background: #1a1a1a;
}

.plans h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.625rem;
  text-align: center;
}

.plans-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #cccccc;
  margin-bottom: 3.75rem;
  text-align: center;
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.125rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background: #2b2b2b;
  color: white;
  border: 2px solid #333;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  white-space: nowrap;
}

.tab-button.active {
  background: #049abf;
  border-color: #049abf;
}

.tab-button:hover {
  border-color: #049abf;
}

.tab-button-table {
  padding: 0.25rem 0.5rem;
  background: #2b2b2b;
  color: white;
  border: 1px solid #333;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: clamp(0.6rem, 0.75vw, 0.5rem);
  white-space: nowrap;
}

.tab-button-table.active {
  background: #049abf;
  border-color: #049abf;
}

.tab-button-table:hover {
  border-color: #049abf;
}

.tab-button-table.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.875rem;
  max-width: 1400px;
  margin: 0 auto;
}

.plan-card {
  background: #2b2b2b;
  padding: 2.5rem 1.875rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid #333;
  position: relative;
}

.plan-card.featured {
  border-color: #049abf;
  transform: scale(1.05);
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: #049abf;
  box-shadow: 0 20px 40px rgba(4, 154, 191, 0.1);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 30%;
  transform: translateX(-50%);
  background: #049abf;
  color: white;
  padding: 0.3125rem 1.25rem;
  border-radius: 20px;
  font-size: clamp(0.7rem, 1.2vw, 0.75rem);
  font-weight: bold;
  text-transform: uppercase;
}
/* Main Sale Banner Styles */
.main-sale-banner {
  position: fixed;
  left: 25px;
  top: 70%;
  transform: translateY(-50%) rotate(-90deg); /* already rotated and positioned */
  transform-origin: left center;
  background: linear-gradient(135deg, #ff3b30, #ff6b35, #ff8e53);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  color: #2b2b2b;
  padding: 15px 30px;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  z-index: 1000;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  overflow: hidden;
  white-space: nowrap;
  width: auto;
  min-width: 200px;
  opacity: 1;
  scale: 1;
}

/* Decorative shimmer */
.main-sale-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  animation: shimmer 2s infinite;
  pointer-events: none;
}

/* Hover effect */
.main-sale-banner:hover {
  transform: translateY(-50%) rotate(-90deg) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 59, 48, 0.6),
    0 0 70px rgba(255, 107, 53, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Text styling */
.main-sale-text {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Show: slide in horizontally while rotated */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translate(-150%, -50%) rotate(-90deg);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) rotate(-90deg);
  }
}

.main-sale-banner.show {
  animation: slideInFromLeft 0.86s ease-out forwards;
}

/* Hide effect: fade out + scale down + slight left move (evaporate) */
@keyframes evaporate {
  0% {
    opacity: 1;
    transform: translateY(-50%) rotate(-90deg) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) rotate(-90deg) scale(0.5) translateX(-50px);
    filter: blur(2px);
  }
}

/* Hide with evaporation */
.main-sale-banner.hide {
  animation: evaporate 0.6s ease-in forwards;
}

/* Sale Banner Styles */
.sale-banner {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #ff6b35, #ff8e53);
  color: #2b2b2b;
  padding: 0.5rem 1rem;
  border-radius: 0 15px 0 15px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  z-index: 5;
  min-width: 80px;
  text-align: center;
}

.sale-text {
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.sale-discount {
  font-size: clamp(0.6rem, 1.2vw, 0.75rem);
  line-height: 1;
  opacity: 0.9;
}

.plan-name {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: bold;
  margin-bottom: 0.625rem;
  color: #049abf;
}

.plan-price {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 0.3125rem;
}

.plan-period {
  color: #888;
  margin-bottom: 1.875rem;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  white-space: pre-line;
}

.price-period {
  color: #888;
  margin-bottom: 1.875rem;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.plan-features {
  list-style: none;
  margin-bottom: 1.875rem;
  text-align: left;
}

.plan-features li {
  padding: 0.5rem 0;
  color: #cccccc;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  border-bottom: 1px solid #333;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: "✓";
  color: #049abf;
  font-weight: bold;
  margin-right: 0.625rem;
}

.plan-features li.feature-disabled {
  color: #888;
  position: relative;
}

.plan-features li.feature-disabled::before {
  content: "✗";
  color: #ff4444;
  font-weight: bold;
  margin-right: 0.625rem;
}

.plan-features li:not(.feature-disabled)::before {
  content: "✓";
  color: #049abf;
  font-weight: bold;
  margin-right: 0.625rem;
}

/* Term Discount Section */
.term-discount-section {
  margin-bottom: 1.5rem;
  text-align: left;
}

.term-discount-label {
  display: block;
  color: #cccccc;
  font-size: clamp(0.85rem, 1.5vw, 0.9rem);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.term-discount-select {
  width: 100%;
  background: #3a3a3a;
  color: #cccccc;
  border: 2px solid #555;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: clamp(0.8rem, 1.4vw, 0.85rem);
  cursor: pointer;
  transition: all 0.3s;
}

.term-discount-select:hover {
  border-color: #049abf;
  background: #404040;
}

.term-discount-select:focus {
  outline: none;
  border-color: #049abf;
  box-shadow: 0 0 0 3px rgba(4, 154, 191, 0.2);
}

.term-discount-select option {
  background: #3a3a3a;
  color: #cccccc;
  padding: 0.5rem;
}

.plan-button {
  width: 100%;
  background: #2b2b2b;
  color: white;
  padding: 0.9375rem;
  border: 2px solid #049abf;
  border-radius: 8px;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.plan-button:hover {
  background: #049abf;
  transform: translateY(-2px);
}

.plan-card.featured .plan-button {
  background: #049abf;
}

.plan-card.featured .plan-button:hover {
  background: #037a9a;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Custom Plan Form */
.custom-form {
  max-width: 800px;
  margin: 0 auto;
  background: #2b2b2b;
  padding: 2.5rem;
  border-radius: 15px;
  border: 2px solid #333;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.875rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #049abf;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 5px;
  color: white;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #049abf;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #2b2b2b;
  margin: 5% auto;
  padding: 2.5rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  border: 2px solid #333;
}

.close {
  color: #aaa;
  float: right;
  font-size: 1.75rem;
  font-weight: bold;
  position: absolute;
  right: 1.25rem;
  top: 0.9375rem;
  cursor: pointer;
}

.close:hover {
  color: #049abf;
}

.modal h2 {
  color: #049abf;
  margin-bottom: 1.25rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.modal input {
  width: 100%;
  padding: 0.75rem;
  margin: 0.625rem 0;
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 5px;
  color: white;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.modal input:focus {
  outline: none;
  border-color: #049abf;
}

.modal button {
  width: 100%;
  padding: 0.75rem;
  background: #049abf;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 0.625rem;
}

.modal button:hover {
  background: #037a9a;
}

.modal-link {
  color: #049abf;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  display: block;
  margin-top: 0.9375rem;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.modal-link:hover {
  text-decoration: underline;
}

/* About Us Section - Fully responsive */
.about {
  padding: 6rem 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  min-height: 80vh;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-images-container {
  position: relative;
  width: 100%;
  max-width: clamp(400px, 50vw, 600px);
  height: clamp(400px, 50vw, 600px);
}

.about-placeholder {
  width: clamp(250px, 35vw, 400px);
  height: clamp(250px, 35vw, 400px);
  background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 50%, #2b2b2b 100%);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #049abf;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: bold;
  border: 3px dashed #049abf;
  position: absolute;
  overflow: hidden;
}

.about-placeholder.image-1 {
  top: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-5deg);
}

.about-placeholder.image-2 {
  bottom: 0;
  right: 0;
  z-index: 2;
  transform: rotate(3deg);
  background: linear-gradient(135deg, #333 0%, #1f1f1f 50%, #333 100%);
  border-color: #037a9a;
  color: #037a9a;
  width: clamp(200px, 25vw, 300px);
  height: clamp(200px, 25vw, 300px);
}

.about-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 25% 35%,
      rgba(4, 154, 191, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 65%,
      rgba(4, 154, 191, 0.05) 0%,
      transparent 50%
    );
}

.about-placeholder.image-2::before {
  background: radial-gradient(
      circle at 25% 35%,
      rgba(3, 122, 154, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 65%,
      rgba(3, 122, 154, 0.05) 0%,
      transparent 50%
    );
}

.about-placeholder span {
  z-index: 1;
  position: relative;
  text-align: center;
  line-height: 1.4;
}

.about-image-icon {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.about-image-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-dimensions {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: #888;
  margin-top: 0.625rem;
  font-weight: normal;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.about-content strong {
  color: #037a9a;
}

.about-content p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-content .cta-button {
  margin-top: 1.25rem;
}

/* Footer Section */
.footer {
  background: #2b2b2b;
  padding: 3.75rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.875rem;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 1.25rem;
  color: #049abf;
}

.footer-column p,
.footer-column a {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: #cccccc;
  margin-bottom: 0.625rem;
  text-decoration: none;
  display: block; /* Add this line */
}

.footer-column a:hover {
  color: #049abf;
}

/* Add hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 60vh;
  background: rgba(23, 23, 23, 0.98);
  border: 1px;
  border-style: solid;
  border-color: #049abf;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0.5rem 0;
  padding: 0.6rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s;
  text-align: center;
  min-width: 150px;
}

.mobile-menu a:hover {
  border-color: #049abf;
  background: rgba(4, 154, 191, 0.1);
}

.mobile-menu .auth-btn {
  background: #049abf;
  color: white;
  border-color: #049abf;
}

.mobile-menu .auth-btn:hover {
  background: #037a9a;
}

.social-icons {
  display: flex;
  gap: 0.9375rem;
}

.social-icons a {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: #cccccc;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #049abf;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .navbar {
    padding: 1rem 2rem;
  }

  .hero,
  .services,
  .plans,
  .about {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .footer {
    padding: 3rem 2rem;
  }
  .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .plan-card {
    padding: 2rem 1.5rem;
  }

  .sale-banner {
    padding: 0.4rem 0.8rem;
    min-width: 70px;
  }

  .sale-text {
    font-size: clamp(0.75rem, 1.4vw, 0.9rem);
  }

  .sale-discount {
    font-size: clamp(0.55rem, 1.1vw, 0.7rem);
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 5rem 1.5rem 3rem;
    gap: 2rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .about {
    flex-direction: column;
    text-align: center;
    padding: 4rem 1.5rem;
    gap: 2rem;
  }

  .about-images-container {
    max-width: 400px;
    height: 400px;
  }

  .services,
  .plans {
    padding: 4rem 1.5rem;
  }

  .footer {
    padding: 3rem 1.5rem;
  }
  .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
  }

  .plan-card {
    padding: 1.75rem 1.25rem;
  }

  .sale-banner {
    padding: 0.35rem 0.7rem;
    min-width: 65px;
  }

  .term-discount-select {
    padding: 0.65rem;
  }
}

@media (max-width: 768px) {
  .main-sale-banner {
    top: 60%;
    padding: 6px 18px;
    font-size: 0.75rem;
  }
  .main-sale-banner {
    top: 76%;
    padding: 10px 22px;
    font-size: 0.9rem;
  }
  .navbar {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    display: none;
  }

  .auth-buttons {
    justify-content: center;
    gap: 0.5rem;
  }

  .hero {
    padding: 6rem 1rem 2rem;
    min-height: 90vh;
  }

  .hero-placeholder {
    margin-top: 1rem;
  }

  .services,
  .plans {
    padding: 3rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-10px);
  }

  .service-tabs {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .tab-button {
    width: 100%;
    max-width: 280px; /* Increase from 250px to 280px */
    padding: 0.75rem 1rem; /* Ensure adequate padding */
    font-size: 0.9rem; /* Slightly larger font */
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .about {
    padding: 3rem 1rem;
  }

  .about-images-container {
    max-width: 320px;
    height: 320px;
  }

  .about-placeholder {
    width: 200px;
    height: 200px;
  }

  .about-placeholder.image-2 {
    width: 150px;
    height: 150px;
  }

  .footer {
    padding: 2rem 1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-form {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    padding: 1rem;
    flex-direction: row; /* Change back to row */
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .nav-links {
    display: none;
  }

  .auth-buttons {
    display: none; /* Hide in mobile, show in hamburger menu */
  }

  .hamburger {
    display: flex;
  }

  .logo {
    order: 1;
  }

  .hamburger {
    order: 2;
  }
  /* When user is logged in, show welcome message */
  .welcome-message {
    position: fixed;
    top: 1rem;
    left: 1rem;
    color: white;
    font-size: 0.9rem;
    z-index: 999;
    background: rgba(4, 154, 191, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
  }
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .plan-card {
    padding: 1.5rem 1rem;
  }

  .sale-banner {
    padding: 0.3rem 0.6rem;
    min-width: 60px;
  }

  .sale-text {
    font-size: 0.75rem;
  }

  .sale-discount {
    font-size: 0.6rem;
  }

  .term-discount-select {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 479px) {
  .main-sale-banner {
    top: 80%;
    padding: 6px 18px;
    font-size: 0.8rem;
  }
  .main-sale-banner {
    top: 78%;
    padding: 8px 20px;
    font-size: 0.85rem;
  }
  .hero {
    padding: 5rem 0.5rem 2rem;
  }

  .services,
  .plans,
  .about {
    padding: 2rem 0.5rem;
  }

  .footer {
    padding: 2rem 0.5rem;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 1.5rem;
  }

  .about-images-container {
    max-width: 280px;
    height: 280px;
  }

  .about-placeholder {
    width: 180px;
    height: 180px;
  }

  .about-placeholder.image-2 {
    width: 120px;
    height: 120px;
  }
  .tab-button {
    max-width: 450px; /* Even wider for very small screens */
    padding: 0.8rem 1.2rem;
  }
  .plan-card {
    padding: 1.25rem 0.75rem;
  }

  .sale-banner {
    padding: 0.25rem 0.5rem;
    min-width: 55px;
  }

  .sale-text {
    font-size: 0.7rem;
  }

  .sale-discount {
    font-size: 0.55rem;
  }

  .term-discount-label {
    font-size: 0.8rem;
  }

  .term-discount-select {
    padding: 0.55rem;
    font-size: 0.75rem;
  }
}

/* Ultra-wide screens (1400px+) */
/* Large Desktop Screens (1440px and up) */
@media (min-width: 1440px) {
  .main-sale-banner {
    top: 68%;
  }
  .hero {
    padding: 120px 80px 60px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .hero-placeholder {
    max-width: 700px;
    height: 500px;
  }

  .image-icon {
    font-size: 100px;
  }

  .services {
    padding: 120px 80px;
  }

  .about {
    padding: 120px 80px;
    gap: 80px;
  }

  .about-content h2 {
    font-size: 3rem;
  }

  .about-content p {
    font-size: 1.3rem;
  }

  .about-placeholder.image-1 {
    width: 500px;
    height: 500px;
  }

  .about-placeholder.image-2 {
    width: 380px;
    height: 380px;
  }

  .about-image-icon {
    font-size: 100px;
  }
  .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }

  .plan-card {
    padding: 3rem 2rem;
  }

  .sale-banner {
    padding: 0.6rem 1.2rem;
    min-width: 90px;
  }

  .sale-text {
    font-size: 1.1rem;
  }

  .sale-discount {
    font-size: 0.8rem;
  }
}

/* Desktop Screens (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .main-sale-banner {
    top: 70%;
  }
  .hero {
    padding: 110px 60px 60px;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .hero-placeholder {
    max-width: 650px;
    height: 450px;
  }

  .image-icon {
    font-size: 90px;
  }

  .services {
    padding: 110px 60px;
  }

  .about {
    padding: 110px 60px;
    gap: 60px;
  }

  .about-content h2 {
    font-size: 2.8rem;
  }

  .about-content p {
    font-size: 1.2rem;
  }

  .about-placeholder.image-1 {
    width: 450px;
    height: 450px;
  }

  .about-placeholder.image-2 {
    width: 350px;
    height: 350px;
  }

  .about-image-icon {
    font-size: 90px;
  }
  .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
  }

  .plan-card {
    padding: 2.25rem 1.75rem;
  }

  .sale-banner {
    padding: 0.5rem 1rem;
    min-width: 80px;
  }
}

/* Tablet Landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .main-sale-banner {
    top: 72%;
    padding: 14px 28px;
  }

  .hero {
    padding: 100px 40px 50px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-placeholder {
    max-width: 500px;
    height: 380px;
  }

  .image-icon {
    font-size: 70px;
  }

  .services {
    padding: 90px 40px;
  }

  .about {
    padding: 90px 40px;
    gap: 40px;
  }

  .about-content h2 {
    font-size: 2.3rem;
  }

  .about-content p {
    font-size: 1.1rem;
  }

  .about-placeholder.image-1 {
    width: 350px;
    height: 350px;
  }

  .about-placeholder.image-2 {
    width: 280px;
    height: 280px;
  }

  .about-image-icon {
    font-size: 70px;
  }
  .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .sale-banner {
    padding: 0.45rem 0.9rem;
    min-width: 75px;
  }
}

/* Tablet Portrait (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {
  .main-sale-banner {
    top: 74%;
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  .hero {
    padding: 90px 30px 40px;
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 20px;
  }

  .hero-placeholder {
    max-width: 450px;
    height: 320px;
    margin-top: 40px;
  }

  .image-icon {
    font-size: 60px;
  }

  .services {
    padding: 80px 30px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    padding: 80px 30px;
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .about-images-container {
    max-width: 500px;
    height: 500px;
  }

  .about-placeholder.image-1 {
    width: 320px;
    height: 320px;
  }

  .about-placeholder.image-2 {
    width: 250px;
    height: 250px;
  }

  .about-image-icon {
    font-size: 60px;
  }

  .plans {
    padding: 80px 30px;
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sale-banner {
    padding: 0.4rem 0.8rem;
    min-width: 70px;
  }
}

/* Small Mobile (max-width: 479px) */
@media (max-width: 479px) {
  .navbar {
    padding: 10px 15px;
  }

  .logo .logo-text {
    font-size: 18px;
  }

  .logo .logo-icon {
    font-size: 16px;
    padding: 6px 10px;
  }

  .auth-buttons {
    flex-direction: column;
    gap: 5px;
  }

  .auth-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero {
    padding: 100px 15px 30px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-placeholder {
    max-width: 320px;
    height: 240px;
    margin-top: 20px;
  }

  .image-icon {
    font-size: 50px;
    margin-bottom: 15px;
  }

  .hero-placeholder span {
    font-size: 16px;
  }

  .services {
    padding: 50px 15px;
  }

  .services h2 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 25px 20px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .about {
    padding: 50px 15px;
    gap: 30px;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 0.9rem;
  }

  .about-images-container {
    max-width: 300px;
    height: 300px;
  }

  .about-placeholder.image-1 {
    width: 240px;
    height: 240px;
  }

  .about-placeholder.image-2 {
    width: 180px;
    height: 180px;
  }

  .about-image-icon {
    font-size: 40px;
  }

  .plans {
    padding: 50px 15px;
  }

  .plans h2 {
    font-size: 2rem;
  }

  .service-tabs {
    gap: 10px;
  }

  .tab-button {
    padding: 10px 16px;
    font-size: 14px;
    width: 140px;
  }

  .plan-card {
    padding: 25px 20px;
  }

  .plan-name {
    font-size: 1.3rem;
  }

  .plan-price {
    font-size: 2rem;
  }

  .custom-form {
    padding: 25px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer {
    padding: 30px 15px;
  }

  .footer-column h3 {
    font-size: 1.3rem;
  }

  .modal-content {
    padding: 25px 20px;
    margin: 10% auto;
  }
  .plans-grid {
    padding: 0 0.5rem;
  }

  .plan-card {
    padding: 1rem 0.5rem;
  }

  .sale-banner {
    padding: 0.2rem 0.4rem;
    min-width: 40px;
    border-radius: 0 15px 0 10px;
  }

  .sale-text {
    font-size: 0.65rem;
  }

  .sale-discount {
    font-size: 0.5rem;
  }
}

/* Ultra-wide screens (1920px and up) */
@media (min-width: 1920px) {
  .main-sale-banner {
    top: 65%;
    padding: 20px 40px;
    font-size: 1.1rem;
  }
  .hero {
    padding: 140px 120px 80px;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .hero p {
    font-size: 1.4rem;
  }

  .hero-placeholder {
    max-width: 800px;
    height: 600px;
  }

  .image-icon {
    font-size: 120px;
  }

  .services {
    padding: 140px 120px;
  }

  .about {
    padding: 140px 120px;
    gap: 100px;
  }

  .about-content h2 {
    font-size: 3.5rem;
  }

  .about-content p {
    font-size: 1.4rem;
  }

  .about-placeholder.image-1 {
    width: 550px;
    height: 550px;
  }

  .about-placeholder.image-2 {
    width: 420px;
    height: 420px;
  }

  .about-image-icon {
    font-size: 120px;
  }
  .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
  }

  .plan-card {
    padding: 3.5rem 2.5rem;
  }

  .sale-banner {
    padding: 0.7rem 1.4rem;
    min-width: 100px;
  }

  .sale-text {
    font-size: 1.2rem;
  }

  .sale-discount {
    font-size: 0.85rem;
  }

  .term-discount-select {
    padding: 0.85rem;
    font-size: 0.9rem;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 80px 20px 30px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-placeholder {
    height: 250px;
  }

  .about-images-container {
    height: 350px;
  }

  .about-placeholder.image-1 {
    width: 280px;
    height: 280px;
  }

  .about-placeholder.image-2 {
    width: 220px;
    height: 220px;
  }
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .plan-card {
    padding: 1.25rem 1rem;
  }

  .sale-banner {
    padding: 0.3rem 0.6rem;
    min-width: 60px;
  }

  .plan-features li {
    padding: 0.4rem 0;
  }

  .term-discount-select {
    padding: 0.5rem;
  }
}
