
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;700;800&display=swap");

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --deep: #0f1630;
  --deep-2: #171d3d;
  --text: #101423;
  --muted: #5d667a;
  --border: rgba(16, 20, 35, 0.08);
  --accent: #3bbdf6;
  --accent-2: #0078ff;
  --accent-3: #16c7b8;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.06);
  --radius: 24px;
  --radius-lg: 32px;
  --section-pad: clamp(3.5rem, 7vw, 6.5rem);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  line-height: 1.8;
}
/* Shared headings */
.main-heading,
.h1,
.work-box h2,
.tech-box h1,
.doubt-sub-box h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.info-box > span,
.work-box > span,
.tech-box > span,
.doubt-sub-box span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.info-box > span::before,
.work-box > span::before,
.tech-box > span::before,
.doubt-sub-box span::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  flex: 0 0 auto;
}

/* Hero */
.container {
  position: relative;
  width: 100%;
  min-height: clamp(120px, 42vw, 300px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem);
  background:
    linear-gradient(90deg, rgba(7, 11, 25, 0.84) 0%, rgba(7, 11, 25, 0.66) 42%, rgba(7, 11, 25, 0.28) 100%),
    url("../images/image\ \(1\).png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  isolation: isolate;
}

.container::before,
.container::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.container::before {
  width: 22rem;
  height: 22rem;
  top: -7rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(59, 189, 246, 0.22), transparent 68%);
}

.container::after {
  width: 18rem;
  height: 18rem;
  bottom: -6rem;
  left: -4rem;
  background: radial-gradient(circle, rgba(22, 199, 184, 0.18), transparent 68%);
}

.sub-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

.main-heading {
  max-width: 12ch;
  color: #ffffff;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.95;
  font-weight: 800;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Intro */
.our-info {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: var(--section-pad) clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.info-container,
.infor-image {
  width: 100%;
  margin: 0;
}

.info-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.info-sub-container {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.info-para p {
  color: var(--muted);
  font-size: 1.02rem;
}

.info-para2 p {
  color: #344055;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 20, 35, 0.08);
}

.infor-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.infor-image::before {
  content: "";
  position: absolute;
  inset: 10% 4% 6% 4%;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(59, 189, 246, 0.14), rgba(22, 199, 184, 0.12));
  filter: blur(0);
}

.infor-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  transition: transform 0.55s ease, box-shadow 0.55s ease;
}

.infor-image:hover img {
  transform: scale(1.02);
}

/* Work */
.work-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: var(--section-pad) clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, #111638 0%, #0c1028 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.work-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(59, 189, 246, 0.18), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(22, 199, 184, 0.18), transparent 18%);
  pointer-events: none;
}

.work-image,
.work-container {
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 1;
}

.work-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.work-image img {
  width: 100%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.55s ease;
}

.work-image:hover img {
  transform: translateY(-6px);
}

.work-container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.work-sub-container {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.work-box h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  color: #ffffff;
  margin: 0;
}

.work-box > span {
  color: rgba(127, 224, 255, 0.92);
}

.work-icon {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.icon {
  min-height: 110px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(59, 189, 246, 0.12), rgba(0, 120, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(5, 8, 20, 0.18);
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.icon:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  border-color: transparent;
}

.icon a {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  transition: color 0.28s ease;
}
.icon:hover a {
  color: #ffffff;
}

.work-para {
  color: rgba(228, 236, 255, 0.82);
  font-size: 1rem;
  line-height: 1.85;
}

/* Tech */
.tech_index-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: var(--section-pad) clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.tech_index-container {
  width: 100%;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.tech-sub-container {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.tech-box h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--text);
  margin: 0 0 0.9rem;
}

.tech-box > span {
  color: var(--accent-2);
}

.tech-para p {
  color: var(--muted);
  font-size: 1rem;
}
.tech-parameter {
  margin-top: 1.75rem;
}

.skill {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.skill-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.skill-title span {
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
}

.skill-title span:first-child {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.skill-title span:last-child {
  color: var(--accent-2);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
}

.bar-container {
  width: 100%;
  background: rgba(16, 20, 35, 0.08);
  border-radius: 999px;
  overflow: hidden;
  height: 12px;
}

.bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));  box-shadow: 0 0 20px rgba(59, 189, 246, 0.3);
  transition: width 1.5s ease-in-out;
}

.tech-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tech-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 25, 0.1), rgba(7, 11, 25, 0.34));
  z-index: 1;
  pointer-events: none;
}

.tech-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.tech-image:hover img {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 1100px) {
  .container {
    justify-content: center;
  }

  .main-heading {
    max-width: 14ch;
  }
}

@media (max-width: 992px) {
  .our-info,
  .work-section,
  .tech_index-section {
    grid-template-columns: 1fr;
  }

  .work-image {
    order: -1;
  }

  .main-heading {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    min-height: 300px;
    padding: 2.5rem 1rem;
  }

  .main-heading {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .info-sub-container,
  .work-sub-container,
  .tech-sub-container {
    padding: 1.3rem;
  }

  .h1,
  .work-box h2,
  .tech-box h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .info-para p,
  .info-para2 p,
  .work-para,
  .tech-para p {
    font-size: 0.98rem;
  }

  .work-icon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .icon {
    min-height: 96px;
  }
}

@media (max-width: 560px) {
  .container {
    min-height: 260px;
    align-items: center;
  }

  .our-info,
  .work-section,
  .tech_index-section {
    padding: 3.25rem 1rem;
  }

  .work-icon {
    grid-template-columns: 1fr;
  }

  .info-box > span,  .work-box > span,
  .tech-box > span,
  .doubt-sub-box span {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }

  .info-box > span::before,
  .work-box > span::before,
  .tech-box > span::before,
  .doubt-sub-box span::before {
    width: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;    scroll-behavior: auto !important;
  }
}