:root {
  --primary-color: #2b4f60;
  --secondary-color: #7ba7bc;
  --background-color: #e6f0f6;
  --text-color: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
}
section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: rgba(
    255,
    255,
    255,
    0.8
  ); /* Added transparent white background */
  backdrop-filter: blur(8px); /* Added blur effect for better readability */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
}

.home-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  text-decoration: none;
}

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

.nav-btn {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.hero {
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.hero-gallery {
  display: flex;
  gap: 1rem;
  max-width: 1200px;
  width: 100%;
}

.hero-gallery img {
  width: 25%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.hero-gallery img:hover {
  transform: scale(1.02);
}

.hero-content {
  text-align: left;
  width: 100%;
  max-width: 1200px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.hero-text {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-text h2 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.hero-text p {
  color: var(--text-color);
  font-size: 1rem;
}

.value-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.arrow {
  font-size: 1.5rem;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-gallery {
    flex-wrap: wrap;
  }

  .hero-gallery img {
    width: 48%;
  }

  .hero-text {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Add these styles after your existing CSS */

.social {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #e6f0f6, #ffffff);
}

.social-container {
  max-width: 1400px; /* Increased from 1200px */
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.social-title {
  flex: 0.7; /* Reduced from 1 to give more space to gallery */
}

.social-gallery {
  flex: 2.3; /* Increased from 2 */
  display: flex;
  gap: 1.5rem;
  height: 700px; /* Increased height */
}

.social-image {
  flex: 1;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
}

.social-title h2 {
  font-size: 72px;
  font-weight: bold;
  margin: 0;
  line-height: 1.1;
  margin-top: 6rem;
}

.social-title {
  flex: 0.7;
  padding-top: 2rem; /* Add some top padding */
}

.social-gallery {
  flex: 2;
  display: flex;
  gap: 1.5rem;
  height: 600px; /* Increased height */
}

.social-image {
  flex: 1;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 100%; /* Make it full height */
}

.social-image img {
  width: 100%;
  height: 100%; /* Changed from fixed height to 100% */
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .social-image img {
    height: 400px; /* Increased mobile height */
  }
}

.like-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #ff4b4b;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.social-image:hover .like-icon {
  opacity: 1;
}

@media (max-width: 768px) {
  .social-container {
    flex-direction: column;
    gap: 2rem;
  }

  .social-gallery {
    flex-direction: column;
  }

  .social-image img {
    height: 300px;
  }
}
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
  padding: 2rem;
}

.about-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 15px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.motto {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #666;
  font-style: italic;
  text-align: center;
  max-width: 400px;
  line-height: 1.5;
}

/* Add this new style for the image container */
.about-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.about-title,
.value-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--primary-color);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  width: fit-content;
  margin-bottom: 2rem;
}

.about-title i {
  color: white;
  font-size: 1.2rem;
}

.about-title h2 {
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

.about-text {
  color: var(--text-color);
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.motto {
  margin-top: 2rem;
  font-style: italic;
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #eee;
}

.value-link {
  color: black;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.value-link .arrow {
  display: inline-block;
  margin-left: 5px;
  animation: arrowMove 1s infinite;
}

@keyframes arrowMove {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}

.value-text a {
  padding: 5px 10px;
}

.value-text a:hover {
  transform: translateY(-2px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
}
/* Add these new styles for images hover effect */
.hero-gallery img,
.about-image img,
.code-preview img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-gallery img:hover,
.about-image img:hover,
.code-preview img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Value Section Styles */
.value {
  padding: 80px 0;
  background-color: var(--background-color);
}

.value-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.value-title {
  margin-left: 60vh;
  margin-top: 30px;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--background-color);
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.value-content {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.value-box {
  flex: 1;
  background: var(--secondary-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-box h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.8rem;
  text-align: center;
}

.value-box p {
  color: var(--background-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.value-box ul {
  list-style-type: none;
  padding: 0;
}

.value-box ul li {
  color: var(--background-color);
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
}

.value-box ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333;
}

@media (max-width: 768px) {
  .value-content {
    flex-direction: column;
  }

  .value-box {
    margin-bottom: 20px;
  }

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

.vision-section h2,
.mission-section h2 {
  margin-bottom: 1rem; /* Reduced spacing */
}

.code-preview {
  margin: 1.5rem 0; /* Reduced spacing */
}

.value-content {
  clear: both;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.vision-section {
  padding-right: 2rem;
}

.vision-section h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  font-family: "Playfair Display", serif;
  color: var(--text-color);
  text-align: center;
}

.vision-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
}

.code-preview {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  margin: 2rem 0;
}

.code-preview img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mission-section {
  padding-left: 2rem;
}

.mission-section h2 {
  font-size: 3.5rem;
  margin: 2rem 0;
  font-family: "Playfair Display", serif;
  color: var(--text-color);
  text-align: center;
}

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

.mission-section li {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.8em;
}

.value-content {
  gap: 1rem;
}

.code-preview {
  max-height: 250px;
  overflow: hidden;
}

.code-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .value-content {
    grid-template-columns: 1fr;
  }

  .vision-section,
  .mission-section {
    padding: 0;
  }

  .value-title {
    font-size: 2rem;
    padding: 0.8rem 2.5rem;
  }

  .vision-section h2 {
    font-size: 2.8rem;
    margin: 1.5rem 0;
    font-family: "Playfair Display", serif;
    color: var(--text-color);
    text-align: center; /* Changed to center */
  }

  .mission-section ul {
    text-align: left; /* Keep list items left-aligned */
  }

  .vision-section p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .code-preview {
    width: 100%;
    max-height: 300px;
  }

  .code-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mission-title {
    text-align: center;
    width: 100%;
  }

  .mission-title h2 {
    font-size: 2.8rem;
    margin: 2rem 0;
    font-family: "Playfair Display", serif;
    color: var(--text-color);
    display: inline-block;
    text-align: left;
  }

  .mission-section ul {
    text-align: left; /* Keep list items left-aligned */
  }

  .mission-section li {
    font-size: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.8rem;
  }
}
.project {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #e6f0f6, #ffffff);
}

.project-container {
  max-width: 1400px;
  margin: 0 auto;
}

.project-title {
  background-color: var(--primary-color);
  color: white;
  display: inline-block;
  padding: 1rem 3rem;
  border-radius: 30px;
  margin-bottom: 3rem;
}

.project-title h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.project-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.project-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.project-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.project-item h3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.project-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category h3 {
  background-color: var(--primary-color);
  color: white;
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.template-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
  background: #1a1a1a; /* Dark background */
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.template-tabs {
  display: flex;
  justify-content: space-between;
  background: #000033; /* Navy background */
  padding: 1rem 2rem;
  border-radius: 30px;
}

.template-tabs span {
  color: white;
  font-size: 1rem;
  font-weight: 500;
}

.template-images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.template-row img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.template-row img:hover {
  transform: scale(1.05);
}

.template-grid img {
  width: 100%;
  height: 100%; /* Fill the container height */
  object-fit: contain; /* Maintain aspect ratio */
  border-radius: 10px; /* Slightly smaller radius than container */
}

.category {
  min-height: 600px; /* Set minimum height for the category container */
  display: flex;
  flex-direction: column;
}

.community-grid {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}

.business-grid {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
}

.project-categories img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.template-row img,
.community-grid img,
.business-grid img {
  position: relative;
  cursor: pointer;
}

.template-row > div,
.community-grid > div,
.business-grid > div {
  position: relative;
  overflow: hidden;
}

.template-row img::after,
.community-grid img::after,
.business-grid img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  padding: 20px;
  color: var(--primary-color);
  text-align: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
  font-weight: 500;
}

.template-row img:hover::after,
.community-grid img:hover::after,
.business-grid img:hover::after {
  opacity: 1;
}

.template-row img:hover + .image-overlay,
.community-grid img:hover + .image-overlay,
.business-grid img:hover + .image-overlay {
  bottom: 20px;
  opacity: 1;
}

.project-item:hover img,
.project-categories img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .project-content,
  .project-categories {
    grid-template-columns: 1fr;
  }

  .project-item img {
    height: 300px;
  }

  .project-categories img {
    height: 250px;
  }
}

.template-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.template-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
}

.template-image-container:hover .template-overlay {
  bottom: 0;
  opacity: 1;
}

.template-row img:hover + .image-overlay,
.community-grid img:hover + .image-overlay,
.business-grid img:hover + .image-overlay {
  bottom: 20px;
  opacity: 1;
}

.project-item:hover img,
.project-categories img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .project-content,
  .project-categories {
    grid-template-columns: 1fr;
  }

  .project-item img {
    height: 300px;
  }

  .project-categories img {
    height: 250px;
  }
}

.project-categories .image-container {
  position: relative;
  margin-bottom: 1rem;
}

.project-categories .image-title {
  color: var(--text-color);
  font-size: 1.2rem;
  margin-top: 0.8rem;
  font-weight: 500;
  text-align: left;
}

.template-row .image-container,
.community-grid .image-container,
.business-grid .image-container {
  display: flex;
  flex-direction: column;
}
.why {
  padding: 6rem 2rem;
  background-color: var(--background-color);
}

.why-container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-title {
  background-color: var(--primary-color);
  color: white;
  display: inline-block;
  padding: 1rem 3rem;
  border-radius: 30px;
  margin-bottom: 3rem;
}

.why-title h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.why-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  margin-top: -2rem; /* Move content up */
}

.why-text {
  padding-top: 0; /* Remove top padding */
}

.why-text h2 {
  margin-top: 0; /* Remove top margin */
  margin-bottom: 1.5rem;
}

.why-text p {
  margin-bottom: 1rem; /* Reduce bottom margin of paragraphs */
}

@media (max-width: 768px) {
  .why-content {
    margin-top: -1rem; /* Less shift up on mobile */
  }
}

.why-text {
  padding-top: 1rem; /* Added padding to text section */
}

.why-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-family: "Playfair Display", serif;
  color: var(--text-color);
}

.why-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.why-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1; /* Makes the container square */
  border-radius: 15px;
}

.why-image img {
  margin-top: 100px;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes image cover the square container */
  border-radius: 15px;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .why-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 1rem;
  }

  .why-image {
    aspect-ratio: 4/3; /* Different ratio for mobile */
  }
}

.contact {
  padding: 6rem 2rem;
  background: linear-gradient(
    135deg,
    #e6f0f6,
    #ffffff
  ); /* Updated to match other sections */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  color: var(--text-color); /* Updated text color */
}

.contact h1 {
  font-size: 4rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
  color: var(--text-color); /* Added text color */
}

.contact-subtitle {
  font-size: 1.5rem;
  margin-bottom: 4rem;
  opacity: 0.9;
  color: var(--text-color); /* Added text color */
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #e6f0f6; /* Updated background */
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact-item i {
  font-size: 2rem;
}

.contact-item a {
  color: black; /* Kept white for contrast */
  text-decoration: none;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .contact h1 {
    font-size: 3rem;
  }

  .contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .contact-item {
    padding: 1rem;
  }

  .contact-item a {
    font-size: 1rem;
  }
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 9%;
  background-color: rgba(
    255,
    255,
    255,
    0.8
  ); /* Added transparent white background */
  backdrop-filter: blur(8px); /* Added blur effect for better readability */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
}
