:root {
  --bg-color: #f8f9fa;
  --text-color: #1f2937;
  --card-bg: #ffffff;
  --primary-color: #3b82f6;
  --danger-color: #dc2626;
  --accent-color: #f59e0b;
}
#cookie-banner {
    display: none; /* hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6); /* 60% opacity */
    color: whitesmoke; /* text color */
    padding: 20px 20px 30px; /* extra bottom padding looks nicer */
    font-family: sans-serif;
    text-align: center;
    z-index: 9999;

    /* Optional shadow for style */
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
}

#cookie-banner button {
    background: #4CAF50; /* default green */
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s ease;
}

#cookie-banner button:hover {
    background: #45a049;
}

#cookie-banner button.reject {
    background: #f44336;
}

#cookie-banner button.reject:hover {
    background: #d32f2f;
}

#cookie-banner button.accept-all {
    background: #2196F3; /* blue */
}

#cookie-banner button.accept-all:hover {
    background: #1976D2;
}


.dropdown-content {
  position: fixed;         /* Take out of nav flow */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  display: none;
  overflow-y: auto;
  z-index: 999999 !important; /* Highest layer */
  padding: 80px 20px 20px 20px; /* space for close button/nav */
}

/*  POPUP CSS----------------------------------------------------------- */
 /* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 15px; /* so it doesn’t touch edges on mobile */
}

/* Popup */
.popup {
  background: #fff;
  display: flex;
  border-radius: 15px;
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Image */
.popup img {
  width: 200px;
  height: 320px;
  object-fit: cover;
  background: yellow;
}

/* Content */
.popup-content {
  padding: 20px;
  flex: 1;
  position: relative;
}

.popup-content h1 {
  margin: 0;
  font-size: 2rem;
}

.popup-content p {
  margin-top: 10px;
  line-height: 1.5;
  color: #555;
}

.popup-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* Social Icons */
.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Brand Colors */
.social-icons a.twitter { background-color: #1DA1F2; }
.social-icons a.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-icons a.facebook { background-color: #1877F2; }
.social-icons a.google { background-color: #DB4437; }
.social-icons a.whatsapp { background-color: #25D366; }

/* Hover Effect */
.social-icons a:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* ✅ Responsive: Tablet & Mobile */
@media (max-width: 768px) {

  .popup {
    flex-direction: column; /* stack image and content */
    max-width: 60%;
    max-height: 62%;
  }
  img[alt="Profile"] {
  display: none;
}


  .popup-content {
    padding: 15px;
    text-align: center;
  }

  .popup-content h1 {
    font-size: 1rem;
  }

  .popup-content p {
    font-size: 10px;
  }



   @media (max-width: 768px) {
  .social-icons   {
    display: flex;
  justify-content: center;
  gap: 10px;   /* space between icons */
    font-size: 1px;
}
}
}

/* ✅ Extra Small Mobile */
@media (max-width: 480px) {
  .popup-content h1 {
    font-size: 1rem;
  }

  .popup-content p {
    font-size: 0.85rem;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }
}


.logo {
 display: block; /* or absolute */
  position: absolute;
  top: -5%;           /* move 20px down from its normal position */
   filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.9));
  left: 5px;
}

.logo img {
  top:-1%;
  width: 80px;        /* adjust as needed */
  height: 80px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1));
  }
  100% {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
  }
}


   /* Default visit-count (top-right corner) */
.visit-count {
    position: absolute;
    top: 0;
    right: 8%;
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: 'fangsong', sans-serif;
    background: inherit;
    color: #6b6b6b;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-align: center;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10001; /* on top */
}

/* When menu is active, move visit-count inside menu */
.nav-buttons.show .visit-count {
    position: relative; /* inside nav-buttons */
    top: auto;
    right: auto;

    align-items: center;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.05);
    color: #111;
    box-shadow: none;

}

.visit-count:hover {
  transform: scale(1.05);
}

