/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 40px;
    background: 
        linear-gradient(135deg, 
            rgba(102, 126, 234, 0.45) 0%, 
            rgba(118, 75, 162, 0.35) 25%,
            rgba(76, 200, 200, 0.25) 75%,
            rgba(118, 75, 162, 0.40) 100%),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 28px;
    margin: 20px 20px 30px 20px;
    backdrop-filter: blur(25px);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.01);
    backdrop-filter: blur(0.3px);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    margin-bottom: 25px;
    color: white;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: capitalize;
    position: relative;
    line-height: 1.3;
}

.hero h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #FF6B6B 0%, #4ECDC4 25%, #667eea 50%, #764ba2 75%, #FF6B6B 100%);
    border-radius: 1px;
    animation: colorShift 3s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% { 
        background: linear-gradient(90deg, #FF6B6B 0%, #4ECDC4 25%, #667eea 50%, #764ba2 75%, #FF6B6B 100%);
    }
    50% { 
        background: linear-gradient(90deg, #4ECDC4 0%, #667eea 25%, #764ba2 50%, #FF6B6B 75%, #4ECDC4 100%);
    }
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.96);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s both;
    line-height: 1.65;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Contact Panels */
.contact-panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 20px 20px 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-panel {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(240, 248, 255, 0.08) 25%,
        rgba(250, 252, 255, 0.06) 75%,
        rgba(245, 250, 255, 0.10) 100%);
    backdrop-filter: blur(25px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    animation: slideUp 0.8s ease forwards;
}

.contact-panel:hover {
    transform: translateY(-15px) scale(1.025);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.18) 0%, 
        rgba(240, 248, 255, 0.12) 25%,
        rgba(250, 252, 255, 0.10) 75%,
        rgba(245, 250, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Map Panel Full Width */
.map-panel {
    grid-column: 1 / -1;
}

/* Panel Icon Colors */
.contact-panel:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.contact-panel:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 15px 35px rgba(17, 153, 142, 0.4);
}

.contact-panel:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.4);
}

.panel-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1) contrast(1.1);
}

.contact-panel:hover .panel-image {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
}

.panel-content {
    padding: 2.5rem 2rem 2.5rem 2rem;
    position: relative;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    margin: -50px auto 25px auto;
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.9);
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-panel:hover .contact-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 25px 50px rgba(79, 172, 254, 0.6);
}

.contact-panel:hover .contact-icon::before {
    opacity: 1;
}

.panel-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFFFFF;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    text-align: center;
    transition: all 0.3s ease;
}

.panel-header .subtitle {
    font-size: 1.2rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #64FFDA 0%, #26C6DA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    text-shadow: none;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(100, 255, 218, 0.3));
}

.unified-content {
    background: linear-gradient(145deg, 
        rgba(15, 25, 45, 0.85) 0%, 
        rgba(25, 35, 55, 0.75) 30%,
        rgba(35, 45, 65, 0.65) 70%,
        rgba(20, 30, 50, 0.80) 100%);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(85, 110, 150, 0.35);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #64FFDA;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid rgba(102, 126, 234, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #64FFDA;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 4px rgba(100, 255, 218, 0.1), 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8, #6b5b95);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Info Items */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(248, 250, 252, 0.05));
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(248, 250, 252, 0.08));
    border-color: rgba(100, 255, 218, 0.3);
}

.info-item .info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #64FFDA, #26C6DA);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(100, 255, 218, 0.4);
}

.info-text h4 {
    color: #64FFDA;
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.info-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.info-text a {
    color: #64FFDA;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-text a:hover {
    color: #26C6DA;
    text-decoration: underline;
}

/* Map Styles */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
    font-family: 'Inter', sans-serif;
    border-radius: 15px;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: mapFloat 15s linear infinite;
}

@keyframes mapFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-30px, -30px) rotate(360deg); }
}

.map-placeholder h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.map-placeholder p {
    margin-bottom: 15px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.map-placeholder button {
    margin-top: 15px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map-placeholder button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.success-message {
    display: none;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    animation: slideIn 0.5s ease-out;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, background 0.3s;
    opacity: 0;
    transform: translateY(15px);
}

#backToTopBtn.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#backToTopBtn:hover {
    background: linear-gradient(45deg, #5a6fd5, #673f91);
    transform: scale(1.1);
}