:root {
  --primary-orange: #DD5826;
  --deep-green: #004D40;
  --accent-white: #FFFFFF;
  --light-gray: #f7f9fc;
  --dark-gray: #333;
  --text-color: #555;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  margin: 0;
  line-height: 1.7;
  background: var(--accent-white);
  color: var(--text-color);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Loader */
#loader {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: var(--accent-white); 
  z-index: 9999; 
  display: flex;
  justify-content: center; 
  align-items: center; 
  transition: opacity 0.5s;
}

.spinner {
  border: 8px solid var(--light-gray); 
  border-top: 8px solid var(--primary-orange);
  border-radius: 50%; 
  width: 60px; 
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin { 
  0% { transform: rotate(0deg); } 
  100% { transform: rotate(360deg); } 
}

/* Header & Navbar */
header { 
  background: var(--deep-green); 
  padding: 1rem 5%; 
  position: fixed; 
  width: 100%; 
  top: 0; 
  z-index: 1000; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}

.navbar { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  max-width: 1400px;
  margin: 0 auto;
}

.logo { 
  height: 50px; 
  z-index: 1001;
}

.nav-menu { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: flex; 
  gap: 2.5rem; 
}

.nav-link { 
  color: var(--accent-white); 
  text-decoration: none; 
  font-family: var(--font-primary); 
  font-weight: 700; 
  transition: color 0.3s ease; 
  position: relative;
}

.nav-link:hover, .nav-link.active { 
  color: var(--primary-orange); 
}

.admin-link { 
  background-color: var(--primary-orange); 
  padding: 8px 16px; 
  border-radius: 5px; 
  color: var(--accent-white) !important; 
  transition: background-color 0.3s ease;
}

.admin-link:hover {
  background-color: #c44a20;
}

/* Hamburger Menu */
.hamburger { 
  display: none; 
  cursor: pointer; 
  background: transparent;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.bar { 
  display: block; 
  width: 25px; 
  height: 3px; 
  margin: 5px auto; 
  transition: all 0.3s ease-in-out; 
  background-color: var(--accent-white); 
}

/* Mobile Responsive Navigation */
@media (max-width: 968px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 82px;
    flex-direction: column;
    background-color: var(--deep-green);
    width: 100%;
    height: calc(100vh - 82px);
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 0;
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 1.5rem 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
  }

  .admin-link {
    display: inline-block;
    margin: 0.5rem auto;
    padding: 12px 24px;
    width: auto;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Main Content */
main {
  padding-top: 0;
  min-height: 80vh;
}

section { 
  padding: 5rem 8%; 
  animation: fadeIn 0.8s forwards; 
  opacity: 0; 
  transform: translateY(20px); 
}

@keyframes fadeIn { 
  to { 
    opacity: 1; 
    transform: translateY(0); 
  } 
}

.section-title { 
  font-family: var(--font-primary); 
  font-size: 2.5rem; 
  text-align: center; 
  margin-bottom: 1rem; 
  color: var(--deep-green); 
}

.section-subtitle { 
  text-align: center; 
  max-width: 600px; 
  margin: 0 auto 3rem auto; 
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 0px; /* Counteract header height */
}

.slides-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  text-align: center;
  color: var(--accent-white);
  max-width: 800px;
  padding: 0 1rem;
  z-index: 2;
}

.slide-content h2 {
  font-family: var(--font-primary);
  font-size: 2.7rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.slide-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  line-height: 1.6;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 77, 64, 0.8) 0%, rgba(221, 88, 38, 0.4) 100%);
  z-index: 1;
}

.slide-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.slide-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slide-dot.active {
  background: var(--primary-orange);
  transform: scale(1.2);
  border-color: var(--accent-white);
}

