
:root {
    --academy-green: #006837;
    --footer-dark: #0d462b;
    --gold-border: #c5a059;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
     background: linear-gradient(
    to bottom,
    #e9e9df 0%,

      #dba33d 40%,

      #1a6444 70% 
  )
}
@font-face {
    font-family: 'TitleFont';
    src: url('fonts/title font.ttf') format('truetype');
}

@font-face {
    font-family: 'TextFont';
    src: url('fonts/texte font.otf') format('opentype');
}
.text-dark_8 {
    font-family: "TitleFont";
    width: 80%;        
    font-size: 3rem;   
    margin: 0 auto;     
    line-height: 1.8;   
  color:black;
}
.text-dark {
    font-family: "TitleFont";
    font-size: 1.6rem;        
    width: 100%;             
    text-align: right;       
    line-height: 1.9;        
    direction: rtl;          
}
.main {
  min-height: 105vh;
    background:  url('photo/back.png');

  width: 100%;
  
 
}
/* Navbar container */
.custom-navbar {
  background-color: #e9e9df;
  padding: 12px 30px;
}

/* Left section */
.nav-left i {
  font-size: 20px;
  cursor: pointer;
  
}

.nav-btn {
  background: #deded6;
  border: none;
  padding: 20px 20px;
  border-radius: 999px;
  font-size: 17px;
  cursor: pointer;
  transition: 0.3s;
}

.nav-btn:hover {
  background: #cfcfc6;
}

/* Center menu */
.nav-center {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  background: #d8d8cf;
  border-radius: 999px;
}

.nav-center li a {
  display: block;
  padding: 20px 20px;
  text-decoration: none;
  color: #000;
  font-size: 17px;
  border-radius: 999px;
  transition: 0.3s;
}

/* Active item */
.nav-center li.active a {
  background: #bfbfb5;
  font-weight: bold;
}

/* Hover */
.nav-center li a:hover {
  background: #cfcfc6;
}

/* Logo */
.nav-logo img {
  height: 80px;
}
/* Responsive */
@media (max-width: 992px) {
  .custom-navbar {
    padding: 15px;
  }

  .nav-center {
    display: none; /* hide center menu on mobile */
  }
}

/* Hero Section */
.text-academy-green { color: green ;font-family: "TitleFont"; }
.academy-logo { width: 190px; }
.btn-read-more {
    background-color: var(--academy-green);
    color: white;
    border-radius: 50px;
    border: none;
    transition: 0.3s;
}
.btn-read-more:hover { background-color: #004d29; color: white; }

/* Contact Form */
.contact-section {
    background: linear-gradient(rgba(123, 133, 128, 0.05), rgba(0,104,55,0.1));
}
.contact-title { font-size: 2.5rem; color: #000; font-family:"TitleFont";}

.glass-input-v2 {
    background: rgba(255, 255, 255, 0.1) !important; 
    
    /* هادي هي اللي كتدير داك التأثير ديال الزجاج المضبب */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    
    border-radius: 50px; 
    padding: 12px 25px;
    color: white;
    width: 100%;
    outline: none;
}

.glass-input-v2::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-family: "TitleFont", sans-serif; 
    text-align: right;
}
.login-submit-btn {
    background: rgba(255, 255, 255, 0.1) !important; 
    color: white;
    padding: 12px 80px;
    border-radius: 50px;
    border: none;
    font-weight: bold;
}
.img-fluid{
    width: 70%;
    height: 70%;
    border-radius:5% !important;
}

.footer {
    background-color: #1a6444;
    direction: rtl;
    position: relative;
    z-index: 10;
    border-top: 1px solid #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    height: 200px;
    gap: initial;
}


.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2px;
    max-width: 12000px; 
    margin: 0 auto;
}

.footer-links a, .footer-contact p {
    margin-bottom: 8px !important; 
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.link-icon, .contact-icon {
    width: 20px;
    height: 20px;
    margin-left: 10px; 
}

.footer {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.social-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}
.social-icons {
    display: flex;          
    justify-content: center;
    align-items: center;
}

.social-icon img {
    width: 50px;         /* */
    height: 50px;


}


.footer-links {
    text-align: right;
}

.footer-links h3 {
    color: #0e0e0e;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    color: #ffff;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    transition: color 0.3s ease;
    gap: 1rem;
}

.link-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.footer-links a:hover {
    color: #ffff;
    transform: translateX(-5px);
}

.footer-contact {
    text-align: right;
}

.footer-contact h3 {
    color: #0e0e0e;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.footer-contact p {
    color: #ffff;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    
    gap: 0.8rem;
}

.contact-icon {
    width: 70px;
    height: 70px;
}
/* Responsive */
@media (max-width: 768px) {
  .footer-box {
    margin-bottom: 30px;
    text-align: center;
  }
}

/* Responsive Styles */ 
@media (max-width: 900px) {
    .main-title {
        font-size: 3rem;
    }

    .sub-title {
        font-size: 2.5rem;
    }

    .section-text,
    .centered-text-section p {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-menu {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        justify-content: center;
    }

    .main-menu,
    .alt-menu {
        justify-content: center;
    }

    .sub-nav-bar {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .image-section {
        flex-direction: column;
        padding: 2rem 1rem;
        text-align: center;
    }

    .image-section-reverse {
        flex-direction: column;
    }

    .featured-image {
        width: 100%;
        max-width: 400px;
    }

    .read-more-btn {
        margin-right: 0;
        margin-top: 2rem;
    }

    .centered-text-section {
        padding: 2rem 1rem;
        text-align: center;
    }

    .centered-text-section p {
        text-align: center;
    }

    .types-section {
        padding: 2rem 1rem;
    }

    .types-title {
        font-size: 2.5rem;
    }

    .types-grid {
        gap: 2rem;
    }

    .type-item img {
        height: 100px;
    }

    .news-grid {
        gap: 1.5rem;
    }

    .news-item {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .news-item img {
        height: auto;
        aspect-ratio: 4/3;
    }

    .footer {
        padding: 2rem 1rem;
    }
}