/* ====== Techdoods IT Solutions — Global Styles ====== */
:root{
  /* Brand colors (tuned to your logo) */
  --td-blue-600:#1f7edb;   /* primary blue */
  --td-blue-500:#2aa4ff;   /* lighter blue accent */
  --td-green-500:#36b24a;  /* circuit green */
  --td-navy-900:#0b2136;   /* deep shield navy */
  --td-navy-800:#102a45;
  --td-gray-900:#0f172a;
  --td-gray-800:#1f2937;
  --td-gray-700:#2b3443;
  --td-gray-600:#475569;
  --td-gray-500:#64748b;
  --td-gray-300:#cbd5e1;
  --td-gray-200:#e2e8f0;
  --td-gray-100:#f1f5f9;
  --td-white:#ffffff;

  --radius:14px;
  --radius-sm:10px;
  --shadow-sm:0 4px 14px rgba(11,33,54,.08);
  --shadow-md:0 10px 30px rgba(11,33,54,.12);
  --container:1200px;
}

/* Base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--td-gray-900);
  background:var(--td-white);
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--td-blue-600);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid var(--td-blue-500);outline-offset:2px}

.thankyou-card{
  background:#fff;
  color:var(--td-gray-800);
  border:1px solid var(--td-gray-200);
  border-radius:var(--radius);
  box-shadow:var(--shadow-md);
  padding:28px 24px;
  max-width:760px;
  margin:0 auto;
}
.thankyou-card h1{ color:var(--td-navy-900); }
.thankyou-card p { color:var(--td-gray-700); }

.notice{
  background: var(--td-navy-900);
  color:#e0eeff;
  font-size:14px;
  padding:8px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.notice .container{ display:flex; gap:10px; align-items:center; flex-wrap:wrap }
.notice .dot{ opacity:.7 }
.notice a.notice-link{ color:#fff; font-weight:700; text-decoration:underline }
.notice a.notice-link:hover{ text-decoration:none }

.sublead{ color:#cfe3ff; margin:6px 0 0; font-size:15px }


.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:20px;
}

/* ====== Header & Nav ====== */
header{
  position:sticky; top:0; z-index:50;
  background:var(--td-white);
  border-bottom:1px solid var(--td-gray-200);
  box-shadow:var(--shadow-sm);
}


header .container{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; min-height:74px;
}
.brand img{
  /* If you use the uploaded PNG, set height instead of width */
  height:auto;
  max-height: 120px; 
  width:auto;
}
@media (max-width: 768px){
  .brand img{ max-height:80px; }
}

/* Nav */
.nav{
  list-style:none; margin:0; padding:0;
  display:flex; align-items:center; gap:22px;
}
.nav a{
  color:var(--td-gray-800); font-weight:600;
  padding:.5rem .25rem; border-radius:8px;
}
.nav a:hover{color:var(--td-blue-600)}
.cta-link{
  color:var(--td-white) !important; text-decoration:none !important;
  background:linear-gradient(90deg,var(--td-blue-600),var(--td-blue-500));
  padding:.6rem 1rem; border-radius:999px; box-shadow:var(--shadow-sm);
}
.cta-link:hover{filter:brightness(1.05)}

/* ====== Hero ====== */
.hero{
  /* Subtle diagonal gradient with brand tones */
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(42,164,255,.18), rgba(42,164,255,0) 60%),
    radial-gradient(900px 400px at 110% 10%, rgba(54,178,74,.14), rgba(54,178,74,0) 60%),
    linear-gradient(180deg, var(--td-navy-900), var(--td-navy-800));
  color:var(--td-white);
  padding:88px 0 72px;
  box-shadow:var(--shadow-md);
}
.hero .container{max-width:980px}
.hero h1{
  margin:0 0 12px; font-size:clamp(28px,3.2vw,44px);
  line-height:1.15; letter-spacing:.2px;
}
.lead{
  margin:0 0 24px; color:#ebf2fb; font-size:clamp(16px,2vw,18px);
}
.btn{
  display:inline-block; font-weight:700; border-radius:999px;
  padding:.85rem 1.25rem; text-decoration:none;
  transition:transform .06s ease, filter .2s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background:linear-gradient(90deg,var(--td-blue-600),var(--td-blue-500));
  color:var(--td-white); box-shadow:var(--shadow-sm);
}
.btn-primary:hover{filter:brightness(1.08)}
.btn-secondary{
  background:var(--td-white);
  color:var(--td-blue-600); border:1px solid rgba(42,164,255,.25);
}
.center{text-align:center}

/* ====== Sections ====== */
main section{padding:64px 0}
h2{
  margin:0 0 14px; font-size:clamp(22px,2.8vw,32px);
  color:var(--td-navy-900); letter-spacing:.2px;
}
h3{
  margin:0 0 8px; font-size:clamp(18px,2.2vw,22px);
  color:var(--td-gray-900);
}
.about p{margin:0 0 12px; color:var(--td-gray-700)}

/* ====== Services Grid ====== */
.services-grid{
  display:grid; gap:20px; margin-top:18px;
  grid-template-columns:repeat(3, minmax(0,1fr));
}
.service-card{
  background:var(--td-white);
  border:1px solid var(--td-gray-200);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow-sm);
  transition:transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
  border-color:rgba(31,126,219,.25);
}
.service-card p{margin:0 0 12px; color:var(--td-gray-700)}
.text-link{font-weight:700}
.text-link:hover{text-decoration:underline}

/* ====== Trust List ====== */
.trust{
  background:linear-gradient(180deg,var(--td-gray-100),#fff);
  border-top:1px solid var(--td-gray-200);
  border-bottom:1px solid var(--td-gray-200);
}
.trust-list{
  margin:12px 0 0; padding-left:18px; color:var(--td-gray-700);
}
.trust-list li{margin:.5rem 0}

/* ====== Footer ====== */
footer{
  background:var(--td-navy-900); color:#cfe3ff;
  margin-top:24px; padding:40px 0;
}
.footer-grid{
  display:grid; gap:28px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-bottom:16px;
}
footer h2{color:#e8f2ff}
footer a{color:#e0eeff}
footer a:hover{color:#ffffff}
address{font-style:normal}
.legal{
  margin:12px 0 0; color:#a9c4e8; font-size:14px; text-align:center;
}

/* ====== Responsive ====== */
@media (max-width: 960px){
  .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 640px){
  header .container{flex-wrap:wrap; gap:10px}
  .nav{flex-wrap:wrap; gap:14px}
  .services-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .hero{padding:68px 0 56px}
}

/* ====== Motion Preferences ====== */
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important}
}
