/* styles.css */
:root {
    --bg-primary:  #0F2A5C;
    --bg-secondary:  #000C2A;
    --bg-tertiary:  #000C2A;
    --accent-color: #C4A968;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;

    /* --primary-color: #C4A968;
    --secondary-color: #0F2A5C;
    --text-light: #aaa;
    --text-white: #fff;
    --card-bg:  #000C2A;
    --card-hover-bg: #113270bf; */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: scaleIn 0.8s ease-out;
    opacity: 1; /* Ensure opacity is 1 */
}

.contact-info {
    background-color: var(--bg-tertiary);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideInLeft 0.8s ease-out;
    opacity: 1; /* Ensure opacity is 1 */
}

.contact-info .info-item i {
    margin-right: 20px;
    color: #C4A968;
    font-size: 20px;
    margin-left: 20px;
}

.contact-info h2 {
    color: var(--accent-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 20px;
    opacity: 1; /* Changed from 0 to 1 */
    animation: fadeInLeft 0.6s ease-out;
}

.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.4s; }

.contact-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    opacity: 1; /* Changed from 0 to 1 */
    animation: slideInRight 0.8s ease-out;
}

.contact-form h2 {
    color: var(--accent-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-out;
}

.form-group:nth-child(2) { animation-delay: 0.1s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.3s; }
.form-group:nth-child(5) { animation-delay: 0.4s; }

/* Existing form styles remain the same */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(196, 169, 104, 0.3);
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.form-message {
    margin-top: 15px;
    text-align: center;
}

.form-message.success {
    color: #4CAF50;
}

.form-message.error {
    color: #F44336;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Existing styles remain the same, adding new animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.contact-wrapper {
    animation: fadeIn 1s ease-out;
}

.contact-info {
    animation: slideIn 0.8s ease-out;
}

.contact-form {
    animation: slideIn 0.8s ease-out 0.2s backwards;
}

.info-item,
.form-group {
    transition: all 0.3s ease;
}
.info-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    background-color: rgba(196, 169, 104, 0.1);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(196, 169, 104, 0.2);
}

.info-item:hover i {
    color: var(--accent-color);
    transform: rotate(5deg);
    transition: all 0.3s ease;
}

.info-item:hover strong {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(196, 169, 104, 0.2);
}

.submit-btn {
    position: relative;
    overflow: hidden;
}

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

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

.form-message {
    animation: fadeIn 0.5s ease-out;
}

.map-container {
    width: 100%;
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: 
        fadeInUp 0.6s ease-out forwards,
        mapPulse 3s infinite alternate;
    animation-delay: 0.5s;
}

.map-container iframe {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.map-container:hover {
    animation-play-state: paused;
}

.map-container:hover iframe {
    transform: scale(1.02);
    box-shadow: 0 15px 30px #C4A968;
}

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

@keyframes mapPulse {
    0% {
        transform: translateY(20px) scale(1);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    50% {
        transform: translateY(15px) scale(1.01);
        box-shadow: 0 15px 30px rgba(196, 169, 104, 0.1);
    }
    100% {
        transform: translateY(20px) scale(1);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
}

/* Responsive adjustments for map */
@media screen and (max-width: 768px) {
    .map-container {
        margin-top: 10px;
        max-height: 150px;
    }
    
    .map-container iframe {
        height: 150px;
    }
}