@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  /* Color Palette */
  --soft-blue: #E3F2FD;
  --blue-main: #2196F3;
  --blue-dark: #1565C0;
  --white: #FFFFFF;
  --accent-yellow: #FFB300;
  --accent-orange: #FF7043;
  --text-dark: #374151;
  --text-light: #6B7280;

  /* Font */
  --font-main: 'Nunito', sans-serif;

  /* Utilities */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--text-dark);
}

body {
  background-color: var(--soft-blue);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--blue-dark);
  margin-bottom: 40px;
  position: relative;
}

.section-title span {
  color: var(--accent-orange);
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
  text-align: center;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:active {
  transform: translateY(4px) !important;
}

.btn-primary {
  background: var(--blue-main);
  color: var(--white);
  box-shadow: 0 6px 0 var(--blue-dark), 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: #42A5F5;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--blue-dark), 0 15px 20px rgba(0, 0, 0, 0.15);
}

.btn-accent {
  background: var(--accent-yellow);
  color: var(--white);
  box-shadow: 0 6px 0 #FF8F00, 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-accent:hover {
  background: #FFCA28;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #FF8F00, 0 15px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: var(--white);
  color: var(--blue-main);
  border: 2px solid var(--blue-main);
  box-shadow: 0 6px 0 var(--blue-main), 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--blue-main), 0 15px 20px rgba(0, 0, 0, 0.15);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  z-index: 1000;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--blue-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-orange);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--accent-yellow);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-main);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--blue-main);
  cursor: pointer;
  background: transparent;
  border: none;
}

/* Global Footer */
.footer {
  background: var(--white);
  padding: 60px 0 20px;
  border-top: 4px solid var(--soft-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--blue-dark);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-light);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--soft-blue);
  color: var(--blue-main);
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--blue-main);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--soft-blue);
  color: var(--text-light);
  font-weight: 600;
}

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  animation: bounce 3s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-chat-box.open {
  transform: scale(1);
}

.chat-header {
  background: #075E54;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 1.1rem;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.chat-body {
  padding: 20px;
  background: #ECE5DD;
  min-height: 150px;
}

.chat-msg {
  background: white;
  padding: 12px 15px;
  border-radius: 0 15px 15px 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.chat-input {
  display: flex;
  padding: 10px;
  background: white;
  border-top: 1px solid #ddd;
}

.chat-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius-full);
  outline: none;
  font-family: inherit;
}

.chat-input button {
  background: #128C7E;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-input button:hover {
  background: #075E54;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .logo {
    font-size: 1.25rem;
    gap: 6px;
  }

  .nav-links {
    position: fixed;
    top: 95px;
    left: -100%;
    width: 95%;
    height: auto;
    padding: 30px 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 2.5%;
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: block;
    margin-left: 10px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Fix for buttons getting squished on very small screens */
  .btn {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-grid {
    gap: 30px;
  }
}