/* AWD.CSS - Specific styles for AWD page */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
  }

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #004d40;
    z-index: 1000;
  }

  body{
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    justify-content: space-between;
    align-items: center; 
  }
  
  /* Mobile menu toggle button */
  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 25px;
  }
  
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  @media (max-width: 992px) {
    .menu-toggle {
      display: flex;
    }
    
    /* Mobile menu container - only show when active */
    .nav ul {
      display: none;
      position: fixed;
      top: 74px;
      right: -280px;
      width: 280px;
      height: calc(100vh - 74px);
      background: rgba(0, 77, 64, 0.98);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 40px 20px;
      margin: 0;
      transition: right 0.4s ease-in-out;
      box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
      z-index: 998;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    
    /* Show mobile menu when active */
    .nav ul.show {
      display: flex;
      right: 0;
    }
    
    /* Ensure no overlay remains when menu is closed */
    .nav ul:not(.show) {
      display: none !important;
    }
  
    .nav li {
      width: 100%;
      text-align: center;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
  
    .nav ul.show li {
      opacity: 1;
      transform: translateY(0);
    }
  
    .nav ul.show li:nth-child(1) { transition-delay: 0.1s; }
    .nav ul.show li:nth-child(2) { transition-delay: 0.15s; }
    .nav ul.show li:nth-child(3) { transition-delay: 0.2s; }
    .nav ul.show li:nth-child(4) { transition-delay: 0.25s; }
    .nav ul.show li:nth-child(5) { transition-delay: 0.3s; }
    .nav ul.show li:nth-child(6) { transition-delay: 0.35s; }
    .nav ul.show li:nth-child(7) { transition-delay: 0.4s; }
    .nav ul.show li:nth-child(8) { transition-delay: 0.45s; }
  
    .nav a {
      display: block;
      padding: 12px 0;
      font-size: 1.1rem;
    }
  
    .nav a::after {
      display: none;
    }
  }
  
  /* Header */
  .header {
    background: rgba(0, 77, 64, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .header.scrolled {
    padding: 10px 0;
    background: rgba(0, 77, 64, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
  }
  
  .logo-img:hover {
    transform: scale(1.05);
  }
  
  section {
    scroll-margin-top: 80px;
  }
  
  .nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
  }
  
  .nav li {
    position: relative;
    padding: 5px 0;
  }
  
  .nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
  }
  
  .nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #ff8a00;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
  }
  
  .nav a:hover,
  .nav a.active {
    color: #ff8a00;
  }
  
  .nav a:hover::after,
  .nav a.active::after {
    width: 100%;
  }

  



/* AWD Specific Styles */
.awd-section {
  padding: 100px 0;
  background-color: #f9f9f9;
  min-height: 70vh;
}

.awd-section h1 {
  color: #004d40;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.awd-section .subtitle {
  color: #00796be2;
  text-align: left;
  font-size: 2rem;
  margin: 0 0 10px 0;
  font-weight: 500;
  padding-top: 5px;
}

.awd-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.awd-text {
  flex: 1;
  max-width: 65%;
  padding-right: 30px;
}

.awd-text p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.benefits {
  margin: 20px 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #2e7d32;
  font-size: 1rem;
  line-height: 1.6;
}

.benefit-item i {
  color: #2e7d32;
  margin-right: 10px;
  font-size: 1.2rem;
}

.benefit-item span {
  color: #333;
}

/* Features Section */
.features {
  margin: 25px 0 0 0;
  padding: 0;
}

.feature-item {
  margin: 0;
  padding: 0;
}

.feature-item p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 10px 0;
  padding: 0;
  position: relative;
  padding-left: 5px;
}

.feature-item strong {
  color: #2e7d32;
  font-weight: 600;
}

/* Key Impacts Section */
.impact-grid {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
  padding-bottom: 20px;
  justify-content: space-between;
}

.impact-item {
  flex: 1;
  min-width: 0; /* Allows items to shrink below their content size */
  background: white;
  border-radius: 10px;
  padding: 25px 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e0e0e0;
  position: relative;
}

.impact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.impact-icon {
  background: #fff8f1; /* Light orange background */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -30px; /* Half outside the card */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #ff8c00; /* Orange border */
}

.impact-icon i {
  color: #ff8c00; /* Orange icon color */
  font-size: 1.5rem;
}

.impact-text {
  width: 100%;
  position: relative;
  margin-top: 60px; /* Space for the icon */
}

.impact-text h3 {
  position: absolute;
  top: -50px; /* Position above the description */
  left: 0;
  right: 0;
  margin: 0 0 15px 0;
  color: #2e7d32;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 600;
  padding: 0 10px;
}

.impact-text p {
  margin: 0;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .impact-item {
    padding: 15px 10px;
  }
  
  .impact-icon {
    width: 50px;
    height: 50px;
  }
  
  .impact-text h3 {
    font-size: 1rem;
  }
  
  .impact-text p {
    font-size: 0.8rem;
  }
}

@media (max-width: 992px) {
  .impact-grid {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .impact-item {
    flex: 0 0 calc(33.333% - 10px);
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .impact-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .impact-item {
    flex: 0 0 100%;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .awd-content {
    flex-direction: column;
  }
  
  .awd-image, 
  .awd-text {
    max-width: 100% !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
  
  .awd-image {
    margin-bottom: 30px;
  }
}

.awd-image {
  flex: 1;
  max-width: 35%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.awd-image:hover {
  transform: translateY(-5px);
}

.responsive-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .awd-content {
    flex-direction: column;
  }
  
  .awd-text,
  .awd-image {
    max-width: 100%;
    width: 100%;
  }
  
  .awd-image {
    margin-top: 30px;
    max-width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .awd-section {
    padding: 100px 0;
  }
  
  .awd-section h1 {
    color: #00796b;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
    width: 100%;
    padding: 0 15px;
    word-wrap: break-word;
    box-sizing: border-box;
    white-space: normal;
    max-width: 1200px;
  }
  
  .awd-section .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .awd-text p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .awd-section h1 {
    font-size: 1.4rem;
    padding: 0 15px;
    margin: 0 auto 15px;
  }
}

/* Footer */

.footer {
    background: #004d40;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    width: 100%;
  }
  
  .footer a {
    color: #4db6ac;
    text-decoration: underline;
    font-weight: 500;
  }
  
  .footer a:hover {
    color: #fff;
  }
  