:root {
  --green: #588245;
  --green-dark: #205b4f;
  --orange: #ffa508;
  --orange-deep: #feb200;
  --text: #1a1a1a;
  --muted: #757474;
  --line: #e2e1df;
  --bg-soft: #f6f5f4;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(32, 91, 79, 0.12);
  --radius: 12px;
  --font-display: "Brygada 1918", Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, sans-serif;
  --header-h: 78px;
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  color: var(--green);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: 150px;
  height: auto;
}

.primary-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a,
.primary-nav .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.primary-nav a:hover,
.primary-nav .nav-toggle:hover,
.primary-nav a.is-active {
  color: var(--green);
}

.nav-login {
  background: var(--green) !important;
  color: #fff !important;
  border-radius: 999px;
  padding-inline: 1.15rem !important;
}

.nav-login:hover {
  background: var(--green-dark) !important;
  color: #fff !important;
}

.has-dropdown {
  position: relative;
}

.has-dropdown .nav-toggle::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.dropdown a:hover {
  background: var(--bg-soft);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #222;
  background: #111;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(360px, 62vh, 620px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(32, 91, 79, 0.78), rgba(12, 35, 48, 0.72)),
    var(--hero-image) center / cover no-repeat;
  overflow: hidden;
}

.hero--sm {
  min-height: clamp(260px, 42vh, 420px);
}

.hero-content {
  width: min(100% - 2rem, 900px);
  padding: 3rem 0;
  animation: rise 0.9s ease both;
}

.hero h1,
.hero h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  margin: 0;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

.section-title {
  text-align: center;
  color: var(--green-dark);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.5rem;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 2.5rem;
  color: var(--muted);
}

.section-divider::before,
.section-divider::after {
  content: "";
  width: min(120px, 20vw);
  height: 1px;
  background: #cfcfcf;
}

.wifi-mark {
  width: 28px;
  height: 28px;
  border: 2px solid #9a9a9a;
  border-radius: 50%;
  position: relative;
}

.wifi-mark::before,
.wifi-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  border: 2px solid #9a9a9a;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.wifi-mark::before {
  width: 14px;
  height: 8px;
}

.wifi-mark::after {
  width: 8px;
  height: 4px;
  bottom: 9px;
}

/* Features */
.features-section {
  padding: 1rem 0 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.feature-item h4 {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin: 0;
}

.feature-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  box-shadow: 0 10px 24px rgba(88, 130, 69, 0.28);
}

.feature-icon::before {
  content: "";
  position: absolute;
  inset: 22px;
  background: var(--orange) center / contain no-repeat;
}

.feature-icon--speed::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='36' r='18' fill='none' stroke='%23ffa508' stroke-width='4'/%3E%3Cpath d='M32 36 L46 22' stroke='%23fff' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='36' r='4' fill='%23fff'/%3E%3C/svg%3E");
}

.feature-icon--arrows::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 28h36l-8-8M54 36H18l8 8' fill='none' stroke='%23ffa508' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.feature-icon--money::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='10' y='18' width='44' height='28' rx='4' fill='none' stroke='%23ffa508' stroke-width='4'/%3E%3Ccircle cx='32' cy='32' r='7' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E");
}

.feature-icon--support::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 30a16 16 0 0 1 32 0v8a6 6 0 0 1-6 6h-4v-12h8M16 32h8v12h-4a6 6 0 0 1-6-6v-6z' fill='none' stroke='%23ffa508' stroke-width='4' stroke-linejoin='round'/%3E%3Cpath d='M28 48h8a4 4 0 0 0 4 4h2' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* About / content blocks */
.about-band {
  position: relative;
  padding: 5rem 0;
  color: #fff;
  background:
    linear-gradient(rgba(18, 48, 42, 0.78), rgba(18, 48, 42, 0.78)),
    url("../images/corporate-broadband.jpg") center / cover no-repeat;
}

.about-band .section-title {
  color: #fff;
}

.about-band p {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  font-size: 1.05rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
}

