/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 6px 10px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background-color: #2980b9;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-primary {
    background-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Layout Components */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--secondary-color);
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.search-box {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
}

.search-box form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.search-box button {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.features {
    padding: 5rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.feature-item .icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

.latest-blog {
    padding: 5rem 0;
    background-color: #f5f8fa;
}

.latest-blog h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.blog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.blog-item p {
    padding: 0 1.5rem;
    color: var(--text-light);
}

.blog-item .read-more {
    display: inline-block;
    padding: 0 1.5rem 1.5rem;
    font-weight: 500;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

.testimonials {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
}

.testimonial .quote {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial .author {
    display: flex;
    align-items: center;
}

.testimonial .author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial .author-info h4 {
    margin-bottom: 0.25rem;
    color: white;
}

.testimonial .author-info p {
    margin-bottom: 0;
    opacity: 0.8;
}

.info-box {
    padding: 3rem 0;
    background-color: #e8f4fe;
}

.info-box h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-item .number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    margin-right: 1rem;
    font-weight: bold;
    flex-shrink: 0;
}

.info-item p {
    margin-bottom: 0;
}

/* Blog page specific styles */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.blog-section {
    padding: 4rem 0;
}

.blog-posts {
    margin-top: 3rem;
}

.blog-post {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-post:last-child {
    margin-bottom: 0;
}

.post-image {
    height: 100%;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    margin-bottom: 1rem;
}

.post-meta span {
    margin-right: 1.5rem;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.post-content h2 {
    margin-bottom: 1rem;
}

.post-content .read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 500;
}

/* About page specific styles */
.about-intro {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.mission-values {
    padding: 4rem 0;
    background-color: #f5f8fa;
}

.mission-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.mission-box p {
    font-size: 1.2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.value-item .icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 5rem 0;
}

.team-section h2, .team-intro {
    text-align: center;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1.5rem 0 0.5rem;
}

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member p:nth-of-type(1) {
    color: var(--accent-color);
    font-weight: 500;
}

.team-member p:nth-of-type(2) {
    padding-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    padding: 1rem 0 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f5f8fa;
    border-radius: 50%;
    margin: 0 0.5rem;
    color: var(--text-light);
    transition: var(--transition);
}

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

.partners-section {
    padding: 4rem 0;
    background-color: #f5f8fa;
    text-align: center;
}

.partners-section p {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Contact page specific styles */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.contact-info h2, .contact-form-container h2 {
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-detail-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-detail-item:last-child {
    margin-bottom: 0;
}

.contact-detail-item .icon {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.contact-detail-item h3 {
    margin-bottom: 0.5rem;
}

.contact-detail-item p {
    margin-bottom: 0.25rem;
}

.contact-detail-item p.small {
    font-size: 0.9rem;
    color: var(--text-lighter);
}

.social-connect h3 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f8fa;
    border-radius: 50%;
    margin-right: 1rem;
    color: var(--text-light);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

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

.contact-form .form-group:last-of-type {
    margin-bottom: 2rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.map-section {
    padding: 4rem 0;
    background-color: #f5f8fa;
    text-align: center;
}

.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container img, .map-container iframe {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.faq-section {
    padding: 4rem 0;
    text-align: center;
}

.faq-section h2 {
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    text-align: left;
}

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Footer styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-links h3, .footer-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 0.5rem;
}

.footer-contact .social-icons {
    margin-top: 1.5rem;
}

.footer-contact .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-contact .social-icons a:hover {
    background-color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-lighter);
}

.modal h2 {
    margin-bottom: 1rem;
}

.modal p {
    margin-bottom: 2rem;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-content {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    flex: 1 1 100%;
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-content a {
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Tooltip */
.tooltip {
    position: absolute;
    background-color: var(--dark-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent var(--dark-color) transparent;
}

/* Icon utility classes */
.icon-location, .icon-phone, .icon-mail {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-location {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
}

.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-mail {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .post-image {
        height: 300px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav {
        margin-top: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .search-box {
        padding: 1.5rem;
    }
    
    .feature-grid, .blog-preview, .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .search-box {
        padding: 1rem;
    }
    
    .features, .latest-blog, .testimonials, .about-intro, .mission-values, .team-section, .contact-section {
        padding: 3rem 0;
    }
    
    .info-item {
        padding: 1rem;
    }
    
    .blog-post {
        margin-bottom: 2rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-image {
        height: 200px;
    }
    
    .cookie-content {
        padding: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
