/* Base Styles */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #34495e;
    --accent-color: #f39c12;
    --background-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f4f4f4;
    --medium-gray: #dddddd;
    --dark-gray: #555555;
    --footer-color: #2c3e50;
    --success-color: #27ae60;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

/* Typography */
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin: 2rem 0;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.primary-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.secondary-btn:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

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

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: 1.8rem;
}

.logo-text p {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin: 0;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.nav-links a i {
    margin-right: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(231, 76, 60, 0.1);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--light-gray);
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Services Preview Section */
.services-preview {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.service-card h3 {
    padding: 15px 20px 0;
    color: var(--secondary-color);
}

.service-card p {
    padding: 0 20px;
    color: var(--dark-gray);
}

.service-card .read-more {
    padding: 0 20px 20px;
    display: inline-block;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
    padding: 60px 20px;
}

.testimonial-slider {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.rating {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.author-name {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Blog Preview Section */
.blog-preview {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.blog-excerpt {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

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

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--footer-color);
    color: white;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

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

.registration {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
}

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

.cookie-content p {
    flex: 1;
    margin: 0;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.accept-all {
    background-color: var(--success-color);
}

.customize {
    background-color: var(--dark-gray);
}

.reject {
    background-color: transparent;
    border: 1px solid white;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .features,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .features,
    .service-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.5s ease, opacity 0.5s ease;
        z-index: 5;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .nav-active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .hamburger {
        display: block;
    }
    
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .toggle .line2 {
        opacity: 0;
    }
    
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slide {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* Blog Page Styles */
.blog-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.blog-header h1 {
    margin-bottom: 20px;
}

.blog-header p {
    max-width: 800px;
    margin: 0 auto;
}

.blog-list {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Individual Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-post-header {
    margin-bottom: 30px;
}

.blog-post-meta {
    color: var(--dark-gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.blog-post-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.blog-post-meta i {
    margin-right: 5px;
}

.blog-post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-post-content h2, 
.blog-post-content h3 {
    margin-top: 30px;
}

.blog-post-tags {
    margin-top: 30px;
}

.blog-post-tags span {
    display: inline-block;
    background-color: var(--light-gray);
    padding: 5px 12px;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Services Page Styles */
.services-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.services-header h1 {
    margin-bottom: 20px;
}

.services-header p {
    max-width: 800px;
    margin: 0 auto;
}

.services-list {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.service-item {
    display: flex;
    margin-bottom: 60px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-image {
    flex: 1;
}

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

.service-description {
    flex: 1;
    padding: 40px;
}

.service-description h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* About Page Styles */
.about-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.about-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    text-align: center;
}

.team-card img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-card h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-card p {
    color: var(--dark-gray);
}

/* Contact Page Styles */
.contact-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.contact-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}

.contact-info-section {
    flex: 1;
}

.contact-form-section {
    flex: 1;
}

.contact-info-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
}

.contact-text h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: var(--font-main);
}

.input-group textarea {
    height: 150px;
}

/* Map Section */
.map-section {
    height: 400px;
    margin-top: 60px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-align: center;
}

.success-message i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-message h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.success-message .btn {
    margin-top: 20px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
}

/* Checklist Page Styles */
.checklist-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.checklist-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.checklist-section {
    margin-bottom: 40px;
}

.checklist-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.checklist-icon {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.checklist-text h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* Disclaimer, Privacy Policy, Terms Pages */
.policy-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.policy-content {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 10px;
}

.policy-section h3 {
    color: var(--dark-gray);
    margin: 20px 0 10px;
}

.policy-section ul, 
.policy-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-section ul li, 
.policy-section ol li {
    margin-bottom: 10px;
}

.policy-section p {
    margin-bottom: 15px;
}

.policy-date {
    margin-top: 60px;
    color: var(--dark-gray);
    font-style: italic;
}
