/* Basic Reset & Typography */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333333; /* Foreground color */
    background-color: #F4F4F4; /* Background color */
}

/* Custom Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif; /* Display font similar to ALMOST TEXTUAL */
}

.hero-content h1,
.section-header h2,
.about-content h2,
.about-card h3,
.portfolio-info h3,
.partner-item h3,
.contact-form h2,
.contact-item h3,
footer .footer-col h3 {
    font-family: 'Oswald', sans-serif;
}

/* Serif elements using Playfair Display (similar to Made Evenue) */
.hero-content p,
.section-header p,
.about-content p,
.service-card p,
.portfolio-info p,
.partner-item p,
.careers-content,
.contact-form p {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Colors */
:root {
    --primary: #E63946; /* Vibrant red/orange for primary actions */
    --secondary: #457B9D; /* Muted blue-green for secondary accents */
    --background: #F4F4F4; /* Light gray, almost white */
    --foreground: #333333; /* Dark gray for text */
}

/* Header */
header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

header .logo img {
    height: 100px; /* Adjust as needed */
    vertical-align: middle;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

header nav ul li a {
    text-decoration: none;
    color: #777777;
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary);
}



/* Hero Section */
.hero {
    background: linear-gradient(to bottom right, var(--background), #FFFFFF);
    padding: 80px 0;
    text-align: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 800px;
}

/* Enhanced styling for better attractiveness */
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add subtle text shadow */
}

.hero-content h1 .text-primary {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.25rem;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.6; /* Improved line height */
}

/* Enhanced button styling */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #CF333F); /* Gradient background */
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px; /* Slightly more rounded */
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3); /* Add shadow */
}

.btn-primary:hover {
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-image {
    width: 100%;
    max-width: 800px; /* Increased image width */
    margin-top: 40px; /* Add some space from content */
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Stronger shadow for depth */
    object-fit: cover;
}

/* Badges */
.badge {
    background-color: var(--secondary);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.15rem;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.service-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.service-image {
    width: 100%;
    height: 250px; /* Increased height for service images */
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    color: #FFFFFF;
}

.service-overlay .service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.service-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.service-card p {
    padding: 20px;
    font-size: 1rem;
    color: #666666;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--background);
}

.about-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-content,
.about-card {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.15rem;
    color: #666666;
    margin-bottom: 20px;
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content ul li {
    font-size: 1.05rem;
    color: #666666;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-content ul li::before {
    content: '✔';
    color: var(--secondary);
    position: absolute;
    left: 0;
}

.about-card .card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-card .card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-card .card ul {
    list-style: disc;
    padding-left: 20px;
    color: #666666;
}

.about-card .card ul li {
    margin-bottom: 5px;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

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

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 250px; /* Increased height for portfolio images */
    object-fit: cover;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info .badge-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    color: var(--foreground);
    margin-bottom: 5px;
}

.portfolio-info p {
    font-size: 0.95rem;
    color: #666666;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--background);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item .contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    padding: 8px;
    filter: invert(100%); /* Make icons white */
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--foreground);
}

.contact-item p a {
    color: #666666;
    text-decoration: none;
}

.contact-item p a:hover {
    text-decoration: underline;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 2rem;
    color: var(--foreground);
    margin-bottom: 15px;
}

.contact-form p {
    color: #666666;
    margin-bottom: 25px;
}

.contact-form form .form-group,
.contact-form form .form-group-half {
    margin-bottom: 15px;
}

.contact-form form .form-group-half {
    display: flex;
    gap: 15px;
}

.contact-form form input,
.contact-form form select,
.contact-form form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    font-size: 1rem;
    color: var(--foreground);
}

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

.contact-form form textarea {
    resize: vertical;
}

.contact-form form .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #1A202C; /* Dark background for footer */
    color: #FFFFFF;
    padding: 60px 0;
}

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

footer .footer-col .logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 15px;
    display: block;
}

footer .footer-col p {
    color: #AAAAAA;
    font-size: 0.95rem;
    line-height: 1.6;
}

footer .footer-col h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

