/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #2c2c2c;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}


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

.logo h1 {
    font-size: 1.8rem;
    color: #d4af37;
    font-weight: 700;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #d4af37;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('images/teachers/cover.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: #d4af37;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
}

.cta-button.secondary:hover {
    background: #d4af37;
    color: white;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #fafafa;
}

.about-text {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #666;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Image Carousel */
.image-carousel {
    max-width: 900px;
    margin: 3rem auto;
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 0;
    pointer-events: none;
    visibility: hidden;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
    visibility: visible;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #d4af37;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #d4af37;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    user-select: none;
    pointer-events: auto;
}

.carousel-btn:hover {
    background: white;
    color: #b8941f;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn span {
    line-height: 1;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #d4af37;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: #b8941f;
}

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

.style-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.style-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.style-card h3 {
    color: #2c2c2c;
    font-size: 1.3rem;
}

/* Philosophy Section */
.philosophy {
    padding: 100px 0;
    background: white;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

.philosophy-text p {
    margin-bottom: 1.5rem;
}

.philosophy-text p:last-child {
    margin-bottom: 0;
}

/* Community Section */
.community {
    padding: 100px 0;
    background: #f8f8f8;
}

.community-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.community-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

.community-text p {
    margin-bottom: 1.5rem;
}

.community-text p:last-child {
    margin-bottom: 0;
}

/* Competition Philosophy Section */
.competition-philosophy {
    padding: 100px 0;
    background: white;
}

.competition-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.competition-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.competition-text p {
    margin-bottom: 1.5rem;
}

.competition-text p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-info a {
    color: #d4af37;
    text-decoration: none;
}

.footer-nav h4 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
    }
    
    .header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .carousel-slides {
        height: 400px;
    }
    
    .nav {
        width: 100%;
    }
    
    .nav-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.5rem;
        padding: 0.5rem 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        align-items: center;
    }
    
    .nav-list::-webkit-scrollbar {
        display: none;
    }
    
    .nav-list li {
        flex-shrink: 0;
        flex-grow: 0;
        margin: 0;
        white-space: nowrap;
    }
    
    .nav-list .nav-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        white-space: nowrap;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.15);
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-list .nav-link:hover,
    .nav-list .nav-link.active {
        background: #d4af37;
        color: white !important;
        border-color: #d4af37;
        transform: translateY(-1px);
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .dance-styles {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .style-card {
        padding: 1.5rem;
    }
    
    .competition-logos {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .competition-logo-item {
        padding: 1rem;
        min-height: 120px;
    }
    
    .competition-logo-item img {
        max-height: 100px;
    }
    
    .competition-images-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .competition-image-item {
        max-width: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        order: 2;
    }
    
    .contact-info-container {
        order: 1;
    }
    
    .schedule-image {
        max-width: 100%;
        margin: 1rem 0;
    }
    
    .schedule-image-container {
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .dance-styles {
        grid-template-columns: 1fr 1fr;
    }
    
    .style-card {
        padding: 1rem;
    }
    
    .style-icon {
        font-size: 2rem;
    }
    
    .style-card h3 {
        font-size: 1rem;
    }
    
    .carousel-slides {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

/* Page-specific styles */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
    text-align: center;
    color: white;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background: #fafafa;
}

/* Table Styles */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.schedule-table th {
    background: #d4af37;
    color: white;
    font-weight: 600;
}

.schedule-table tr:hover {
    background: #f8f8f8;
}

/* Schedule Image Styles */
.schedule-image-container {
    text-align: center;
    margin: 2rem 0;
}

.schedule-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.schedule-image:hover {
    transform: scale(1.02);
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4af37;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #d4af37;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

/* Teacher Cards */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.teacher-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.teacher-photo {
    width: 100%;
    height: 300px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ccc;
    overflow: hidden;
    flex-shrink: 0;
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center top;
}

.teacher-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.teacher-name {
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.teacher-specialty {
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.teacher-bio {
    color: #666;
    line-height: 1.6;
    margin-top: 0.5rem;
    flex-grow: 1;
}

/* Competition Gallery */
.competition-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.competition-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.competition-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.competition-photo {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

.competition-info {
    padding: 1.5rem;
    text-align: center;
}

/* Competition Images Gallery */
.competition-images-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.competition-image-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
    max-width: 200px;
    margin: 0 auto;
}

.competition-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.competition-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image Modal */
.image-modal-content {
    max-width: 95%;
    max-height: 95vh;
    padding: 1rem;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-modal-content .close {
    color: white;
    font-size: 3rem;
    right: 1rem;
    top: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.image-modal-content .close:hover {
    color: #d4af37;
}

.competition-name {
    font-size: 1.3rem;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background: #f8f8f8;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #eee;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #d4af37;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 1000px;
}

/* Competition Page Styles */
.competition-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.competition-logo-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px;
}

.competition-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.competition-logo-item img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

.achievement-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.achievement-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.achievement-card h3 {
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.achievement-card p {
    color: #666;
}

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

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

.modal-photo {
    text-align: center;
    margin: 1rem 0;
}

.modal-photo i {
    font-size: 5rem;
    color: #d4af37;
}

/* Teachers Page Styles */
.teachers-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

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

.philosophy-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.philosophy-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.philosophy-item h3 {
    color: #2c2c2c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.philosophy-item p {
    color: #666;
    line-height: 1.6;
}

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

.qualification-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qualification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.qualification-item h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.qualification-item p {
    color: #666;
    line-height: 1.6;
}

.modal-specialty {
    color: #d4af37;
    font-size: 1.2rem;
    margin: 1rem 0;
    text-align: center;
}

.modal-image-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-image-container img {
    display: block;
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.modal-bio-text {
    color: #555;
    line-height: 1.8;
    text-align: left;
    font-size: 1rem;
}

.modal-bio-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.modal-bio-text p:last-child {
    margin-bottom: 0;
}

/* Legacy modal-bio class for backward compatibility */
.modal-bio {
    color: #555;
    line-height: 1.8;
    text-align: left;
    font-size: 1rem;
}

.modal-bio p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.modal-bio p:last-child {
    margin-bottom: 0;
}

.modal-bio img {
    display: block;
    margin: 0 auto 2rem;
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container {
    order: 1;
}

.contact-info-container {
    order: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-icon {
    font-size: 1.5rem;
    color: #d4af37;
    margin-top: 0.25rem;
    min-width: 30px;
}

.info-content h3 {
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #b8941f;
}

.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    background: #f8f8f8;
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-placeholder i {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}
