* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.navbar {
  max-width: 1240px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  min-width: 250px;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.8px;
}

.brand span {
  display: block;
  font-size: 12px;
  color: #475569;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: #334155;
  font-weight: 700;
  font-size: 15px;
}

.nav-links a:hover {
  color: #0f766e;
}

.nav-btn {
  background: #0f766e;
  color: white;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s;
}

.nav-btn:hover {
  background: #115e59;
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

/* HERO */
.hero {
  max-width: 1240px;
  margin: auto;
  padding: 110px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-block;
  width: fit-content;
  margin-bottom: 18px;
  background: #ccfbf1;
  color: #0f766e;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero-mini-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-mini-brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-mini-brand h4 {
  font-size: 28px;
  margin: 0;
  line-height: 1;
  color: #0f172a;
}

.hero-mini-brand p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #64748b;
}

.hero h1 {
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: -2px;
  margin-bottom: 18px;
  color: #0f172a;
}

.hero-description {
  font-size: 18px;
  color: #475569;
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s;
}

.primary-btn {
  background: #0f766e;
  color: #fff;
}

.primary-btn:hover {
  background: #115e59;
  transform: translateY(-2px);
}

.secondary-btn {
  background: #fff;
  color: #0f766e;
  border: 2px solid #0f766e;
}

.secondary-btn:hover {
  background: #ccfbf1;
  transform: translateY(-2px);
}

.mini-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.mini-stats div {
  background: #fff;
  border-radius: 20px;
  padding: 18px 22px;
  min-width: 120px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
}

.mini-stats strong {
  display: block;
  color: #0f766e;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 6px;
}

.mini-stats span {
  color: #64748b;
  font-size: 14px;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-box {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(135deg, #020617, #0f172a);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 22px 56px rgba(2, 6, 23, 0.16);
}

.hero-logo-box img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  border-radius: 22px;
  background: #07101f;
  padding: 18px;
}

/* COMMON SECTION */
.section {
  max-width: 1240px;
  margin: auto;
  padding: 90px 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 52px;
}

.section-heading p {
  color: #0f766e;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 42px;
  letter-spacing: -1px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-panel {
  padding: 34px;
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.06);
}

.about-panel.dark {
  background: linear-gradient(135deg, #06202a, #0f766e);
  color: white;
}

.about-panel.dark p {
  color: #dbeafe;
}

.about-panel.light {
  background: #fff;
}

.about-panel h3 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.bullet-grid div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  font-weight: 800;
  color: #334155;
}

/* SIZES */
.sizes {
  background: #fff;
  max-width: 100%;
}

.sizes .section-heading,
.sizes .size-grid {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.size-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.05);
  position: relative;
  overflow: hidden;
  transition: 0.25s;
}

.size-card:hover {
  transform: translateY(-6px);
}

.size-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: #0f766e;
}

.size-card h3 {
  color: #0f766e;
  font-size: 36px;
  margin-bottom: 10px;
}

.size-card p {
  color: #64748b;
}

.size-card.custom {
  background: linear-gradient(135deg, #0f172a, #0f766e);
}

.size-card.custom h3,
.size-card.custom p {
  color: white;
}

/* APPLICATIONS */
.applications {
  background: #f8fafc;
}

.simple-application-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.simple-app-card {
  min-height: 230px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.25s;
}

.simple-app-card:hover {
  transform: translateY(-6px);
  border-color: #0f766e;
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.12);
}

.simple-app-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #0f172a;
}

.simple-app-card p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}

/* PROJECTS */
.projects {
  background: #fff;
  max-width: 100%;
}

.projects .section-heading,
.projects .project-grid {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.08);
  border: 1px solid #e2e8f0;
  transition: 0.25s;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  height: 260px;
  object-fit: cover;
}

.project-info {
  padding: 18px 18px 20px;
}

.project-info h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.project-info p {
  color: #64748b;
  font-size: 15px;
}

/* CTA */
.cta {
  max-width: 1120px;
  margin: 70px auto;
  border-radius: 34px;
  background: linear-gradient(135deg, #05202c, #0f766e);
  color: white;
  padding: 60px 28px;
  text-align: center;
}

.cta h2 {
  font-size: 40px;
  margin-bottom: 12px;
}

.cta p {
  color: #dbeafe;
  margin-bottom: 28px;
}

/* CONTACT */
.contact {
  max-width: 1240px;
  margin: auto;
  padding: 90px 20px;
}

.contact-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contact-box {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.08);
  padding: 32px;
  border: 1px solid #e2e8f0;
}

.contact-info-box {
  width: 100%;
  height: 100%;
}

.contact-box h3 {
  color: #0f766e;
  font-size: 30px;
  margin-bottom: 18px;
}

.contact-box p {
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.7;
}

.contact-box a {
  color: #0f766e;
  font-weight: 800;
}

.contact-box a:hover {
  text-decoration: underline;
}

.contact-form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0f766e;
}

.contact-form button {
  border: none;
  padding: 15px;
  border-radius: 14px;
  background: #0f766e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
  margin-top: auto;
}

.contact-form button:hover {
  background: #115e59;
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  background: #020617;
  color: white;
  text-align: center;
  padding: 44px 20px;
}

.footer img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 22px;
  margin: 0 auto 16px;
}

.footer h3 {
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.footer p,
.footer small {
  color: #cbd5e1;
}

.footer-links {
  margin: 22px 0 16px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e2e8f0;
  font-weight: 700;
}

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

/* RESPONSIVE */
@media (max-width: 1100px) {
  .simple-application-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-links.active {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 24px;
    box-shadow: 0 18px 30px rgba(2, 6, 23, 0.08);
  }

  .hero,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-logo-box {
    max-width: 100%;
  }

  .hero-logo-box img {
    height: 340px;
  }

  .size-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .simple-application-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: auto;
  }

  .brand span {
    display: none;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero {
    padding: 95px 16px 40px;
    gap: 28px;
  }

  .hero-mini-brand h4 {
    font-size: 22px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.05;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons,
  .mini-stats {
    flex-direction: column;
  }

  .mini-stats div {
    width: 100%;
  }

  .hero-logo-box img {
    height: 280px;
  }

  .section-heading h2,
  .cta h2 {
    font-size: 30px;
  }

  .bullet-grid,
  .size-grid,
  .simple-application-grid,
  .project-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* yaha tumhara purana CSS khatam ho raha hoga */
@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* FINAL CONTACT SECTION FORMAT */
.sf-contact-section {
  max-width: 1240px;
  margin: auto;
  padding: 90px 20px;
}

.sf-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.sf-info-card,
.sf-query-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.08);
}

.sf-info-card h3 {
  color: #0f766e;
  font-size: 34px;
  margin-bottom: 20px;
}

.sf-info-card p {
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 16px;
}

.sf-info-card a {
  color: #0f766e;
  font-weight: 800;
}

.sf-info-card a:hover {
  text-decoration: underline;
}

.sf-query-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sf-query-card input,
.sf-query-card textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  background: #ffffff;
}

.sf-query-card input:focus,
.sf-query-card textarea:focus {
  border-color: #0f766e;
}

.sf-query-card textarea {
  resize: vertical;
  min-height: 140px;
}

.sf-query-card button {
  border: none;
  padding: 16px;
  border-radius: 16px;
  background: #0f766e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}

.sf-query-card button:hover {
  background: #115e59;
  transform: translateY(-2px);
}

/* Mobile view */
@media (max-width: 760px) {
  .sf-contact-layout {
    grid-template-columns: 1fr;
  }
}