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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

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

a:hover {
    color: #e07b00;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #FF8C00;
    margin: 15px auto 0;
}

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

.btn-primary {
    background-color: #FF8C00;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e07b00;
    color: #fff;
}

.btn-secondary {
    background-color: #fff;
    color: #FF8C00;
    border: 2px solid #FF8C00;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

.btn-outline {
    background-color: transparent;
    color: #FF8C00;
    border: 1px solid #FF8C00;
}

.btn-outline:hover {
    background-color: #FF8C00;
    color: #fff;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    height: 80px;
    transition: all 0.3s ease;
}

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

.logo img {
    height: auto;
    max-height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
}

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

.nav-links a {
    color: #333;
    font-weight: 600;
    position: relative;
}

.nav-links a:hover {
    color: #FF8C00;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #FF8C00;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="900" viewBox="0 0 1600 900"><rect width="1600" height="900" fill="%23333"/><path d="M0,900 L1600,900 L1600,0 Z" fill="%23FF8C00" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 3;
}

.about-image {
    flex: 2;
    text-align: center;
}

.about-text h3 {
    color: #FF8C00;
    margin-top: 20px;
}

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

.about-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-text li i {
    color: #FF8C00;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Services Section */
.services {
    background-color: #f5f5f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

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

.service-icon {
    font-size: 3rem;
    color: #FF8C00;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #FF8C00;
}

.service-card ul {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
}

.service-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-card li:before {
    content: "•";
    color: #FF8C00;
    position: absolute;
    left: 0;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h3 {
    margin-bottom: 10px;
    color: #FF8C00;
}

/* Testimonials */
.testimonials {
    margin-top: 60px;
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.testimonial-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
    transition: transform 0.5s ease;
}

.testimonial {
    flex: 0 0 100%;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial h4 {
    color: #FF8C00;
    font-weight: 600;
}

.testimonial-nav {
    background-color: #FF8C00;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    transition: background-color 0.3s ease;
}

.testimonial-nav:hover {
    background-color: #e07b00;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-post {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
}

.blog-post h3 {
    color: #333;
    margin-bottom: 15px;
    min-height: 4em; /* Height for 2-3 lines of title */
}

.post-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-excerpt {
    margin-bottom: 20px;
    min-height: 4.8em; /* Height for 2-3 lines of excerpt */
}

/* Contact Section */
.contact {
    background-color: #f5f5f5;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF8C00;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.info-item i {
    font-size: 1.5rem;
    color: #FF8C00;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.whatsapp-cta {
    margin: 30px 0;
}

.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: #FF8C00;
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.social-links i {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo img {
    margin-bottom: 20px;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: #FF8C00;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: #FF8C00;
}

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

.footer-contact i {
    color: #FF8C00;
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background-color: #FF8C00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.chat-toggle i {
    color: white;
    font-size: 1.5rem;
}

.chat-toggle:hover {
    background-color: #e07b00;
}

.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
}

.chat-header {
    background-color: #FF8C00;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    color: white;
}

.close-chat {
    cursor: pointer;
}

.chat-messages {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    max-width: 80%;
}

.message.agent {
    background-color: #f1f1f1;
    align-self: flex-start;
}

.message.user {
    background-color: #FF8C00;
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}

.chat-input button {
    background-color: #FF8C00;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 5px;
    cursor: pointer;
}

.chat-input button:hover {
    background-color: #e07b00;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        order: 1;
    }
    
    .testimonial-container {
        padding: 0 25px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .chat-container {
        width: 300px;
        right: -10px;
    }
}