/* Main Styles */
:root {
  --primary-color: #4A90E2;
  --secondary-color: #F5A623;
  --accent-color: #FF6B6B;
  --text-color: #333333;
  --light-bg: #F8F9FA;
  --dark-bg: #2C3E50;
  --gradient-1: linear-gradient(135deg, #4A90E2 0%, #67B26F 100%);
  --gradient-2: linear-gradient(135deg, #F5A623 0%, #F83600 100%);
  --font-primary: 'Open Sans', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Header & Navigation */
.header {
  position: fixed;
  width: 100%;
  height: 125px;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  
  -webkit-backdrop-filter: blur(10px); /* Safari 9+, iOS Safari 9+ */
  backdrop-filter: blur(10px);         /* Other modern browsers */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}


.header.scrolled {
  padding: 0.5rem 0;

  background: #fffa;
  
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img{
  width: 100px;
  height: 100px;
  border-radius: 5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero section */

/* Hero Section */
.hero {
  
  height: 220vh;
  background: var(--gradient-1); /* Matches the gradient for consistency */
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  top:150px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

/* Hero Text */
.hero-text {
  max-width: 600px;
  
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-description {
  margin-left: 20px;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color); /* Matches the theme's primary color */
  color: var(--light-text); /* Light text for contrast */
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-hover); /* Subtle hover effect */
}

/* Hero Video */
.hero-video {
  max-width: 600px;
  width: 95%;
  margin: 10px;
  position: relative;
}

.hero-video video {
  width: 100%;
  height: auto;
  border-radius: 1px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Features Section */
.features {
  padding: 8rem 2rem;
  background: var(--light-bg);
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

/* Blog Section */
.blog {
  padding: 8rem 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* About Section */
.about {
  padding: 4rem 1rem;
  background: var(--gradient-1);
  color: white;
}

.about-image{
  border-radius: 10px;
  position:relative;
  margin: 40px;
  

}
/* Contact Section */

/* Contact Section */
.contact {
  padding: 8rem 2rem;
  background-color: #f8f9fa;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2C3E50;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contact-form {
  max-width: 600px;
  width: 100%;
  background: #ffffff;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

label {
  font-size: 1rem;
  color: #2C3E50;
  margin-bottom: 0.5rem;
  display: block;
}

.form-input {
  width: 100%;
  height: 45px;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #f9f9f9;
}

textarea.form-input {
  resize: none; /* Prevents resizing */
  height: 120px;
}

.form-input:focus {
  border-color: #3498db;
  outline: none;
}

.contact-button {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: #3498db;
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: #2c80b4;
}


/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
}




/* Hide the mobile menu button on larger screens */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Show the mobile menu button only on screens smaller than 768px */
@media (max-width: 768px) {
  .mobile-menu-button {
      display: block;
  }
  /* Hide the desktop navigation links on mobile */
  .nav-links {
      display: none;
  }
  /* Show navigation links when mobile menu button is clicked */
  .nav-links.active {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 20px;
      background: rgba(255, 255, 255, 0.9);
      padding: 1rem;
      border-radius: 5px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      gap: 1rem;
  }
}


/* Hide the hamburger icon on larger screens */
.hamburger-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  flex-direction: column;
  justify-content: space-between;
  height: 22px;
}

/* Hamburger icon lines */
.hamburger-icon span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Display hamburger icon only on mobile */
@media (max-width: 768px) {
  .hamburger-icon {
      display: flex;
  }

  /* Hide navigation links by default on mobile */
  .nav-links {
      display: none;
  }

  /* Show navigation links when 'active' class is added */
  .nav-links.active {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 20px;
      background: rgba(255, 255, 255, 0.9);
      padding: 1rem;
      border-radius: 5px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      gap: 1rem;
  }
}


/* FAQs  styling */

.faq {
  padding: 20px;
  background-color: #f4f4f4;
}

.faq h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  background-color: #007BFF;
  color: white;
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
  margin: 5px 0;
  transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.faq-answer {
  display: none;
  padding: 10px;
  background-color: #f1f1f1;
  margin-top: 5px;
  border-radius: 5px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-answer.show {
  display: block;
  opacity: 1;
  transform: scaleY(1);
}

.toggle-icon {
  font-size: 20px;
  font-weight: bold;
}

.faq-question.active {
  background-color: #0056b3;
}

.faq-question.active .toggle-icon {
  content: "-";
}

.faq-question.active + .faq-answer {
  display: block;
}


/* Footer  styles */
/* Footer Container */
.footer {
  background-color: #2c3e50;
  color: white;
  padding: 40px 0;
  font-family: Arial, sans-serif;
}

/* Layout for Footer Sections */
.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

/* Footer Sections */
.footer-section {
  width: 250px;
  margin: 15px;
}

/* Contact Details Section */
.contact-details p {
  margin: 8px 0;
  font-size: 14px;
}

.contact-details h3 {
  color: #f39c12;
  font-size: 18px;
}

/* Social Media Section */
.social-media h3 {
  color: #f39c12;
  font-size: 18px;
  margin-bottom: 10px;
}

.social-icon {
  font-size: 24px;
  color: white;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
  color: #f39c12;
}

/* Animated Text */
.animated-text h3 {
  color: #f39c12;
  font-size: 18px;
  margin-bottom: 10px;
}

.animate-text {
  font-size: 16px;
  animation: slideUp 2s ease-out infinite alternate;
}

/* Animation for Text */
@keyframes slideUp {
  0% {
      transform: translateY(10px);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Subscribe Button Section */
.subscribe h3 {
  color: #f39c12;
  font-size: 18px;
}

#subscribe-btn {
  background-color: #f39c12;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#subscribe-btn:hover {
  background-color: #e67e22;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
  }

  .footer-section {
      width: 80%;
      text-align: center;
  }
}




/* Larger Screens */
@media (min-width: 1024px) {
  .hero-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      text-align: left;
      gap: 2rem;
     
  }
.cta-button{
  margin-left: 50px;
  color: white;
}
.cta-button:hover{
  color: black;
  background-color: #007BFF;
}
 /* Video Gallery Container *//* Video Gallery Container */
.video-gallery {
  display: flex;
  gap: 20px; /* Space between videos */
  justify-content: center; /* Center align videos horizontally */
}

/* Video Item Styling */
.video-item {
  width: 500px; /* Fixed width */
  height: 280px; /* Fixed height */
  overflow: hidden; /* Ensures no overflow */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Video Element */
.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintain aspect ratio and cover entire space */
}

/* Mobile View - 1 Video Per Row */
@media (max-width: 768px) {
  .video-gallery {
      flex-direction: column; /* Stack videos vertically */
      gap: 15px; /* Adjust gap for mobile */
  }

  .video-item {
      width: 100%; /* Full width on mobile */
      height: auto; /* Adjust height based on width */
  }

  .video-item video {
      height: auto; /* Maintain original video height */
  }
}

/* Hero Section Alignment */
.hero-text {
  max-width: 600px; /* Limit width */
  margin: 0 auto; /* Center horizontally */
  padding-left: 200px; /* Leave space for the navigation header */
  text-align: center; /* Center-align text */
  position: relative; /* Maintain alignment inside the section */
  top: 50%; /* Vertically center */
  transform: translateY(-50%); /* Adjust for perfect vertical centering */
}

/* Hero Section Background and Layout */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh; /* Full viewport height */
  padding-left: 200px; /* Match padding for alignment */
  background: linear-gradient(135deg, #4A90E2 0%, #67B26F 100%); /* Background gradient */
  color: white; /* Text color */
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
  .hero {
      padding-left: 0; /* Remove extra padding on smaller screens */
      height: auto; /* Adjust height for small screens */
  }

  /* Hero Photo Container */
.hero-photo {
  display: flex;
  align-items: center; /* Align vertically */
  justify-content: flex-start; /* Align to the left */
  padding-left: 200px; /* Leave space for navigation header */
}

/* Image Styling */
.hero-photo img {
  width: 150px; /* Small size */
  width: 50%;
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensure image fits within boundaries */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .hero-photo {
      padding-left: 0; /* Remove left padding on smaller screens */
      justify-content: center; /* Center-align on smaller screens */
  }

  .hero-photo img {
      width: 120px; /* Smaller size for mobile */
  }
}


  .hero-text {
      padding-left: 0;
      max-width: 100%; /* Use full width */
      text-align: center;
  }
}


  /* Features Grid Alignment */
  .features-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
  }

  .feature-card img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  /* Blog Grid Alignment */
  .blog-grid {
      grid-template-columns: repeat(2, 1fr);
  }

  .blog-image {
      max-height: 300px;
      object-fit: cover;
  }
}

/* Smooth Animations */
img, video {
  transition: all 0.4s ease-in-out;
}

img:hover, video:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Animation Effects */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}




/* Style for Read More Button */
.read-more {
  display: inline-block;
  margin: 20px auto; /* Center align */
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, #4A90E2 0%, #67B26F 100%); /* Gradient background */
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-align: center;
}

.read-more:hover {
  background: linear-gradient(135deg, #67B26F 0%, #4A90E2 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

/* Style for Story Link (PDF View) */
.story-link {
  display: block;
  text-align: center;
  padding: 15px;
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  background: #4A90E2;
  border: none;
  border-radius: 8px;
  margin: 30px auto;
  width:200px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.story-link:hover {
  background: #67B26F;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}




/* Hero Section Container */
.hero {
  
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh; /* Full viewport height */
  padding-left: 200px; /* Leave space for navigation header */
  padding-right: 20px;
  padding-left: 20px;
  gap: 20px; /* Space between image and text */
}

/* Hero Photo Container */
.hero-photo {
  flex: 1 1 45%; /* Take 45% of screen */
  display: flex;
  justify-content: center; /* Center the image */
  align-items: center;
}

/* Hero Photo Image */
.hero-photo img {
  width: 100%; /* Scale image to fit container */
  max-width: 400px; /* Limit maximum size */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensure image fits properly */
}

/* Hero Text Container */
.hero-text {
  flex: 1 1 45%; /* Take 45% of screen */
  text-align: left; /* Align text to the left */
  padding: 20px;
}

/* Hero Title */
.hero-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Hero Description */
.hero-description {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* CTA Button */
.cta-button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background: #FF6B6B; /* Highlighted button */
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
  background: #F5A623;
  transform: scale(1.05); /* Slight scaling effect */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .hero {
      top: 160px;
      flex-direction: column; /* Stack items in column for mobile */
      padding: 20px; /* Remove padding for small screens */
      height: auto;
  }

  .hero-photo {
      margin-bottom: 20px; /* Space between image and text */
  }

  .hero-text {
      text-align: center; /* Center-align text for mobile */
  }

  .hero-title {
      font-size: 2rem; /* Adjust font size */
  }

  .hero-description {
      font-size: 1rem;
  }
}
