/* Contact Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-logo {
    height: 45px;
    width: auto;
}

header h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--secondary-color);
}

nav a:hover::after {
    width: 80%;
}

nav a.active {
    color: var(--secondary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

nav a.active::after {
    width: 80%;
    background-color: var(--secondary-color);
}

/* Main Content Styles */
main {
    flex: 1;
    margin-top: 0;
    padding: 40px 0;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/contact.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8) 0%, rgba(44, 62, 80, 0.8) 100%);
    z-index: 1;
}

.contact-hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
}

/* Contact Info Styles */
.contact-info {
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
}

.contact-info p {
    margin-bottom: 35px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Contact Details Styles */
.contact-details {
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    background: #f0f7fc;
}

.contact-item i {
    font-size: 24px;
    color: #3498db;
    margin-right: 15px;
    margin-top: 5px;
    background: rgba(52, 152, 219, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-item p {
    color: #555;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Map Container */
.map-container {
    margin-top: 35px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Contact Form */
.contact-form {
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.contact-form h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Form Group Styles */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background: white;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background-color: #3498db;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.contact-form button:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.contact-form button:active {
    transform: translateY(0);
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    color: #ecf0f1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

/* Reset all contact info styles in footer */
.footer .footer-section .contact-info,
.footer .footer-section .contact-info li,
.footer-section .contact-info,
.footer-section .contact-info li,
footer .contact-info li,
.contact-info li {
    list-style: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin-bottom: 0.8rem !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.footer .footer-section .contact-info li,
.footer-section .contact-info li,
footer .contact-info li,
.contact-info li {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #ecf0f1 !important;
}

.footer .footer-section .contact-info i,
.footer-section .contact-info i,
footer .contact-info i,
.contact-info i {
    color: var(--secondary-color) !important;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    flex: 1;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #2980b9;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Chatbot Styles */
#chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

#chatbot-icon {
    width: 60px;
    height: 60px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
}

#chatbot-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.5);
}

#chatbot-icon i {
    color: white;
    font-size: 24px;
}

#chatbot-dialog {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    border: 1px solid #eee;
}

#chatbot-dialog iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding: 15px 20px;
    }

    .brand {
        margin-bottom: 20px;
    }

    nav ul {
        gap: 25px;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .contact-hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }

    .container {
        padding: 10px 20px;
    }

    .brand h1 {
        font-size: 1.4rem;
    }

    .header-logo {
        height: 50px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 1.05rem;
    }

    .contact-hero {
        padding: 100px 20px;
    }
    
    .contact-hero h2 {
        font-size: 2.2rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-info, .contact-form {
        padding: 30px;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 400px;
        margin: 20px auto 0;
    }
    
    .footer .contact-info li,
    .footer-section .contact-info li,
    footer .contact-info li,
    .contact-info li {
        justify-content: center !important;
        background: transparent !important;
        background-color: transparent !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .social-links a {
        margin: 0 10px;
    }
    
    #chatbot {
        bottom: 20px;
        right: 20px;
    }
    
    #chatbot-dialog {
        width: 300px;
        height: 400px;
        bottom: 80px;
        right: 20px;
    }
} 