/* Main Stylesheet for AM Professional Services Website */

/* ===== Variables ===== */
:root {
    --primary: #0056b3;
    --primary-dark: #004494;
    --secondary: #2c9ad9;
    --accent: #e74c3c;
    --accent-dark: #c0392b;
    --success: #27ae60;
    --warning: #f39c12;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --transition: all 0.3s ease;
    --shadow-sm: 0 .125rem .25rem rgba(0,0,0,.075);
    --shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    --shadow-lg: 0 1rem 3rem rgba(0,0,0,.175);
    --border-radius: 0.25rem;
    --border-radius-lg: 0.5rem;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

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

.btn-accent {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
}

.btn-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    padding: 0;
    position: relative;
}

.btn-link:after {
    content: "→";
    margin-left: 0.3rem;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--secondary);
}

.btn-link:hover:after {
    margin-left: 0.5rem;
}

.cta-btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.cta-btn:hover {
    background-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ===== Section Styling ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

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

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Header ===== */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 60px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.contact-btn {
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
}

.contact-btn:hover {
    background-color: var(--accent-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 1rem;
}

.slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 86, 179, 0.7), rgba(0, 86, 179, 0.7)), url('../images/hero-1.jpg');
}

.slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 86, 179, 0.7), rgba(0, 86, 179, 0.7)), url('../images/hero-2.jpg');
}

.slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 86, 179, 0.7), rgba(0, 86, 179, 0.7)), url('../images/hero-3.jpg');
}

.slide.current {
    opacity: 1;
}

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

.slide h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    animation: slideFromRight 1s ease-in-out 0.5s;
    animation-fill-mode: forwards;
    transform: translateX(-50px);
    opacity: 0;
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideFromLeft 1s ease-in-out 0.5s;
    animation-fill-mode: forwards;
    transform: translateX(50px);
    opacity: 0;
}

.slide .cta-btn {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 1s;
    animation-fill-mode: forwards;
}

.arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 10;
}

.arrows button {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.arrows button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
}

