/* Root theme colors */
:root {
  --primary-color: #102a43;
  --secondary-color: #00b8d9;
  --light-color: #f4f5f7;
  --dark-color: #1a1a1a;
  --accent-color: #f9f871;
  --transition-speed: 0.3s;
}

/* Global Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  background-color: var(--light-color);
  padding-top: 56px;
  line-height: 1.7;
}
a {
  text-decoration: none;
  transition: color var(--transition-speed);
}
h1, h2, h3, h4, h5 {
  font-weight: 600;
}
p {
  margin-bottom: 1rem;
}
section {
  padding: 4rem 1rem;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
}
:target::before {
  content: "";
  display: block;
  height: 70px;
  margin-top: -70px;
  visibility: hidden;
}

/* Buttons */
.btn-primary {
  background-color: var(--secondary-color);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 0.3rem;
  font-weight: 500;
  transition: background-color var(--transition-speed);
}
.btn-primary:hover {
  background-color: #00a4c7;
}
.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  transition: all var(--transition-speed);
}
.btn-outline-light:hover {
  background-color: #fff;
  color: var(--primary-color);
}

/* Navbar */
.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}
.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
  transition: color var(--transition-speed);
}
.navbar-dark .nav-link:hover {
  color: #b8d8e0;
}
.bg-deepblue {
  background-color: var(--primary-color) !important;
}
.navbar-nav .nav-link {
  padding: 0.8rem 1rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.hero .container {
  max-width: 850px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}
.hero p {
  font-size: 1.25rem;
  margin: 1rem 0 2rem;
}

/* Section Titles */
.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-color);
  position: relative;
}
.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* About Section */
#about p {
  max-width: 750px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
}

/* Unified Symmetric Grid Layout */
.symmetric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #e5e7eb;
  gap: 0;
}

/* Shared card style */
.symmetric-card {
  padding: 1.2rem 1rem;
  background-color: #fff;
  text-align: center;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset -1px 0 #e0e0e0, inset 0 -1px #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}
.symmetric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
  z-index: 2;
}
.symmetric-card i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

/* Responsive stack adjustment */
@media (max-width: 768px) {
  .symmetric-grid {
    grid-template-columns: 1fr;
  }
  .symmetric-card {
    min-height: 200px;
  }
}

/* Contact Section */
#contact .form-control {
  border-radius: 0.3rem;
  padding: 0.75rem 1rem;
  box-shadow: none;
  border: 1px solid #ced4da;
}
#contact .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 184, 217, 0.25);
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.2rem 0;
  font-size: 0.95rem;
  color: #ffffff;
  background-color: #1f2d3d;
}
.footer a {
  color: #ccc;
}
.footer a:hover {
  color: var(--secondary-color);
}

.product-logo-card {
  padding-top: 2rem;
}

.product-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  color: var(--primary-color);
}

.product-logo span {
  color: var(--secondary-color);
}
/* MorphVector Text Logo Styling */
.logo-main {
  color: var(--primary-color);
  font-weight: 700;
}

.logo-accent {
  color: var(--secondary-color);
  font-weight: 700;
}

.hero .tagline {
  font-size: 2rem; /* try 1.75rem for more emphasis */
  font-weight: 500;
  color: #f0f0f0;
  margin-top: 0.3rem 0  ;
}

/* For hero title MorphVector */
.hero h1 {
  font-size: 7rem;  /* or 4rem for more impact */
  font-weight: 800;
}

/* For navbar brand logo */
.navbar-brand .logo-main,
.navbar-brand .logo-accent {
  font-size: 5rem; /* default was 1.4rem — increase as needed */
}

.hero .tagline {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.hero .tagline:nth-of-type(2) {
  animation-delay: 0.4s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

