:root {
    --primary: #0c4da2;
    --secondary: #f4f7fa;
    --accent: #f15353;
    --text-dark: #2e2e2e;
    --text-light: #ffffff;
    --off-blue: #4a90e2;
}

/*[data-theme="dark"] {
    --secondary: #1c1c1c;
    --text-dark: #ffffff;
}
    
.theme-toggle {
    background: transparent;
    border: 2px solid white;
    padding: 0.3rem 0.8rem;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}*/
html{
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Fredoka', sans-serif;
    background-color: var(--secondary);
    color: var(--text-dark);
}

.arabic{
    font-family: 'Harmattan', sans-serif;
    font-weight: bold;
    direction: rtl;
    text-align: right;
}
.arabic .pricing-list li{
    text-align: right;
}
/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    cursor: pointer;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
nav {
    z-index: 5;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
    border-bottom: 1px solid #d9ad7e26;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    inset: 0% 0% auto;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav ul li{
    padding-left: 16px;
    transition: transform 0.2s ease-in-out;
}
nav ul li:hover{
    transform: scale(1.1);
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  body {
    font-size: 1.1rem;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5px;
  }

  nav ul {
    flex-direction: row;
    align-items: flex-start;
    width: 40%;
  }

  nav ul li a {
    font-size: 7px;
  }
  header{
    margin-top: 4rem;
  }
}
/* end Mobile responsiveness for nav*/

header {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr minmax(30vw, auto);
    grid-auto-columns: 1fr;
    justify-content: space-between;
    place-items: center;
    padding: 6rem 4rem;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}
header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}
.logo-header{
    transition: transform 0.2s ease-in-out;
}
.logo-header:hover{
    transform: scale(1.1);
}
.whatsapp-btn {
    display: inline-block;
    background-color: var(--accent);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
}


h2{
    font-size: 2.5rem;
    font-weight: bold;
}

section {
    padding: 3rem 2rem;
    text-align: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    background-color: var(--secondary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 15px;
}

.tool {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-weight: 600;
    text-align: center;
}

.students-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.student, .project {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.student img {
    width: 100px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.project-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.pricing-card:hover{
    box-shadow: 0 2px 5px rgba(0,0,0,1);
}
#expert-price{
    border-color: #2225ff;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.pricing-card p {
    margin: 0.4rem 0;
}

.h3-best{
    display: flex;
    align-items: center;
}

.pricing-card h3 .best-value {
    left: 0;
    top: 0;
    bottom: 0;
    background-color: var(--off-blue);
    color: white;
    padding: 0.5rem 0.8rem;
    margin-left: 50px;
    border-radius: 20px;
    font-size: 0.85rem;
}
.pricing-list li{
    list-style: none;
    text-align: left;
}

.pricing-card .old-price {
    text-decoration: line-through;
    color: gray;
}

.bonus-list {
    margin-top: 1rem;
    padding-left: 1rem;
}

.bonus-list li {
    list-style: none;
    margin: 0.3rem 0;
}

.bonus-list li i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.pricing-card h3 .best-value {
    display: inline-block;
    background-color: var(--off-blue);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}
.blue{
    color: var(--primary);
}
.bold 
{ 
    font-weight: bolder;
    font-size: 1.5rem; 
}

footer {
    background: var(--accent);
    color: black;
    font-weight: bold;
    padding: 1rem 4rem;
}

.footer-item {
    margin: 0.5rem;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}
.left-footer{
    display: flex;
    flex-direction: column;
}

.right-footer h3{
    font-size: 30px;
}
.right-footer ul li{
    margin-bottom: 10px;
}
.right-footer ul li::marker{
    color: var(--secondary);
}

.footer-item a {
    color: white;
    text-decoration: none;
}

.line{
    border-bottom: 1px solid var(--secondary);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .footer-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .right-footer h3 {
    font-size: 20px;
  }
}