
body {
font-family: 'poppins', sans-serif;
margin: 0;
padding: 0;
overflow-x: hidden;
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #cdcdcd21;
color: white;
padding: 10px 20px;
position: relative;
}

.logo img {
height: 50px;
border-radius: 5px;
margin-left: 100%;
object-fit: cover;
}

.menu ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}

.menu ul li {
margin: 0 10px;
}

.menu ul li a {
color: rgb(23, 23, 23);
text-decoration: none;
font-size: 18px;
font-family: 'poppins', sans-serif;
}

.button button {
background-color: #007BFF;
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
}
.button button a{
text-decoration:none;
color:white;
}
.button button:hover {
background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
.menu {
position: fixed;
top: 0;
left: -100%;
width: 250px;
height: 100%;
background-color: #333;
transition: left 0.3s ease;
display: flex;
flex-direction: column;
justify-content: center;
}

.menu ul li a {
color: white !important;
text-decoration: none;
}

.menu ul {
flex-direction: column;
width: 100%;
}

.menu ul li {
text-align: center;
margin: 20px 0;
}

.menu.show {
left: 0;
        
z-index: 99999;
}

.button {
display: none;

}


.menu-toggle {
display: none;
cursor: pointer;
}

.menu-toggle span {
background-color: rgb(2, 2, 2);
display: block;
height: 3px;
margin: 5px;
width: 25px;
}

@media (max-width: 768px) {
.menu-toggle {
display: block;
}
}

/* Hero section styles */
.hero {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 70px;
gap: 5%;
background-image: url('../img/padi.png');
background-repeat: no-repeat;
background-position: -725% 63%;
height: 445px;
text-align: left;
color: #333;
}

.hero .left  {
flex: 2.5;
}

.hero .right {
flex: 2;
}

.hero .left h2 {
font-size: 3em;
margin-bottom: 20px;
font-family: 'poppins', sans-serif;
line-height: 1.2em;
font-size: 45px;
}

.hero .left h2 span {
color: #ffbd59;
}

.hero .left p {
font-size: 1.2em;
}

.hero .left button {
padding: 10px;
border: none;
background-color: #2337c6;
color: #fff;
border-radius: 5px;
}

.hero .left button a {
text-decoration: none;
padding: 10px;
color: #fff;
}

.hero .right img {
max-width: 100%;
height: auto;
}

.partners h2 {
text-align: center;
font-size: 40px;
font-family: 'poppins', sans-serif;
}

.partner {
display: flex;
padding: 30px;
gap: 2%;
align-items: center;
justify-content: center;
background-color: #cdcdcd21;
}

.partner img {
width: 25%;
}

/* Features Section */
.features {
padding: 60px 20px;
background-color: #fff;
text-align: center;
}

.features h2 {
font-size: 2.5em;
margin-bottom: 40px;
color: #333;
}

.feature-list {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
html {
scroll-behavior: smooth;
}

.feature {
flex: 1;
padding: 20px;
max-width: 300px;
}

.feature i {
font-size: 2.5em;
color: #007BFF;
margin-bottom: 20px;
}

.feature h3 {
font-size: 1.5em;
margin-bottom: 10px;
color: #333;
}

.feature p {
font-size: 1.1em;
color: #666;
}

/* Flashcard Feature Section */
.flashcard-feature {
padding: 60px 20px;
background-color:  #f8f9ff;
text-align: center;
}

.flashcard-feature .container {
max-width: 1200px;
margin: 0 auto;
}

.flashcard-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
text-align: left;
}

.flashcard-text {
flex: 1;
padding: 20px;
}

.flashcard-text h2 {
font-size: 2.5em;
margin-bottom: 20px;
color: #333;
}

.flashcard-text p {
font-size: 1.2em;
margin-bottom: 20px;
color: #666;
}

.flashcard-text ul {
list-style-type: disc;
padding-left: 20px;
margin-bottom: 20px;
}

.flashcard-text ul li {
margin-bottom: 10px;
font-size: 16px;
color: #666;
}

.flashcard-text .cta-button {
background-color: #007BFF;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
font-size: 1em;
}

.cta-button a{
text-decoration:none;
color:white;
}

.flashcard-text .cta-button:hover {
background-color: #0056b3;
}

.flashcard-container {
position: relative;
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}

.flashcard {
perspective: 1000px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}

.flashcard-inner {
width: 300px;
height: 200px;
text-align: center;
transition: transform 0.6s;
transform-style: preserve-3d;
position: relative;
}

.flashcard-inner.is-flipped {
transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
width: 100%;
height: 100%;
background-color: white;
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
position: absolute;
top: 0;
left: 0;
backface-visibility: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 20px;
}

.flashcard-back {
transform: rotateY(180deg);
}

.flashcard-front h3,
.flashcard-back h3 {
font-size: 1.5em;
margin-bottom: 10px;
color: #007BFF;
}

.flashcard-front p,
.flashcard-back p {
font-size: 1.2em;
color: #333;
}

.hand {
width: 50px;
height: 50px;
background: url('hand.png') no-repeat center center;
background-size: contain;
position: absolute;
bottom: -60px;
left: 50%;
transform: translateX(-50%);
animation: click-animation 1.5s infinite;
}

@keyframes click-animation {
0%, 100% {
transform: translate(-50%, 0) scale(1);
}
50% {
transform: translate(-50%, 10px) scale(0.95);
}
}/* Multiplayer Quiz Feature Section */
.multiplayer-quiz-feature {
padding: 60px 20px;
text-align: center;
}

.multiplayer-quiz-feature .container {
max-width: 1200px;
margin: 0 auto;
}

.multiplayer-quiz-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
text-align: left;
}

