:root {
    --bordeaux: #8B0000;
    --bordeaux-light: #A52A2A;
    --white: #FFFFFF;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --gray-dark: #333333;
    --blue: #007bff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--gray-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--bordeaux);
    margin: 0 auto;
    text-decoration: none;
}

.logo span {
    color: var(--bordeaux-light);
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a.active {
    color: var(--bordeaux);
}

nav ul li a:hover {
    color: var(--bordeaux);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bordeaux);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
    white-space: nowrap;
    font-size: 0.9rem;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    margin-right: 1rem;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--bordeaux);
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 70px;
    flex: 1;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
    min-height: calc(100vh - 140px);
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--white);
    color: var(--bordeaux);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
}

.cta-button:hover {
    background-color: var(--bordeaux-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button-preview {
    background-color: var(--bordeaux);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
}

.cta-button-preview:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--bordeaux);
}

/* Common Sections */
.section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--bordeaux);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--bordeaux);
    margin: 1rem auto 0;
}

/* Services Grid */
.services-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card-preview {
    background-color: var(--gray-light);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.services-grid, .team-grid, .testimonials-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card, .team-member, .testimonial-card, .blog-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover, .team-member:hover, .testimonial-card:hover, .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--bordeaux);
    margin-bottom: 1rem;
    text-align: center;
    padding: 1.5rem 0 1rem;
}

.service-card h3, .team-member h3, .testimonial-card h3, .blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--bordeaux);
    padding: 0 1.5rem;
}

.service-card p, .team-member p, .testimonial-card p, .blog-card p {
    padding: 0 1.5rem 1.5rem;
}

/* Testimonials preview */
.testimonials-preview {
    background-color: var(--white);
}

.testimonial-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card-preview {
    background-color: var(--gray-light);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-card-preview:before {
    content: '"';
    font-size: 60px;
    color: var(--bordeaux);
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
}

.testimonial-text-preview {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author-preview {
    font-weight: bold;
    color: var(--bordeaux);
}

/* Team Member */
.member-image {
    height: 250px;
    background: url('https://placehold.co/300x250') no-repeat center center/cover;
}

.member-info {
    padding: 1.5rem;
}

.member-position {
    color: var(--bordeaux-light);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Testimonial Card */
.testimonial-card {
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--bordeaux);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gray);
    margin-right: 1rem;
    background: url('https://placehold.co/100') no-repeat center center/cover;
}

.author-info h4 {
    font-weight: bold;
    color: var(--bordeaux);
}

/* Blog Card */
.blog-image {
    height: 200px;
    background: url('https://placehold.co/600x400') no-repeat center center/cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--bordeaux);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    text-decoration: underline;
}

/* Modal (Blog) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--white);
    max-width: 800px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--bordeaux);
    color: var(--white);
}
.modal-body { padding: 1.5rem; color: var(--gray-dark); }
.modal-close {
    cursor: pointer;
    background: transparent;
    border: 0;
    color: var(--white);
    font-size: 1.4rem;
}

/* Quote Section */
.quote-section {
    padding: 5rem 5%;
    background: linear-gradient(to right, var(--bordeaux), var(--bordeaux-light));
    color: var(--white);
    text-align: center;
}

.quote-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quote-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-style: italic;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--bordeaux);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--bordeaux);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 2rem auto 0;
}

.submit-btn:hover {
    background-color: var(--bordeaux-light);
}

/* Form validation */
.error-message {
    color: #b00020;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}
.invalid-field {
    border-color: #b00020 !important;
    outline: none;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    color: var(--bordeaux);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--bordeaux);
}

.map-container {
    height: 400px;
    background-color: var(--gray-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-dark);
    font-style: italic;
}

/* Stats Section */
.stats-section {
    padding: 5rem 5%;
    background-color: var(--gray-light);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--bordeaux);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

        /* About Preview */
.about-preview {
    background-color: var(--gray-light);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin-bottom: 30px;
}

.about-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bordeaux);
    margin-bottom: 10px;
}
/* About Preview */
.about-preview {
    background-color: var(--gray-light);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin-bottom: 30px;
}

.about-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bordeaux);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--bordeaux);
    margin-top: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a:hover {
    color: var(--bordeaux);
}
.footer-column a, .footer-column a:visited { color: var(--white); text-decoration: none; }
.footer-column a:hover { text-decoration: none; }

.footer-contact-info {
    margin-bottom: 15px;
}

.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: background-color 0.3s;
    color: var(--white);
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--bordeaux);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.whatsapp-link:hover {
    background-color: #128C7E;
}

.copyright {
    color: var(--white);
    text-decoration: none;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 2001;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: var(--bordeaux);
        margin: 4px 0;
        transition: all 0.3s ease;
    }
    /* Animation for hamburger menu */

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

.header-container {
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1rem;
}

.logo {
    margin: 0 auto;
    position: relative;
    z-index: 2000;
    transform: none;
    left: 0;
}

.whatsapp-btn {
    z-index: 2001;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
}

nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100vw;
    overflow-x: hidden;
    height: calc(100vh - 70px);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: left 0.3s ease;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav.active {
    left: 0;
    color: #8B0000 !important;
    font-weight: bold;
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8B0000;
}

nav ul {
    flex-direction: column;
    width: 100%;
}

nav ul li {
    width: 100%;
    text-align: center;
}

nav ul li a {
    display: block;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid var(--gray);
    color: var(--gray-dark);
    font-size: 1.1rem;
}
    
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid, .team-grid, .testimonials-grid, .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }
        
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card, .team-member, .testimonial-card, .blog-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card h3, .team-member h3, .testimonial-author h4 {
        font-size: 1.2rem;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(200px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .quote-section h2 {
        font-size: 2rem;
    }
    
    .quote-section p {
        font-size: 1rem;
    }
    
    .menu-toggle {
        left: 0.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .whatsapp-btn {
        right: 0.5rem;
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}
