/* Light Theme */
body.light-theme {
  background-color: rgb(212, 204, 204);
}

body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.267); /* Darker background for contrast */
  border: 1px solid rgba(0, 0, 0, 0.3); /* Darker border */
}

body.light-theme .navbar-item {
  color: rgb(0, 0, 0); /* Black text for light theme */
}

body.light-theme .navbar-item:hover {
  background: rgb(255, 255, 255); /* Darker hover effect */
}

body.light-theme .testimonials-section h1,
body.light-theme .testimonials-section h3,
body.light-theme .testimonials-section p {
  color: black;
}

/* Toggle Button Styling */
.theme-toggle-button {
  cursor: pointer;
  background: none;
  border: none;
  width: 34px; /* Fixed width for circle */
  height: 34px; /* Fixed height for circle */
  border-radius: 50%; /* Make it circular */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.theme-toggle-button:hover {
  background: rgba(255, 255, 255, 0.4);
}

body.light-theme .theme-toggle-button:hover {
  background: rgb(255, 255, 255); /* Darker hover effect */
}

.theme-toggle-button .navbar-icon {
  width: 35px; /* Adjust icon size */
  height: 35px;
  filter: invert(0); /* Make icon white in dark theme */
}

body.light-theme .theme-toggle-button .navbar-icon {
  filter: invert(1); /* Make icon black in light theme */
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  height: 100vh;
  font-family: monospace;
  background-color: black;
  /* background: radial-gradient(
    circle at center,
    #000000 0%,
    #030637 50%,
    #000000 100%
  );
  background-size: 200% 200%;
  animation: gradientAnimation 40s ease infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  } */
}
/* Dark Theme: Hero Section */
body:not(.light-theme) .hero h1,
body:not(.light-theme) .hero p {
  color: white;
}

body:not(.light-theme) .badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* User's Navbar CSS - Kept as provided */
.navbar {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  border-radius: 20px;
  padding: 5px 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 12px;
  left: 10%;
  right: 10%;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Lighter border for better contrast */
}

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

.navbar-items {
  display: flex;
  justify-content: space-around; /* Distributes items evenly */
  align-items: center;
  width: 100%;
  flex-wrap: wrap; /* Allow wrapping on smaller screens if needed */
}

/* --- CSS Modifications for SVG --- */
.navbar-icon {
  width: 24px; /* Adjusted size for typical line icons */
  height: 24px;
  /* border-radius removed - not needed for SVGs */
  /* opacity removed - handled by stroke/fill */
  stroke-width: 1.5; /* Control line thickness */
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.navbar-item span {
  margin-left: 8px; /* Kept user's spacing */
  white-space: nowrap; /* Prevent text wrapping */
}

.navbar-item {
  color: rgb(255, 255, 255); /* White text */
  text-decoration: none;
  padding: 10px 15px; /* Kept user's padding */
  border-radius: 15px; /* Slightly adjusted for aesthetics */
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px; /* Kept user's gap */
}
.home-icon{
  background: rgba(255, 255, 255, 0.4); /* Kept user's hover */
}

.navbar-item:hover {
  background: rgba(255, 255, 255, 0.4); /* Kept user's hover */
}

/* Style for the theme toggle button (similar to links) */
.theme-toggle-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px; /* Make clickable area slightly larger */
  border-radius: 50%; /* Make it circular */
}
.theme-toggle-button:hover {
  background: rgba(255, 255, 255, 0.4);
}
/* Hide the span visually but keep for accessibility if needed later */
.theme-toggle-button span {
  display: none;
}
/* Ensure theme toggle icon size is consistent */
.theme-toggle-button .navbar-icon {
  width: 24px;
  height: 24px;
  margin: 0; /* Remove margin if only icon is shown */
}

/* Hide menu toggle button */
.menu-toggle {
  display: none;
}

.parent {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 15px;
  /* height: 600px; */
  height: 70%;
  margin-bottom: 80px;
  margin-left: 4%;
  margin-right: 4%;
  margin-top: -80px;
}
.parent div {
  border-radius: 40px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}
.parent div:hover {
  border: 2px solid white;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.3s ease, border 0.3s ease;
  cursor: pointer;
}

.parent > div.slide-up {
  opacity: 1;
  transform: translateY(0);
}

.div1 {
  grid-row: span 4 / span 4;
  grid-row-start: 2;
  background-color: white;
  background-image: url(https://i.pinimg.com/736x/97/17/1b/97171bd3726ad80a25d7ce7d5028db87.jpg);
  background-color: #c4c5fd;
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
  color: white;
  font-family: monospace;
  padding-top: 30%;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}

.div3 {
  grid-row: span 2 / span 2;
  grid-column-start: 1;
  grid-row-start: 6;
  background-image: url(https://i.pinimg.com/474x/53/e4/1e/53e41e4bb6bba5a24deebf3617409715.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-color: white;
  font-size: 30px;
  font-weight: bold;
  font-family: monospace;
  align-content: center;
  padding-left: 30%;
  text-align: center;
  color: black;
}
.div3 p {
  font-size: 18px;
  margin-top: 0px;
  color: #333;
}

.div4 {
  grid-row: span 5 / span 5;
  grid-column-start: 2;
  grid-row-start: 3;
  background-color: #f3f7f8;
  background-image: url(https://i.pinimg.com/736x/48/b2/3f/48b23f802ec2a3f9a81cf5a308e6ddbe.jpg);
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
  padding-top: 30%;
  text-align: center;
  padding-left: 30px;
  padding-right: 30px;
  font-family: monospace;
}
.div4 h1 {
  font-weight: bold;
  color: #a62c2c;
}

.div6 {
  grid-row: span 3 / span 3;
  grid-column-start: 3;
  grid-row-start: 5;
  background-color: #adb2d4;
  text-align: center;
  align-content: center;
  color: white;
  font-family: monospace;
  font-size: 18px;
  /* padding: 2% 0px 2% 0px; */
}
.div6 p {
  font-size: 40px;
  font-family: monospace;
  font-size: bold;
  margin: 0px;
}

.div7 {
  grid-row: span 5 / span 5;
  grid-column-start: 4;
  grid-row-start: 3;
  background-image: url(https://i.pinimg.com/736x/05/1f/74/051f745b09aa4e6afaeec849dcc30f74.jpg);
  color: white;
  background-size: cover;
  /* align-content: center; */
  background-position: bottom;
  background-repeat: no-repeat;
  font-family: monospace;
  text-align: center;
  padding-top: 30%;
}
.div7 h1 {
  font-family: monospace;
  font-weight: bold;
}

.div8 {
  grid-row: span 4 / span 4;
  grid-column-start: 5;
  grid-row-start: 2;
  background-color: white;
  background-image: url(https://i.pinimg.com/474x/38/b0/a4/38b0a4602005472c1f8a743becd1cae9.jpg);
  background-size: cover;
  background-position: left bottom;
  font-family: monospace;
  color: #a62c2c;
  padding-left: 5%;
  font-size: bold;
}
.div8 h1 {
  font-family: monospace;
}

.div9 {
  grid-row: span 2 / span 2;
  grid-column-start: 5;
  grid-row-start: 6;
  background-color: white;
  font-size: 18px;
  font-weight: bold;
  font-family: monospace;
  align-content: center;
  text-align: center;
  color: black;
  background-image: url(https://i.pinimg.com/736x/24/df/e0/24dfe094f34873b4500087bd03bb5c67.jpg);
  background-size: contain;
  background-size: 65%;
  background-position: bottom;
  background-repeat: no-repeat;
  padding-bottom: 40px;
}

.div9 p {
  /* font-size: 30px; */
  margin-top: 0px;
  color: #333;
  margin: 0px 0px;
}
.div9 h2 {
  margin: 0px;
}

.hero {
  text-align: center;
  padding: 100px 0px 0px 0px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: #eaeaea;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 0px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.3;
  color: #111;
  margin: 0;
}

.hero h1 .highlight {
  color: #22c55e; /* Green */
}

.hero p {
  margin-top: 20px;
  color: #555;
  font-size: 18px;
  font-weight: 400;
}

.testimonials-section {
  text-align: center;
  padding: 200px 0px;
  margin-top: 0px;
}

.testimonials-section h1 {
  font-size: 3em;
  font-weight: 700;
  color: white;
  font-family: monospace;
}

.sub-heading {
  font-size: 1.5em;
  color: white;
  margin: 10px 0 30px;
}

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

.testimonial-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}
.testimonial-box:hover {
  transform: translateY(-10px);
}

.testimonial-box img {
  border-radius: 50%;
  margin-bottom: 15px;
  width: 100px;
}

.testimonial-box h2 {
  font-size: 1.8em;
  margin-bottom: 5px;
  font-family: monospace;
}

.testimonial-box .position {
  color: #777;
  margin-bottom: 15px;
}

.testimonial-box .quote {
  font-size: 0.9em;
  color: #555;
}

.testimonial-box .social-icons {
  margin: 8px 0;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.testimonial-box .social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.testimonial-box .social-icons img:hover {
  transform: scale(1.2);
}
/* Footer Bottom */

/* Footer Container */
.container-footer {
  width: 100%;
   /* Optional: Limit max width on very large screens */
  margin: 0 auto; /* Center the container */
  padding: 40px 20px 20px 20px; /* Added more top padding */
  background-color: white;
  box-sizing: border-box; /* Include padding in width calculation */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Newsletter Section */
.newsletter {
  text-align: center;
  margin-bottom: 50px; /* Increased spacing */
}

.newsletter h2 {
  font-size: 24px;
  font-weight: 600;
  color: black;
  letter-spacing: 1px; /* Adjusted spacing */
  margin-bottom: 15px; /* Increased spacing */
  text-align: center;
}

.newsletter p {
  margin-bottom: 25px; /* Increased spacing */
  color: #555; /* Slightly darker text */
  padding: 0 10px; /* Add horizontal padding for text */
  max-width: 600px; /* Limit width of paragraph */
  margin-left: auto; /* Center paragraph */
  margin-right: auto; /* Center paragraph */
}

/* Email Form */
.email-form {
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Center items horizontally */
  flex-wrap: wrap; /* Allow wrapping on very small screens if needed */
  max-width: 500px; /* Limit form width */
  margin: 0 auto; /* Center the form */
  border: 1px solid #ccc; /* Lighter border */
  border-radius: 8px; /* Rounded corners for the form */
  overflow: hidden; /* Keep input/button inside rounded corners */
}

.email-form input[type="email"] {
  padding: 12px 15px; /* Increased padding */
  border: none;
  outline: none;
  flex-grow: 1; /* Allow input to take available space */
  min-width: 200px; /* Minimum width before wrapping */
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 8px 0 0 8px; /* Rounded corners on the left */
}

.email-form button {
  padding: 12px 25px; /* Increased padding */
  background-color: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  white-space: nowrap; /* Prevent button text wrapping */
  border-radius: 0 8px 8px 0; /* Rounded corners on the right */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.email-form button:hover {
  background-color: #333; /* Darker background on hover */
}

/* Main Footer Area */
footer {
  display: flex;
  /* Removed justify-content: space-between; to rely on widths/margins */
  flex-wrap: nowrap; /* Prevent wrapping by default */
  padding: 30px 0; /* Increased padding */
  border-top: 1px solid #eee; /* Lighter border */
  margin-bottom: 30px; /* Adjusted spacing */
  width: 100%; /* Ensure footer takes full width */
  box-sizing: border-box;
}

/* Individual Footer Sections */
.footer-section {
  /* Adjust width slightly less than 1/3 to account for padding/margins */
  width: 33%;
  padding: 0 10px; /* Reduced padding slightly */
  box-sizing: border-box;
  margin-bottom: 30px; /* Add space below each section */
  /* Removed min-width to allow shrinking */
  vertical-align: top; /* Align columns at the top */
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 600; /* Slightly bolder */
  margin-bottom: 15px;
  color: #333;
}

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

.footer-section ul li {
  margin-bottom: 10px; /* Reduced margin slightly */
}

.footer-section ul li a {
  text-decoration: none;
  color: #555; /* Consistent text color */
  font-size: 14px;
  transition: color 0.3s ease; /* Smooth hover effect */
  display: inline-block; /* Needed for potential wrapping */
  /* Allow long words (like email) to break */
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-all; /* More aggressive breaking if needed */
}

.footer-section ul li a:hover {
  color: #000; /* Darker color on hover */
  text-decoration: underline;
}

.footer-section.bio p {
  font-size: 14px;
  line-height: 1.6; /* Adjusted line height */
  color: #666;
  /* Allow text wrapping */
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* Add specific styling for bio section heading if needed */
.footer-section.bio h3 {
  /* Keep consistent with other h3 or adjust as needed */
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

/* Copyright Area */
.copyright {
  text-align: center;
  font-size: 13px; /* Slightly smaller */
  color: #aaa;
  padding: 15px 0 0 0; /* Add padding above */
  border-top: 1px solid #eee; /* Separator line */
  margin-top: -10px; /* Adjust based on footer margin-bottom */
}

/* --- Responsive Styles --- */

/* Medium Screens (Tablets) */
@media (max-width: 768px) {
  /* Keep footer as flex, but ensure no wrap */
  footer {
    flex-wrap: nowrap;
    padding: 20px 0; /* Adjust padding */
  }

  .footer-section {
    /* Maintain 3 columns, adjust width if needed */
    width: 33%;
    padding: 0 8px; /* Further reduce padding */
    /* Ensure text aligns left */
    text-align: left;
  }

  .footer-section h3 {
    font-size: 15px; /* Slightly smaller heading */
    /* Ensure text aligns left */
    text-align: left;
  }
  .footer-section ul {
    /* Ensure list aligns left */
    display: block;
    text-align: left;
  }
  .footer-section ul li a {
    font-size: 13px; /* Slightly smaller font */
  }

  .footer-section.bio p {
    font-size: 13px; /* Slightly smaller font */
    /* Ensure text aligns left */
    text-align: left;
  }
}

/* Small Screens (Mobiles) */
@media (max-width: 480px) {
  .container-footer {
    padding: 30px 10px 15px 10px; /* Adjust padding for mobile */
  }

  footer {
    flex-wrap: nowrap; /* Explicitly prevent wrapping */
    padding: 15px 0; /* Adjust padding */
    margin-bottom: 15px;
  }

  .newsletter h2 {
    font-size: 20px; /* Smaller heading */
  }

  .newsletter p {
    font-size: 13px; /* Smaller text */
    margin-bottom: 20px;
  }

  /* Keep email form stacked for usability */
  .email-form {
    flex-direction: column;
    border: none;
    border-radius: 0;
    max-width: 100%;
  }

  .email-form input[type="email"] {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
  }

  .email-form button {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
  }

  /* Keep 3 columns, adjust width and padding */
  .footer-section {
    width: 33%; /* Maintain 3 columns */
    padding: 0 5px; /* Minimal padding */
    margin-bottom: 20px;
    text-align: left; /* Align text left */
  }

  .footer-section h3 {
    font-size: 14px; /* Smaller heading */
    margin-bottom: 10px;
    text-align: left; /* Align heading left */
  }

  .footer-section ul {
    display: block;
    text-align: left; /* Align list left */
  }

  .footer-section ul li {
    margin-bottom: 8px; /* Reduce list item margin */
  }

  .footer-section ul li a {
    font-size: 12px; /* Smaller link font */
  }

  .footer-section.bio p {
    font-size: 12px; /* Smaller bio font */
    line-height: 1.5;
    text-align: left; /* Align bio text left */
  }

  .copyright {
    font-size: 11px; /* Even smaller copyright */
    margin-top: 5px;
    padding-top: 10px;
  }
}

/* Responsive Styles for Mobile */
@media (max-width: 1200px) {
  .navbar {
    left: 10%;
    right: 10%;
    align-self: center;
  }
  .navbar-items {
    justify-content: space-between;
    padding: 0px;
  }
}
@media (max-width: 768px) {
  .navbar {
    left: 10%;
    right: 10%;
    height: 40px;
    align-self: center;
  }

  .navbar-item span {
    display: none; /* Hide text labels on small screens */
  }

  .navbar-items {
    justify-content: space-between;
    padding: 0px;
  }

  .navbar-item {
    padding: 0px;
  }

  /* Add this to maintain icon size */
  .navbar-icon {
    width: 24px;
    height: 24px;
  }

  .theme-toggle-button .navbar-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .navbar {
    left: 5%;
    right: 5%;
    height: 35px;
    align-self: center;
  }
  .navbar-items :hover {
    padding: 0px;
  }
  .parent {
    max-height: 30%;
    margin-top: -10px;
    gap: 8px;
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 0px;
    /* padding-left: 4%; */
    padding-right: 4%;
  }
  .parent div {
    width: 110%;
    border-radius: 8px;
    font-size: 10px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 8%;
    align-content: center;
    font-weight: bold;
    /* padding-top: 10%; */
  }
  .parent div p {
    font-size: 8px;
  }
  .parent .div4 {
    margin-left: 20px;
  }
  .parent .div4 h1 {
    /* font-size: 10px ; */
    font-weight: bold;
  }
  .parent .div7 {
    margin-left: -32px;
    width: 130%;
  }
  .parent h1 {
    font-size: 8px;
  }
  .div6 {
    display: none;
  }
  .hero {
    margin: 5%;
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    padding-top: 80px;
  }
  .hero h1 {
    font-size: 20px;
  }
  .badge {
    font-size: 10px;
    margin-bottom: 5px;
  }
  .hero p {
    font-size: 12px;
    margin-bottom: 0px;
  }
  .testimonials-section {
    padding-left: 2%;
    padding-right: 2%;
  }

  .testimonials-section h1 {
    font-size: 24px;
  }
  .sub-heading {
    font-size: 14px;
  }

  .testimonials-container {
    flex-direction: column;
    align-items: center;
    margin-top: 0px;
  }

  .testimonial-box {
    margin-bottom: 20px;
    margin-left: 16%;
    margin-right: 16%;
  }

  /* Add this to maintain icon size */
  .navbar-icon {
    width: 24px;
    height: 24px;
  }

  .theme-toggle-button .navbar-icon {
    width: 24px;
    height: 24px;
  }
}
.navbar-icon {
  width: 24px;
  height: 24px;
}

.theme-toggle-button .navbar-icon {
  width: 24px;
  height: 24px;
}