.slide-dot:hover {
  background: var(--primary-orange);
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.slide-arrow:hover {
  background: var(--primary-orange);
  transform: translateY(-50%) scale(1.1);
}

.slide-arrow.prev {
  left: 30px;
}

.slide-arrow.next {
  right: 30px;
}

/* Why Choose Us Section */
.why-choose-us {
  background: var(--light-gray);
  padding: 5rem 8%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--accent-white);
  padding: 2.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  color: var(--deep-green);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--deep-green) 0%, #00695C 100%);
  color: var(--accent-white);
  padding: 4rem 8%;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item h3 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-orange);
  font-family: var(--font-primary);
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* What We Do Section */
.what-we-do {
  padding: 5rem 8%;
}

.services-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-overview-card {
  background: var(--accent-white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border-left: 4px solid var(--primary-orange);
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-overview-card:hover {
  transform: translateY(-5px);
}

.service-overview-card i {
  font-size: 2.5rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.service-overview-card h3 {
  color: var(--deep-green);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

/* Featured Insights */
.featured-insights {
  background: var(--light-gray);
  padding: 5rem 8%;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.insight-card {
  background: var(--accent-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.insight-card:hover {
  transform: translateY(-5px);
}

.insight-image {
  height: 200px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.insight-card:hover .insight-image img {
  transform: scale(1.05);
}

.insight-content {
  padding: 1.5rem;
}

.insight-content h3 {
  color: var(--deep-green);
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.insight-date {
  color: var(--primary-orange);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.read-more:hover {
  color: var(--deep-green);
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  background: var(--primary-orange);
  color: var(--accent-white);
  padding: 4rem 8%;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-button {
  background: var(--accent-white);
  color: var(--primary-orange);
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(221, 88, 38, 0.3);
}

.cta-button-secondary {
  background: transparent;
  border: 2px solid var(--accent-white);
  color: var(--accent-white);
}

.cta-button-secondary:hover {
  background: var(--accent-white);
  color: var(--primary-orange);
}

/* Services Grid */
.services-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 2rem; 
  margin-top: 2rem; 
}

.service-card { 
  background: var(--accent-white); 
  padding: 2rem; 
  text-align: center; 
  border-radius: 10px; 
  box-shadow: 0 4px 25px rgba(0,0,0,0.07); 
  transition: transform 0.3s, box-shadow 0.3s; 
}

.service-card:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 8px 30px rgba(0,0,0,0.12); 
}

.service-card i { 
  font-size: 3rem; 
  color: var(--primary-orange); 
  margin-bottom: 1.5rem; 
}

.service-card h3 {
  color: var(--deep-green);
  font-family: var(--font-primary);
}

/* Projects Gallery */
#projects-gallery { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 2rem; 
}

.project-card { 
  border-radius: 10px; 
  overflow: hidden; 
  box-shadow: 0 4px 25px rgba(0,0,0,0.08); 
  cursor: pointer; 
  position: relative; 
  transition: transform 0.3s;
}

.project-card:hover { 
  transform: translateY(-5px);
}

.project-card img { 
  width: 100%; 
  height: 250px; 
  object-fit: cover; 
  transition: transform 0.4s ease; 
}

.project-card:hover img { 
  transform: scale(1.05); 
}

.project-info { 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  right: 0; 
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); 
  color: white; 
  padding: 2rem 1.5rem 1.5rem; 
}

.project-info h3 { 
  font-family: var(--font-primary); 
  margin: 0; 
}

/* Forms */
form { 
  max-width: 700px; 
  margin: 2rem auto; 
  padding: 2.5rem; 
  background: var(--light-gray); 
  border-radius: 10px; 
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

form label { 
  display: block; 
  margin-bottom: 0.5rem; 
  font-weight: bold; 
  color: var(--deep-green);
}

form input, form textarea { 
  width: 100%; 
  padding: 1rem; 
  margin-bottom: 1.5rem; 
  border-radius: 5px; 
  border: 1px solid #ccc; 
  font-family: var(--font-secondary); 
  transition: border-color 0.3s;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
}

form button { 
  background: var(--primary-orange); 
  color: var(--accent-white); 
  border: none; 
  cursor: pointer; 
  font-size: 1rem; 
  font-weight: bold; 
  padding: 1rem 2rem; 
  border-radius: 50px; 
  transition: background-color 0.3s, transform 0.3s; 
  font-family: var(--font-primary);
}

form button:hover { 
  background: #c44a20;
  transform: translateY(-2px);
}

/* Modals */
.modal { 
  display: none; 
  position: fixed; 
  z-index: 1001; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.85); 
  animation: fadeIn 0.3s; 
}

.modal-content { 
  background-color: #fefefe; 
  margin: 5% auto; 
  padding: 20px; 
  border: 1px solid #888; 
  width: 80%; 
  max-width: 900px; 
  position: relative; 
  border-radius: 10px; 
  max-height: 90vh;
  overflow-y: auto;
}

.close-button { 
  color: #aaa; 
  position: absolute; 
  top: 10px; 
  right: 25px; 
  font-size: 35px; 
  font-weight: bold; 
  cursor: pointer; 
  z-index: 1002; 
  transition: color 0.3s;
}

.close-button:hover {
  color: var(--primary-orange);
}

/* Project Details Modal specific */
#modal-body h2 { 
  font-family: var(--font-primary); 
  color: var(--deep-green); 
  margin-top: 0; 
}

.gallery-container { 
  position: relative; 
  margin-bottom: 1rem; 
}

.gallery-slide { 
  display: none; 
}

.gallery-slide img { 
  width: 100%; 
  height: 500px; 
  object-fit: cover; 
  border-radius: 5px; 
}

.prev, .next { 
  cursor: pointer; 
  position: absolute; 
  top: 50%; 
  width: auto; 
  padding: 16px; 
  margin-top: -22px; 
  color: white; 
  font-weight: bold; 
  font-size: 20px; 
  transition: 0.6s ease; 
  border-radius: 0 3px 3px 0; 
  user-select: none; 
  background-color: rgba(0,0,0,0.5); 
  text-decoration: none;
}

.next { 
  right: 0; 
  border-radius: 3px 0 0 3px; 
}

.prev:hover, .next:hover { 
  background-color: rgba(0,0,0,0.8); 
}

.watch-video-btn {
  display: inline-flex;
  align-items: center;
  background: var(--primary-orange);
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
  transition: background-color 0.3s;
}

.watch-video-btn:hover {
  background: #c44a20;
}

.watch-video-btn i { 
  margin-right: 8px; 
}

/* Video Modal specific */
.video-modal .modal-content {
  background: transparent;
  border: none;
  width: 90%;
  max-width: 1100px;
  padding: 0;
  margin: 7% auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal .video-close-button { 
  color: white; 
  right: -30px; 
  top: -30px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

#video-modal-body {
  width: 100%;
  height: auto;
}

#video-modal-body video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: 5px;
  object-fit: contain;
}

/* Footer */
footer { 
  background: var(--dark-gray); 
  color: var(--accent-white); 
  padding: 3rem 5% 1rem; 
  margin-top: auto; 
}

.footer-content { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 2rem; 
  max-width: 1400px; 
  margin: 0 auto; 
}

.footer-section h3 { 
  font-family: var(--font-primary); 
  margin-bottom: 1.5rem; 
  color: var(--accent-white); 
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background: var(--primary-orange);
  bottom: 0;
  left: 0;
}

.footer-logo { 
  height: 50px; 
  margin-bottom: 1rem; 
}

.footer-section ul { 
  list-style: none; 
  padding: 0; 
}

.footer-section ul li { 
  margin-bottom: 0.8rem; 
}

.footer-section ul li a { 
  color: #ccc; 
  text-decoration: none; 
  transition: color 0.3s; 
}

.footer-section ul li a:hover { 
  color: var(--primary-orange); 
}

.footer-section p { 
  margin-bottom: 1rem; 
  color: #ccc; 
}

.footer-section p i { 
  color: var(--primary-orange); 
  margin-right: 10px; 
  width: 20px; 
}

.social-links { 
  display: flex; 
  gap: 1rem; 
}

.social-links a { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 40px; 
  height: 40px; 
  background: rgba(255,255,255,0.1); 
  border-radius: 50%; 
  color: var(--accent-white); 
  text-decoration: none; 
  transition: background 0.3s, transform 0.3s; 
}

.social-links a:hover { 
  background: var(--primary-orange); 
  transform: translateY(-3px); 
}

.footer-bottom { 
  text-align: center; 
  margin-top: 3rem; 
  padding-top: 1.5rem; 
  border-top: 1px solid rgba(255,255,255,0.1); 
  color: #aaa; 
  font-size: 0.9rem; 
}

/* Admin Dashboard Styles */
.admin-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 10px;
}

.admin-header h2 {
  color: var(--deep-green);
  margin-bottom: 1rem;
}

.projects-management {
  margin-top: 2rem;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.admin-project-card {
  background: var(--accent-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.admin-project-card:hover {
  transform: translateY(-5px);
}

.admin-project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.admin-project-info {
  padding: 1.5rem;
}

.admin-project-info h4 {
  color: var(--deep-green);
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.admin-project-info p {
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.admin-project-actions {
  display: flex;
  gap: 1rem;
}

.btn-view, .btn-delete {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: bold;
  transition: all 0.3s;
  flex: 1;
}

.btn-view {
  background: var(--deep-green);
  color: white;
}

.btn-view:hover {
  background: #00332b;
}

.btn-delete {
  background: #dc3545;
  color: white;
}

.btn-delete:hover {
  background: #c82333;
}

.no-projects {
  text-align: center;
  padding: 3rem;
  background: var(--light-gray);
  border-radius: 10px;
  margin-top: 2rem;
}

/* Login Modal Styles */
#login-modal-body h2 {
  text-align: center;
  color: var(--deep-green);
  margin-bottom: 2rem;
  font-family: var(--font-primary);
}

/* Dashboard Tabs */
.dashboard-tabs {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 2rem;
  background: white;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.tab-button {
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

.tab-button.active {
  border-bottom-color: var(--primary-orange);
  color: var(--primary-orange);
  font-weight: bold;
  background: #f8f9fa;
}

.tab-button:hover {
  background-color: #f5f5f5;
}

.tab-content {
  background: white;
  border-radius: 0 0 8px 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Insights Management */
.insights-management {
  padding: 1rem 0;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.admin-insight-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.admin-insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.insight-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.insight-card-header h5 {
  margin: 0;
  flex: 1;
  color: var(--deep-green);
  font-size: 1.1rem;
  line-height: 1.4;
}

.insight-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  white-space: nowrap;
}

.insight-status.featured {
  background-color: #4CAF50;
  color: white;
}

.insight-status.not-featured {
  background-color: #757575;
  color: white;
}

.insight-excerpt {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.insight-card-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-view-insight, .btn-delete-insight {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.3s;
  flex: 1;
}

.btn-view-insight {
  background-color: #2196F3;
  color: white;
}

.btn-delete-insight {
  background-color: #f44336;
  color: white;
}

.btn-view-insight:hover {
  background-color: #1976D2;
}

.btn-delete-insight:hover {
  background-color: #d32f2f;
}

.no-insights, .error-message {
  text-align: center;
  padding: 3rem;
  color: #666;
  font-style: italic;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px dashed #ddd;
}

/* Insight Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--deep-green);
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 2px rgba(221, 88, 38, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 200px;
  line-height: 1.6;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  transform: scale(1.2);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.back-button {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: background-color 0.3s;
}

.back-button:hover {
  background: #5a6268;
}

/* Responsive Admin Styles */
@media (max-width: 768px) {
  .projects-list {
    grid-template-columns: 1fr;
  }
  
  .admin-project-actions {
    flex-direction: column;
  }
  
  .admin-header {
    padding: 1.5rem;
  }

  .dashboard-tabs {
    flex-direction: column;
  }

  .tab-button {
    width: 100%;
    text-align: left;
    padding: 1rem;
  }

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

  .insights-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
  }

  .slide-content {
    padding: 0 1rem;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .slide-arrow {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
  }

  .slide-arrow.prev {
    left: 15px;
  }
  
  .slide-arrow.next {
    right: 15px;
  }

  .slide-nav {
    bottom: 30px;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 15px;
  }

  .gallery-slide img {
    height: 300px;
  }

  .video-modal .modal-content {
    width: 95%;
    margin: 15% auto;
  }

  .video-modal .video-close-button {
    right: 10px;
    top: -40px;
  }

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

  section {
    padding: 3rem 5%;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 60vh;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  #projects-gallery {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .services-overview,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .slide-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .slide-content h2 {
    font-size: 1.3rem;
  }

  .slide-content p {
    font-size: 0.8rem;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Insight Modal Styles */
.insight-modal-content {
  max-width: 800px;
  margin: 5% auto;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  position: relative;
}

.insight-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-gray);
}

.insight-title {
  color: var(--deep-green);
  font-family: var(--font-primary);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.insight-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.insight-author {
  color: var(--primary-orange);
  font-weight: bold;
}

.insight-date {
  color: var(--dark-gray);
}

.insight-body {
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--text-color);
}

.insight-body p {
  margin-bottom: 1.5rem;
}

.insight-body h2, 
.insight-body h3, 
.insight-body h4 {
  color: var(--deep-green);
  margin: 2rem 0 1rem 0;
  font-family: var(--font-primary);
}

.insight-body ul, 
.insight-body ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.insight-body li {
  margin-bottom: 0.5rem;
}

.insight-body blockquote {
  border-left: 4px solid var(--primary-orange);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--dark-gray);
}

.insight-image-full {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.insight-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.btn-close-insight {
  background: var(--primary-orange);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-close-insight:hover {
  background: #c44a20;
}

/* Loading state for insight modal */
.insight-loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-color);
}

.insight-error {
  text-align: center;
  padding: 3rem;
  color: #dc3545;
}

/* Responsive design for insight modal */
@media (max-width: 768px) {
  .insight-modal-content {
    margin: 10% auto;
    padding: 1.5rem;
    width: 95%;
  }

  .insight-title {
    font-size: 1.8rem;
  }

  .insight-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .insight-body {
    font-size: 1rem;
  }
}
/* Enhanced Admin Dashboard Styles */
.admin-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.admin-actions .cta-button {
  margin: 0;
}

.admin-actions .cta-button-secondary {
  background: #6c757d;
  color: white;
}

.admin-actions .cta-button-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

/* Form enhancements */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-button-secondary {
  background: #6c757d;
  color: white;
  border: none;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s;
  display: inline-block;
  cursor: pointer;
  font-family: var(--font-primary);
}

.cta-button-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

/* Checkbox label styling */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* Loading states */
.loading-insights {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}

/* Enhanced button styles for admin */
.btn-view, .btn-delete, .btn-view-insight, .btn-delete-insight {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: bold;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-view, .btn-view-insight {
  background: var(--deep-green);
  color: white;
}

.btn-view:hover, .btn-view-insight:hover {
  background: #00332b;
  transform: translateY(-1px);
}

.btn-delete, .btn-delete-insight {
  background: #dc3545;
  color: white;
}

.btn-delete:hover, .btn-delete-insight:hover {
  background: #c82333;
  transform: translateY(-1px);
}

/* Back button styling */
.back-button {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.back-button:hover {
  background: #5a6268;
}

/* Small text for form hints */
.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.875rem;
}

/* Error state for forms */
.form-group input:invalid, 
.form-group textarea:invalid {
  border-color: #dc3545;
}

.form-group input:valid, 
.form-group textarea:valid {
  border-color: #28a745;
}