footer .footer-col ul {
    list-style: none;
    padding: 0;
}

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

footer .footer-col ul li a {
    text-decoration: none;
    color: #AAAAAA;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333333;
    padding-top: 30px;
    margin-top: 40px;
    color: #AAAAAA;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    header nav ul {
        gap: 1rem;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-section .container {
        flex-direction: column;
    }

    .contact-grid {
        flex-direction: column;
    }

    .contact-form form .form-group-half {
        flex-direction: column;
    }

    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    footer .footer-col .logo span,
    footer .footer-col h3 {
        margin-bottom: 10px;
    }
}



/* Collaborating Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #F9F9F9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.partner-item img {
    max-width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-item h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 10px;
}

.partner-item p {
    font-size: 1rem;
    color: #666666;
}




/* Careers Section */
.careers-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.careers-content {
    margin-top: 40px;
    text-align: center;
}

.careers-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

.careers-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.careers-content a:hover {
    text-decoration: underline;
}


/* Three image containers (use 25% for four, and 50% for two, etc) */
.column {
  float: left;
  width: 33.33%;
  padding: 5px;
}

/* Clear floats after image containers */
.row::after {
  content: "";
  clear: both;
  display: table;
}


/* Social Media Icons */
.social-media-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #333333;
    color: #AAAAAA;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon.linkedin:hover {
    background-color: #0077B5;
    color: #FFFFFF;
    border-color: #0077B5;
}

.social-icon.facebook:hover {
    background-color: #1877F2;
    color: #FFFFFF;
    border-color: #1877F2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #F56040, #E1306C, #C13584, #833AB4);
    color: #FFFFFF;
    border-color: #E1306C;
}

.social-icon.twitter:hover {
    background-color: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

.social-icon.whatsapp:hover {
    background-color: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Responsive adjustments for social media icons */
@media (max-width: 768px) {
    .social-media-icons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}



/* n8n AI Chat Agent Custom Styling */
/* Override default n8n chat styles to match Axentrix brand */
:root {
    --chat-primary-color: #ff1e00;
    --chat-secondary-color: #e8f9fd;
    --chat-accent-color: #59ce8f;
}

/* Chat widget button styling */
.n8n-chat-widget-button {
    background-color: var(--chat-primary-color) !important;
    border-color: var(--chat-primary-color) !important;
    box-shadow: 0 4px 12px rgba(255, 30, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.n8n-chat-widget-button:hover {
    background-color: #e01a00 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(255, 30, 0, 0.4) !important;
}

/* Chat window header */
.n8n-chat-header {
    background: linear-gradient(135deg, var(--chat-primary-color), #e01a00) !important;
    color: white !important;
}

/* Chat messages */
.n8n-chat-message.user {
    background-color: var(--chat-primary-color) !important;
    color: white !important;
}

.n8n-chat-message.bot {
    background-color: var(--chat-secondary-color) !important;
    color: #333 !important;
    border-left: 3px solid var(--chat-accent-color) !important;
}

/* Chat input */
.n8n-chat-input {
    border-color: var(--chat-primary-color) !important;
}

.n8n-chat-input:focus {
    border-color: var(--chat-primary-color) !important;
    box-shadow: 0 0 0 2px rgba(255, 30, 0, 0.2) !important;
}

/* Send button */
.n8n-chat-send-button {
    background-color: var(--chat-primary-color) !important;
    color: white !important;
}

.n8n-chat-send-button:hover {
    background-color: #e01a00 !important;
}

/* Chat widget positioning */
.n8n-chat-widget {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
}

/* Mobile responsiveness for chat widget */
@media (max-width: 768px) {
    .n8n-chat-widget {
        bottom: 15px !important;
        right: 15px !important;
    }
    
    .n8n-chat-window {
        width: calc(100vw - 30px) !important;
        height: calc(100vh - 100px) !important;
        max-width: none !important;
        max-height: none !important;
    }
}

/* Ensure chat doesn't interfere with existing content */
.n8n-chat-widget * {
    box-sizing: border-box !important;
}

