/* Main Styles for Natraspray Website */
:root {
  --primary-color: #175E31;
  --secondary-color: #70b624;
  --light-color: #f5f5f5;
  --dark-color: #222222;
  --text-color: #444444;
  --link-color: #175E31;
  --link-hover-color: #70b624;
  --font-main: 'PT Sans', Arial, sans-serif;
}

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: #FFFFFF;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--link-hover-color);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

.header-wrapper {
  width: 100%;
}

.header-main {
  height: 109px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo img {
  max-height: 109px;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu li a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  color: #444;
}

.nav-menu li a:hover, 
.nav-menu li a.active {
  color: var(--primary-color) !important;
  font-weight: bold !important;
}

/* Phone Number */
.phone-html {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.phone-html a {
  color: #444;
  font-weight: bold;
}

.top-contact-btn {
  margin-top: 5px;
}

.top-contact-btn a {
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Banner */
.banner {
  position: relative;
  overflow: hidden;
}

.homepage-banner {
  padding-top: 600px;
}

.banner-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 60px 0;
}

.graybg {
  background-color: #f7f7f7;
}

.gap-element {
  display: block;
  height: 70px;
}

/* Headings */
.main-heading {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.secondary-heading {
  color: var(--primary-color);
  font-weight: bold;
  margin: 20px 0;
}

/* Layout */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-left, .col-right {
  flex: 1;
  padding: 0 25px;
}

.center-on-mobile {
  text-align: left;
}

/* Images */
.image-wrapper {
  margin-bottom: 20px;
}

.featured-image {
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Contact Form */
.contact-form {
  margin-top: 30px;
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.form-left, .form-right {
  flex: 1;
  padding: 0 15px;
  min-width: 300px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.contact-form textarea {
  height: 150px;
}

.form-submit {
  text-align: center;
  margin-top: 20px;
}

/* Footer */
.footer-wrapper {
  background-color: #FFFFFF;
}

.footer-1 {
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-content img {
  max-height: 100px;
  margin-bottom: 20px;
}

.footer-content p {
  color: #000;
}

.footer-2 {
  background-color: #222222;
  color: white;
  padding: 20px 0;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.back-to-top.visible {
  opacity: 1;
}

/* Responsive */
@media (max-width: 850px) {
  .homepage-banner {
    padding-top: 320px !important;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  .header-main {
    height: auto;
    padding: 15px 0;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu li {
    margin: 10px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .phone-html {
    align-items: center;
    margin-top: 15px;
  }
  
  .row {
    flex-direction: column;
  }
  
  .col-left, .col-right {
    width: 100%;
    padding: 0 15px;
  }
  
  .center-on-mobile {
    text-align: center;
  }
  
  .form-grid {
    flex-direction: column;
  }
}

@media (max-width: 550px) {
  .banner-bg {
    background-position: 32% 50%;
  }
}

/* Additional Styles for Inner Pages */

/* Banner Content */
.banner {
  height: 320px;
  position: relative;
}

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.banner-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.banner-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

/* Services List */
.services-list {
  list-style-type: none;
  padding-left: 20px;
  margin-bottom: 30px;
}

.services-list li {
  position: relative;
  padding: 8px 0;
  padding-left: 25px;
}

.services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  background-color: var(--secondary-color);
  border-radius: 50%;
}

/* CTA Banner */
.cta-banner {
  position: relative;
  height: 250px;
  margin: 40px 0;
}

.cta-banner .banner-content {
  background-color: rgba(0, 0, 0, 0.5);
}

.cta-banner h3 {
  color: #fff;
  margin-bottom: 20px;
}

/* Testimonials */
.testimonial-box {
  background-color: rgba(221, 220, 220, 0.73);
  border: 1px solid rgba(128, 128, 128, 0.45);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
}

.testimonial-name {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

/* Partners Section */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.col-partner {
  flex: 0 0 20%;
  padding: 15px;
  text-align: center;
}

.partner-logo {
  max-width: 100%;
  height: auto;
  max-height: 100px;
}

@media (max-width: 768px) {
  .banner {
    height: 250px;
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .col-partner {
    flex: 0 0 33.33%;
  }
}

@media (max-width: 550px) {
  .col-partner {
    flex: 0 0 50%;
  }
}
