/** main layout **/

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body.no-scroll {
  overflow: hidden;
}

header {
  background-color: #f0f0f0;
  padding: 10px 20px;
  box-shadow: 0 6px 20px -4px rgba(20, 144, 199, 0.8);
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 800px;  
  margin: 0 auto;    
}

.desktop-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: larger;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.desktop-nav a:hover {
  background-color: #ddd;
}

.desktop-nav img {
  height: 40px;
  width: auto;
}

/* Hamburger button (hidden on desktop, visible on mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 11;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile logo (hidden on desktop, centered on mobile) */
.mobile-logo {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-logo img {
  height: 40px;
  width: auto;
}

/* Mobile nav overlay (hidden by default, full-screen on active) */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  margin: 20px 0;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.mobile-nav a:hover {
  background-color: #1490c7;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .mobile-logo {
    display: block;
  }
  
  header {
    justify-content: flex-start;
  }
}


.dropdown {
  position: relative;
  display: inline-block;
}


.dropbtn {
  background: none;
  border: none;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: inherit;  
  font-size: inherit;   
  text-decoration: none; 
}


.dropbtn:hover {
  background-color: #ddd;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-radius: 5px;
}

.dropdown-content a:hover {
  background-color: #ddd;
}


.site-footer {
  background:#2f2f2f;
  color:#fff;
  border-top:3px solid #1490c7;
  padding:18px 0;
  font-size:14px;
  line-height:1.4;
}

.footer-inner {
  max-width:1200px;
  margin:0 auto;
  padding:0 40px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}

.footer-center {
  display:flex;
  align-items:center;
  gap:32px;
}

.social {
  display:flex;
  gap:16px;
}

.social-icon {
  display:inline-flex;
  width:32px;
  height:32px;
  border-radius:4px;
  transition:transform .2s, box-shadow .2s;
}

.social-icon svg {
  width:100%;
  height:100%;
}

.social-icon:hover,
.social-icon:focus {
  transform:translateY(-2px);
  box-shadow:0 4px 10px rgba(0,0,0,.3);
  outline:none;
}

.site-footer a {
  color:#fff;
  text-decoration:underline;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration:none;
}

@media (max-width:750px) {
  .footer-inner {
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }
  .footer-center {
    gap:20px;
  }
}

/** home page **/
.home-main {
  text-align: center;
}

.hero {
  background-color: #2f2f2f;
  color: #fff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  
  box-shadow: 0 6px 20px -4px rgba(20, 144, 199, 0.8);
}

.hero-content .hero-logo {
  max-width: 400px;
  width: 100%;
  margin-bottom: 1rem;
    
}

.hero-content .tagline {
  font-size: 1.5rem;
  font-style: italic;
  color: #f0f0f0;
}

.home-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.home-section.alt-bg {
  background-color: #f9f9f9;
  border-radius: 25px;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.home-section h2 {
  font-size: 2.5rem;
  color: #1490c7;
  margin-bottom: 20px;
}

.home-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

/* Gallery */
.gallery-grid {
  position: relative;
  width: 100%;
  max-width: 800px; 
  height: 450px; 
  margin: 30px auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 6px 20px -4px rgba(20, 144, 199, 0.8);
}

.gallery-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.gallery-item.active {
  opacity: 1;
  z-index: 2;
}

.gallery-item img {
  width: 100%;
}
/* Process List */
.process-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 20px auto;
  text-align: left;
}

.process-list li {
  background: #fff;
  margin-bottom: 10px;
  padding: 15px;
  border-left: 4px solid #1490c7;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Testimonials */
.testimonial-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.testimonial-card {
  background: #fff;
  padding: 10px; 
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
  box-shadow: 0 6px 20px -4px rgba(20, 144, 199, 0.8);
  width: auto; 
  min-width: 200px;
}

.testimonial-content {
  font-style: italic;
  color: #555;
  margin-bottom: 5px !important; 
}

.testimonial-author {
  font-weight: bold;
  color: #1490c7;
  text-align: right;
  margin-bottom: 0 !important;
}

.testimonial-author {
  font-weight: bold;
  color: #1490c7;
  text-align: right;
  margin-bottom: 0 !important;
}

/* Involvement List */
.involvement-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
  text-align: left;
}

.involvement-list li {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  background-color: #1490c7;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s;
  flex-shrink: 0;
}

.btn:hover {
  background-color: #1073a0;
  text-decoration: none;
}

/* Recent Blog Section */
.blog-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex-basis: 350px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

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

.blog-card-content {
  padding: 15px;
}

.blog-card-content h3 {
  margin-top: 0;
  color: #333;
}

.blog-card-content p {
  font-size: 1rem !important;
  margin-bottom: 10px !important;
}

.blog-card-date {
  font-size: 0.9rem;
  color: #777;
}

@media (max-width: 768px) {
  .gallery-item {
    flex-basis: calc(50% - 10px);
  }
  .home-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    flex-basis: 100%;
  }
  .hero {
    padding: 40px 15px;
  }
  .hero-content .tagline {
    font-size: 1.2rem;
  }
}

/** Blog Page Styles **/
.read-blogs-main {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.blogs-section h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #1490c7;
  margin-bottom: 40px;
}

.blogs-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  justify-items: center;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 350px;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  box-shadow: 0 6px 20px -4px rgba(20, 144, 199, 0.8);
  text-decoration: none;
}

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

.blog-image-placeholder {
  width: 100%;
  height: 200px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 1.1rem;
}

.blog-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.blog-date {
  margin: 0;
  font-size: 0.9rem;
  color: #777;
}
.blog-title {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
  color: #333;
}

.read-more-btn {
  display: inline-block;
  background-color: #1490c7;
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.read-more-btn:hover {
  background-color: #1073a0;
  text-decoration: none;
}

@media (max-width: 768px) {
  .blogs-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  .blogs-section h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .blogs-container {
    grid-template-columns: 1fr;
  }
}

/** Individual Blog Post Page Styles **/
.read-blog-main {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-post-section {
  margin-bottom: 40px;
}

.blog-post-title {
  font-size: 2.5rem;
  color: #1490c7;
  margin-bottom: 10px;
  text-align: center;
}

.blog-post-date {
  font-size: 1rem;
  color: #777;
  text-align: center;
  margin-bottom: 20px;
}

.blog-post-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.blog-post-content {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}

.blog-post-content p {
  margin-bottom: 20px;
}

.blog-partners {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.blog-partners h3 {
  font-size: 1.5rem;
  color: #1490c7;
  margin-bottom: 15px;
}

.blog-partners ul {
  list-style: none;
  padding: 0;
}

.blog-partners li {
  margin-bottom: 10px;
}

.blog-partners a {
  color: #1490c7;
  text-decoration: none;
  font-weight: bold;
}

.blog-partners a:hover {
  text-decoration: underline;
}

.back-to-blogs {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .read-blog-main {
    padding: 20px 15px;
  }
  .blog-post-title {
    font-size: 2rem;
  }
  .blog-post-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .blog-post-title {
    font-size: 1.8rem;
  }
  .blog-post-content {
    font-size: 1rem;
  }
}