/* Basic Styling */
html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(360deg, #FFEFD5, #FFEFD5);
    width: 100%;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}


.navbar {
  position: relative; /* Needed for positioning the pseudo-element */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  padding: 1rem 2rem;
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 98%;            /* Adjust this value to set the length of the line */
  border-bottom: 1px solid #ccc;
  max-width: 100%; /* Ensures the underline doesn't extend */
}

.navbar .logo {
  color: #666;
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
}
.flag {
	height: 60px; /* Adjust height as needed */
	width: auto;
	align-items: center;
	padding:20px;
	margin-left:1rem
}
.flag img {
	height: 60px; /* Adjust height as needed */
	width: auto;
}
	
.navbar .nav-links li {
  margin-left: 1rem;
}

.navbar .nav-links a {
  color: #666;
  text-decoration: none;
  font-size: 1.0rem;
  transition: color 0.3s;
}

/* Hide menu items initially */
.dropdown {
  position: relative; /* so .pop-menu is positioned relative to this */
}

.pop-menu {
  position: absolute;
  top: 100%;   /* directly below the "PDFs" link */
  left: 0;     /* align left edge */
  margin-top: 6px; /* small gap under the link */
  z-index: 9999;
}

.pop-menu li {
  transform: scale(0);
  transition: all 0.3s ease;
  margin-top: 8px;
}

.pop-menu li a {
  display: block;
  padding: 10px 16px;
  background: linear-gradient(360deg, #FFDAB9, #FFE4B5);
  color: #333;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.pop-menu li a:hover {
  background: linear-gradient(360deg, #FFDAB9, #FFE4B5);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Active state = items pop out one by one */
.dropdown.active .pop-menu {
  opacity: 1;
  pointer-events: auto;
}

.dropdown.active .pop-menu li {
  transform: scale(1);
}

.dropdown.active .pop-menu li:nth-child(1) { transition-delay: 0.1s; }
.dropdown.active .pop-menu li:nth-child(2) { transition-delay: 0.2s; }
.dropdown.active .pop-menu li:nth-child(3) { transition-delay: 0.3s; }

.menu-button {
	font-size: 1.2rem;
    transition: 0.3s;
	color: #666;
}
.sidebar-logo {
    text-align: center;
    margin: 20px 0;
}

.sidebar-logo img {
    max-width: 120px; /* Adjust size as needed */
    height: auto;
    display: block;
    margin: 0 auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -250px; /* Initially hidden */
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding-top: 20px;
    z-index: 1000;
}

.sidebar.active {
    right: 0; /* Slide in */
}

.sidebar .close-btn {
    background: none;
    border: none;
    font-size: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: left;
}

.sidebar ul li a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    display: block;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 900;
}

.overlay.active {
    display: block;
}
.breadcrumb-title {
  font-size: 16px;
  font-weight: 600;
  padding: 20px 20px;
  margin:0;
}

.breadcrumb-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: #333;
  text-decoration: none;
}

.breadcrumb-link.active {
  font-weight: bold;
  color: green;
  pointer-events: none;
  cursor: default;
}

.logo img {
  height: 60px; /* Adjust height as needed */
  width: auto;
}
/* Info Section */
.info-section {
    background: rgba(255, 255, 255, 0.0); /* White with 60% transparency */
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
}

.info-section h2 {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 15px;
}

.info-section p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
	font-style: italic;
}
hr {
    border: none; /* Removes default border */
    height: 1px; /* Adjust thickness */
    background-color: #CCC; /* Dark gray color */
    width: 95%; /* Controls width */
}

/* Container */
.container {
    text-align: center;
	justify-content: center;
    width: 90%;
    max-width: 1200px;
    margin: 80px auto 20px; /* adds top margin to account for the navbar */
    padding: 0 1rem;
	margin-bottom: 150px;
}

/* Search Bar */
.search-container {
    position: relative;
    width: 50%;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
	margin-top:50px;
}


.search-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 25px;
    color: #777;
}
/* Suggestions List */
.suggestions-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    list-style-type: none;
    padding: 10px 0;
    margin: 0;
}

/* Individual suggestion items */
.suggestions-list li {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
	color:#666;
}

.suggestions-list li:hover {
    background-color: #f4f4f4;
    transition: background-color 0.2s ease-in-out;
}
.centered-tabs {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px auto 30px;
  flex-wrap: wrap;
  padding: 10px 20px;
}

.tab-btn {
  background-color: #ffffff;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  padding: 14px 18px;
  width: 110px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tab-btn i {
  font-size: 22px;
  margin-bottom: 6px;
  color: #0077cc;
  transition: color 0.3s;
}

.tab-btn:hover {
  background-color: #f0faff;
  transform: translateY(-3px);
  border-color: #0077cc;
}

.tab-btn:hover i {
  color: #005fa3;
}


.section-heading {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  padding: 0 20px;
}

.section-heading h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #222;
  position: relative;
  display: inline-block;
  animation: fadeInUp 0.6s ease;
}

