/* Base Styles */
:root {
    --primary-color: #035a7a;
    --secondary-color: #f49d36;
    --accent-color: #e7575a;
    --background-color: #f4f6f8;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #222222;
    --white: #ffffff;
    --light-gray: #e5e7eb;
    --medium-gray: #adb5bd;
    --dark-gray: #495057;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --font-primary: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Poppins', 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul, ol {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
}

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

button, .btn {
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #024a66;
    color: var(--white);
}

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

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

.btn-tertiary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--medium-gray);
}

.btn-tertiary:hover {
    background-color: var(--light-gray);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

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

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

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

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

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

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

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(135deg, rgba(3, 90, 122, 0.9) 0%, rgba(3, 90, 122, 0.7) 100%), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .btn {
    margin-top: 1rem;
}

/* Features Section */
.features {
    text-align: center;
    background-color: var(--white);
}

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

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

.feature-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    background-color: var(--white);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-flex;
}

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

/* Latest Posts Section */
.latest-posts {
    background-color: var(--background-color);
}

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

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

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

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

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
}

.read-more:hover {
    color: var(--secondary-color);
}

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

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.testimonials h2 {
    color: var(--white);
    margin-bottom: 3rem;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    text-align: left;
}

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

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

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

.testimonial-author h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

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

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

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

/* Blog Page Styles */
.blog-content {
    padding: 4rem 0;
}

.blog-post {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    overflow: hidden;
}

.blog-post .post-image {
    height: 400px;
}

.blog-post .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background-color: #f9f9f9;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-post h2 {
    padding: 1.5rem 2rem 0;
    font-size: 2rem;
}

.blog-post .post-content {
    padding: 1.5rem 2rem 2rem;
}

.blog-post .post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post .post-content ul, .blog-post .post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.blog-post .post-content ul li, .blog-post .post-content ol li {
    margin-bottom: 0.5rem;
}

.blog-post .post-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* About Page Styles */
.about-intro {
    background-color: var(--white);
}

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

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

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.mission-vision {
    background-color: var(--background-color);
}

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

.mission-box, .vision-box, .values-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.mission-box h3, .vision-box h3, .values-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values-box ul {
    margin-left: 1.5rem;
}

.values-box li {
    margin-bottom: 0.75rem;
}

.our-approach {
    background-color: var(--white);
    text-align: center;
}

.our-approach h2 {
    margin-bottom: 3rem;
}

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

.approach-item {
    padding: 2rem;
}

.approach-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.team-section {
    background-color: var(--background-color);
    text-align: center;
}

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

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

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.clients-section {
    background-color: var(--white);
    text-align: center;
}

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

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

.client-logo {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.client-logo img {
    max-height: 80px;
    width: auto;
}

.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-content .btn {
    background-color: var(--white);
    color: var(--primary-color);
}

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

/* Contact Page Styles */
.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

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

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

.info-icon {
    margin-right: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: flex-start;
    padding-top: 0.25rem;
}

.info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-content p {
    color: var(--text-light);
}

.social-contact {
    margin-top: 2.5rem;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(3, 90, 122, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    grid-column: 1 / -1;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.form-group.checkbox label {
    font-weight: 400;
    margin-bottom: 0;
}

.form-submit {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.map-section {
    background-color: var(--background-color);
    text-align: center;
}

.map-section h2 {
    margin-bottom: 2rem;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.location-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
}

.faq-section {
    background-color: var(--white);
}

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

.faq-container {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1.5rem;
}

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

.faq-item p {
    color: var(--text-light);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

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

.thank-you-message {
    text-align: center;
}

.success-icon {
    color: #28a745;
    margin-bottom: 1.5rem;
}

.thank-you-message h2 {
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 2rem;
}

/* Footer Styles */
footer {
    background-color: #222;
    color: var(--light-gray);
    padding: 4rem 0 2rem;
}

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

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

.footer-about p, .footer-contact p {
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    margin-left: 0;
}

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

.footer-links a, .footer-legal a {
    color: var(--light-gray);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover, .footer-legal a:hover {
    opacity: 1;
    color: var(--white);
}

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

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.7;
}

#current-time {
    opacity: 0.7;
}

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

.cookie-content {
    padding: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
    flex-wrap: wrap;
}

.cookie-more-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 1rem 0;
    }
    
    header .container {
        flex-direction: column;
        align-items: center;
    }
    
    nav {
        margin-top: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .post-grid, .feature-grid, .team-grid, .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .testimonial-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-post h2 {
        font-size: 1.5rem;
    }
    
    .blog-post .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .blog-post .post-content {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.p-1 {
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

.p-3 {
    padding: 3rem;
}