/* Animations */
@keyframes slideFromRight {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromLeft {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ===== Services Highlight ===== */
.services-highlight {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    min-width: 120px;
}

.stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat .label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

/* ===== Testimonials ===== */
.testimonial-dots {
    display: flex;
    gap: 8px;
    margin: 0 20px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background-color: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary);
}

/* ===== CTA Section ===== */
.cta-section {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-section .cta-btn {
    background-color: var(--accent);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-section .cta-btn:hover {
    background-color: var(--accent-dark);
}

/* ===== Footer ===== */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}


.footer-about img {
    /* Remove the filter that makes the logo white */
    /* filter: brightness(0) invert(1); */
    /*max-height: 60px; */
    /* Remove conflicting styles */
    /* background-color: white;
    padding: 8px;
    border-radius: 5px; */
}

/* Logo container styling */
.footer-logo-container {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo-container img {
    height: 50px;
    width: auto;
    /* Ensure no filters are applied */
    filter: none !important;
}

footer img {
    filter: brightness(0) invert(1);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

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

footer h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.75rem;
}

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

footer ul li {
    margin-bottom: 0.8rem;
}

footer ul a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

footer ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact ul li i {
    margin-right: 1rem;
    color: var(--primary);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ===== Services Page Styling ===== */
.page-header {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 5rem 1rem;
    position: relative;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.8)), url('../images/page-header-bg.v1.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs .current {
    color: var(--white);
}

.service-section {
    padding: 5rem 0;
}

.service-section:nth-child(even) {
    background-color: var(--light);
}

.service-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-item-reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
    min-width: 300px;
}

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
}

.service-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-content p {
    margin-bottom: 1.5rem;
}

.service-content ul {
    margin-bottom: 2rem;
}

.service-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.service-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* ===== About Page Styling ===== */
.team-section {
    background-color: var(--light);
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.team-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--light);
    color: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ===== Contact Page Styling ===== */
.contact-section {
    padding: 5rem 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-details li i {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
}

.contact-details li div {
    flex: 1;
}

.contact-details li h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-details li p {
    margin-bottom: 0;
    color: var(--text-light);
}

.contact-form h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
    min-width: 250px;
}

/* ===== Resources Page Styling ===== */
.resources-section {
    padding: 5rem 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.resource-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.resource-image {
    height: 200px;
    position: relative;
}

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

.resource-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
}

.resource-content {
    padding: 1.5rem;
}

.resource-content h3 {
    margin-bottom: 1rem;
    transition: var(--transition);
}

.resource-content h3:hover {
    color: var(--primary);
}

.resource-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== Responsive Styling ===== */
@media (max-width: 992px) {
    .slide h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-text h2, .service-content h2, .contact-info h2, .contact-form h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 1rem 0;
        transition: var(--transition);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .slide h1 {
        font-size: 2rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .arrows button {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide h1 {
        font-size: 1.8rem;
    }
    
    .service-content ul li {
        padding-left: 1.25rem;
    }
    
    .stats {
        justify-content: center;
    }
}
s {
    background-color: var(--light);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial.active {
    display: block;
    opacity: 1;
}

.quote {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.quote i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 1rem;
    display: block;
}

.quote p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.client h4 {
    margin-bottom: 0.2rem;
    color: var(--primary);
}

.client p {
    margin-bottom: 0;
    color: var(--text-light);
    font-style: normal;
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-controls button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background-color: var(--primary-dark);
}

.testimonial

/* 
 * Add these styles to styles.css to ensure proper header styling
 * This removes the :before pseudo-element since we're now using inline styles
 */

/* Page Header */
.page-header {
    background-color: var(--primary); /* Fallback color */
    color: var(--white);
    text-align: center;
    padding: 5rem 1rem;
    position: relative;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs .current {
    color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}

/* 
 * Add these styles to your styles.css file
 * These styles enhance the appearance of the Privacy Policy and Terms of Service pages
 */

/* Content section styling */
.content-section {
    padding: 4rem 0;
}

/* Policy content formatting */
.policy-content {
    color: var(--text);
    line-height: 1.8;
}

.policy-content h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.policy-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    border-bottom: 1px solid var(--gray-300);
    padding-bottom: 0.5rem;
}

.policy-content p {
    margin-bottom: 1.2rem;
}

.policy-content ul, 
.policy-content ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

.policy-content ul li, 
.policy-content ol li {
    margin-bottom: 0.5rem;
    position: relative;
}

.policy-content ul {
    list-style-type: disc;
}

.policy-content ol {
    list-style-type: decimal;
}

/* Add spacing around the last updated date */
.policy-content p strong {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-content h2 {
        font-size: 1.8rem;
    }
    
    .policy-content h3 {
        font-size: 1.3rem;
    }
}

/* 
 * Knowledge Center Article Styles
 * Add these styles to your styles.css file
 */

/* Article Header */
.article-header {
    padding: 5rem 1rem;
    color: white;
    text-align: center;
    position: relative;
}

.article-header .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.article-category {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.article-metadata {
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-date {
    margin-right: 1.5rem;
}

.article-read-time:before {
    content: '•';
    margin-right: 1.5rem;
}

/* Article Content */
.article-content {
    padding: 4rem 0;
}

.article-content .container {
    max-width: 900px;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.article-body h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 2.5rem 0 1.2rem;
}

.article-body h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 0.5rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* Article Call-to-Action */
.article-cta {
    background-color: var(--light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    text-align: center;
}

.article-cta h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.article-cta p {
    margin-bottom: 1.5rem;
}

/* Article Author */
.article-author {
    display: flex;
    align-items: center;
    margin: 3rem 0;
    padding: 1.5rem;
    border-top: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
}

.author-image {
    width: 80px;
    height: 80px;
    margin-right: 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-info h4 {
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Related Articles */
.related-articles {
    margin: 4rem 0;
}

.related-articles h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.related-article {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.related-article-image {
    height: 150px;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article:hover .related-article-image img {
    transform: scale(1.05);
}

.related-article h4 {
    padding: 1rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.related-article a {
    text-decoration: none;
}

/* Article Share */
.article-share {
    margin: 3rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.8rem;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--primary);
    transition: var(--transition);
}

.share-buttons a:hover {
    background-color: var(--primary);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.3rem;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Performance Optimizations - Add to end of styles.css */

/* ===== Performance Optimizations ===== */

/* Improve font loading performance */
@font-face {
    font-family: 'System UI';
    src: local('system-ui'), local('-apple-system'), local('BlinkMacSystemFont'), 
         local('Segoe UI'), local('Roboto'), local('Oxygen'), local('Ubuntu'), 
         local('Cantarell'), local('Fira Sans'), local('Droid Sans'), 
         local('Helvetica Neue'), sans-serif;
    font-display: swap;
}

/* Optimize images for better loading */
img {
    max-width: 100%;
    height: auto;
    loading: lazy; /* Native lazy loading */
}

/* Critical images that should load immediately */
.logo img,
.hero-slider img,
.slide {
    loading: eager;
}

/* Optimize animations for better performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* GPU acceleration for smooth animations */
.slide,
.service-card,
.team-member,
.resource-card {
    transform: translateZ(0);
    will-change: transform;
}

/* Remove will-change after animation completes */
.slide:not(.current),
.service-card:not(:hover),
.team-member:not(:hover),
.resource-card:not(:hover) {
    will-change: auto;
}

/* Optimize scrolling performance */
.hero-slider,
.testimonial-slider {
    contain: layout style paint;
}

/* Improve CLS (Cumulative Layout Shift) */
.hero-slider {
    min-height: 600px;
}

.service-card,
.team-member,
.resource-card {
    min-height: 300px;
}

/* ===== SEO & Accessibility Improvements ===== */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for accessibility */
a:focus,
button:focus,
.btn-primary:focus,
.btn-secondary:focus,
.form-control:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* ===== Additional SEO Optimizations ===== */

/* Improve heading hierarchy visibility */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

/* Optimize button text for better CTR */
.cta-btn,
.btn-primary {
    text-transform: none; /* Better for readability */
    letter-spacing: 0.025em;
}

/* Improve form labels for SEO */
label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Better structured content styling */
.breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumbs a {
    text-decoration: underline;
}

/* ===== Mobile Performance Optimizations ===== */

@media (max-width: 768px) {
    /* Reduce animation complexity on mobile */
    .slide h1,
    .slide p,
    .slide .cta-btn {
        animation: none;
        transform: none;
        opacity: 1;
    }
    
    /* Optimize touch targets */
    .nav-menu a,
    .btn-primary,
    .btn-secondary,
    .cta-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve mobile form experience */
    .form-control {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* ===== Loading States ===== */

/* Loading skeleton for better perceived performance */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== Print Styles ===== */

@media print {
    .header,
    .footer,
    .nav-menu,
    .menu-toggle,
    .cta-section,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .page-header {
        background: none !important;
        color: #000 !important;
        padding: 1rem 0 !important;
    }
    
    .contact-info {
        page-break-inside: avoid;
    }
}

/* ===== Dark Mode Support (Future Enhancement) ===== */

@media (prefers-color-scheme: dark) {
    :root {
        --text: #f0f0f0;
        --text-light: #cccccc;
        --white: #1a1a1a;
        --light: #2a2a2a;
        --gray-100: #333333;
        --gray-200: #404040;
        --gray-300: #4a4a4a;
    }
    
    /* Only apply if user hasn't explicitly chosen light mode */
    body:not(.light-mode) {
        background-color: var(--white);
        color: var(--text);
    }
}

/* ===== Additional Performance Classes ===== */

/* Lazy load images */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Critical CSS indicator */
.critical-css-loaded .non-critical {
    display: block;
}

.non-critical {
    display: none;
}