/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-green: #1e8449;
    --secondary-orange: #ff7f00;
    --accent-black: #333;
    --white: #fff;
}

body {
    background-color: #f7f7f7;
    color: var(--accent-black);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header e Navegação */
header {
    position: relative;
    width: 100%;
}

.banner-container {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-right: 15px;
}

.site-name {
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 700;
}

.menu-container {
    display: flex;
    align-items: center; 
    z-index: 1000;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 2rem;
}

.menu a {
    text-decoration: none;
    color: var(--accent-black);
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--secondary-orange);
}

.menu a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-orange);
    transition: width 0.3s ease;
}

.menu a:hover::before {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-black);
}

/* Seções Principais */
.section {
    padding: 4rem 0;
}

/* Animação de Digitação */
.typing-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 1rem;
}

#typing-text {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    min-height: 60px;
    display: inline-block;
    position: relative;
}

#typing-text::after {
    content: '|';
    position: absolute;
    right: -8px;
    color: var(--secondary-orange);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-orange);
    font-style: italic;
}

/* Cards de Valores, Visão, Missão */
.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.card {
    flex: 1;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-orange);
}

.card ul {
    list-style: none;
}

.card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-orange);
    font-weight: bold;
}

/* Área Acadêmica */
#academia {
    background-color: #f0f7f4;
    padding: 4rem 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary-orange);
}

