/* Contact Page Styles */

/* Hero Section Enhanced */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 30%, #1E40AF 70%, #0F172A 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,215,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59,130,246,0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: backgroundMove 30s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    100% { transform: translateX(-20px) translateY(-20px) rotate(360deg); }
}

/* Enhanced Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.icon-orbit {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon {
    color: rgba(255, 215, 0, 0.8);
    font-size: 1.8rem;
    animation: iconFloat 8s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.orbit-1 { top: 15%; left: 8%; animation: orbit1 20s linear infinite; }
.orbit-2 { top: 25%; right: 12%; animation: orbit2 25s linear infinite; }
.orbit-3 { top: 55%; left: 15%; animation: orbit3 18s linear infinite; }
.orbit-4 { top: 65%; right: 20%; animation: orbit4 22s linear infinite; }
.orbit-5 { top: 35%; left: 75%; animation: orbit5 24s linear infinite; }
.orbit-6 { top: 75%; left: 55%; animation: orbit6 19s linear infinite; }
.orbit-7 { top: 10%; left: 60%; animation: orbit7 21s linear infinite; }
.orbit-8 { top: 85%; right: 10%; animation: orbit8 23s linear infinite; }

@keyframes orbit1 {
    0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes orbit2 {
    0% { transform: rotate(0deg) translateX(40px) rotate(0deg); }
    100% { transform: rotate(-360deg) translateX(40px) rotate(360deg); }
}

@keyframes orbit3 {
    0% { transform: rotate(0deg) translateX(45px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(45px) rotate(-360deg); }
}

@keyframes orbit4 {
    0% { transform: rotate(0deg) translateX(35px) rotate(0deg); }
    100% { transform: rotate(-360deg) translateX(35px) rotate(360deg); }
}

@keyframes orbit5 {
    0% { transform: rotate(0deg) translateX(55px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(55px) rotate(-360deg); }
}

@keyframes orbit6 {
    0% { transform: rotate(0deg) translateX(42px) rotate(0deg); }
    100% { transform: rotate(-360deg) translateX(42px) rotate(360deg); }
}

@keyframes orbit7 {
    0% { transform: rotate(0deg) translateX(48px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(48px) rotate(-360deg); }
}

@keyframes orbit8 {
    0% { transform: rotate(0deg) translateX(38px) rotate(0deg); }
    100% { transform: rotate(-360deg) translateX(38px) rotate(360deg); }
}

@keyframes iconFloat {
    0%, 100% { transform: scale(1) rotateY(0deg); }
    25% { transform: scale(1.1) rotateY(90deg); }
    50% { transform: scale(1.2) rotateY(180deg); }
    75% { transform: scale(1.1) rotateY(270deg); }
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,215,0,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(59,130,246,0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,215,0,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(59,130,246,0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleMove 15s linear infinite;
}

@keyframes particleMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-200px) translateY(-100px); }
}

/* Hero Content */
.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Enhanced Hero Content */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,215,0,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-card:hover::before {
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: #1E3A8A;
    animation: iconSpin 4s linear infinite;
}

@keyframes iconSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.hero-cta .btn {
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(0deg);
    transition: all 0.3s ease;
}

.hero-cta .btn:hover {
    transform: perspective(1000px) rotateX(-5deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.hero-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-cta .btn:hover::before {
    left: 100%;
}

/* Enhanced Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: slideInRight 1s ease-out;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.2);
    transform: perspective(1000px) rotateY(0deg);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
    transition: left 0.6s ease;
}

.contact-card:hover {
    transform: perspective(1000px) rotateY(8deg) translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    border-color: #FFD700;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #1E3A8A;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.contact-card:hover .contact-icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.5);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    pointer-events: none;
}

.contact-card:hover .card-glow {
    width: 200px;
    height: 200px;
}

/* Form Styles */
.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

.form-floating > label {
    color: #6c757d;
}

.form-control:focus + label,
.form-select:focus + label {
    color: #FFD700;
}

.btn-primary {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Info Cards */
.info-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    transform: perspective(1000px) rotateX(0deg);
}

.info-card:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: #1E3A8A;
    transition: transform 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(360deg);
}

/* Accordion Styles */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accordion-button {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1E3A8A;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0);
}

.accordion-body {
    background: white;
    padding: 1.5rem;
    font-size: 15px;
    line-height: 1.6;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation */
.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.94-.94 1.44 1.44L7.4 4.5l.94.94L4.66 9.2z'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4M8.2 4.6l-2.4 2.4'/%3e%3c/svg%3e");
}

/* Location & Social Media Sections */
.location-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    height: 100%;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
}

.location-info {
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.info-item {
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
}

.social-media-card {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    padding: 2.5rem;
    border-radius: 20px;
    color: white;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.social-media-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: socialGlow 4s ease-in-out infinite;
}

@keyframes socialGlow {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.social-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid;
    transform: perspective(1000px) rotateY(0deg);
    font-weight: 600;
}

.social-link:hover {
    transform: perspective(1000px) rotateY(10deg) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.social-link i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2) rotate(360deg);
}

.social-link.facebook {
    background: #1877F2;
    border-color: #1877F2;
}

.social-link.facebook:hover {
    background: #166FE5;
    color: white;
}

.social-link.tiktok {
    background: #000000;
    border-color: #000000;
}

.social-link.tiktok:hover {
    background: #FF0050;
    color: white;
}

.social-link.youtube {
    background: #FF0000;
    border-color: #FF0000;
}

.social-link.youtube:hover {
    background: #CC0000;
    color: white;
}

.social-link.whatsapp {
    background: #25D366;
    border-color: #25D366;
}

.social-link.whatsapp:hover {
    background: #128C7E;
    color: white;
}

.social-stats {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 0.5rem;
    }
    
    .contact-methods {
        margin-top: 3rem;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .location-card,
    .social-media-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content{
        margin-top: 4rem;
    }
    .hero-title {
      
        font-size:25px;
    }
    
    .hero-description {
        font-size:13px;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    .info-card {
        padding: 1.5rem 1rem;
    }
    
    .location-card,
    .social-media-card {
        padding: 1.5rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}