/**
 * Selva Business Solutions
 * Main Stylesheet
 * Production Ready
 */

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --heading-font: "Nunito", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/*--------------------------------------------------------------
# Colors
--------------------------------------------------------------*/
:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #ffffff;
  --accent-color: #e43c5c;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --nav-color: #ffffff;
  --nav-hover-color: #e43c5c;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #444444;
  --nav-dropdown-hover-color: #e43c5c;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--default-font);
  color: var(--default-color);
  background: var(--background-color);
  margin: 0;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

/*--------------------------------------------------------------
# HEADER (Tempo-style)
--------------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: rgba(0, 0, 0, 0.45);
  z-index: 997;
}

.header .container-fluid {
  height: 70px;
}

.header .logo {
  display: flex;
  align-items: center;
  height: 70px;
}

.header .logo h1 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

/*--------------------------------------------------------------
# NAV MENU
--------------------------------------------------------------*/
.navmenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
}

.navmenu > ul > li {
  padding: 10px 14px;
}

.navmenu a {
  color: #ffffff;
  font-family: var(--nav-font);
  font-weight: 500;
  position: relative;
}

.navmenu > ul > li > a:before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent-color);
  transition: 0.3s;
}

.navmenu > ul > li > a:hover:before,
.navmenu > ul > li > a.active:before {
  width: 100%;
}

/*--------------------------------------------------------------
# HEADER ON SCROLL
--------------------------------------------------------------*/
.scrolled .header {
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/*--------------------------------------------------------------
# MOBILE NAV
--------------------------------------------------------------*/
.mobile-nav-toggle {
  font-size: 28px;
  cursor: pointer;
  color: #ffffff;
  line-height: 0;
}

@media (max-width: 1199px) {

  .navmenu ul {
    display: none;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px 0;
  }

  .mobile-nav-active .navmenu a {
    color: #333333;
    padding: 10px 20px;
    display: block;
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# HERO SECTION
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  padding-top: 70px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h2 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: #ffffff;
  font-size: 20px;
}

.hero .btn-get-started {
  margin-top: 30px;
  padding: 10px 40px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 14px;
}

.hero .btn-get-started:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# SECTIONS
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title h2 {
  background: rgba(228,60,92,0.1);
  color: var(--accent-color);
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
}

.section-title p {
  font-size: 32px;
  font-weight: 700;
  margin-top: 10px;
}

/*--------------------------------------------------------------
# SERVICES
--------------------------------------------------------------*/
.services .service-item {
  background: #ffffff;
  padding: 40px 30px;
  box-shadow: 0 0 25px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s;
}

.services .service-item:hover {
  background: var(--accent-color);
  color: #ffffff;
}

.services .service-item i {
  font-size: 36px;
  color: var(--accent-color);
}

.services .service-item:hover i {
  color: #ffffff;
}

/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/
.footer {
  background: #111;
  color: #ccc;
  padding: 40px 0;
  text-align: center;
}

.footer a {
  color: var(--accent-color);
}

/* =========================================
   SERVICES – EQUAL HEIGHT CARDS
========================================= */
.services .row {
  display: flex;
  flex-wrap: wrap;
}

.services .service-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Remove small section pill heading */
.section-title h2 {
  display: none;
}
/* Contact Form Enhancements */
.contact-card {
  background: #ffffff;
}

.contact-card h4 {
  font-weight: 700;
  color: var(--heading-color);
}

.contact-card .input-group-text {
  background: #f8f9fa;
  border: 1px solid #ddd;
  color: var(--accent-color);
}

.contact-card .form-control {
  border-left: 0;
}

.contact-card .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.map-card iframe {
  border-radius: 12px;
}