.multiplayer-quiz-text {
flex: 1;
padding: 20px;
}

.multiplayer-quiz-text h2 {
font-size: 2.5em;
margin-bottom: 20px;
color: #333;
}

.multiplayer-quiz-text p {
font-size: 1.2em;
margin-bottom: 20px;
color: #666;
}

.multiplayer-quiz-text ul {
list-style-type: disc;
padding-left: 20px;
margin-bottom: 20px;
}

.multiplayer-quiz-text ul li {
margin-bottom: 10px;
font-size: 16px;
color: #666;
}

.multiplayer-quiz-text .cta-button {
background-color: #007BFF;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
font-size: 1em;
}

.multiplayer-quiz-text .cta-button:hover {
background-color: #0056b3;
}

.multiplayer-quiz-image {
position: relative;
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}

.multiplayer-quiz-image img{
width: 70%;
}
/* Testimonials Section */
.testimonials {
padding: 60px 20px;
background-color: #fff;
text-align: center;
}

.testimonials .container {
max-width: 1200px;
margin: 0 auto;
}

.testimonials h2 {
font-size: 2.5em;
margin-bottom: 40px;
color: #333;
}

.testimonials-content {
display: flex;
justify-content: center; /* Center the testimonials */
flex-wrap: wrap;
}

.testimonial {
background-color:  #f8f9ff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
max-width: 300px;
margin: 20px;
}

.testimonial img {
border-radius: 50%;
width: 100px;
height: 100px;
margin-bottom: 20px;
}

.testimonial p {
font-size: 1.2em;
color: #666;
margin-bottom: 20px;
}

.testimonial h3 {
font-size: 1.5em;
color: #333;
margin-bottom: 10px;
}

.testimonial span {
font-size: 1em;
color: #999;
}

/* Responsive Styles for Testimonials */
@media (max-width: 768px) {
.testimonials-content {
flex-direction: column;
align-items: center;
width: 50%; /* Ensure full width */
margin-left: 25%;
}

.testimonial {
max-width: 90%; /* Adjust width for smaller screens */
align-items: center;
justify-content: center;
}
}
/* Footer Section */
footer {
background-color: #333;
color: #fff;
padding: 20px 0;
text-align: center;
}
.menu {
transition: left 0.5s ease;
}


footer .container {
max-width: 1200px;
margin: 0 auto;
}

.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
padding: 20px 0;
}

.footer-logo img {
height: 50px;
border-radius: 5px;
}

.footer-links ul {
list-style: none;
padding: 0;
display: flex;
margin: 0;
}

.footer-links ul li {
margin: 0 10px;
}

.footer-links ul li a {
color: #fff;
text-decoration: none;
font-size: 16px;
}

.footer-social a {
color: #fff;
text-decoration: none;
margin: 0 10px;
font-size: 18px;
}

.footer-social a:hover {
color: #007BFF;
}

.footer-bottom {
border-top: 1px solid #444;
padding: 10px 0;
margin-top: 20px;
font-size: 14px;
}

