/* Import necessary fonts and setup root variables */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-orange: #FF6B00;
    --primary-black: #1A1A1A;
    --primary-white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --gray-dark: #B0B0B0;
    --text-color: #333;
    --background-light: #FAFAFA;
    --background-dark: #1A1A1A;
    --accent-color: #FFD700;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base styles and resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--background-light);
    transition: var(--transition-smooth);
}

/* Header section with parallax effect */
.sub-header {
    min-height: 35vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url('../bgcontact.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacttext {
    color: var(--primary-white);
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

/* Map section styling */
.location {
    width: 100%;
    padding: 60px 0;
    background: var(--background-light);
    text-align: center;
}

.location iframe {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    margin: 0 auto;
    display: block;
    border: 2px solid var(--primary-orange);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.location iframe:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Contact section styling */
.contact-us {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 0;
    background: var(--gray-light);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.row {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-col {
    flex: 1;
    min-width: 300px;
}

.contact-col div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--primary-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-orange);
    transition: var(--transition-smooth);
}

.contact-col div:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-col div i {
    font-size: 28px;
    color: var(--primary-orange);
    margin-right: 20px;
    transition: var(--transition-smooth);
}

.contact-col div:hover i {
    transform: scale(1.2);
}

.contact-col div span h5 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-black);
    font-weight: 600;
}

.contact-col div span p {
    color: var(--gray-dark);
}

/* Form styling */
.contact-col form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--primary-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-col form input,
.contact-col form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    outline: none;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.contact-col form input:focus,
.contact-col form textarea:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.hero-btn.red-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-orange);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.hero-btn.red-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional idea: Gradient button hover */
.hero-btn.red-btn::after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--primary-orange), var(--accent-color));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.hero-btn.red-btn:hover::after {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        gap: 30px;
    }

    .contacttext {
        font-size: 2.5rem;
    }

    .contact-col div {
        margin-bottom: 20px;
    }

    .hero-btn.red-btn {
        width: 100%;
        text-align: center;
    }
}
