/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc; /* Light gray for alternating sections */
  --text-dark: #0f172a; /* Navy blue */
  --text-muted: #64748b;
  --accent-color: #0ea5e9; /* Cyan/Teal from logo */
  --accent-hover: #0284c7;
  --font-family: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  
  /* Shared values for sections */
  --section-padding: 6rem 5%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Glassmorphism / Card Styling for Bright Theme */
.glass {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.glass:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 5%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.logo img {
  height: 80px;
  vertical-align: middle;
  transition: var(--transition);
}

header.scrolled .logo img {
  height: 65px;
}

nav ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav ul li a {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active, nav ul li a:hover {
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-dark);
  z-index: 1001;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.5rem;
  background: var(--accent-color);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

/* Footer */
footer {
  background-color: var(--bg-secondary);
  padding: 5rem 5% 2rem;
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-col h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.footer-col p, .footer-col ul li {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col ul li a {
  transition: var(--transition);
  display: inline-block;
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

/* Utilities */
.section-bg-light {
  background-color: var(--bg-primary);
}

.section-bg-muted {
  background-color: var(--bg-secondary);
}

section {
  padding: var(--section-padding);
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--accent-color);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section-title p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Typography Overrides */
h1, h2, h3, h4 {
  color: var(--text-dark);
}

.text-accent {
  color: var(--accent-color);
}

/* Utility Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form Styling */
.form-control {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid #e2e8f0;
  color: var(--text-dark);
  font-family: var(--font-family);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.form-label {
  display: block;
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-right: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    text-align: center;
  }

  nav ul li a {
    font-size: 1.4rem;
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }
}
