/* CSS Variables */
:root {
    --background: #ffffff;
    --foreground: #252525;
    --card: #ffffff;
    --card-foreground: #252525;
    --primary: #1a1a1a;
    --primary-foreground: #fafafa;
    --secondary: #f5f5f5;
    --secondary-foreground: #252525;
    --muted: #f5f5f5;
    --muted-foreground: #8e8e8e;
    --border: #e5e5e5;
    --destructive: #dc2626;
    --destructive-foreground: #fafafa;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

/* Carousel Section */
.carousel-section {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0;
}

@media (min-width: 768px) {
    .carousel-section {
        height: 700px;
    }
}

@media (min-width: 1024px) {
    .carousel-section {
        height: 800px;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: all 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

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

.carousel-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Carousel Content */
.carousel-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.carousel-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .carousel-title {
        font-size: 6rem;
    }
}

@media (min-width: 1024px) {
    .carousel-title {
        font-size: 8rem;
    }
}

.carousel-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0 2rem 0;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .carousel-subtitle {
        font-size: 2rem;
    }
}

.carousel-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 500px;
    margin: 0 0 3rem 0;
    line-height: 1.6;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .carousel-description {
        font-size: 1.25rem;
        max-width: 700px;
    }
}

.carousel-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .carousel-buttons {
        flex-direction: row;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--destructive);
    color: white;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background-color: white;
    color: var(--foreground);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.carousel-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.carousel-nav.prev {
    left: 1rem;
}

.carousel-nav.next {
    right: 1rem;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 32px;
    height: 8px;
    background-color: white;
}

/* Progress Bar */
.carousel-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 20;
}

.carousel-progress-bar {
    height: 100%;
    background-color: white;
    width: 0%;
    transition: width 100ms linear;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.about-content p {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Styles */
.card {
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    background-color: var(--card);
    transition: all 0.3s ease;
    padding: 2rem;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--destructive);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.card p {
    color: var(--muted-foreground);
    line-height: 1.8;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background-color: var(--muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

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

.value-icon {
    font-size: 2.5rem;
    color: var(--destructive);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.value-card p {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

/* Materials Section */
.materials-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.material-card {
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.material-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.material-icon {
    font-size: 2.5rem;
    color: var(--destructive);
    margin-bottom: 1rem;
}

.material-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.material-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: var(--destructive);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.materials-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.materials-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--foreground);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--destructive);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--foreground);
}

.info-item p {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

.schedule-card {
    margin-top: 1rem;
}

.schedule-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.schedule-card p {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.contact-form-card {
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--foreground);
    background-color: var(--background);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--destructive);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Footer */
.footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer p {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

.footer ul li a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--destructive);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-title {
        font-size: 2.5rem;
    }

    .carousel-subtitle {
        font-size: 1rem;
    }

    .carousel-description {
        font-size: 0.875rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}
