/* Contact Page Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color:black;
    color:#222;
}

/* Animation Keyframes */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95); /* Start slightly smaller */
    }
    to {
        opacity: 1;
        transform: scale(1); /* End at original size */
    }
}

.contact-section {
    color: aqua;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    opacity: 0; /* Start hidden */
    animation: scaleIn 1s ease-out forwards; /* Apply new animation to the container */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: purple;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: aqua;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    max-width: 800px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    opacity: 0; /* Start hidden */
    animation: scaleIn 0.6s ease-out forwards; /* Apply new animation to each item */
    transition: background-color 0.3s ease; /* Add transition for background color */
}

.contact-item:nth-child(1) { animation-delay: 0.3s; } /* Stagger animation */
.contact-item:nth-child(2) { animation-delay: 0.5s; }

.contact-item a {
    display: block; /* Make the anchor tag fill the contact-item div */
    text-decoration: none; /* Remove default underline */
    color: inherit; /* Inherit text color from parent */
    border: 2px solid transparent;
    transform: scale(1); /* Ensure base scale is 1 */
    transition: transform 0.3s ease; /* Ensure transform transition is included */
    padding: 0; /* Remove default padding from a tag */
    margin: 0; /* Remove default margin from a tag */
}

.contact-item a:hover {
    /* Removed border-color: aqua; */
    transform: scale(1.05); /* Slightly bigger on hover */
}

.contact-item a:active {
    /* Styles for when the anchor tag (the box) is clicked/active */
    transform: scale(1.05); /* Make it slightly bigger on click */
    /* Removed background-color, border-color, color, and box-shadow from active state */
}

.contact-item:hover a {
    transform: translateY(-5px); /* Keep hover effect on the anchor tag */
}

.contact-item i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* Removed Form styles */

/* Navigation Bar */
/* Removed all navbar styles */

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 1rem; /* Adjust padding */
    }

    .contact-container {
        gap: 1.5rem; /* Adjust gap */
    }

    .section-title {
        font-size: 2rem; /* Adjust font size */
        margin-bottom: 1.5rem; /* Adjust margin */
    }

    .contact-content {
        gap: 2rem; /* Adjust gap */
    }

    .contact-info {
        grid-template-columns: 1fr; /* Stack items on small screens */
        gap: 1.5rem; /* Adjust gap */
    }

    .contact-item {
        padding: 1.5rem; /* Adjust padding */
    }

    .contact-item i {
        font-size: 1.8rem; /* Adjust icon size */
        margin-bottom: 0.8rem; /* Adjust margin */
    }

    .contact-item h3 {
        font-size: 1.1rem; /* Adjust font size */
        margin-bottom: 0.4rem; /* Adjust margin */
    }

    .contact-item p {
        font-size: 0.9rem; /* Adjust font size */
    }

    /* Assuming navbar ul gap is handled by style.css */
}

@media (max-width: 480px) {
    .contact-section {
        padding: 0.5rem; /* Further adjust padding on very small screens */
    }

    .contact-container {
        gap: 1rem; /* Further adjust gap */
    }

    .section-title {
        font-size: 1.8rem; /* Further adjust font size */
        margin-bottom: 1rem; /* Further adjust margin */
    }

    .contact-content {
        gap: 1.5rem; /* Further adjust gap */
    }

    .contact-info {
        gap: 1rem; /* Further adjust gap */
    }

    .contact-item {
        padding: 1rem; /* Further adjust padding */
    }

    .contact-item i {
        font-size: 1.5rem; /* Further adjust icon size */
        margin-bottom: 0.6rem; /* Further adjust margin */
    }

    .contact-item h3 {
        font-size: 1rem; /* Further adjust font size */
        margin-bottom: 0.3rem; /* Further adjust margin */
    }

    .contact-item p {
        font-size: 0.8rem; /* Further adjust font size */
    }
} 