/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h2 {
    text-align: center;
    margin: 20px 0;
}
h1 {
    text-align: center;
    margin: 20px 0;
}
/* Header with cloud shape */
/* Header fijo */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #c0ebf1;
    padding: 10px 20px;
    z-index: 1000; /* Asegura que el header esté encima del contenido */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
    color: 333333;
    font-size: 1.5em;
    font-weight: bold;
}

/* Botones */
.buttons button {
    background-color: transparent;
    border: 2px solid white;
    color: 333333;
    padding: 8px 16px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.buttons button:hover {
    background-color: 1a1a1a;
    color: #252525;
}

/* Evitar que el contenido quede oculto debajo del header */
body {
    margin-top: 60px; /* Ajusta este valor dependiendo de la altura del header */
}



.slider {
    display: flex;
    overflow: hidden;
}

.slide {
    background-size: cover;
    background-position: center;
    height: 410px;  /* Ajusta la altura según lo que necesites */
    width: 100%;
    position: relative;
}

.slide1 {
    background-image: url('images/slider6.png');
}
.slide2 {
    background-image: url('images/pao3.png');
}
.slide3 {
    background-image: url('images/slider6.png');
}
.slide4 {
    background-image: url('images/pao3.png');
}

h2 {
    position: absolute;
    color: white;
    font-size: 24px;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* -------About Section */
.about {
    background-color: #f9f9f9;
    padding: 40px 20px;
}

.about h2 {
    color: #333333;
}

.about p {
    color: #666666;
    text-align: center;
}

/* --------Prices Section */
.prices {
    background-color: #f2f2f2;
    padding: 40px 20px;
}

.prices h2 {
    color: #333333;
}

.prices p {
    color: #666666;
    text-align: center;
}

/* ----- Contact Section ----- */
.contact {
    background-color: #f0f8ff;
    padding: 60px 0;
}

.contact h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.contact p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.contact .form-group label {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.contact .form-control {
    font-size: 1rem;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    width: 100%;
}

.contact .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact .btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact .btn-primary:hover {
    background-color: #0056b3;
}

.contact .map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.contact .info p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}


/*--------- Footer Styles */
footer {
    background-color: #333333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/*------------- slider 1  */

body{
	margin: 0;
	padding:0;
}
.header{
	overflow: hidden;
	height: 100vh;
	width: 100vw;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #252525;
}
.slider-box{
	width: 30vh;
	perspective: 1000px;
	position: relative;
	top:-17vh;/* height to top */
	padding-top: 10vh;
}
.carousel{
	width: 100%;
	transform-style: preserve-3d;
	animation: rotate 20s infinite linear; /*  speed:  */
}
.carousel .carousel-item{
	width: 100%;
	height: 25vh;
	position: absolute;
	overflow: hidden;
}
.it1{
	transform: rotateY(0deg) translateZ(50vh);
}
.it2{
	transform: rotateY(40deg) translateZ(50vh);
}
.it3{
	transform: rotateY(80deg) translateZ(50vh);
}
.it4{
	transform: rotateY(120deg) translateZ(50vh);
}
.it5{
	transform: rotateY(160deg) translateZ(50vh);
}
.it6{
	transform: rotateY(200deg) translateZ(50vh);
}
.it7{
	transform: rotateY(240deg) translateZ(50vh);
}
.it8{
	transform: rotateY(280deg) translateZ(50vh);
}
.it9{
	transform: rotateY(320deg) translateZ(50vh);
}
.it10{
	transform: rotateY(360deg) translateZ(50vh);
}
.carousel-item{
	 box-shadow: 0px 0px 20px 0px #000;
	 border-radius: 3vh;

}
.carousel .img{
	transition: ease-in-out 0.5s;
	width: 100%;
	height: 100%;
}
.carousel .img:hover {
	transform: scale(1.1);
	transition: all 0.5s;
	position: absolute;
}
.carousel:hover {
	animation-play-state: paused;
	cursor: pointer;
}
/* animation rotate */
@keyframes rotate {
	from {
		transform: rotateY(0deg);
	} to {
		transform: rotateY(360deg);
	}
}


/*-------------- Hero section--------- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Toma el 100% de la altura de la ventana */
    background-image: url('images/slider1.png'); /* Usar la imagen de fondo */
    background-size: cover; /* Asegura que la imagen cubra todo el área */
    background-position: center; /* Centra la imagen */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* Hero content (Texto centrado) */
.hero-content {
    text-align: center;
    max-width: 600px; /* Limita el ancho del texto */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro para mejor contraste */
    border-radius: 10px;
}

/* Título */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Descripción */
.hero p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* Botón CTA */
.hero .cta-button {
    background-color: #ff9900; /* Color de fondo del botón */
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #cc7a00; /* Cambio de color al pasar el ratón */
}
/* =========About Me Section */
/* About Me Section */
/* About Me Section */
/* About Me Section */
.about-me {
    background-color: #f7f7f7; /* Fondo claro para diferenciar la sección */
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-me-text {
    margin-bottom: 30px;
    max-width: 800px;
    text-align: center;
}

.about-me h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333333;
}

.about-me p {
    font-size: 18px;
    color: #555555;
    line-height: 1.6;
}

/* Cuadro de texto con imagen */
.about-me-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #333333; /* Fondo oscuro para el cuadro */
    color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
}

.about-me-image {
    width: 200px; /* Tamaño de la imagen */
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: -30px; /* Esto hace que la imagen sobresalga del cuadro */
    transform: translateY(-50%);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.about-me-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-me-text {
    margin-left: 230px; /* Espacio para la imagen */
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-me-content {
        flex-direction: column;
        text-align: center;
    }

    .about-me-image {
        position: relative;
        margin-left: 0;
        margin-top: 20px;
        left: 0;
        transform: none;
    }

    .about-me-text {
        margin-left: 0;
    }
}

/* Ajustar imagen y agregar sombra */
.shadow {
    width: 100%; /* Ajusta el tamaño al 100% del contenedor */
    max-width: 400px; /* Limita el ancho máximo de la imagen */
    height: auto; /* Mantiene la proporción de la imagen */
    border-radius: 15px; /* Redondea las esquinas */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2); /* Sombra sutil */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición suave */
}

.shadow:hover {
    transform: scale(1.05); /* Efecto de zoom en hover */
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3); /* Sombra más fuerte al hacer hover */
}


/* Section Content */


/* Styles for the courses section */
.courses {
    background-color: #f0f4f8;
    padding: 60px 0;
    text-align: center;
}

.courses h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.courses p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.course-levels {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 10%;
}

.course-level {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-level:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.course-level h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.course-level p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.course-level ul {
    list-style-type: none;
    padding: 0;
    font-size: 1rem;
    color: #666;
}

.course-level ul li {
    margin-bottom: 10px;
}

.course-level ul li::before {
    content: "✔️";
    margin-right: 10px;
    color: #5cb85c;
}

/* Ensure responsive design */
@media (max-width: 768px) {
    .course-levels {
        padding: 0 5%;
    }

    .course-level {
        width: 100%;
        margin-bottom: 20px;
    }
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.social-btn i {
    font-size: 24px;
    color: #ffffff;
}

.line {
    background-color: #00c300;
}

.facebook {
    background-color: #1877f2;
}

.whatsapp {
    background-color: #25d366;
}
#language-selector {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#language-selector button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#language-selector img {
    width: 30px;
    height: 20px;
    border-radius: 3px;
    transition: transform 0.2s ease-in-out;
}

#language-selector img:hover {
    transform: scale(1.1);
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

