/* Reset and global variables */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: #f9f9fb;
  color: #1f2937;
}

/* Colour palette */
:root {
  --primary: #0f4c81;            /* Rich navy for headings and accents */
  --secondary: #012f4a;          /* Deep blue for dark backgrounds */
  --accent: #ef5b5b;             /* Warm coral for calls to action */
  --success: #10b981;            /* Vibrant teal for icons and highlights */
  --background: #f9f9fb;         /* Light background */
  --gray-light: #f3f5f7;         /* Soft gray for subtle sections */
  --light: #ffffff;              /* White */
  --dark: #031c30;               /* Almost black for high contrast */
  --muted: #6b7280;              /* Muted grey for secondary text */
}

/* Generic containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--dark);
}

/* Logo image styling */
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-right: 0.5rem;
  object-fit: cover;
}
.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-right: 0.5rem;
  object-fit: cover;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin-right: 0.5rem;
}

.main-nav a {
  margin: 0 0.75rem;
  color: var(--dark);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-cta {
  background: var(--accent);
  color: var(--light);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.header-cta:hover {
  background: #d84b43;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #035c6e 100%);
  color: var(--light);
  padding: 5rem 0;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--light);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.hero-text .hero-sub {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #dbe5f2;
}

.hero-text .hero-desc {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #b8c5d8;
}

.hero-note {
  font-size: 0.9rem;
  color: #a9bcd0;
  margin-bottom: 1.5rem;
}

.hero-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--light);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #d84b43;
}

.hero-image {
  flex: 1;
  min-width: 280px;
}

/* Reusable image card used across sections */
.image-card {
  width: 100%;
  padding-top: 66.66%; /* 3:2 aspect ratio */
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Problems Section */
.problems-section {
  background: var(--background);
  padding: 5rem 0;
}

.problems-container {
  text-align: center;
}

.problems-section h2 {
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.problems-section .section-intro {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.problem-card {
  background: var(--light);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  font-size: 1rem;
  color: #374151;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.problem-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

/* Platform Section */
.platform-section {
  padding: 5rem 0;
  background: var(--gray-light);
}

.platform-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.platform-image {
  flex: 1;
  min-width: 280px;
}

.platform-text {
  flex: 1;
  min-width: 280px;
}

.platform-text h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  text-align: left;
}

.platform-text .section-intro {
  text-align: left;
  margin: 0 0 1.5rem 0;
  color: var(--muted);
  font-size: 1rem;
}

.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #374151;
}

.icon-circle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--success);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.icon-svg {
  width: 20px;
  height: 20px;
}

/* Solutions Section */
.solutions-section {
  padding: 5rem 0;
  background: var(--background);
}

.solutions-container {
  text-align: center;
}

.solutions-section h2 {
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.solutions-section .section-intro {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.solution-card {
  background: var(--light);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.solution-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.solution-icon {
  width: 40px;
  height: 40px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  flex-shrink: 0;
}

.solution-header h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0;
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #374151;
}

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: bold;
}

.price-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--light);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Results Section */
.results-section {
  padding: 5rem 0;
  background: var(--gray-light);
}

.results-container {
  text-align: center;
}

.results-section h2 {
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.results-section .section-intro {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.stat-item {
  background: var(--light);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--light);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.95rem;
  color: #555;
}

/* Case Studies Section */
.case-section {
  padding: 5rem 0;
  background: var(--background);
}

.case-container {
  text-align: center;
}

.case-section h2 {
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.case-section .section-intro {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.case-card {
  background: var(--light);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  line-height: 1.6;
  color: #374151;
}

.case-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.case-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.case-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #555;
}

/* Expertise Section */
.expertise-section {
  padding: 5rem 0;
  background: var(--gray-light);
}

/* Spacing and layout for expertise list */
.expertise-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.expertise-list .icon-circle {
  margin-right: 0.75rem;
  margin-top: 0.15rem;
}
.expertise-list .list-desc {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Structure for expertise text */
.expertise-info {
  display: flex;
  flex-direction: column;
}
.expertise-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
}

.expertise-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.expertise-text {
  flex: 1;
  min-width: 280px;
}

.badge-secondary {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.expertise-text h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  text-align: left;
}

.expertise-text .section-intro {
  text-align: left;
  margin: 0 0 1.5rem 0;
  color: var(--muted);
  font-size: 1rem;
}

.expertise-list {
  list-style: none;
  padding: 0;
}

.expertise-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: #374151;
}

.expertise-list .icon-circle {
  width: 36px;
  height: 36px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.list-desc {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.expertise-graphic {
  flex: 1;
  min-width: 280px;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--background);
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-container h2 {
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.cta-container .section-intro {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: #374151;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.form-cta {
  align-self: flex-start;
  background: var(--accent);
  color: var(--light);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-cta:hover {
  background: #d84b43;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--light);
  padding: 3rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.footer-column h4 {
  color: var(--light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

.footer-column a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--light);
}

.footer-about .footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.footer-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-top: 0.5rem;
  max-width: 250px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Responsive design tweaks */
@media (max-width: 768px) {
  .hero-container,
  .platform-container,
  .expertise-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.4rem;
  }
  .hero-text .hero-sub {
    font-size: 1.1rem;
  }
  .platform-text h2,
  .expertise-text h2 {
    text-align: center;
  }
  .platform-text .section-intro,
  .expertise-text .section-intro {
    text-align: center;
  }
  .solutions-section h2,
  .results-section h2,
  .case-section h2,
  .cta-container h2 {
    font-size: 2rem;
  }
}