/* Main stylesheet for AMAI Consultants */


/* Project Carousel Styles */
.projects-section {
    padding: 60px 0;
    overflow-x: hidden;
}

.project-carousel {
    position: relative;
    margin: 0 60px; /* Increased from 30px to 60px to provide more space for arrows */
    overflow-x: hidden;
}

.project-carousel .d-flex {
    -ms-overflow-style: auto;  /* Hide scrollbar in IE and Edge */
        scrollbar-width: none;     /* Hide scrollbar in Firefox */
}

.project-carousel .d-flex::-webkit-scrollbar {
    display: auto;             /* Hide scrollbar in Chrome, Safari and Opera */
}

.project-card {
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.carousel-indicators {
    position: static;
    margin: 0;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    opacity: 0.5;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.carousel-indicators button.active {
    opacity: 1;
}

/* Global styles */
:root {
    --primary-color: #02124f;
    --secondary-color: #02124f;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --border-color: #dee2e6;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}


html {
    /*overflow-x: hidden;*/
    width: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
    /*overflow-x: hidden;*/
    width: 100%;
    max-width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    /*overflow-x: hidden;*/
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    /*overflow-x: hidden;*/
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.site-logo a {
    color: white;
}





/* Hero section */
.hero {
    background-color: var(--primary-color);
    padding: 4rem 0;
    margin-bottom: 3rem;
    /* text-align: center; */
    color: white;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    /* margin: 0 auto 1.5rem; */
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-accent {
    color: white;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle {
    color: var(--gray-color);
    text-align: center;
    margin-bottom: 3rem;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-top: 0;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Update all service page icons to use primary color */
.text-primary i,
.text-primary.me-2,
.text-primary.me-3,
.text-primary.mb-3 i,
.flex-shrink-0.text-primary i {
    color: var(--primary-color) !important;
}

/* Footer contact icons should also use primary color */
footer .text-primary.me-2 i {
    color: var(--primary-color) !important;
}

/* Blog */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-thumbnail {
    height: 180px;
    background-color: #e9ecef;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    margin-top: 0;
    font-size: 1.3rem;
}

.blog-excerpt {
    color: var(--gray-color);
}

.blog-meta {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Global content overflow fixes */
section, main, article, .content {
    width: 100%;
    max-width: 100%;
}

/* Text overflow fixes */
h1, h2, h3, h4, h5, h6, p, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Image overflow fixes */
img {
    max-width: 100%;
    height: auto;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #adb5bd;
}

.footer-social a {
    display: inline-block;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top