/* Responsive Styles for Footer */
@media (max-width: 768px) {
.footer-content {
flex-direction: column;
}

.footer-links ul {
flex-direction: column;
}

.footer-links ul li {
margin: 10px 0;
}
}
/* Responsive Styles for Mobile */
@media (max-width: 480px) {

.hero {
flex-direction: column;
padding: 20px;
height: auto;
background-position: center;
text-align: center;
}

.hero .left,
.hero .right,.hero-left {
flex: 1;
width: 100%;
}

.hero .left h2 {
font-size: 2em;
}

.hero .left button {
margin-top: 20px;
}

.partner {
flex-direction: row-reverse;
flex-wrap: wrap;

}


.flashcard-text ul li {
list-style-type: none;
padding-left: 0px;
margin-bottom: 0px;
}
.partner img {
width: 55%;
}

.feature-list {
flex-direction: column;
}

.feature {
max-width: 100%;
}

.flashcard-content {
flex-direction: column;
}

.flashcard-text {
padding: 0;
text-align: center;
}

.flashcard-container {
margin-top: 20px;
}
.flashcard-text p {
font-size: 1em;

}
.testimonials-content {
flex-direction: column;
align-items: center;
width: 70%; /* Ensure full width */
margin-left: 10%;
}
.flashcard-container{
margin-right: 10%;
}
.multiplayer-quiz-text h2 {
font-size: 2em;
margin-bottom: 20px;
color: #333;
}
.multiplayer-quiz-content {
flex-direction: column;
}

.multiplayer-quiz-text {
padding: 0;
text-align: center;
}

.multiplayer-quiz-image img {
width: 100%;
margin-top: 30px;
}

.testimonials-content {
flex-direction: column;
}

.testimonial {
width: 100%;
}
.flashcard-text ul li{
list-style-type: none;
}
.footer-content {
flex-direction: column;
}

.footer-links ul {
flex-direction: column;
align-items: center;
}

.footer-links ul li {
margin: 10px 0;
}
}
/* Define keyframes for animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes slideIn {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}

@keyframes scaleUp {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}

/* Apply animations to sections */
.animate-fade {
animation: fadeIn 1s ease-out forwards;
}

.animate-slide {
animation: slideIn 1s ease-out forwards;
}

.animate-scale {
animation: scaleUp 1s ease-out forwards;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

@keyframes slideInLeft {
from { transform: translateX(-100%); }
to { transform: translateX(0); }
}

@keyframes slideInRight {
from { transform: translateX(100%); }
to { transform: translateX(0); }
}

.fade-in {
opacity: 0;
animation: fadeIn 1s forwards;
}

.slide-in-left {
opacity: 0;
animation: slideInLeft 1s forwards;
}

.slide-in-right {
opacity: 0;
animation: slideInRight 1s forwards;
}
.contact-container{
   
    display: flex;
    height: 80vh;
    margin: 30px 70px;
    background-color: #cdcdcd21;
    border-radius: 20px;
}
.contact-container .contact-info{
    flex: 1.1;
margin-top: 8px;
margin-bottom: 8px;
border-radius: 10px;
    color: white;
    border: 1px solid green;background-image: radial-gradient( circle 975px at 2.6% 48.3%,  rgba(0,8,120,1) 0%, rgba(95,184,224,1) 99.7% );
}

.contact-container .contact-info h3{
    padding: 20px 30px;
    font-size: 30px;
    text-transform: capitalize;

}
.contact-container .contact-info p{
    color: white;
    font-size: 12px;
    padding-bottom: -10px;
    padding-left: 30px;
    
    text-align: left;
}
.contact-container .contact-info ul{
    list-style: none;
   
}
.contact-container .contact-info li{
    list-style: none;
    padding:10px 0px;
    display: flex;
    gap: 5%;
}
.contact-form{
    flex: 2;
    padding: 20px 20px;
}
.contact-form .input-group {
    margin-bottom: 20px;
  }

.contact-form .input-group label {
    display: block;
    font-size: 1em;
    color: #333;
    width: 80%;
    margin-bottom: 5px;
  }
  
  .contact-form .input-group input,
  .contact-form .input-group textarea {
    width: 95%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
  }
  .contact-form .input-group input:focus,
.contact-form .input-group textarea:focus {
  border-color: #007BFF;
  outline: none;
}

.contact-form .input-group textarea {
  resize: none;
  height: 50px;
}

.contact-form .send-message-btn {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1em;
  transition: background 0.3s;
}

.contact-form .send-message-btn:hover {
  background-color: #0056b3;
}