/* 
  E-Solution 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: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  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(--primary-color);
  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: var(--text-dark);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color);
}

.btn-contact {
  background: var(--primary-color);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
}

.btn-contact:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-login {
  background: transparent;
  color: var(--primary-color) !important;
  padding: 8px 24px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  font-weight: 600;
  margin-left: 10px;
}

.btn-login:hover {
  background: var(--primary-color);
  color: var(--white) !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(--primary-color);
  transition: var(--transition);
}

/* ================= Core Page Layout ================= */
#main-content {
  margin-top: 70px; /* Offset for navbar */
}

/* Hide all sections by default (for SPA feel) */
.page-section {
  display: none;
  min-height: calc(100vh - 150px);
  animation: fadeIn 0.4s ease-out forwards;
}

.page-section.active-section {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.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);
}

/* ================= Home Section ================= */
#home {
  background: linear-gradient(135deg, rgba(248,249,250,1) 0%, rgba(224,242,254,0.5) 100%);
  padding-bottom: 80px;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-block;
  background: rgba(0, 210, 211, 0.15);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 210, 211, 0.3);
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

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

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* Glassmorphism Mockup */
.mock-image {
  width: 100%;
  max-width: 500px;
  height: 350px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.mock-nav {
  height: 40px;
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mock-body {
  padding: 20px;
  flex: 1;
}

.mock-bar {
  height: 20px;
  background: #e2e8f0;
  border-radius: 10px;
  margin-bottom: 15px;
}

.animate-bar-1 { width: 40%; background: var(--secondary-color); }
.animate-bar-2 { width: 70%; }
.animate-bar-3 { width: 55%; }

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

.mock-box {
  height: 80px;
  background: #f1f5f9;
  border-radius: 12px;
}

/* ================= Services Section ================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #f1f5f9;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: white;
}

.icon-wrapper.navy { background: var(--c-navy); box-shadow: 0 8px 15px rgba(9, 132, 227, 0.3); }
.icon-wrapper.teal { background: var(--c-teal); box-shadow: 0 8px 15px rgba(0, 206, 201, 0.3); }
.icon-wrapper.orange { background: var(--c-orange); box-shadow: 0 8px 15px rgba(225, 112, 85, 0.3); }
.icon-wrapper.purple { background: var(--c-purple); box-shadow: 0 8px 15px rgba(108, 92, 231, 0.3); }
.icon-wrapper.pink { background: var(--c-pink); box-shadow: 0 8px 15px rgba(253, 121, 168, 0.3); }
.icon-wrapper.green { background: var(--c-green); box-shadow: 0 8px 15px rgba(0, 184, 148, 0.3); }

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ================= About Section ================= */
#about {
  background: var(--bg-light);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
  position: relative;
}

.rounded-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  color: var(--primary-color);
  border-left: 5px solid var(--secondary-color);
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-content .lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.about-list {
  margin-top: 30px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.circle-check {
  color: var(--secondary-color);
  background: rgba(0, 210, 211, 0.1);
  padding: 6px;
  border-radius: 50%;
  font-size: 0.9rem;
}

/* ================= Our Team Section ================= */
#team {
  background: linear-gradient(135deg, rgba(248,249,250,1) 0%, rgba(9, 132, 227, 0.1) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.team-card {
  background: var(--white);
  padding: 60px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #f1f5f9;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.team-image {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.avatar-placeholder {
  width: 150px;
  height: 150px;
  background: rgba(0, 210, 211, 0.1);
  color: var(--secondary-color);
  font-size: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.team-card h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.team-card .role {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.team-card .bio {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ================= Why Us Section ================= */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.why-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--secondary-color);
}

.why-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  background: rgba(0, 210, 211, 0.1);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.why-text h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.why-text p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ================= Contact Section ================= */
#contact {
  background: linear-gradient(to right, var(--bg-light) 50%, var(--primary-color) 50%);
}

.contact-wrapper {
  display: flex;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-info {
  flex: 1;
  padding: 60px;
  background: var(--primary-color);
  color: var(--white);
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: #cbd5e1;
  margin-bottom: 40px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  background: rgba(0, 210, 211, 0.1);
  padding: 15px;
  border-radius: 50%;
}

.info-item h4 {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 5px;
}

.info-item p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
}

.contact-form-container {
  flex: 1;
  padding: 60px;
}

.contact-form h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.form-group input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 210, 211, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

/* ================= 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 ================= */
@media (max-width: 992px) {
  .hero-container, .about-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    flex-direction: column;
  }
  
  #contact {
    background: var(--bg-light); /* Reset gradient for mobile */
  }

  .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);
  }
}
