/* 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;
    padding: 40px 0;
}

.about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.about-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.about-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-us-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.about-us-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
}

.about-us-text p {
    margin-bottom: 30px;
    color: #555;
}

.about-us-text ul {
    list-style: none;
    margin-left: 20px;
}

.about-us-text ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.about-us-text ul li:before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer styles */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    width: 100%;
}

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

.footer-section {
    margin-bottom: 2rem;
}

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

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.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);
}

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

.contact-info i {
    color: var(--secondary-color);
}

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

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

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

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

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

.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: #ecf0f1;
    font-size: 0.9rem;
}

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

#chatbot-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

#chatbot-icon:hover {
    transform: scale(1.1);
}

#chatbot-dialog {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

/* Responsive design */
@media (max-width: 768px) {
    .about-us-container {
        grid-template-columns: 1fr;
    }
    
    .container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .brand {
        flex-direction: column;
        text-align: center;
    }
    
    main {
        margin-top: 0;
    }
    
    header h1 {
        font-size: 1.2rem;
    }
    
    .header-logo {
        height: 35px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .about-hero h2 {
        font-size: 2rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
} 