:root {
    --primary-color: #333;
    --secondary-color: #666;
    --accent-color: #ffd700;
    --background-color: #1a1a1a;
    --text-color: #ffffff;
}

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

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


.logo{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}
.logo img {
    height: 70px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* Contact Header */
.contact-header {
    text-align: center;
    padding: 4rem 1rem;
    margin-top: 3.5rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-header p {
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Features */
.feature {
    width: 250px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    word-wrap: break-word; /* Ensures long text breaks inside the box */
    overflow-wrap: break-word; /* Alternative for better compatibility */
}

.feature p {
    max-width: 90%; /* Prevents text from stretching */
    word-break: break-word; /* Ensures long words break correctly */
    white-space: normal; /* Allows wrapping */
}


.feature:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 4px 10px rgba(255, 215, 0, 0.2);
}

.feature i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.feature:hover i {
    color: #ffd700;
}

.contact-features {
    display: flex; /* Use flex instead of grid for better responsiveness */
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap; /* Ensures boxes don't collapse on smaller screens */
    padding: 2rem 5%;
    margin-bottom: 3rem;
}

.feature a {
    color: white; /* Match the existing text color */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
}

.feature a:hover {
    text-decoration: underline; /* Add underline on hover */
}


/* 
.feature h3 {
    margin-bottom: 0.5rem;
} */

/* Contact Form */
.contact-section {
    padding: 4rem 5%;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 1rem;
}

.contact-section p {
    color:#888;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #888;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background: #333;
    color: white;
}



.submit-btn {
    background-color: #6a6868;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #ffd700;
}

/* Map Section */
.map-section {
    padding: 4rem 5%;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 1rem;
}

.map-section p {
    color: #888;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 5%;
    background: linear-gradient(rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ffd700;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide-in Animation */
@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);
    }
}

/* Scale Animation for Buttons */
@keyframes scaleUp {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Apply Animations */
.contact-header {
    animation: fadeIn 1s ease-in-out;
}

.contact-features .feature {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
}

/* Animating Form */
.contact-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-in-out;
}

/* Animating the Map */
.map-container {
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s ease-in-out;
}

/* CTA Section Animation */
.cta-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-in-out;
}

/* Button Hover Animation */
.submit-btn, .cta-button {
    transition: all 0.3s ease-in-out;
}

.submit-btn:hover, .cta-button:hover {
    transform: scale(1.05);
    background-color: #ffd700;
}

/* Input Fields Animation */
.form-group input,
.form-group textarea {
    transition: all 0.3s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus {
    border: 2px solid #ffd700;
    transform: scale(1.02);
}

/* Active Animation Class */
.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transform: scale(1) !important;
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    /* Contact Features Grid */
    .contact-features {
        grid-template-columns: 1fr 1fr; /* Two columns instead of four */
        gap: 1rem;
        padding: 1.5rem;
    }

    /* Stack items for very small screens */
    @media (max-width: 480px) {
        .contact-features {
            grid-template-columns: 1fr; /* Single column */
        }
    }

    .feature {
        padding: 1.5rem;
    }

    /* Form adjustments */
    .form-row {
        grid-template-columns: 1fr; /* Stack form inputs in a single column */
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.6rem;
    }

    /* Make button full-width */
    .submit-btn,
    .cta-button {
        width: 100%;
        font-size: 1rem;
        padding: 0.8rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 3rem 1rem;
    }

    /* Map Section */
    .map-section {
        padding: 3rem 1rem;
    }
}