.academic-level {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.academic-level h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.academic-level h3 i {
    margin-right: 10px;
    color: var(--secondary-orange);
}

.cycles {
    display: flex;
    gap: 2rem;
}

.cycle {
    flex: 1;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.cycle h4 {
    font-size: 1.5rem;
    color: var(--secondary-orange);
    margin-bottom: 1rem;
}

.expanded-text {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ddd;
}

.see-more {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.see-more:hover {
    background-color: var(--secondary-orange);
}

/* Footer */
footer {
    background-color: var(--accent-black);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer a {
    color: var(--secondary-orange);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-green);
}

/* Design Responsivo */
@media (max-width: 991px) {
    .site-name {
        font-size: 1.2rem;
    }
    
    #typing-text {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .banner-container {
        height: 50vh;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 60px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    .menu.active {
        right: 0;
    }
    
    .menu li {
        margin: 1.5rem 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        color: #000;
        cursor: pointer;
        display: none;
    }
    
    .menu.active .close-btn {
        display: block;
    }
    
    .cards-container {
        flex-direction: column;
    }
    
    .cycles {
        flex-direction: column;
    }
    
    #typing-text {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .banner-container {
        height: 40vh;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .site-name {
        font-size: 1rem;
    }
    
    #typing-text {
        font-size: 1.4rem;
    }
}


/* Estilos gerais */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

h2 {
  color: #4CAF50;
  text-align: center;
  margin: 30px 0;
  font-size: 2rem;
}


/* Estilos gerais - mantidos */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

h2 {
  color: #4CAF50;
  text-align: center;
  margin: 30px 0;
  font-size: 2rem;
}

/* Estilos da Galeria - mantidos */
.am-g745-gallery {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.am-g745-gallery-container {
  column-count: 4;
  column-gap: 15px;
}

.am-g745-gallery-item {
  break-inside: avoid;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 2px solid #4CAF50;
  display: block;
  transition: transform 0.3s ease;
}

.am-g745-gallery-item:hover {
  transform: scale(1.03);
}

.am-g745-gallery-item img {
  width: 100%;
  display: block;
  height: auto;
}

.am-g745-gallery-link {
  cursor: pointer;
}

.am-g745-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FFA500;
  color: black;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
}

/* Media Queries para Galeria */
@media (max-width: 1024px) {
  .am-g745-gallery-container {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .am-g745-gallery-container {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .am-g745-gallery-container {
    column-count: 1;
  }
}

/* Seção Escola */
.am-g745-school-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Carrossel Infinito - completamente reconstruído */
.am-g745-carousel-wrapper {
  position: relative;
  height: 500px;
  margin: 40px auto;
  perspective: 2000px;
  overflow: hidden;
}

.am-g745-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.am-g745-carousel-container {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s ease;
}

.am-g745-carousel-item {
  position: absolute;
  width: 300px;
  height: 350px;
  top: 13%;
  left: 37%;
  transform-origin: center;
  transform: translate(-50%, -50%) rotateY(0deg) translateZ(0);
  transition: all 1s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  cursor: pointer;
}

.am-g745-carousel-item img {
  width: 100%;
  height: 85%;
  object-fit: cover;
  display: block;
}

.am-g745-carousel-caption {
  height: 15%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-top: 2px solid #4CAF50;
}

.am-g745-carousel-caption h3 {
  margin: 0;
  color: #4CAF50;
  font-size: 1.2rem;
}

.am-g745-carousel-caption p {
  margin: 3px 0 0;
  font-size: 0.9rem;
  color: #666;
}

.am-g745-carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  z-index: 10;
}

.am-g745-carousel-prev,
.am-g745-carousel-next {
  background-color: #4CAF50;
  color: white;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.am-g745-carousel-prev:hover,
.am-g745-carousel-next:hover {
  background-color: #FFA500;
}

/* Modal para exibir detalhes */
.am-g745-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
}

.am-g745-modal-content {
  position: relative;
  background-color: white;
  margin: 10% auto;
  padding: 30px;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  border: 3px solid #4CAF50;
}

.am-g745-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  color: #777;
  cursor: pointer;
}

.am-g745-modal-title {
  color: #4CAF50;
  font-size: 1.8rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFA500;
  padding-bottom: 10px;
}

.am-g745-modal-details {
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
  .am-g745-carousel-wrapper {
    height: 400px;
  }
  
  .am-g745-carousel-item {
    width: 260px;
    height: 300px;
    top: 13%;
    left: 16%;
  }
  
  .am-g745-modal-content {
    width: 90%;
    margin: 15% auto;
  }
}

@media (max-width: 480px) {
  .am-g745-carousel-wrapper {
    height: 350px;
  }
  
  .am-g745-carousel-item {
    width: 220px;
    height: 260px;
  }
  
  .am-g745-carousel-prev,
  .am-g745-carousel-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
} 


/* Reset e Estilos Gerais */
.am-x7f23-body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: rgba(0, 128, 0, 0.05); /* Fundo verde com opacidade 0.2 */
}

/* Estilos das Seções de Conteúdo */
.am-x7f23-content-section {
    padding: 4rem 2rem;
}

.am-x7f23-content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.am-x7f23-left-image .am-x7f23-image-container,
.am-x7f23-left-image .am-x7f23-video-container {
    order: 1;
}

.am-x7f23-left-image .am-x7f23-text-container {
    order: 2;
}

.am-x7f23-right-image .am-x7f23-image-container,
.am-x7f23-right-image .am-x7f23-video-container {
    order: 2;
}

.am-x7f23-right-image .am-x7f23-text-container {
    order: 1;
}

.am-x7f23-image-container, .am-x7f23-video-container {
    flex: 1;
    min-width: 300px;
}

.am-x7f23-text-container {
    flex: 1;
    min-width: 300px;
}

.am-x7f23-heading {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.am-x7f23-content-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos do Player de Vídeo */
.am-x7f23-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.am-x7f23-video {
    width: 100%;
    display: block;
    border-radius: 8px;
    cursor: pointer;
    background-color: #000;
}

/* Estilos da informação do vídeo sobre a miniatura */
.am-x7f23-video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    color: white;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.am-x7f23-video-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.am-x7f23-video-desc {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.6);
}

.am-x7f23-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.am-x7f23-play-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent #ffffff;
}

.am-x7f23-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(255, 255, 255, 0.3);
}

.am-x7f23-video-controls {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 4;
}

.am-x7f23-video-wrapper:hover .am-x7f23-video-controls {
    opacity: 1;
}

.am-x7f23-play-pause-btn, .am-x7f23-fullscreen-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
    transition: opacity 0.2s;
}

