/* ============================================
   EASYTECH UNIFIED STYLESHEET
   Consolidated CSS for all pages
   ============================================ */

/* GLOBAL STYLES */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #f4f7fa;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* ============================================
   SCROLL NAVBAR
   ============================================ */
.scroll-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.95), rgba(52, 152, 219, 0.95));
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
  opacity: 0;
}

.scroll-navbar.visible {
  transform: translateY(0);
  opacity: 1;
}

.scroll-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.scroll-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.scroll-nav-logo:hover {
  transform: scale(1.05);
}

.scroll-nav-logo img {
  height: 40px;
  width: auto;
}

.scroll-nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.scroll-nav-menu li {
  margin: 0;
}

.scroll-nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.scroll-nav-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.scroll-nav-menu a:hover {
  color: #fff;
}

.scroll-nav-menu a:hover:after {
  width: 100%;
}

.scroll-nav-cta {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.scroll-nav-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile responsive navbar */
@media (max-width: 768px) {
  .scroll-navbar-container {
    padding: 0.4rem 0.8rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .scroll-nav-logo span {
    display: none;
  }

  .scroll-nav-logo img {
    height: 45px;
    width: auto;
  }

  .scroll-nav-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.5rem;
    width: auto;
  }

  .scroll-nav-menu a {
    font-size: 0.72rem;
    padding: 0.2rem 0.3rem;
  }

  .scroll-nav-cta {
    display: none;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1abc9c, #3498db, #9b59b6, #e74c3c);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/hero-tech-bg.webp') center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.hero img {
  height: 250px;
  width: auto;
  margin-bottom: 1rem;
  z-index: 1;
  position: relative;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin: 0.5rem 0;
  z-index: 1;
  position: relative;
  font-weight: 700;
}

.hero .tagline {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  z-index: 1;
  position: relative;
}

/* ============================================
   CALL-TO-ACTION BUTTONS
   ============================================ */
.cta-group {
  z-index: 1;
  position: relative;
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta {
  background: #2ecc71;
  color: #fff;
  padding: 1rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  z-index: 1;
  position: relative;
  display: inline-block;
  animation: pulse 2s infinite;
}

.cta:hover {
  background: #27ae60;
}

.cta-secondary {
  background: #3498db;
  color: #fff;
  padding: 1rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  z-index: 1;
  position: relative;
  display: inline-block;
}

.cta-secondary:hover {
  background: #2980b9;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 18px;
}

/* ============================================
   HEADINGS
   ============================================ */
section h2,
h2 {
  color: #3498db;
  font-size: 2.2rem;
  text-align: center;
  margin: 3rem 0 2rem;
  font-weight: 700;
}

h3 {
  color: #1abc9c;
  margin-top: 0.8rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: auto;
  padding: 0 1rem;
}

.service,
.service-card {
  background: linear-gradient(145deg, #ffffff, #f1f4f9);
  padding: 1.6rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s, box-shadow 0.4s, opacity 0.6s;
  opacity: 0;
}

.service.visible,
.service-card.visible {
  opacity: 1;
}

.service:hover,
.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service img,
.service-card img {
  height: 50px;
  margin-bottom: 1rem;
}

.service h3,
.service-card h3 {
  margin-top: 0.8rem;
  color: #1abc9c;
}

.service p,
.service-card p {
  opacity: 0.85;
  color: #555;
  line-height: 1.8;
}

.service .cta {
  margin-top: 1rem;
  display: inline-block;
  background: #2ecc71;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.service .cta:hover {
  background: #27ae60;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  background: #ecf0f1;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin: 3rem auto;
  max-width: 700px;
}

.pricing h2 {
  color: #1abc9c;
}

/* ============================================
   HIGHLIGHT BOX
   ============================================ */
.highlight-box {
  background: linear-gradient(135deg, #e8f8f5, #d1f2eb);
  border-left: 4px solid #1abc9c;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.highlight-box strong {
  color: #1abc9c;
}

/* ============================================
   PROCESS LIST
   ============================================ */
.process-list {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin: 2rem 0;
}

.process-list ol {
  padding-left: 1.5rem;
  line-height: 2;
}

.process-list li {
  margin: 1rem 0;
  color: #444;
}

.process-list strong {
  color: #1abc9c;
}

/* ============================================
   FORM / CONTACT FORM
   ============================================ */
.card {
  background: #fff;
  border: 1px solid #dde5ef;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccd6e6;
  border-radius: 8px;
  font-size: 1rem;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

button {
  background: #1abc9c;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 14px;
  transition: 0.3s;
}

button:hover {
  background: #15a589;
}

.small {
  font-size: 0.92rem;
  color: #5d6f89;
}

.nav {
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
}

.nav a,
.nav-link {
  color: #1abc9c;
  font-weight: 700;
  text-decoration: none;
}

/* ============================================
   FAQ SECTION
   ============================================ */
#faq {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}

#faq h2 {
  color: #3498db;
  margin: 3rem 0 2rem;
  text-align: center;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.faq-question {
  width: 100%;
  background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
  border: none;
  padding: 1.2rem;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #1abc9c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: linear-gradient(135deg, #ecf0f1, #e0e6ed);
}

.faq-toggle {
  font-size: 1.4rem;
  font-weight: bold;
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.2rem;
}

.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.faq-answer a {
  color: #1abc9c;
  text-decoration: none;
  font-weight: bold;
}

.faq-answer a:hover {
  color: #2ecc71;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 1.2rem;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: linear-gradient(135deg, #1abc9c, #3498db);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  margin-top: 3rem;
}

.contact h2 {
  margin-bottom: 0.8rem;
}

.contact p {
  margin: 0.3rem 0;
}

.contact a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.contact a:hover {
  color: #2ecc71;
}

.contact .cta {
  display: inline-block;
  background: #2ecc71;
  color: #fff;
  padding: 1rem 1.6rem;
  border-radius: 10px;
  margin: 0.75rem 0.5rem 0 0.5rem;
  min-width: 200px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  animation: none;
}

.contact .cta:hover {
  background: #27ae60;
}

.contact .cta-secondary {
  background: #3498db;
  color: #fff;
  padding: 1rem 1.6rem;
  border-radius: 10px;
  margin: 0.75rem 0.5rem 0 0.5rem;
  min-width: 200px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.contact .cta-secondary:hover {
  background: #2980b9;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, #111, #222, #333);
  color: #fff;
  padding: 3rem 1rem 1rem;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
}

.footer-brand h4 {
  margin: 0;
  color: #1abc9c;
}

.footer-brand p {
  margin: 0.3rem 0;
  opacity: 0.9;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-links a,
.footer-contact a {
  display: inline-block;
  margin: 0;
  color: #1abc9c;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #2ecc71;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-social img {
  transition: transform 0.3s, opacity 0.3s;
}

.footer-social img:hover {
  transform: scale(1.3);
  filter: drop-shadow(0 0 6px #1abc9c);
}

.footer-bottom {
  text-align: center;
  opacity: 0.7;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
#whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  z-index: 1000;
  animation: bounce 2s infinite;
}

#whatsapp-btn:hover {
  background: linear-gradient(135deg, #2ecc71, #1abc9c);
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* ============================================
   RESPONSIVE / MOBILE
   ============================================ */
@media (max-width: 600px) {
  .hero img {
    height: 200px;
  }

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

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

  .cta-group {
    flex-direction: column;
  }

  .cta,
  .cta-secondary {
    width: 90%;
    text-align: center;
    display: block;
    margin-left: 0;
  }

  .hero .cta-secondary {
    margin-left: 0;
  }

  .contact .cta,
  .contact .cta-secondary {
    width: 90%;
    margin: 0.5rem auto !important;
    display: block;
    min-width: unset;
  }

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

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    display: block !important;
  }

  .footer-links a,
  .footer-contact a {
    display: inline;
    margin: 0 0.5rem;
  }
}
