/* ======================
   GLOBAL STYLES & RESET
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Google Fonts: Montserrat for body, Oswald for headings */
html, body {
  font-family: 'Montserrat', sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  scroll-behavior: smooth;
}

/* Container Utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Root Color Variables */
:root {
  --primary: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  --secondary: #ff4b2b;
  --accent: #00e676;
  --dark: #121212;
  --light: #e0e0e0;
  --transition-speed: 0.3s;
}

/* ======================
   TOP BAR
======================= */
.top-bar {
  background-color: rgba(0, 0, 0, 0.8);
  color: #b0b0b0;
  font-size: 0.9rem;
  padding: 10px 0;
}
.top-bar .contact-info span {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ======================
   NAVBAR
======================= */
header {
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.menu {
  display: flex;
  align-items: center;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.nav-links li a {
  text-decoration: none;
  color: #e0e0e0;
  padding: 6px 12px;
  transition: background var(--transition-speed), color var(--transition-speed);
  border-radius: 4px;
  font-weight: 500;
}
.nav-links li a:hover {
  background: var(--accent);
  color: var(--dark);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background-color: #1e1e1e;
  border: 1px solid var(--accent);
  border-radius: 4px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed);
  min-width: 150px;
  z-index: 10;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #e0e0e0;
}
.dropdown-menu li a:hover {
  background-color: var(--accent);
  color: var(--dark);
}
.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: #e0e0e0;
  margin: 4px 0;
  transition: all var(--transition-speed);
}

/* ======================
   HERO SECTION
======================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 120px 20px 80px;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-content h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--dark);
  padding: 14px 32px;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-speed);
}
.hero-button:hover {
  background-color: var(--secondary);
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url('data:image/svg+xml;utf8,<svg fill="%23121212" viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path 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"/></svg>') no-repeat;
  background-size: cover;
  transform: translateY(1px);
}

/* ======================
   ANGLED BACKGROUND
======================= */
.angled-bg {
  position: relative;
  background-color: #1e1e1e;
}
.angled-bg::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: #1e1e1e;
  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: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  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 30px rgba(0, 0, 0, 0.8);
}
.card header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--accent);
}
.card p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1rem;
}
.card .btn {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition-speed);
}
.card .btn:hover {
  background: var(--secondary);
}

/* Advanced Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 40px;
}
.service-box {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--accent);
}
.service-box h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--accent);
  margin-bottom: 10px;
}
.service-box p {
  line-height: 1.6;
}

/* Map Section */
.map-container {
  margin-top: 40px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

/* 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: var(--accent);
  color: var(--dark);
  border-radius: 6px;
  outline: none;
  list-style: none;
}
.faq-item p {
  background: #1e1e1e;
  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 var(--accent);
  border-radius: 6px;
  font-size: 1rem;
  color: #e0e0e0;
  background-color: #1e1e1e;
  transition: border-color var(--transition-speed);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--secondary);
  outline: none;
}
.contact-form button.btn {
  align-self: start;
  background-color: var(--accent);
  color: var(--dark);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-speed);
}
.contact-form button.btn:hover {
  background-color: var(--secondary);
}

/* ======================
   FOOTER
======================= */
footer {
  position: relative;
  background: #0d0d0d;
  color: #e0e0e0;
  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="%230d0d0d" 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"/></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: 'Oswald', sans-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: #e0e0e0;
  text-decoration: none;
  transition: color var(--transition-speed);
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.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: #1e1e1e;
    flex-direction: column;
    width: 220px;
    transform: translateX(100%);
    transition: transform var(--transition-speed);
    padding: 15px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
    border-radius: 5px;
  }
  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }
  .burger {
    display: flex;
  }
  .hero {
    padding: 80px 20px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .faq-accordion {
    margin: 20px auto 0;
  }
  .contact-wrapper {
    flex-direction: column;
  }
}

/* ======================
   SWING ANIMATION FOR THE PHONE ICON
======================= */
.swing-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  animation: phoneSwing 2s infinite ease-in-out;
  transform-origin: top center;
}
@keyframes phoneSwing {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-15deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(15deg); }
  100% { transform: rotate(0deg); }
}
.phone-icon {
  font-size: 4rem;
  color: var(--accent);
}