.am-x7f23-play-pause-btn:hover, .am-x7f23-fullscreen-btn:hover {
    opacity: 0.8;
}

.am-x7f23-progress-bar {
    flex: 1;
    height: 5px;
    background-color: #444;
    border-radius: 5px;
    margin: 0 10px;
    position: relative;
    cursor: pointer;
}

.am-x7f23-progress {
    height: 100%;
    background-color: #f00;
    border-radius: 5px;
    width: 0;
    transition: width 0.1s linear;
}

.am-x7f23-time-display {
    color: white;
    font-size: 14px;
    margin: 0 10px;
    font-family: monospace;
}

/* Estilos do Conteúdo de Texto */
.am-x7f23-text-content {
    position: relative;
}

.am-x7f23-paragraph {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.am-x7f23-read-more-btn {
    background-color:var(--primary-green);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    display: none; /* Inicialmente oculto */
    transition: background-color 0.3s;
}

.am-x7f23-read-more-btn:hover {
    background-color: #555;
}

/* Estilos do Rodapé */
.am-x7f23-footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: white;
}

.am-x7f23-footer-text {
    margin: 0;
    font-size: 14px;
}

/* Estilos Responsivos */
@media (max-width: 768px) {
    .am-x7f23-content-container {
        flex-direction: column;
    }
    
    .am-x7f23-content-section {
        padding: 3rem 1.5rem;
    }
    
    .am-x7f23-left-image .am-x7f23-image-container,
    .am-x7f23-left-image .am-x7f23-video-container,
    .am-x7f23-right-image .am-x7f23-image-container,
    .am-x7f23-right-image .am-x7f23-video-container,
    .am-x7f23-left-image .am-x7f23-text-container,
    .am-x7f23-right-image .am-x7f23-text-container {
        order: unset;
    }
    
    .am-x7f23-text-container {
        order: 3 !important;
    }
    
    .am-x7f23-video-info {
        padding: 10px;
    }
    
    .am-x7f23-video-title {
        font-size: 16px;
    }
    
    .am-x7f23-video-desc {
        font-size: 12px;
    }
    
    .am-x7f23-play-button {
        width: 60px;
        height: 60px;
    }
    
    .am-x7f23-play-button::after {
        border-width: 10px 0 10px 18px;
    }
}

.am-x567-card-content{
  width: 60%;
}

/* Aniversariantes */ 
.am-list-container {
            width: 100%;
            max-width: 600px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding: 20px;
        }
        
        .am-student-list {
            list-style-type: none;
            width: 100%;
        }
        
        .am-list-title {
            font-size: 24px;
            color: #2e7d32;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #e0e0e0;
        }
.am-list-item {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid rgba(144, 238, 144, 0.2);
            transition: transform 0.2s ease, background-color 0.2s ease;
        }
        
        .am-list-item:hover {
            background-color: rgba(235, 255, 240, 0.5);
            transform: translateX(5px);
        }
        
        .am-student-photo {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 15px;
            overflow: hidden;
            background-color: #e0e0e0;
            border: 2px solid #4056a1;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .am-student-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .am-student-placeholder {
            color: #9e9e9e;
            font-size: 18px;
        }
        
        .am-student-name {
            color: #4056a1;
            font-size: 16px;
            font-weight: 400;
            flex-grow: 1;
        }
        
        .am-list-header {
            padding: 10px 0;
            margin-bottom: 10px;
        }
        
        .am-list-body {
            background-color: white;
        }
        
        /* Tema verde suave */
        .am-theme-green {
            border-left: 4px solid rgba(76, 175, 80, 0.6);
            padding-left: 10px;
        }


/*
.am-g745-carousel-item {
  position: absolute;
  width: 300px;
  height: 350px;
  top: 50%;
  left: 37%;
  transform-origin: center;
  transform: translate(-50%, -50%) rotateY(0deg) translateZ(0);
  transition: all 1s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  cursor: pointer;
}
*/