/* Optional pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(190, 24, 93, 0.4); /* dark pink */
  }
  70% {
    box-shadow: 0 0 0 15px rgba(190, 24, 93, 0); /* fade out */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(190, 24, 93, 0); /* reset */
  }
}







body.dark {
  --bg-color: #1f2937;
  --text-color: #f8f9fa;
  --card-bg: #111827;
}

html, body {
  margin: 0;
  padding: 0;
  /*overflow: hidden; /* 🔒 Disables both scrollbars */
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: url('../images/bg.svg');
  background-size: cover;
    background-repeat: no-repeat;
}


/* Base nav */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: inherit;
  z-index: 999;
}

/* Scroll effect */
nav.scrolled {
  background-color: #ffca3a;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.1), 0 12px 40px rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
}

nav img {
  height: 30px;
}

/* Header wrapper */
.monkey-header {
  display: flex;
  justify-content: space-between; /* logo left, buttons center/right */
  align-items: center;
  height: 60px;
  padding: 0 20px;
  position: relative;
  z-index: 9999;
}

/* Nav buttons (desktop) */
.nav-buttons {
  display: flex;
  justify-content: center; /* center buttons horizontally */
  align-items: center;     /* center vertically */
  gap: 10px;
  flex: 1;                 /* take available space in header */
}

.nav-button {
  background-color: inherit;    /* teal background */
  color: teal;              /* text color */
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;     /* remove underline if it's an <a> */
  display: inline-block;     /* make links behave like buttons */
}

.nav-button:hover {
  background-color: #ffca3a;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 0 #b88a22, 0 12px 20px rgba(0, 0, 0, 0.4);
}


/* drop Down -------------------------*/

/* Dropdown container */

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

/* Button */
.dropdown .nav-button {
  cursor: pointer;
}

/* Full-page dropdown */
/* Always on top of everything */


.dropdown-content.show {
  display: flex;
}

/* Top-level list */
.dropdown-content > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center; /* center the links */
}

/* First-level items */
.dropdown-content > ul > li {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #111827;
}

/* Nested lists */
.dropdown-content ul li ul {
  list-style: none;
  margin: 10px 0 0 0; /* no extra indent for full-page */
  padding: 0;
  font-weight: normal;
}

/* Nested list items */
.dropdown-content ul li ul li {
  margin: 8px 0;
}

/* Links in nested list */
.dropdown-content ul li ul li a {
  text-decoration: none;
  color: #111827;
  display: block;
  font-size: 1rem;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.dropdown-content ul li ul li a:hover {
  color: mediumvioletred;
}
/* drop Down Close Button */

/* Close button */
.close-dropdown {
  position: absolute;
  top: 20px;
  right: 50px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
}

/* Hamburger (hidden by default, shown on mobile) */
.hamburger {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 10%;
  top: 3%;
  z-index: 10001; /* stay above menu */
}

/* Mobile menu */
@media (max-width: 992px) {
  .nav-buttons {
    display: none; /* hidden by default */
    flex-direction: column;
    text-align: center;
    position: fixed; /* full screen overlay */
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.97);
    padding: 60px 20px 20px 20px;
    gap: 20px;
    overflow-y: auto;
    z-index: 10000;
  }

  .nav-buttons.show {
    display: flex;
  }

  .hamburger {
    display: block; /* show only on mobile */
  }
 /* ✅ close media query */

  .monkey-header {
    justify-content: flex-end;
    gap: 10px;
  }
}




.container {
  position: relative;
  top: 0%;
  max-width: 630px;
  margin: 6rem auto;
  padding: 2rem;
  border-radius: 14px;

  /* ✅ Layered Backgrounds */
  background-image: url('../images/container.svg');
  background-attachment: fixed, scroll;
  background-position: center top, center center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;

  /* Appearance */
  transition: background 0.4s ease, color 0.4s ease;
  z-index: 1;
}

