/*
 * ═══════════════════════════════════════════════════════════════
 * Bootstrap to Tailwind Compatibility Layer
 * For pages still using Bootstrap classes
 * ═══════════════════════════════════════════════════════════════
 */

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

[class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.col-12 { width: 100%; }
.col-md-6 { width: 100%; }
.col-md-4 { width: 100%; }
.col-md-3 { width: 100%; }
.col-lg-4 { width: 100%; }
.col-lg-6 { width: 100%; }
.col-lg-8 { width: 100%; }
.col-lg-9 { width: 100%; }
.col-lg-12 { width: 100%; }

@media (min-width: 768px) {
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.333%; }
    .col-md-6 { width: 50%; }
    .col-md-8 { width: 66.666%; }
}

@media (min-width: 1024px) {
    .col-lg-3 { width: 25%; }
    .col-lg-4 { width: 33.333%; }
    .col-lg-6 { width: 50%; }
    .col-lg-8 { width: 66.666%; }
    .col-lg-9 { width: 75%; }
    .col-lg-12 { width: 100%; }
}

/* Utilities */
.text-center { text-align: center; }
.text-end { text-align: right; }
.text-start { text-align: left; }

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }

.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded-circle {
    border-radius: 9999px;
}

.d-flex { display: flex; }
.gap-3 { gap: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-align: center;
    border-radius: 9999px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-secondary {
    background: white;
    color: #FF6B35;
    border-color: #FF6B35;
}

.btn-secondary:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: #FF6B35;
    border-color: #FF6B35;
}

.btn-outline-primary:hover {
    background: #FF6B35;
    color: white;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1A2332;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #636E72;
    margin-bottom: 2rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: #FF6B35;
    margin-right: 1rem;
    min-width: 30px;
    text-align: center;
}

.contact-text h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-text p {
    margin-bottom: 0;
    color: #636E72;
}

.contact-info-box {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-info-box .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #FF6B35;
    color: white;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.contact-info-box .social-links a:hover {
    background-color: #F7931E;
    transform: translateY(-3px);
}

/* Form Styles */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

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

.invalid-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
}

.alert-dismissible .btn-close:hover {
    opacity: 1;
}

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

.ratio {
    position: relative;
    width: 100%;
}

.ratio-21x9 {
    padding-top: 42.857143%;
}

.ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Section */
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Cards */
.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

/* About Features */
.about-feature {
    padding: 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
    transform: translateY(-3px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

/* Counters */
.about-counter h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 0.5rem;
}

.about-counter p {
    color: #636E72;
    font-weight: 600;
}

/* Chairman */
.chairman-img {
    max-width: 200px;
    border: 4px solid #FF6B35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.chairman-message {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    padding: 2rem;
    border-left: 4px solid #FF6B35;
    border-radius: 0.5rem;
}

/* Program Cards */
.program-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.program-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.program-card-body {
    padding: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .text-md-start {
        text-align: left !important;
    }
    
    .text-md-end {
        text-align: right !important;
    }
}

/* Lead text */
.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: #636E72;
}

/* Text colors */
.text-orange {
    color: #FF6B35;
}

