/* =========================================================
   AddiNova Technologies — Main Stylesheet
   ========================================================= */

/* ----- Reset & Variables -------------------------------- */

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

:root {
  --navy:       #0d1b2a;
  --navy2:      #152236;
  --teal:       #00b4a0;
  --teal-light: #00d4bc;
  --cream:      #f5f0e8;
  --warm-white: #faf8f4;
  --text-dark:  #0d1b2a;
  --text-mid:   #3a4a5c;
  --text-light: #7a8a9a;
  --border:     rgba(13, 27, 42, 0.1);
  --card-bg:    #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ----- Navigation --------------------------------------- */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.3px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
  margin-right: 8px;
}

.nav-logo span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--teal) !important;
  color: #fff !important;
}

/* ----- Buttons ------------------------------------------ */

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ----- Hero --------------------------------------------- */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  gap: 60px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 160, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: 30%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 160, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
}

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

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 28px 24px;
  transition: background 0.2s;
}

.hero-stat:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 38px;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  line-height: 1.4;
}

/* ----- Section Shared ----------------------------------- */

section {
  padding: 100px 60px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.75;
  font-weight: 300;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 28px 0;
}

/* ----- About -------------------------------------------- */

#about {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 28px 30px;
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 180, 160, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.about-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ----- Services ----------------------------------------- */

#services {
  background: var(--warm-white);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(13, 27, 42, 0.08);
  border-color: rgba(0, 180, 160, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  color: rgba(13, 27, 42, 0.06);
  line-height: 1;
  margin-bottom: 16px;
  font-style: italic;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ----- Projects ----------------------------------------- */

#projects {
  background: var(--navy);
}

#projects .section-title { color: #fff; }
#projects .section-sub   { color: rgba(255, 255, 255, 0.55); }
#projects .section-label { color: var(--teal-light); }

.projects-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  margin-top: 8px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px;
  transition: background 0.25s, border-color 0.25s;
  position: relative;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 180, 160, 0.4);
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 180, 160, 0.15);
  border: 1px solid rgba(0, 180, 160, 0.3);
  color: var(--teal-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.project-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.project-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.project-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-pill {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-pill a {
  color: inherit;
  text-decoration: none;
}

.project-pill a:hover {
  color: var(--teal-light);
}

/* ----- Partners ----------------------------------------- */

#partners {
  background: var(--cream);
}

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

.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.partner-card:hover {
  box-shadow: 0 16px 40px rgba(13, 27, 42, 0.07);
  transform: translateY(-3px);
}

.partner-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
}

.partner-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.partner-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ----- Contact ------------------------------------------ */

#contact {
  background: var(--navy);
  text-align: center;
}

#contact .section-title { color: #fff; }
#contact .section-label { color: var(--teal-light); }
#contact .section-sub {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 auto 48px;
  font-weight: 300;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 32px 48px;
  transition: background 0.2s, border-color 0.2s;
  min-width: 280px;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 180, 160, 0.3);
}

.contact-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
}

.contact-card-value {
  font-size: 15px;
  color: #fff;
  font-weight: 400;
}

.contact-card-value a {
  color: var(--teal-light);
  text-decoration: none;
}

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

.contact-cta {
  margin-top: 48px;
}

/* ----- Footer ------------------------------------------- */

footer {
  background: #080f18;
  padding: 36px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-logo span {
  color: var(--teal);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* ----- Animations --------------------------------------- */

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

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Responsive --------------------------------------- */

@media (max-width: 900px) {
  nav {
    padding: 18px 24px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 72px 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 120px 24px 60px;
    gap: 48px;
  }

  .hero-visual {
    display: none;
  }

  #about {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 72px 24px;
  }

  .services-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid  { grid-template-columns: 1fr; }
  .projects-grid  { grid-template-columns: 1fr; }
  .partners-grid  { grid-template-columns: 1fr; }

  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    min-width: unset;
    width: 100%;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
