/*
Theme Name: MERITUS360
Theme URI: https://meritus360.com
Author: PorterGear
Author URI: https://meritus360.com
Description: Quality Readiness Platform WordPress Theme
Version: 1.0
License: Proprietary
Text Domain: meritus360
*/

/* Meritus Rebrand CSS - Navy Blue (#000083) and Grey (#808080) with Lime (#A3D900) accent */

/* CSS Variables for Color Palette */
:root {
  --primary-navy: #000083;
  --primary-grey: #808080;
  --accent-primary: #FF6600;
  --accent-secondary: #FF8533;
  --light-grey: #f8f9fa;
  --medium-grey: #e9ecef;
  --dark-grey: #4a4a4a;
  --white: #ffffff;
  --shadow-light: rgba(0, 0, 131, 0.08);
  --shadow-medium: rgba(0, 0, 131, 0.12);
  --shadow-heavy: rgba(0, 0, 131, 0.15);
}

/* Global Typography */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: rgb(225, 234, 235);
  color: var(--dark-grey);
  line-height: 1.6;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  background: var(--white);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 2px solid var(--primary-navy);
  z-index: 1000;
  box-shadow: 0 2px 8px var(--shadow-light);
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #2c5f63;
  letter-spacing: -0.5px;
  position: relative;
  top: 4px;
  left: 5px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--primary-navy);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}

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

.nav-links .btn-nav {
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links .btn-login {
  background: transparent;
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
}

.nav-links .btn-signup {
  background: var(--primary-navy);
  color: var(--white);
  border: 2px solid var(--primary-navy);
}

.nav-links .btn-login:hover {
  background: var(--primary-navy);
  color: var(--white);
}

.nav-links .btn-signup:hover {
  background: #1a4447;
  border-color: #1a4447;
  color: var(--white);
}

.nav-links .btn-consultation {
  background: var(--accent-secondary);
  color: var(--white);
  border: 2px solid var(--accent-secondary);
  margin-right: 10px;
}

.nav-links .btn-consultation:hover {
  background: #d4702a;
  border-color: #d4702a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgb(245, 250, 250) 0%, rgb(225, 234, 235) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--primary-navy);
}

.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 0, 131, 0.03) 0%, transparent 70%);
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-left {
  animation: slideInLeft 0.8s ease-out;
}

.hero-right {
  animation: slideInRight 0.8s ease-out;
  display: flex;
  justify-content: center;
}

.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 131, 0.1));
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary-navy);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--dark-grey);
  margin-bottom: 30px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--white);
  border-color: var(--accent-primary);
}

.btn-primary:hover {
  background: #d4702a;
  border-color: #d4702a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

.btn-secondary {
  background: var(--primary-navy);
  color: var(--white);
  border-color: var(--primary-navy);
}

.btn-secondary:hover {
  background: #1a4447;
  border-color: #1a4447;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 131, 0.3);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--primary-navy);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--primary-grey);
  margin-bottom: 60px;
  font-weight: 400;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

/* Cards */
.card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-medium);
  border-color: var(--accent-primary);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-navy);
  font-family: 'Montserrat', sans-serif;
}

.card-text {
  font-size: 1rem;
  color: var(--dark-grey);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a4447 0%, #2c5f63 100%);
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
  border-top: 3px solid var(--accent-primary);
}

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

.footer a {
  color: var(--white);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    padding: 15px 20px;
  }

  .nav-links {
    gap: 10px;
  }

  .brand-logo {
    height: 50px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .container {
    padding: 60px 20px;
  }

  .hero-logo {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links .btn-nav {
    width: 100%;
  }
}