/* Variables */
:root {
  /* Fonts */
  --font-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: "Poppins", sans-serif;

  /* Colors */
  --color-text: #333;
  --color-text-light: #666;
  --color-text-dark: #212b36;
  --color-bg: #f8f9fa;
  --color-white: #ffffff;
  --color-primary: #2a5298;
  --color-secondary: #667eea;
  --color-primary-dark: #1e3c72;
  --color-accent: #ffd700;
  --color-success: #0f5132;
  --color-muted: #e5e7eb;
  --color-danger: #f44336;

  /* Gradients */
  --gradient-hero: linear-gradient(
    135deg,
    #1e3c72 0%,
    #2a5298 50%,
    #6dd5ed 100%
  );
  --gradient-highlight: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;

  /* Border radius */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-full: 50px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
  --shadow-md-primary: 0 5px 15px rgba(102, 126, 234, 0.3);
}
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}
#header-placeholder {
  margin-bottom: 80px;
}
/* Navigation Styles */
.navbar {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 40px;
}
.footer-logo img {
  height: 80px;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-primary);
}

.header-cta-btn {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.header-cta-btn:hover {
  background: var(--color-primary-dark) !important;
}

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Main Content */
.main-content {
  margin-top: 0;
  min-height: calc(100vh - 80px);
}
/* Hero Section */

.hero {
  background: radial-gradient(
      1100px 360px at 50% -140px,
      rgba(255, 255, 255, 0.08),
      transparent
    ),
    var(--gradient-hero);
  color: var(--color-bg);
  padding: 3rem 0 1.6rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0.5rem;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cta-btn-fill {
  background-color: var(--color-accent);
  color: var(--color-text);
}
.cta-btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

/* Container */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Styles */
.section {
  padding: 1.5rem 0;
}

.section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-white);
  margin: 1rem auto;
  border-radius: 2px;
}
.section-title-primary {
  color: var(--color-primary) !important;
}
.cta-section {
  background: var(--gradient-hero);
  color: var(--color-white);
}
.about-title::after {
  content: none !important;
  margin-bottom: 0rem !important;
}
/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3-center {
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.grid-2-center {
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.grid-4-center {
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.services-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
/* Card Styles */
.card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Container stacks two rows vertically */
.tech-logos {
  display: flex !important; /* override old grid/flex rules */
  flex-direction: column !important; /* force rows to stack */
  align-items: center;
  gap: 2rem; /* space between the two rows */
  margin: 2rem auto;
  max-width: 1100px;
}

/* Each row is a single horizontal line of logos */
.tech-logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap; /* keep each row on one line */
}

/* Logo sizing/hover */
.tech-logo {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}
.tech-logo:hover {
  transform: scale(1.08);
}

.row-spacer {
  height: 40px; /* space between rows */
}

/* Professional Images */
.professional-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin: 1rem 0;
}

/* Stats Section */
.stats {
  background: var(--gradient-hero);
  color: var(--color-white);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.about-cta {
  background: var(--gradient-hero);
  color: var(--color-white);
  text-align: center;
}
.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--color-white);
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Testimonials */
.testimonial {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  margin: 1rem 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-secondary);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
}

.testimonial-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.testimonial-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-secondary);
  margin-top: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  padding-left: 2rem;
  flex: 1;
}

.testimonial-author {
  font-weight: bold;
  color: var(--color-primary);
  text-align: right;
  float: right;
  text-decoration: none;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}
.testimonial-author:hover {
  color: var(--color-primary-dark);
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--color-muted);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--color-text-dark);
  color: var(--color-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-left: 4px solid var(--color-white);
  padding-left: 8px;
  line-height: 1;
}

.footer-column p {
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
}

.footer-bottom hr {
  border: none;
  height: 1px;
  background-color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.footer-bottom p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Certification Cards */
.cert-card {
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
}

.cert-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: none;
}

.cert-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}