.service-card h3 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: #1a1a1a;
}

.btn-primary:hover {
  background: var(--orange-deep);
  color: #111;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: #fff;
  color: var(--green-dark);
}

.btn-dark {
  background: #5f5f5f;
  color: #fff;
  border-radius: 8px;
  width: 100%;
}

.btn-dark:hover {
  background: #444;
  color: #fff;
}

/* Deliver steps */
.deliver-section {
  background: var(--bg-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-card h3 {
  color: var(--green-dark);
}

.step-card p {
  color: var(--muted);
  margin: 0;
}

/* Split content */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-copy h1,
.split-copy h2 {
  color: var(--green-dark);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.checklist {
  margin: 1.25rem 0 1.75rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
}

/* Plans */
.plans-intro {
  text-align: center;
  padding: 2.5rem 0 0.5rem;
}

.plans-intro h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0 3.5rem;
}

.plan-card {
  border: 1px solid #d7d7d7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(88, 130, 69, 0.15);
}

.plan-card-top {
  padding: 1.5rem 1.25rem 1rem;
  text-align: center;
}

.plan-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
}

.plan-badge svg {
  width: 34px;
  height: 34px;
  fill: var(--orange);
}

.plan-name {
  background: #757575;
  color: #fff;
  text-align: center;
  padding: 0.7rem 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
}

.plan-price {
  text-align: center;
  padding: 1.25rem 1rem 0.5rem;
  font-family: var(--font-display);
}

.plan-price .currency {
  font-size: 1rem;
  vertical-align: top;
}

.plan-price .amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-dark);
}

.plan-price .period {
  display: block;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.plan-meta {
  padding: 0.5rem 1.4rem 1.4rem;
  flex: 1;
}

.plan-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}

.plan-meta li span:last-child {
  font-weight: 600;
  color: var(--green-dark);
}

.plan-cta {
  padding: 0 1.25rem 1.4rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background:
    linear-gradient(160deg, rgba(32, 91, 79, 0.92), rgba(88, 130, 69, 0.88)),
    url("../images/contact-us-now-in-chennai-place.jpg") center / cover no-repeat;
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 100%;
}

.contact-info h2,
.contact-info h3 {
  color: #fff;
}

.contact-info a {
  color: #fff;
}

.contact-info .info-block {
  margin-bottom: 1.5rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fafafa;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(88, 130, 69, 0.35);
  border-color: var(--green);
  background: #fff;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-success {
  background: #e7f7ee;
  color: #176b3a;
  border: 1px solid #b7e3c7;
}

.alert-error {
  background: #fdeceb;
  color: #9b1c1c;
  border: 1px solid #f3c1c1;
}

/* Footer */
.site-footer {
  background: #1c1c1c;
  color: #d7d7d7;
  margin-top: 2rem;
}

.footer-top {
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 2rem;
}

.footer-col h2 {
  color: #fff;
  font-size: 1.2rem;
}

.footer-col a {
  color: #d7d7d7;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.reach-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

/* Floating actions */
.float-actions {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.enquiry-btn {
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-weight: 600;
}

.enquiry-btn:hover {
  color: var(--green);
}

.whatsapp-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
  transform: scale(1.05);
}

/* Page utilities */
.page-narrow {
  width: min(100% - 2rem, 920px);
  margin-inline: auto;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

/* Legal pages */
.legal-content {
  width: min(100%, 820px);
  margin-inline: auto;
}

.legal-content h2 {
  color: var(--green-dark);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-top: 0.5rem;
}

.legal-content h3 {
  color: var(--green);
  font-size: 1.2rem;
  margin-top: 1.75rem;
}

.legal-content p {
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-contact {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
}

.legal-contact h3 {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .features-grid,
  .plans-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-grid,
  .footer-grid,
  .service-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .primary-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .primary-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    padding-left: 0.75rem;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .nav-login {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .features-grid,
  .plans-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 340px;
  }

  .float-actions {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
