/* ======================
   GLOBAL STYLES & RESET
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Google Fonts:
   - "Poppins" for body text
   - "Playfair Display" for headings
*/

html, body {
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  color: #333;
  scroll-behavior: smooth;
}

/* Container Utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Root Color Variables */
:root {
  --primary: linear-gradient(135deg, #6c63ff 0%, #48c6ef 100%);
  --secondary: #48c6ef;
  --accent: #fe6a6a;
  --dark: #2b2b2b;
  --light: #f9f9f9;
  --transition-speed: 0.3s;
}

/* ======================
   TOP BAR
======================= */
.top-bar {
  background-color: #2b2b2b;
  color: #ffffff;
  font-size: 0.9rem;
  padding: 8px 0;
}

.top-bar .contact-info span {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ======================
   NAVBAR
======================= */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #6c63ff; /* Could also be #2b2b2b or something brand-like */
}

.menu {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  padding: 5px 10px;
  transition: background var(--transition-speed), color var(--transition-speed);
  border-radius: 4px;
  font-weight: 500;
}

.nav-links li a:hover {
  background: #6c63ff;
  color: #ffffff;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background-color: #fff;
  border: 1px solid #6c63ff;
  border-radius: 4px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed);
  min-width: 150px;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
}
.dropdown-menu li a:hover {
  background-color: #6c63ff;
  color: #fff;
}
.dropdown.active .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

/* Burger for Mobile */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.burger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 4px 0;
  transition: all var(--transition-speed);
}
.nav-active {
  transform: translateX(0%);
}

/* ======================
   HERO SECTION
======================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 100px 20px 60px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 43, 43, 0.3);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-button {
  display: inline-block;
  background-color: #fe6a6a;
  color: #fff;
  padding: 12px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-speed);
}

.hero-button:hover {
  background-color: #333;
}

/* Wave at bottom of hero */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffffff" d="M0,288L48,272C96,256,192,224,288,224C384,224,480,256,576,266.7C672,277,768,267,864,256C960,245,1056,235,1152,250.7C1248,267,1344,309,1392,330.7L1440,352L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
  background-size: cover;
  transform: translateY(1px);
}

/* ======================
   ANGLED BACKGROUND
======================= */
.angled-bg {
  position: relative;
  background-color: #ffffff;
}
.angled-bg::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

/* ======================
   SECTIONS (Services, Map, Contact, etc.)
======================= */
.section {
  padding: 80px 20px;
  text-align: center;
}

/* Cards Grid (Services) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 40px;
  justify-items: center;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  width: 100%;
  max-width: 350px;
  padding: 20px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card header h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #6c63ff;
}

.card p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1rem;
}

.card .btn {
  display: inline-block;
  background: #6c63ff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: background var(--transition-speed);
}

.card .btn:hover {
  background: #fe6a6a;
}

/* Advanced Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 40px;
}

.service-box {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fe6a6a;
}

.service-box h3 {
  font-family: "Playfair Display", serif;
  color: #6c63ff;
  margin-bottom: 10px;
}

.service-box p {
  line-height: 1.6;
}

/* Map Section */
.map-container {
  margin-top: 40px;
  overflow: hidden;
  border-radius: 10px;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-item summary {
  cursor: pointer;
  font-size: 1.1rem;
  padding: 10px 15px;
  background: #6c63ff;
  color: #fff;
  border-radius: 6px;
  outline: none;
  list-style: none;
}

.faq-item p {
  background: #f3f3f3;
  padding: 15px;
  border-radius: 6px;
  margin-top: 5px;
}

/* Contact Section */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #6c63ff;
  border-radius: 6px;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  transition: border-color var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fe6a6a;
  outline: none;
}

.contact-form button.btn {
  align-self: start;
  background-color: #6c63ff;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-speed);
}

.contact-form button.btn:hover {
  background-color: #fe6a6a;
}

/* ======================
   FOOTER
======================= */
footer {
  position: relative;
  background: #2b2b2b;
  color: #fff;
  padding: 80px 20px;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path d="M0,256L48,245.3C96,235,192,213,288,192C384,171,480,149,576,170.7C672,192,768,256,864,272C960,288,1056,256,1152,224C1248,192,1344,160,1392,144L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat;
  background-size: cover;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-col {
  min-width: 200px;
}

.footer-col h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-speed);
}
.footer-col ul li a:hover {
  color: #fe6a6a;
}

.bottom-row p {
  margin: 5px 0;
  text-align: center;
  font-size: 0.95rem;
}

/* ======================
   RESPONSIVE DESIGN
======================= */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #fff;
    flex-direction: column;
    width: 200px;
    transform: translateX(100%);
    transition: transform var(--transition-speed);
    padding: 15px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }
  .burger {
    display: flex;
  }

  .hero {
    padding: 60px 20px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .faq-accordion {
    margin: 20px auto 0;
  }
  .contact-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 992px) {
  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
  }
  .nav-links.nav-active {
    display: flex;
  }
}