.cert-card p {
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 1rem;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.page-header {
  height: 100%;
  padding: 24px 0px !important; /* remove bottom padding */
  display: flex; /* center content vertically */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden; /* crop any stray margins */
  background: radial-gradient(
      1100px 360px at 50% -140px,
      rgba(255, 255, 255, 0.08),
      transparent
    ),
    var(--gradient-hero);
  color: var(--color-white);
}

.page-header .container {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem; /* tighten vertical spacing */
}

/* kill default margins that add extra space */
.page-header h1,
.page-header h2,
.page-header p {
  margin: 0;
}

.page-header .cta-button {
  margin-top: 0.5rem;
}

/* Services specific */
.service-card {
  text-align: left;
  padding: 2.5rem;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* About specific */
.about-content {
  display: grid;
  grid-template-columns: 2.5fr 3fr;
  gap: 2rem;
  align-items: end;
  margin: 1rem 0;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* About text styling for prominence */
.full-width-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-primary) !important;
  width: 90%;
  display: block;
  margin: 0 auto;
  font-weight: 700;
  margin: 2rem 0 3rem 0;
  padding: 0;
}

.highlight-box {
  background: var(--gradient-highlight);
  color: var(--color-white);
  padding: 1.2rem;
  border-radius: 10px;
  margin: 1rem 0;
  text-align: center;
  box-shadow: var(--shadow-md-primary);
}

.highlight-box strong {
  font-size: 1.3rem;
  font-weight: 600;
}

.intro-text {
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 500;
  margin: 1rem 0;
  text-align: center;
}

.platform-section {
  background: var(--color-bg);
  border-left: 4px solid var(--color-secondary);
  padding: 1rem;
  margin: 0.8rem 0;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow-sm);
}

.platform-section p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.platform-section strong {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.conclusion-text {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 500;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--color-bg);
  border-radius: 8px;
}

.migration-text {
  background: var(--color-white);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
  margin: 0.8rem 0;
  font-size: 1.1rem;
}

.deployment-section {
  background: #e8f5e8;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  margin: 0.8rem 0;
}

.deployment-section p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.approach-section {
  background: var(--color-bg);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  margin: 0.8rem 0;
}

.approach-section p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.security-section {
  background: var(--color-bg);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-danger);
  margin: 0.8rem 0;
}

.security-section p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.devops-section {
  background: var(--color-bg);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-secondary);
  margin: 0.8rem 0;
}

.devops-section p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.about-image img:last-child {
  margin-bottom: 0.5rem;
}

/* Certifications */
.certifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.cert-item {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-left: 4px solid var(--color-secondary);
}

.cert-item h4 {
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

/* Contact specific */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.contact-item {
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.contact-item i {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.contact-item h3 {
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--color-text-light);
}

/* Partnership section styling */
.partnership-section h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  font-weight: 600;
}

.partnership-section p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: 800px;
}

/* Center the Clutch badge without touching the navbar */
.clutch-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0; /* small breathing room */
  background: transparent; /* no bar background */
}

/* Ensure the widget itself doesn’t introduce stray line-height/space */
.clutch-strip .clutch-widget {
  line-height: 0;
}

/* Match the type=1 height and force no background/cropping */
.clutch-strip .clutch-widget iframe {
  display: block;
  height: 40px !important; /* must match data-height for type=1 */
  border: 0;
  background: transparent !important;
}

/* Larger certification logos for detailed section */
.cert-item .cert-logo {
  width: 120px;
  height: 120px;
}
.logo-review-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.clutch-widget > iframe {
  max-width: 180px !important;
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
/* Responsive Design */
@media (max-width: 768px) {
  #header-placeholder {
    margin-bottom: 60px;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    gap: 1rem;
  }
  .nav-container {
    padding: 1rem;
    max-width: 768px;
    width: 100%;
  }
  .logo img {
    height: 36px;
  }
  .footer-logo img {
    height: 32px;
  }
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "logo logo"
      "services company";
  }

  .footer-column:first-child {
    grid-area: logo;
  }

  .footer-column:nth-child(2) {
    grid-area: services;
  }

  .footer-column:nth-child(3) {
    grid-area: company;
  }
  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .tech-logos {
    gap: 1rem;
  }
  .tech-logo-row {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .tech-logo {
    height: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem !important;
    margin-top: 1rem !important;
  }
  .stat-item {
    padding: 0 !important;
  }
  .stat-number {
    font-size: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .testimonial-content {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-image {
    align-self: center;
    margin-top: 0;
    margin-bottom: 1rem;
  }

  .testimonial-text {
    padding-left: 0;
  }

  .testimonial-author {
    text-align: center;
  }

  .about-content {
    grid-template-columns: 1fr !important;
    margin: 0 !important;
  }
  .about-image img {
    margin-bottom: 1rem;
  }
  .services-grid {
    gap: 1rem;
    margin-top: 1rem;
    grid-template-columns: 1fr;
  }
  .grid-1-col-mobile {
    grid-template-columns: 1fr;
  }
}
