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;
  padding: 0;
  font-family: monospace;
  background-color: black;
}
/* 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 */
}
.notes-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;
}


.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 150px;
  position: relative;
}

.card {
  width: 220px;
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  text-align: left;
  transition: 0.3s ease;
}

.card h2 {
  margin: 0;
  font-size: 24px;
  color: #999;
}

.card h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  font-weight: bold;
}

.card p {
  font-size: 14px;
  color: #555;
}

.card1 {
  background-color: #fff3ee;
  transform: rotate(-3deg);
}
.card2 {
  background-color: #eef2fe;
  transform: rotate(3deg);
}
.card3 {
  background-color: #f3edfe;
  transform: rotate(-2deg);
}
.card4 {
  background-color: #fff3ee;
  transform: rotate(2deg);
}
.card5 {
  background-color: #eef2fe;
  transform: rotate(0deg);
}

.pin {
  width: 20px;
  height: 20px;
  background: #000;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  left: calc(50% - 10px);
  z-index: 2;
}
.pin.orange {
  background: #f17300;
}
.pin.blue {
  background: #3b82f6;
}
.pin.purple {
  background: #9b59b6;
}

.bottom {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.bottom img {
  width: 32px;
  border-radius: 50%;
}

.bottom span {
  color: #f17300;
  font-weight: bold;
}

.video-section {
display: flex;
gap: 20px;
padding: 40px;
box-sizing: border-box;
margin-top: 50px;
}

.video-wrapper {
width: 60%;
display: flex;
justify-content: center;
align-items: center;
}

.video-box {
width: 100%;
position: relative;
padding-bottom: 56.25%; /* 16:9 ratio */
height: 0;
}

.video-box iframe {
position: absolute;
width: 100%;
height: 100%;
border-radius: 12px;
}

.summary-box {
width: 40%;
max-height: 448px;
overflow-y: auto;
background: #f4f4f4;
padding: 20px;
border-radius: 12px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
margin-top: 0; /* Ensure no extra margin on top of the summary */
}

.summary-box h2 {
margin-top: 0;
}

.summary-box p {
margin-bottom: 1rem;
line-height: 1.6;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
.video-section {
  flex-direction: column; /* Stack the video and summary vertically on small screens */
  gap: 20px;
  padding: 20px; /* Adjust padding for mobile to prevent too much space around */
}

.video-wrapper, .summary-box {
  width: 100%; /* Full width for both video and summary */
  margin: 0; /* Remove any margin that might push elements further away */
}

.summary-box {
  width: 90%;
  max-height: 400px; /* Remove max-height so the summary can grow vertically */
  overflow-y:scroll; /* Allow the summary to grow vertically without scrolling */
  margin-top: 20px; /* Add some space between the video and summary */
}
}

        .chatbot-icon {
            position: fixed; /* Keeps the icon in place during scroll */
            bottom: 20px;
            right: 20px;
            cursor: pointer;
            z-index: 1000; /* Ensures icon is above other content */
            transition: transform 0.2s ease-in-out; /* Smooth hover effect */
            background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background for icon */
            border-radius: 50%;
            padding: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        .chatbot-icon:hover {
            transform: scale(1.1); /* Slightly enlarge icon on hover */
            background-color: rgba(0, 0, 0, 0.7);
        }
        .chatbot-icon svg {
             display: block; /* Prevents extra space below SVG */
             width: 32px; /* Explicit width */
             height: 32px; /* Explicit height */
             color: white; /* Explicit color */
        }

        /* Chatbot Window with Glass Effect */
        .chatbot-window {
            position: fixed; /* Keeps the window in place */
            bottom: 90px; /* Adjusted position above the icon */
            right: 20px;
            width: 350px; /* Chatbot window width */
            height: 450px; /* Chatbot window height */
            /* Glassmorphism */
            background-color: rgba(255, 255, 255, 0.6); /* Semi-transparent white */
            backdrop-filter: blur(15px) saturate(150%); /* Blur effect */
            -webkit-backdrop-filter: blur(15px) saturate(180%); /* Safari support */
            border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */

            border-radius: 12px; /* Rounded corners */
            box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 ); /* Subtle shadow */
            overflow: hidden; /* Keeps content within bounds */
            display: none; /* Hidden by default */
            flex-direction: column; /* Stack elements vertically */
            z-index: 1000; /* Ensures window is above other content */
        }

        /* Chatbot Header */
        .chatbot-header {
            /* Slightly more opaque for readability */
            background-color: rgba(255, 255, 255, .6);
            padding: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
        }
        .chatbot-header h3 {
            margin: 0;
            font-size: 1.1rem;
            font-weight: 600;
            color: #000000; /* White text */
            text-shadow: 0 1px 2px rgba(0,0,0,0.2); /* Text shadow for readability */
        }
        .close-button {
            cursor: pointer;
            padding: 6px;
            border-radius: 50%; /* Circular */
            transition: background-color 0.2s ease;
            background-color: rgba(255, 255, 255, 0.2);
            border: none; /* Ensure no default border */
        }
        .close-button:hover {
            background-color: rgba(120, 118, 118, 0.3); /* Lighter on hover */
        }
         .close-button svg {
             display: block; /* Prevents extra space */
             color: #303030; /* White icon */
             width: 20px; /* Explicit size */
             height: 20px; /* Explicit size */
         }

        /* Messages Area */
        .chatbot-messages {
            flex: 1; /* Takes up available vertical space */
            padding: 16px;
            overflow-y: auto; /* Enables scrolling for messages */
            display: flex;
            flex-direction: column;
            gap: 12px; /* Space between messages */
        }
        /* Scrollbar styling (optional, for aesthetics) */
        .chatbot-messages::-webkit-scrollbar {
            width: 6px;
        }
        .chatbot-messages::-webkit-scrollbar-thumb {
            background-color: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
        }
        .chatbot-messages::-webkit-scrollbar-track {
            background: transparent; /* Make track invisible */
        }

        /* Individual Message Styling */
        .message {
            display: flex;
            flex-direction: column;
        }
        .message-content {
            padding: 10px 14px;
            border-radius: 12px;
            max-width: 85%;
            line-height: 1.4;
            word-wrap: break-word;
            /* Slightly transparent backgrounds for messages */
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }
        /* Chatbot messages (sender) */
        .sender {
            background-color: rgba(240, 240, 240, 0.8); /* Light gray, less transparent */
            color: #333333; /* Dark gray text */
            align-self: flex-start;
            border-bottom-left-radius: 4px;
        }
        /* User messages (receiver) */
        .receiver {
            background-color: rgba(50, 50, 50, 0.8); /* Dark gray, less transparent */
            color: #ffffff; /* White text */
            align-self: flex-end;
            border-bottom-right-radius: 4px;
        }
        .message-time {
            font-size: 0.7rem;
            color: #1b1b1b; /* Light gray timestamp text */
            /* text-shadow: 0 1px 1px rgba(0,0,0,0.2); */
            margin-top: 4px;
        }
        .sender + .message-time {
             align-self: flex-start;
             color: #242424; /* Darker timestamp for light bubble */
             text-shadow: none;
        }
         .receiver + .message-time {
             align-self: flex-end;
        }

        /* Input Area */
        .input-area {
            padding: 12px 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
            display: flex;
            align-items: center;
            gap: 8px;
            background-color: rgba(0, 0, 0, 0.1); /* Slightly darker transparent background */
        }
        .input-area input {
            flex: 1;
            padding: 10px 12px;
            border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
            border-radius: 8px;
            font-size: 0.95rem;
            outline: none;
            background-color: rgba(255, 255, 255, 0.1); /* Transparent input background */
            color: #000000; /* White text */
            transition: border-color 0.2s ease, background-color 0.2s ease;
        }
        .input-area input::placeholder {
            color: rgba(0, 0, 0, 0.6); /* Lighter placeholder */
        }
        .input-area input:focus {
             border-color: rgba(255, 255, 255, 0.5); /* Brighter border on focus */
             background-color: rgba(255, 255, 255, 0.2);
        }
        .input-area button {
            padding: 10px;
            background-color: rgba(255, 255, 255, 0.2); /* Transparent button */
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .input-area button:hover {
            background-color: rgba(255, 255, 255, 0.4); /* Lighter on hover */
        }
        .input-area button svg {
            width: 20px;
            height: 20px;
            color: #ffffff; /* White icon */
        }

        /* Responsive adjustments */
        @media (max-width: 400px) {
            .chatbot-window {
                width: calc(100% - 32px);
                height: 75vh;
                bottom: 75px; /* Adjust based on new icon size/pos */
                right: 16px;
            }
            .chatbot-icon {
                bottom: 16px;
                right: 16px;
            }
             .message-content {
                 max-width: 90%;
            }
        }



/* 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;
  }
}
@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;
  }
}

@media (max-width: 480px) {
  .navbar {
    left: 5%;
    right: 5%;
    height: 35px;
    align-self: center;
  }
  .navbar-items :hover {
    padding: 0px;
  }
  .cards {
    margin-top: 100px;
  }
  .container-footer {
    margin-top: 100px;
  }

  .email-form input[type="email"] {
    padding: 8px;
    border: none;
    outline: none;
    width: 200px;
    font-size: 16px;
  }
  .copyright {
    text-align: center;
    margin: -20px 0px -20px 0px;
  }
}