:root {
  --primary-black: #121212;
  --primary-white: #ffffff;
  --primary-green: #00c853;
  --accent-green: #00e676;
  --light-green: #b9f6ca;
  --dark-green: #009624;
  --gray-light: #f5f5f5;
  --gray-dark: #2a2a2a;
  --text-light: #212121;
  --text-dark: #f5f5f5;
  --bg-light: #ffffff;
  --bg-dark: #1a1a1a;
  --card-bg-light: #ffffff;
  --card-bg-dark: #2a2a2a;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.light-mode {
  --bg-color: var(--bg-light);
  --text-color: var(--text-light);
  --card-bg: var(--card-bg-light);
}

.dark-mode {
  --bg-color: var(--bg-dark);
  --text-color: var(--text-dark);
  --card-bg: var(--card-bg-dark);
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

/* Navbar */
.navbar {
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 200, 83, 0.1);
}

/* Logo */
.brand-logo {
  height: 80px;
  width: 200px;
  object-fit: cover;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)); /* subtle shadow */
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect */
.brand-logo:hover {
  transform: scale(1.05); /* small zoom on hover */
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.navbar-nav .nav-link {
  color: var(--primary-white) !important;
  font-weight: 500;
  margin: 0 5px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 15px !important;
  border-radius: 8px;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-green) !important;
  background: rgba(0, 200, 83, 0.1);
}

.navbar-nav .nav-link.active {
  color: var(--primary-green) !important;
  background: rgba(0, 200, 83, 0.15);
}

.navbar-toggler {
  border: none;
  color: var(--primary-white) !important;
  font-size: 1.5rem;
}

/* Mode Toggle */
.mode-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--primary-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 15px;
}

.mode-toggle:hover {
  background: var(--primary-green);
  transform: rotate(15deg);
}


/* Section Headings */
.section-title {
  position: relative;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  color: var(--primary-green);
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-green),
    var(--accent-green)
  );
  border-radius: 2px;
}



/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: var(--bg-color);
  margin-top: 3rem;
}

.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
}

.form-control {
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-color);
  color: var(--text-color);
  margin-bottom: 20px;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 200, 83, 0.25);
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: white;
  padding: 40px;
  border-radius: 15px;
  height: 100%;
}

.contact-info h3 {
  margin-bottom: 30px;
  font-weight: 600;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  color: white;
}

/* Footer */
footer {
  background: var(--primary-black);
  color: var(--primary-white);
  padding: 80px 0 30px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--primary-green);
  font-size: 1.5rem;
}

.footer-links a {
  color: var(--primary-white);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 12px;
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--primary-green);
  opacity: 1;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-white);
  font-size: 1.5rem;
  border-radius: 50%;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-green);
  transform: translateY(-5px);
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 50px 0 0 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter-btn {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 0 50px 50px 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--accent-green);
}

.copyright {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 992px) {

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 0;
  }
  
  .contact-info {
    margin-top: 40px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    border-radius: 50px;
    margin-bottom: 10px;
  }

  .newsletter-btn {
    border-radius: 50px;
    padding: 12px;
  }
}
