/* 
  E-Solution Global Style Guide
  Colors: Deep Navy (Brand), Vibrant Teal (Accent/Secondary), White Backgrounds
  Typography: 'Inter', sans-serif
*/

:root {
  --primary-color: #0A192F; /* Deep Navy */
  --secondary-color: #00D2D3; /* Vibrant Teal */
  --accent-color: #FF9F43; /* Orange Accent */
  
  --text-dark: #2d3436;
  --text-light: #636e72;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  
  /* Feature Colors */
  --c-navy: #0984e3;
  --c-teal: #00cec9;
  --c-orange: #e17055;
  --c-purple: #6c5ce7;
  --c-pink: #fd79a8;
  --c-green: #00b894;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight {
  color: var(--secondary-color);
}

/* ================= Navbar ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, #0A192F 0%, #112D4E 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  padding: 15px 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color);
}

.btn-contact {
  background: var(--secondary-color);
  color: var(--primary-color) !important;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
}

.btn-contact:hover {
  background: #00b5b6;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-login {
  background: transparent;
  color: var(--white) !important;
  padding: 8px 24px;
  border: 2px solid var(--white);
  border-radius: 30px;
  font-weight: 600;
  margin-left: 10px;
}

.btn-login:hover {
  background: var(--white);
  color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  transition: var(--transition);
}

/* ================= Core Page Layout ================= */
#main-content {
  margin-top: 70px; /* Offset for navbar */
  min-height: calc(100vh - 150px);
}

.section-container {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}
.btn-primary:hover {
  background: #00b5b6;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 210, 211, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* ================= Footer ================= */
footer {
  background: #060F1E;
  color: var(--white);
  padding: 60px 0 20px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-brand p {
  color: #94a3b8;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact p {
  color: #94a3b8;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 0.9rem;
}

/* ================= Responsive Design (Global Elements) ================= */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-contact p {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s ease-in-out;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.5rem;
  }

  /* Hamburger Animation */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
