/* style.css */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;700&family=Poppins:wght@400;600&display=swap");

/* Color Variables */
:root {
  --primary-color: #ff6f00; /* A vibrant orange */
  --primary-dark: #cc5800;
  --background-color: #ffffff;
  --text-color: #333;
  --light-gray: #f4f4f4;
  --dark-gray: #555;
  --accent-color: #ff9800; /* A slightly lighter orange */
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Montserrat", "Roboto", sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  color: var(--dark-gray);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

.highlight {
  color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--dark-gray);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary-color);
}
/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}
/* Hero Section */
.hero {
  background-color: var(--light-gray);
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(
    135deg,
    rgba(255, 111, 0, 0.1),
    rgba(255, 152, 0, 0.15)
  );
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.8rem;
  transition: all 0.5s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.shape-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  bottom: 15%;
  right: 10%;
  border-radius: 50%;
  animation: float 10s ease-in-out 1s infinite;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 15%;
  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
  animation: float 12s ease-in-out 0.5s infinite;
}

.shape-4 {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 15%;
  border-radius: 50%;
  animation: float 9s ease-in-out 1.5s infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.hero h1 .highlight {
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  margin: 0 auto 40px;
  max-width: 700px;
  color: var(--dark-gray);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  padding: 100px 0;
}

.section-subheading {
  text-align: center;
  margin-bottom: 50px;
  color: var(--dark-gray);
  font-size: 1.2rem;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-item h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}
/* style.css additions */

/* Responsive adjustments for larger screens */

/* Custom CSS for the NEW About Us Section */
.about-us {
  background-color: #ff6a00; /* Solid orange background */
  padding: 100px 0; /* Increased padding for better spacing */
  color: #ffffff; /* White text for the entire section */
  text-align: center; /* Center text by default for mobile, then adjust */
}

.about-us h2 {
  color: #ffffff; /* White headline */
  font-size: 3rem; /* Larger heading for emphasis */
  margin-bottom: 40px;
  font-weight: 700;
}

.about-us p {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 25px;
  max-width: 100%;
}

.about-us-content {
  display: flex;
  flex-direction: column; /* Stack columns vertically on mobile */
  gap: 40px; /* Space between columns */
  align-items: center; /* Center items when stacked */
  justify-content: center;
}

.about-us-text {
  max-width: 600px; /* Constrain text width for readability */
  text-align: left; /* Left align text within its column */
}

.about-us-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(
    --border-radius
  ); /* Use existing border-radius for consistency */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Responsive adjustments for larger screens */
@media (min-width: 768px) {
  .about-us-content {
    flex-direction: row; /* Two columns on larger screens */
    justify-content: space-between; /* Distribute space */
    text-align: left;
  }

  .about-us-text {
    flex: 1; /* Allow text column to grow */
    padding-right: 40px; /* Space between text and image */
  }

  .about-us-image {
    flex: 1; /* Allow image column to grow */
    display: flex;
    justify-content: flex-end; /* Align image to the right */
  }

  .about-us h2 {
    font-size: 3.2em; /* Even larger heading for desktop */
  }
}

@media (min-width: 1024px) {
  .about-us-text {
    padding-right: 80px; /* More space on very large screens */
  }
}
/* Latest Blogs Section */
.latest-blogs {
  background-color: var(--background-color);
  padding: 100px 0;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  gap: 8px;
}

.blog-image-placeholder i {
  font-size: 2rem;
  color: #ccc;
}

.blog-card:hover .blog-image-placeholder {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.blog-card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--dark-gray);
}

.blog-card h3 a {
  color: var(--dark-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card h3 a:hover {
  color: var(--primary-color);
}

.blog-snippet {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.view-all-blogs {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.view-all-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-all-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.view-all-link i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.view-all-link:hover i {
  transform: translateX(3px);
}

.blog-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--dark-gray);
}

.blog-loading i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.blog-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #e74c3c;
  background-color: #fdf2f2;
  border-radius: 8px;
  border: 1px solid #fecaca;
}

.blog-error i {
  font-size: 2rem;
  margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-us {
  background-color: var(--light-gray);
  padding: 100px 0;
}

.why-us h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.why-us-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.why-us-list li {
  background: #fff;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  font-size: 1.1rem;
  line-height: 1.5;
}

.why-us-list i {
  color: var(--primary-color);
  margin-right: 20px;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Call to Action Section */
.cta {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta .btn-primary {
  background-color: white;
  color: var(--primary-color);
}

.cta .btn-primary:hover {
  background-color: var(--light-gray);
}

/* Future Vision Section */
.vision {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background-color);
}

.vision p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.7;
}

/* Footer - Updated */
footer {
  background-color: var(--dark-gray);
  color: var(--light-gray);
  padding: 40px 0 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-logo {
  flex: 1;
  text-align: left;
}

.footer-logo h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-logo p {
  color: var(--light-gray);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.social-icon {
  font-size: 1.5rem;
  color: white;
  transition: color 0.3s ease;
  background-color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  color: white;
  transform: translateY(-3px);
  background-color: var(--primary-dark);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-content {
    padding: 0 15px;
  }

  .features,
  .about-us,
  .why-us,
  .cta,
  .vision,
  .contact {
    padding: 60px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* Mobile Navigation */
  header .container {
    position: relative;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    padding: 10px 0;
  }

  nav ul li {
    margin: 0;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 12px 0;
  }

  .mobile-menu-toggle {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
  }

  .about-us-image img {
    max-height: 200px;
  }
}

.footer-legal a {
  color: var(--light-gray);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .hero {
    padding: 80px 0;
  }

  .hero-content {
    padding: 0 15px;
  }

  .features,
  .about-us,
  .why-us,
  .cta,
  .vision,
  .contact {
    padding: 80px 0;
  }

  .about-us h2 {
    font-size: 2.5rem;
  }

  .about-us p {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .why-us-list li {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .contact h2 {
    font-size: 2rem;
  }

  .latest-blogs {
    padding: 80px 0;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .blog-image {
    height: 180px;
  }

  .blog-card-content {
    padding: 20px;
  }

  .blog-card h3 {
    font-size: 1.2rem;
  }

  .view-all-blogs {
    margin-top: 30px;
    padding-top: 20px;
  }

  nav {
    display: none; /* Hide nav on mobile for a simpler design, can be replaced with a hamburger menu */
  }

  header .container {
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-social {
    min-width: 100%;
  }

  .footer-social a {
    margin: 0 10px;
  }
}

/* Contact Us Section */
.contact {
  padding: 100px 0;
  background-color: #f8f9fa; /* Light neutral background for contrast */
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #ff6600; /* Orange highlight, aligning with your brand */
  font-weight: 700;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #333;
  line-height: 1.6;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 100%;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff6600; /* Brand accent on focus */
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background-color: #ff6600;
  color: #fff;
  font-size: 1.1rem;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e55a00; /* Slightly darker orange on hover */
}