/* 📱 Mobile view: push container below navbar */
@media (max-width: 768px) {
  .container {
    top:8%;
    margin: 9rem auto 2rem auto; /* push down more */
    padding: 1.5rem;            /* reduce padding for small screens */
    max-width: 95%;             /* full width on mobile */
  }
}

@media (max-width: 480px) {
  .container {
    margin: 10rem auto 1.5rem auto; /* extra space from navbar */
    padding: 1rem;
  }
}



textarea {
  width: 100%;
  height: 110px;
  margin-top: 0rem;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  resize: vertical;
  box-sizing: border-box;
}

.drag-drop-area {
  border: 2px dashed #94a3b8;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: background-color 0.3s, border-color 0.3s;
}

.drag-drop-area.dragover {
  background-color: #e0f2fe;
  border-color: var(--primary-color);
}

.download-btn {
  position: absolute;
  right: -1%;
  top: 26%;
  border-radius: 30px;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  background-color: #f59e0b;
  color: #FFF;
  padding: 12px 22px;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 5px;
  z-index: 999;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  box-shadow: 0 8px 0 #a37218, 0 16px 25px rgba(0, 0, 0, 0.35);

  /* Gradient layer */
  background: linear-gradient(145deg, #f59e0b, #f59e0b);
  background-size: 200% 200%;
}

.download-btn:hover {
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), #ffd84d, #f59e0b);
}

.download-btn:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: 0 3px 0 #b88a22, 0 8px 15px rgba(0, 0, 0, 0.2);
}

.text-area-group {
  top: 40px;
  position: relative;
  margin-bottom: 2rem;
}

.small-buttons {
  position: absolute;
  top: 12px;
  right: 10px;
  display: flex;
  gap: 6px;
}

.small-buttons button {
  font-size: 10px;
  padding: 3px 6px;
  background-color: #6b6b6b;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
}

/*----------comment section-----------*/

.comment-box {
  max-width: 630px;
  margin: 1rem auto;
  background: none;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  padding: 0rem;
  z-index: 2;
  position: relative;

  transition: max-height 0.5s ease;
  overflow: hidden;
  max-height: 0;
}
.comment-box.hidden {
  background: none;
  overflow: hidden;
  box-shadow: none;
}


.comment-box.show {
  max-height: 500px;
}

.comment-box textarea {
  width: 100%;
  height: 80px;
  padding: 10px;
  border-radius: 8px;
  resize: none;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.comment-box button {
  padding: 6px 12px;
  background-color: #10b981;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.comment-feed {
  margin-top: 1rem;
  max-height: 200px;
  overflow-y: auto;
}

.comment-feed .comment {
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  background-color: whitesmoke;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* x-offset, y-offset, blur, color */
  border-radius: 8px; /* optional rounded corners */
  color: #000; /* Make text visible on dark backgrounds */
}

/* Assign random colors using nth-child
.comment-feed .comment:nth-child(1n) { background: #FFB74D; }
.comment-feed .comment:nth-child(2n) { background: #4DB6AC; }
.comment-feed .comment:nth-child(3n) { background: #BA68C8; }
.comment-feed .comment:nth-child(4n) { background: #64B5F6; }
.comment-feed .comment:nth-child(5n) { background: #81C784; }
.comment-feed .comment:nth-child(6n) { background: #F06292; }
.comment-feed .comment:nth-child(7n) { background: #6b6b6b; color: #FFFFFF; } /* Yellow, dark text */





#button-86 span {
  font-size: 1.3rem;
  color: #22d3ee; /* Teal/Aqua */
  text-shadow: 0 0 5px #22d3ee, 0 0 10px #22d3ee;
  transition: transform 0.3s ease;
   animation: pulse 2s infinite;
        text-align: center;
}

#button-86:hover {
  transform: scale(1.06);
}

/* Optional pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}


/* Optional: Rotate arrow when open */
#comment-section.show ~ .comment-toggle #button-86 span {
  transform: rotate(180deg);
}



footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.hidden-input {
  display: none;
}

.download-links {
  text-align: center;
  margin-top: 1.5rem;
}

.download-links a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
}


#errorMsg {
  display: none;
  color: red;
  text-align: center;
  margin-top: 10px;
}
.footer-parallax {
  position: relative;
  background-image: url('../images/wave.svg'); /* 🔁 Change this to your image path */
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 3rem 1.5rem 1rem;
  z-index: 1;
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.footer-overlay {
  background: rgba(0, 0, 0, 0.1); /* semi-transparent layer for contrast */
  padding: 2rem;
  border-radius: 15px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-section h2, .footer-section h3 {
  color: yellowgreen;
  margin-bottom: 1rem;
}

.footer-section p, .footer-section ul li a {
  color: #111827;
  font-size: 0.95rem;
}

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

.footer-section ul li {
  margin: 0.5rem 0;
}

.footer-section ul li a {
  color: #111827;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: #f59e0b;
  text-shadow: 0 0 10px #00ffc8;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
  color: #111827;
}


.footer-bottom .social-icons {
  margin-top: 10px;
  display: flex;           /* enable flexbox */
  justify-content: center; /* center horizontally */
  gap: 8px;                /* spacing between icons */
}

.footer-bottom .social-icons a {
  color: black;
  font-size: 1.2rem;
  transition: color 0.3s, transform 0.3s;
}

.footer-bottom .social-icons a:hover {
  color: #00ff00; /* green hover */
  transform: scale(1.2); /* slight zoom on hover */
}


/*------------------------/*

 */


/* Mobile (phones) */
@media (max-width: 600px) {
  .container, .comment-box {
    width: 90%;
    padding: 1rem;
    margin: 1rem auto;
  }

  .logo img {
    width: 120px;
  }

  .visit-count {
    left: auto;
    right: 10px;
    padding: 6px 16px;
    font-size: 0.85rem;
  }

  .nav-button {
    font-size: 0.9rem;
    margin: 0;
  }

  nav {
    flex-direction: column;
    padding: 0.5rem 1rem;
    height: auto;
  }



  .download-btn {
    position: static;
    display: block;
    margin: 1rem auto;
  }


  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  .container, .comment-box {
    width: 80%;
    padding: 1.5rem;
  }

  .logo img {
    width: 140px;
  }

  .visit-count {
    left: auto;
    right: 20px;
  }

  nav {
    padding: 3rem 2rem;
  }

  .download-btn {
    right: 10px;
    top: 30%;
    padding: 10px 20px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}


/*-----------goey menu----------*/


#toggle-comment {
  all: unset;
  width: 120px;                /* wider to fit text */
  height: 40px;
  font-size: 16px;
  background: #25D366;         /* optional background */
  border-radius: 5px;
  border: none;
  position: fixed;
  bottom: 40%;
  left: 0.8%;                     /* stick to left edge */
  transform-origin: left center;
  transform: rotate(90deg);    /* rotate button */
  color: #fff;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  padding: 10px ;
  max-height: 5px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  #toggle-comment {
    width: 100px;
    font-size: 14px;
    padding: 8px;
  }
}


#toggle-comment::after,
#toggle-comment::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

#toggle-comment::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: #28282d;
  border-radius: 10px;
}

#toggle-comment::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #ffffff15;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50px;
}

#toggle-comment:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

#toggle-comment:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

#toggle-comment:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}


/* 🔔 Toast notification */
#toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #28a745;
  color: white;
  text-align: center;
  border-radius: 8px;
  padding: 12px;
  position: fixed;
  z-index: 9999;
  left: 76%;
  top: 20px;
  font-size: 16px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  transform: translateX(-50%);
}
#toast.show {
  visibility: visible;
  animation: slideDown 0.4s;
}
@keyframes slideDown {
  from {top: 0; opacity: 0;}
  to {top: 20px; opacity: 1;}
}
/* about .html */

