/* =========================================================
   GOOGLE FONT IMPORT
========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* =========================================================
   ROOT VARIABLES
========================================================= */
:root {
  --primary-blue: #2563eb;
  --dark-blue: #1e3a8a;
  --accent-green: #059669;

  --white: #ffffff;
  --light-bg: #f8fafc;
  --soft-bg: #eff6ff;

  --dark-text: #1e293b;
  --light-text: #64748b;
  --border-color: #e2e8f0;

  /* Footer */
  --footer-bg: #0f172a;
  --footer-surface: #1e293b;
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-muted: #94a3b8;
  --footer-hover: #60a5fa;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --transition: all 0.3s ease;
  --container-width: 1200px;
}

/* =========================================================
   GLOBAL RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; }
ul { list-style: none; }
img { width: 100%; display: block; }
section { padding: 100px 8%; }

/* =========================================================
   SECTION TITLE
========================================================= */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--light-text);
  max-width: 650px;
  margin: auto;
}

/* =========================================================
   HEADER & NAVBAR
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  max-width: var(--container-width);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
  padding: 0 20px;
}

.logo h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-blue);
}
.logo img { width:270px; object-fit:contain; }
.nav-links { display:flex; gap:30px; align-items:center; }

/* .nav-links a {
  color:var(--dark-text);
  font-weight:500;
  position:relative;
  transition:var(--transition); */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--dark-text);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover { color: var(--primary-blue); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background-color: var(--primary-blue);
  transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-button a {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-button a:hover {
  background-color: var(--dark-blue);
  transform: translateY(-3px);
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 60px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  padding: 60px 8%;
}

.hero-content h2 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-content p {
  color: var(--light-text);
  margin-bottom: 35px;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons a {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.hero-buttons a:first-child {
  background-color: var(--primary-blue);
  color: var(--white);
}

.hero-buttons a:first-child:hover { background-color: var(--dark-blue); }

.hero-buttons a:last-child {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.hero-buttons a:last-child:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* =========================================================
   PAGE HERO
========================================================= */
.page-hero {
  padding:0 6px;
  text-align: center;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.page-hero-content h2 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-hero-content p {
  max-width: 700px;
  margin: auto;
  color: var(--light-text);
  font-size: 18px;
}

/* =========================================================
   TWO-COLUMN SECTIONS
========================================================= */
.about-section,
.about-intro-section,
.services-intro-section,
.projects-intro-section,
.contact-intro-section,
.why-us-section,
.why-choose-section,
.contact-form-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.about-content h2,
.about-intro-content h2,
.services-intro-content h2,
.projects-intro-content h2,
.contact-intro-content h2,
.why-us-content h2,
.why-choose-content h2,
.contact-form-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-content p,
.about-intro-content p,
.services-intro-content p,
.projects-intro-content p,
.contact-intro-content p,
.why-us-content p,
.why-choose-content p,
.contact-form-content p {
  margin-bottom: 18px;
  color: var(--light-text);
}

.about-content a {
  display: inline-block;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  margin-top: 10px;
  font-weight: 600;
  transition: var(--transition);
}

.about-content a:hover { background-color: var(--dark-blue); }

.about-image img,
.about-intro-image img,
.services-intro-image img,
.projects-intro-image img,
.contact-intro-image img,
.why-us-image img,
.why-choose-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   WHY US LIST
========================================================= */
.why-us-list,
.features-list {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-us-list li,
.features-list li {
  color: var(--dark-text);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-us-list li::before,
.features-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  flex-shrink: 0;
}

/* =========================================================
   SERVICE CARDS
========================================================= */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card h3 {
  margin-bottom: 14px;
  color: var(--primary-blue);
  font-size: 19px;
}

.service-card p {
  color: var(--light-text);
  font-size: 14px;
}

/* =========================================================
   PROJECT CARDS
========================================================= */
.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.project-card img {
  height: 220px;
  object-fit: cover;
}

/* index.html has cards without .project-content wrapper */
.project-card h3 {
  padding: 24px 24px 0;
  font-size: 18px;
}

.project-card > p {
  padding: 10px 24px 24px;
  color: var(--light-text);
  font-size: 14px;
}

.project-content {
  padding: 28px;
}

.project-content h3 {
  padding: 0;
  margin-bottom: 10px;
  font-size: 18px;
}

.project-content p {
  padding: 0;
  color: var(--light-text);
  margin-bottom: 18px;
  font-size: 14px;
}

.project-content a {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.project-content a:hover { color: var(--dark-blue); }

/* =========================================================
   TEAM CARDS
========================================================= */
.team-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.team-card img {
  height: 300px;
  object-fit: cover;
}

.team-card h3 {
  margin-top: 22px;
  font-size: 18px;
}

.team-card p {
  padding-bottom: 28px;
  color: var(--light-text);
  font-size: 14px;
  margin-top: 6px;
}

/* =========================================================
   PROCESS / MISSION / PRICING / TECH / FAQ CARDS
========================================================= */
.process-container,
.mission-container,
.pricing-container,
.technologies-container,
.faq-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.process-card,
.mission-card,
.pricing-card,
.tech-card,
.faq-card {
  background-color: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.process-card:hover,
.mission-card:hover,
.pricing-card:hover,
.tech-card:hover,
.faq-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.process-card h3,
.mission-card h3,
.pricing-card h3,
.tech-card h3,
.faq-card h3 {
  margin-bottom: 12px;
  color: var(--primary-blue);
  font-size: 18px;
}

.process-card p,
.mission-card p,
.pricing-card p,
.faq-card p {
  color: var(--light-text);
  font-size: 14px;
}

.pricing-card a {
  display: inline-block;
  margin-top: 20px;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.pricing-card a:hover { background-color: var(--dark-blue); }

/* =========================================================
   CONTACT CARDS
========================================================= */
.contact-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  margin-bottom: 12px;
  color: var(--primary-blue);
  font-size: 18px;
}

.contact-card p { color: var(--light-text); }

/* =========================================================
   CONTACT FORM
========================================================= */
/* index.html bare form */
.contact-section .contact-form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: none;
  box-shadow: none;
  padding: 0;
  border: none;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  background: var(--light-bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.contact-form button {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.contact-form button:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
}

/* =========================================================
   MAP SECTION
========================================================= */
.map-container iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   CTA SECTION
========================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  text-align: center;
  color: var(--white);
  border-radius: var(--radius-lg);
  margin: 0 8% 100px;
  padding: 80px 60px;
}

.cta-content h2 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 18px;
}

.cta-content p {
  margin-bottom: 32px;
  font-size: 17px;
  opacity: 0.9;
}

.cta-content a {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-blue);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
}

.cta-content a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   FOOTER — NEW STRUCTURE
========================================================= */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 0;
}

/* Newsletter Strip */
.footer-newsletter {
  background-color: var(--footer-surface);
  border-bottom: 1px solid var(--footer-border);
  padding: 36px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-newsletter-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}

.footer-newsletter-text p {
  color: var(--footer-muted);
  font-size: 14px;
}

.footer-newsletter-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.footer-newsletter-form input[type="email"] {
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  outline: none;
  width: 240px;
  transition: var(--transition);
}

.footer-newsletter-form input[type="email"]::placeholder { color: #64748b; }

.footer-newsletter-form input[type="email"]:focus {
  border-color: var(--footer-hover);
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-newsletter-form button {
  padding: 12px 22px;
  border-radius: 50px;
  border: none;
  background-color: var(--primary-blue);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.footer-newsletter-form button:hover { background-color: #1d4ed8; }

/* Main Grid */
.footer-main {
  padding: 65px 8% 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

/* Brand */
.footer-brand .footer-logo-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand .footer-logo-name span { color: var(--footer-hover); }

.footer-brand .footer-tagline {
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 26px;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--footer-border);
  background-color: var(--footer-surface);
  color: var(--footer-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
}

.footer-socials a:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
}

/* Column headings */
.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--footer-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.footer-col h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background-color: var(--primary-blue);
  border-radius: 2px;
}

/* Quick link lists */
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul li a {
  color: var(--footer-muted);
  font-size: 14px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 10px;
}

/* Contact info */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: rgba(37, 99, 235, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.footer-contact-detail {
  display: flex;
  flex-direction: column;
}

.footer-contact-detail .label {
  font-size: 10px;
  color: var(--footer-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.footer-contact-detail .value {
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* Divider */
.footer-divider {
  height: 1px;
  background-color: var(--footer-border);
  margin: 0 8%;
}

/* Bottom bar */
.footer-bottom {
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--footer-muted);
  font-size: 13px;
}

.footer-copy a {
  color: var(--footer-hover);
  font-weight: 500;
}

.footer-copy a:hover { text-decoration: underline; }

.footer-bottom-links {
  display: flex;
  gap: 22px;
}

.footer-bottom-links a {
  color: var(--footer-muted);
  font-size: 13px;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--white); }

.footer-back-top {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--footer-border);
  background-color: var(--footer-surface);
  color: var(--footer-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
}

.footer-back-top:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
}

/* =========================================================
   OLD FOOTER CLASSES — kept for safety
========================================================= */
.footer-content {
  text-align: center;
  padding: 50px 8% 20px;
}

.footer-content h3 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-content p { color: var(--footer-muted); font-size: 14px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 0 8% 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--footer-muted);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }

/* Old footer-bottom (only p inside, no flex children) */
.footer-bottom p {
  color: var(--footer-muted);
  font-size: 13px;
  text-align: center;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand .footer-tagline { max-width: 100%; }
}

@media (max-width: 992px) {
  .hero-section,
  .about-section,
  .about-intro-section,
  .services-intro-section,
  .projects-intro-section,
  .contact-intro-section,
  .why-us-section,
  .why-choose-section,
  .contact-form-section {
    grid-template-columns: 1fr;
  }

  .services-container,
  .projects-container,
  .team-container,
  .process-container,
  .mission-container,
  .pricing-container,
  .technologies-container,
  .faq-container,
  .contact-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h2 { font-size: 44px; }
  .nav-links { display: none; }

  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-newsletter-form { width: 100%; }
  .footer-newsletter-form input[type="email"] { width: 100%; flex: 1; }
}

@media (max-width: 768px) {
  section { padding: 70px 6%; }

  .hero-section { padding: 80px 6% 60px; }

  .cta-section {
    margin: 0 6% 80px;
    padding: 60px 30px;
  }

  .hero-content h2 { font-size: 36px; }
  .page-hero-content h2 { font-size: 34px; }
  .section-title h2 { font-size: 34px; }

  .about-content h2,
  .about-intro-content h2,
  .services-intro-content h2,
  .projects-intro-content h2,
  .contact-intro-content h2,
  .why-us-content h2,
  .why-choose-content h2,
  .contact-form-content h2 { font-size: 30px; }

  .cta-content h2 { font-size: 34px; }

  .services-container,
  .projects-container,
  .team-container,
  .process-container,
  .mission-container,
  .pricing-container,
  .technologies-container,
  .faq-container,
  .contact-cards-container {
    grid-template-columns: 1fr;
  }

  .hero-buttons { flex-direction: column; align-items: flex-start; }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 48px 6% 36px;
  }

  .footer-logo-name img {

    background-color: white;
    padding: 10px 15px;
    border: 12px;
  }


  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 22px 6%;
    gap: 14px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .footer-newsletter { padding: 28px 6%; }
  .footer-newsletter-form { flex-direction: column; }
  .footer-divider { margin: 0 6%; }
  .footer-links { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .navbar { padding: 0 14px; }
  .logo h1 { font-size: 22px; }
  .hero-content h2 { font-size: 30px; }
  .hero-content p { font-size: 15px; }
  .page-hero { padding: 100px 6% 70px; }
}