.section-heading .highlight {
  color: #0077cc;
  font-weight: 800;
}

.section-heading i {
  color: #0077cc;
  margin-right: 10px;
  font-size: 1.5rem;
  vertical-align: middle;
}

.section-heading .subtitle {
  font-size: 1rem;
  color: #666;
  margin-top: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease;
}

/* Optional fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subjects Grid */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    max-width: 600px; /* Adjust this based on how many items you want per row */
    gap: 20px;
    justify-items: center;
    margin: 0 auto; /* Centers the grid */
	margin-bottom:100px;
}

.subject-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    width: 105px; /* Set a fixed width */
    height: 105px; /* Set a fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    flex-direction: column;
	text-decoration: none; /* Removes underline */
    color: inherit; /* Keeps the text color consistent */
}

.subject-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
	text-decoration: none; /* Ensures no underline on hover */
}

.subject-icon {
    font-size: 40px;
    color: #666;  /* Icon color */
}

.subject-name {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px; /* Adds space between the icon and text */
    text-align: center;
	color: #666;
}
/* Feature Showcase Section */
.feature-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	box-sizing: border-box; /* Ensures padding is included in width/height */
    width: 90%;
    height: 400px;
    padding: 50px 5%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    gap: 10px;
    margin: 0 auto;
    opacity: 0.9; /* Adjust this value (0.0 to 1.0) for more/less transparency */
}

/* Text Animation */
.feature-text {
    width: 100%; /* Make the text container take full width */
    opacity: 1;
    animation: bounceInfinite 3s infinite ease-in-out;
    text-align: center; /* Center the text */
}

.feature-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px; /* Space below the title */
}

.feature-text p {
    font-size: 1.2rem;
    color: #666;
}

/* Image Animation */
.feature-image {
    width: 100%; /* Make the image container take full width */
    display: flex;
    justify-content: center; /* Center the image */
    text-align: center;
    position: relative;
    overflow: hidden; /* Prevents overflow */
    height: 80%; /* Maintain container height */
}

.feature-image img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    height: auto;
    border-radius: 10px;
    opacity: 1;
    transition: transform 2.5s ease-in-out, opacity 1.5s ease-in-out;
}

/* Bounce Text Animation */
@keyframes bounceInfinite {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.stacked-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
}

.svg-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.section-title-decorated {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
}

.underline {
  display: block;
  width: 60px;
  height: 4px;
  background: #2575fc;
  margin: 12px auto 0;
  border-radius: 2px;
}
.stacked-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.card.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  color: #222;
  transition: transform 0.3s;
}
.info-link {
  font-weight: 600;
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.info-link:hover {
  border-color: #ccc;
}
.card-icon {
  font-size: 2.5rem;
  color: #444;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.card p {
  font-size: 1rem;
  color: #444;
}
.ai-tools-section {
  padding: 60px 20px;
  text-align: center;
  margin-top: 50px;
}

.ai-header h2 {
  font-size: 28px;
  color: #444;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.ai-header p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 16px;
}

.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.ai-card {
  background: white;
  border-radius: 14px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 119, 204, 0.15);
}

.ai-card i {
  font-size: 30px;
  color: #0077cc;
  margin-bottom: 15px;
}
.ai-card p {
  font-size: 14px;
  color: #666;
}
.ai-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px;
}

.ai-icons a img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.ai-icons a:hover img {
  transform: scale(1.15);
  filter: brightness(1.1);
}


/* Footer Styles */
.footer {
    position: relative; /* Required for absolute positioning of pseudo-element */
    color: #666;
    text-align: center;
    padding: 20px;
    font-size: 1rem;
	margin-top:4rem;
    /* Remove the default border */
}

.footer::before {
    content: "";
    position: absolute;
    top: 0; /* Position at the top */
    left: 50%;
    transform: translateX(-50%);
    width: 95%; /* Adjust this value to change the length */
    border-top: 1px solid #ccc; /* Set the border style, thickness, and color */
}
/* Social Links */
.footer a {
    color: #666;
    text-decoration: none;
	font-weight: bold;
    transition: color 0.3s ease-in-out;
}
.footer p {
    font-size: 18px;
    color: #666;
    margin: 0;
	margin-bottom: 60px;
}
.footer a:hover {
    color: #ffcc00; /* Yellow highlight on hover */
}

/* Edusite Section */
.footer .Edusite {
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
}

.footer .Edusite img {
    width: 200px; /* Adjust logo size */
    margin-bottom: 10px;
}

.footer .Edusite p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

