/* ===========================
   ADIYOG TECHNOLOGIES — MAIN CSS
   Navy #1A2B5E | Gold #F5A623 | Deep #0D1B3E
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #1A2B5E;
  --navy-deep: #0D1B3E;
  --navy-mid: #243570;
  --gold: #F5A623;
  --gold-light: #FFBE55;
  --gold-dim: rgba(245,166,35,0.15);
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --gray-light: #E8ECF4;
  --gray-mid: #8892AA;
  --text-dark: #1A2240;
  --text-body: #3D4D6A;
  --circuit-stroke: rgba(245,166,35,0.25);
}

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

html { scroll-behavior: smooth; }

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Rajdhani', sans-serif;
  color: var(--navy-deep);
  line-height: 1.15;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 62, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,166,35,0.2);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.45rem 1.25rem;
  border-radius: 4px;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy-deep) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 25px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--navy-deep);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

/* Circuit board SVG background */
.hero-circuit-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
}

/* Radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .accent { color: var(--gold); }

.hero-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--gray-mid);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.8rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Hero logo visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-glow {
  position: relative;
}

.hero-logo-glow::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-logo-glow img {
  width: 340px;
  max-width: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(245,166,35,0.3));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Stats bar */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(245,166,35,0.08);
  border-top: 1px solid rgba(245,166,35,0.2);
  display: flex;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 1.2rem 1rem;
  border-right: 1px solid rgba(245,166,35,0.15);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ===== SECTION COMMONS ===== */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-mid);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.divider-gold {
  display: block;
  width: 50px; height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}


.service-card{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    text-align:center;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    gap:1rem;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--gold);
  transition: height 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,43,94,0.12);
  border-color: rgba(245,166,35,0.3);
}
.service-card:hover::before { height: 100%; }

.service-icon {
  width: 52px; height: 52px;
  background: var(--gold-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon i {
  font-size: 1.4rem;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--navy-deep);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ===== WHY US ===== */
.why-section { background: var(--navy-deep); }

.why-section .section-title { color: var(--white); }
.why-section .section-subtitle { color: rgba(255,255,255,0.5); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  transition: background 0.25s, border-color 0.25s;
}
.why-card:hover {
  background: rgba(245,166,35,0.06);
  border-color: rgba(245,166,35,0.4);
}

.why-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ===== PROCESS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px; height: 56px;
  background: var(--navy-deep);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 1rem;
}

.step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy-deep);
}

.step p {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* ===== TECH STACK ===== */
.tech-section { background: var(--off-white); }

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tech-badge {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: 40px;
  padding: 0.5rem 1.25rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.tech-badge:hover {
  border-color: var(--gold);
  color: var(--navy-deep);
  background: var(--gold-dim);
}




.service-card i {
    font-size: 2rem;
    color: #f5a623;
    margin-bottom: 0.5rem;
    display:block;
}


.service-card span {
    display: block;
    color: #3d4d6a;
    font-weight: 600;
    font-size: 15px;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #D4AF37;
    box-shadow: 0 15px 30px rgba(212,175,55,.25);
}

/* ===== CONTACT ===== */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--navy-deep);
}

.contact-info p {
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--gold-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon i { color: var(--gold); }

.contact-detail-text strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.contact-detail-text span {
  font-size: 0.92rem;
  color: var(--gray-mid);
}

/* Form */
.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-error { color: #E74C3C; font-size: 0.8rem; margin-top: 0.3rem; }

.form-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--navy-deep);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold); color: var(--navy-deep); }

/* Messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.alert-success {
  background: rgba(39,174,96,0.1);
  border: 1px solid rgba(39,174,96,0.3);
  color: #1E8449;
}
.alert-error {
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.3);
  color: #C0392B;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  border-top: 2px solid var(--gold);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #080F21;
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid rgba(245,166,35,0.15);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand img { height: 52px; margin-bottom: 1rem; }

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.25);
  font-size: 0.82rem;
}

.footer-bottom .gold { color: var(--gold); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--navy-deep);
  padding: 7rem 2rem 4rem;
  text-align: center;
  border-bottom: 2px solid rgba(245,166,35,0.2);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {

    .section{
        padding:80px 24px;
    }

    .hero-inner{
        grid-template-columns:1fr;
        gap:3rem;
        text-align:center;
    }

    .hero-content{
        order:2;
    }

    .hero-visual{
        order:1;
    }

    .hero-desc{
        margin:0 auto 2rem;
        max-width:650px;
    }

    .hero-btns{
        justify-content:center;
    }

    .hero-logo-glow img{
        width:280px;
    }

    .contact-grid{
        grid-template-columns:1fr;
        gap:3rem;
    }

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

@media (max-width:768px){

    .navbar{
        padding:0 1rem;
    }

    .nav-toggle{
        display:flex;
    }

    .nav-links{
        display:none;
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        flex-direction:column;
        gap:1rem;
        background:var(--navy-deep);
        padding:1.5rem;
        box-shadow:0 10px 30px rgba(0,0,0,.35);
    }

    .nav-links.open{
        display:flex;
    }

    .hero{
        display:flex;
        flex-direction:column;
    }

    

    .hero-title{
        font-size:2.2rem;
    }

    .hero-tagline{
        font-size:.95rem;
        letter-spacing:.15em;
    }

    .hero-desc{
        font-size:.95rem;
    }

    .hero-btns{
        flex-direction:column;
        align-items:center;
    }

    .hero-btns a{
        width:min(300px,100%);
    }

    .hero-logo-glow img{
        width:210px;
    }

    .hero-stats{
        position:relative;
        display:grid;
        grid-template-columns:repeat(2,1fr);
    }

    .stat-item{
        max-width:none;
        border-right:none;
        border-bottom:1px solid rgba(245,166,35,.15);
    }

    .services-grid,
    .why-grid,
    .process-steps{
        grid-template-columns:1fr;
    }

    .service-card,
    .why-card,
    .step{
        padding:1.5rem;
    }

    .form-row{
        grid-template-columns:1fr;
    }

    .contact-form-wrap{
        padding:1.5rem;
    }

    .footer-inner{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-brand img{
        margin:0 auto 1rem;
    }

    .footer-bottom{
        flex-direction:column;
        text-align:center;
    }
}

@media (max-width:480px){

    .section{
        padding:60px 16px;
    }

    .hero-title{
        font-size:1.8rem;
    }

    .hero-eyebrow{
        font-size:.75rem;
    }

    .hero-tagline{
        font-size:.85rem;
    }

    .hero-logo-glow img{
        width:170px;
    }

    .stat-num{
        font-size:1.6rem;
    }

    .btn-primary,
    .btn-outline{
        width:100%;
        padding:14px;
    }

    .section-title{
        font-size:1.9rem;
    }

    .cta-banner h2{
        font-size:1.8rem;
    }
}