/* About Section */
.about-section {
    padding: 120px 20px 60px 20px; /* space for fixed navbar */
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
  background: inherit;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* About Card */
/* Card base styles */
.about-card {
  padding: 25px 20px;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  background: linear-gradient(135deg, #f6d365, #fda085);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.about-card:hover {
  transform: scale(1.05);
}

/* Card icon, titles, text remain the same */
.about-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,0.6);
  transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
}

.about-card:hover .about-icon {
  transform: rotate(20deg) scale(1.3);
  color: #ffeb3b;
  text-shadow: 0 0 15px rgba(255,255,0,0.8);
}

/* Card Titles & Text */
.about-card h2 {
    margin: 10px 0;
    font-size: 1.5rem;
}

.about-card p,
.about-card ul li {
    color: #fff;
    font-size: 0.95rem;
}

.about-list {
    padding-left: 20px;
}

.about-list li {
    margin: 5px 0;
    position: relative;
}

.about-list li::before {
    content: "✔";
    position: absolute;
    left: -20px;
    color: #ffeb3b;
}

/* Animated gradient effect for cards (JS-controlled optional) */
.gradient-animate {
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background: linear-gradient(135deg, #f6d365, #fda085); }
    25% { background: linear-gradient(135deg, #a1c4fd, #c2e9fb); }
    50% { background: linear-gradient(135deg, #fbc2eb, #a6c1ee); }
    75% { background: linear-gradient(135deg, #84fab0, #8fd3f4); }
    100% { background: linear-gradient(135deg, #f6d365, #fda085); }
}

/* random comments*/

.swal2-toast-custom {
  background: transparent !important;
  font-size: 14px;
  max-width: 300px;
  white-space: normal;
  box-shadow: none !important; /* remove default shadow */
}



/* comment section button*/

.comment {
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 0;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.comment-buttons {
  display: flex;
  gap: 6px;           /* space between buttons */
  margin-top: 4px;    /* spacing above buttons */
}

.comment-buttons button {
  padding: 2px 6px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: white;
}

.comment-buttons button:hover {
  background-color: #f0f0f0;
}


.comment-text {
  margin-bottom: 4px;
}

.comment-time {
  font-size: 12px;
  color: gray;
}



/* Full overlay */
.privacy-overlay {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Inner page container */
.privacy-page {
  width: 80%;
  max-width: 900px;
  height: 90%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* inner scroll container */
}

/* Close button */
.close-privacy {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
}

/* Scrollable content */
.privacy-content {
  padding: 3rem 2rem 2rem 2rem;
  overflow-y: auto;
  flex: 1; /* take remaining space */
  line-height: 1.6;
  color: #111827;
  font-family: 'Arial', sans-serif;
}

/* Headings */
.privacy-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.privacy-content h2 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Paragraphs */
.privacy-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: justify;
}

/* Lists */
.privacy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-content ul li {
  margin-bottom: 0.5rem;
}

/* Links */
.privacy-content a {
  color: mediumvioletred;
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}


/* Contact Form CSS*/

.contact-section {
  display: flex;
  justify-content: center;
  padding: 4rem 1rem;
}

.contact-container {
  max-width: 800px;
  width: 100%;
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-container h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-container p {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
}

.contact-form label span {
  color: red;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: mediumvioletred;
  box-shadow: 0 0 5px rgba(199, 21, 133, 0.4);
}

.contact-form button {
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background-color: mediumvioletred;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #c71585;
}

.form-msg {
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
  color: green;
}

/* Contact Info */
.contact-info {
  margin-top: 2rem;
  text-align: center;
}

.contact-info a {
  color: mediumvioletred;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-container {
    padding: 2rem 1rem;
  }
}

/* DDrag and Drop Typewriter */

 .drag-drop-area {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    font-family: Arial, sans-serif;
  }


   #animated-text span {
  opacity: 0;
  transition: opacity 0.3s ease;
}
