/* Map Container Styles */
#map-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    clip-path: polygon(0% 0%, 20% 10%, 30% 5%, 70% 5%, 80% 10%, 100% 0%, 100% 90%, 80% 85%, 70% 90%, 30% 90%, 20% 85%, 0% 90%);
    z-index: 1;
}

#map-container::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    background: white;
    z-index: 3;
}

/* Footer Styles */
.footer-container {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 100px 50px 1px 50px;
}

.footer-top, .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 0;
}

.footer-section {
    flex: 1;
    padding: 10px;
}

.footer-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section.start {
    text-align: left;
}

.footer-section.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section.end {
    text-align: end;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.footer-section form {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.footer-section button {
    background-color: #ff6600;
    color: rgb(0, 0, 0);
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-icons {
    right: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    color: rgb(0, 0, 0);
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ff6600;
}

.footer-bottom .footer-section {
    display: flex;
}

/* Button Styles */
.btn-primary, .btn-outline-secondary {
    padding: 5px 20px;
    transition: transform 0.2s ease-in-out, background-color 0.3s ease, color 0.3s ease;
    transform: skew(-25deg);
    border-radius: 0;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: orange;
    color: black;
    border: 1px solid orange;
}

.btn-primary:hover {
    background-color: black;
    color: white;
    border: 1px solid green;
    transform: skew(-12.5deg) scale(1.1);
}

.btn-outline-secondary:hover {
    transform: skew(-12.5deg) scale(1.1);
    background-color: black;
    color: white;
    border: 0px solid green;
}

/* Class Card Styles */
.class-text h3 {
    margin-bottom: 6px;
}

.separator {
    width: 50%;
    height: 4px;
    background-color: #f97316;
    margin: 0.5rem auto 1rem auto;
    border-radius: 0;
    display: block;
}

.classes-container {
    max-width: min(90vw, 1200px);
    margin: 0 auto;
    padding: 10px 20px;
    margin-top: 60px; 
}

.class-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 20px;
    padding: 0 10px;
}

@media (max-width: 992px) {
    .class-row {
        justify-content: center;
        text-align: center;
    }
    .class-row .class-text,
    .class-row .class-card-container {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .class-row .class-text {
        margin-bottom: 2rem;
    }
}

/* Card Styles */
.class-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    margin: 10px 0;
}

.class-card {
    width: 100%;
    height: 300px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.class-card:hover {
    transform: scale(1.05);
}

.class-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

/* Video Styles */
.class-card video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: none;
    pointer-events: none;
}

.class-card:hover img {
    display: none;
}

.class-card:hover video {
    display: block;
}

/* Text Container Styles */
.class-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 300px;
    text-align: center;
    padding: 10px 0;
}

/* Layout Variants */
.class-row.right {
    flex-direction: row;
}

.class-row.left {
    flex-direction: row-reverse;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .class-card {
        width: 200px;
        height: 200px;
    }
    .class-text {
        max-width: 25%;
    }
}

@media (min-width: 1200px) {
    .class-card {
        width: 275px;
        height: 275px;
    }
    .class-text {
        max-width: 25%;
        font-size: 1.2rem;
    }
}

/* Mobile Layout */
@media (max-width: 799px) {
    .class-row {
        flex-direction: column;
        align-items: center;
    }

    .class-text {
        position: static;
        transform: none;
        width: 90%;
        max-width: 90%;
        margin-bottom: 20px;
    }

    .class-card-container {
        margin: 0 auto;
    }
}

/* Category Filter Styles */
.category-btn.active {
    background: none;
    border: none;
    padding: 0;
    transform: scale(1.3);
}

.category-btn.active img {
    filter: brightness(0) sepia(1) hue-rotate(0deg) saturate(1000%) brightness(0.8);
}

.category-btn {
    width: 100%;
    max-width: 60px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-btn:hover {
    transform: scale(1.1);
}

.icon-filter-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 5rem !important;
    padding: 2rem;
}

/* Responsive Icon Sizing */
@media (max-width: 576px) {
    .category-btn {
        max-width: 45px;
    }
}

@media (min-width: 768px) {
    .category-btn {
        max-width: 70px;
    }
}

@media (min-width: 992px) {
    .category-btn {
        max-width: 90px;
    }
}

/* Section Animation Styles */
.section-shape {
    position: relative;
    padding: 20px 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Desktop Animations */
@media (min-width: 993px) {
    .section-shape.right {
        transform: translateX(-160px);
    }
    
    .section-shape.left {
        transform: translateX(160px);
    }
    
    .section-shape.visible {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Animations */
@media (max-width: 992px) {
    .section-shape {
        transform: translateY(80px);
    }
    
    .section-shape.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .class-row {
        flex-direction: column;
    }
    
    .class-text {
        order: -1;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .class-card-container {
        margin: 0 auto;
    }
}

/* Section Animation Styles */
.section-shape {
    position: relative;
    padding: 20px 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Desktop Animations */
@media (min-width: 993px) {
    .section-shape.right {
        transform: translateX(-160px);
    }
    
    .section-shape.left {
        transform: translateX(160px);
    }
    
    .section-shape.visible {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Animations */
@media (max-width: 992px) {
    .section-shape {
        transform: translateY(80px);
    }
    
    .section-shape.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .class-row {
        flex-direction: column;
    }
    
    .class-text {
        order: -1;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .class-card-container {
        margin: 0 auto;
    }
}

/* Title Animation Styles */
.title-animated {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.title-animated.active {
    opacity: 1;
    transform: translateY(0);
}

.title-animated.hide {
    opacity: 0;
    transform: translateY(-50px);
}

/* Navigation Button Styles */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f97316;
    border: none;
    padding: 0;
    background: none;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, color 0.3s;
}

.nav-button:hover {
    transform: translateY(-50%) scale(1.3);
    color: #ff6a00;
}