/* Copyright Text */
.footer p:last-child {
    font-size: 0.8rem;
    margin-top: 15px;
    opacity: 0.8;
}
/* Hide Mobile Navbar by Default */
.navbar-mobile {
    display: none;
}
@media (max-width: 990px) {
	html, body {
    background-image: none;
    /* Optionally, keep the gradient */
    background: linear-gradient(360deg, transparent 20%, #FFEFD5 80%);
	}
	.footer {
    background-color: rgba(255, 255, 255, 1)
	}
	.footer p {
    font-size: 12px;
	margin-bottom: 20px;
}
}
@media (max-width: 660px) {
	body {
    background-image: none;
    /* Optionally, keep the gradient */
    background: linear-gradient(360deg, transparent 20%, #FFEFD5 80%);
	}
  .navbar .nav-links a {
    font-size: 0.9rem;
  }
  .navbar-desktop {
        display: none;
    }
    .navbar-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: transparent;
        padding: 1rem 2rem;
    }
  .logo img {
    height: 40px;
    width: auto;
  }
  .subject-card {
    width: 80px;
    height: 80px;
  }
  .subjects-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
	max-width: 400px;
  }
 .info-section {
	margin: 10px Auto;
	padding: 10px;
}
.breadcrumb-title {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 5px;
  margin:0;
}

.info-section p {
    font-size: 0.6rem;
}
.info-section h2 {
    font-size: 1.0rem;
	}
.subject-card {
    width: 80px;
    height: 80px;
  }
 
  .subject-icon {
    font-size: 30px;
  }
  .subject-name {
    font-size: 10px;
  }

/* Feature Showcase Section */
.feature-showcase {

    width: 90%;
    height: 300px;
}
.feature-text h2 {
    font-size: 1rem;
}

.feature-text p {
    font-size: 0.8rem;
}

  /* Container */
.container {
    text-align: center;
    width: 90%;
    max-width: 400px;
    margin: 80px auto 20px; /* adds top margin to account for the navbar */
}
.section-title-decorated {
  font-size: 1.4rem;
}
.ai-icons {
  gap: 20px;
  margin: 40px;
}
.ai-icons a img {
  width: 30px;
  height: 30px;
}
.footer {
    font-size: 0.6rem;
}
.footer p { .info-section {
	margin: 10px Auto;
}
    font-size: 10px;
	margin-bottom: 20px;
}
.footer .Edusite p {
    font-size: 0.5rem;
}
.footer p:last-child {
    font-size: 0.8rem;
}

@media (max-width: 460px) {
	.navbar .nav-links a {
    font-size: 0.7rem;
  }
    .logo img {
    height: 30px;
    width: auto;
}
.navbar-mobile {
        padding: 1rem 1rem;
    }

.flag {
	height: 40px; /* Adjust height as needed */
	width: auto;
	align-items: center;
	padding:10px;
	margin-left:0.5rem;
}
.flag img {
	height: 30px; /* Adjust height as needed */
}
/* Info Section */
.info-section {
    padding: 20px;
    border-radius: 5px;
    width: 85%;
    margin: 10px auto;
}
.menu-button {
	font-size: 1rem;
}
.section-heading {
  padding: 0px 50px;
  margin: 20px;
}
.section-heading h2 {
  font-size: 1.2rem;
  margin: 5px;
}
.section-heading .subtitle {
  font-size: 0.8rem;
}
.stacked-section {
  position: relative;
  padding: 20px;
  text-align: center;
}
.centered-tabs {
  gap: 10px;
  margin: 0px auto 0px;
}

.tab-btn {
  padding: 14px 18px;
  width: 80px;
  font-size: 10px;
}

.tab-btn i {
  font-size: 16px;
  margin-bottom: 6px;
}

  .footer .Edusite img {
    width: 100px; /* Adjust logo size */
    margin-bottom: 10px;
}
  .subject-card {
    width: 40px;
    height: 40px;
	border-radius: 10px;
  }

  .subjects-grid {
    grid-template-columns: repeat(3, minmax(10px, 1fr));
    gap: 10px;
	margin-bottom:40px;
	max-width: 270px;

}
  .subject-icon {
    font-size: 20px;
  }
  .subject-name {
    font-size: 10px;
  }
  /* Container */
.container {
    text-align: center;
    width: 90%;
    max-width: 300px;
    margin: 80px auto 20px; /* adds top margin to account for the navbar */
}
.search-input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #777;
}
.section-title-decorated {
  font-size: 1.4rem;
}
.card.glass {
  padding: 30px;
  width: 250px;
}

.card-icon {
  font-size: 2rem;
}

.card h3 {
  font-size: 1.1rem;
}

.card p {
  font-size: 1rem;
  color: #444;
}
.ai-tools-section {
  padding: 20px 20px;
}
.ai-header h2 {
  font-size: 22px;
  gap: 10px;
}

.ai-header p {
  max-width: 80%;
  font-size: 14px;
}
.ai-icons {
  gap: 15px;
  margin: 40px;
}
.ai-icons a img {
  width: 30px;
  height: 30px;
}
.footer .Edusite img {
    width: 100px; /* Adjust logo size */
    margin-bottom: 10px;
}
.footer p {
    font-size: 7px;
	margin-bottom: 20px;
}
.footer {
    font-size: 0.6rem;
}
.footer .Edusite p {
    font-size: 0.5rem;
}
.footer p {
    font-size: 7px;
	margin-bottom: 20px;
}
/* Copyright Text */
.footer p:last-child {
    font-size: 0.5rem;
}
}
