/* Root Variables */
:root {
    --primary-color: #8B7CB6;
    --primary-light: #A594C4;
    --primary-dark: #6B5B8C;
    --primary-lighter: #C8BFDF;
    --secondary-color: #ffffff;
    --accent-pink: #E8A8C4;
    --accent-blue: #7FCDCD;
    --accent-green: #9BC8A3;
    --accent-orange: #F2B894;
    --accent-yellow: #F2E394;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-muted: #999999;
    --background-light: #f8f6ff;
    --background-white: #ffffff;
    --background-gradient: linear-gradient(135deg, #e8dfff 0%, #f0ebff 50%, #ddd0ff 100%);
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(139, 124, 182, 0.1);
    --shadow-medium: 0 4px 20px rgba(139, 124, 182, 0.15);
    --shadow-strong: 0 8px 30px rgba(139, 124, 182, 0.2);
    --shadow-colorful: 0 4px 20px rgba(139, 124, 182, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-pink) 0%, var(--primary-light) 100%);
    --gradient-tertiary: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-color) 100%);
    --border-radius: 8px;
    --border-radius-large: 12px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure proper rendering across all environments */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-size: 14px; /* Reduced base font size */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Credentials Banner */
.credentials-banner {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 0;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.credentials-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.credential-item i {
    color: var(--accent-green);
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 2.8rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Removed problematic negative margin */
}

.nav-logo h2 {
    color: var(--primary-color);
    font-family: 'Adobe Caslon Pro', 'Caslon', serif;
    font-weight: 700;
    font-size: 2.2rem;
    margin: 0;
}

.logo-img {
    height: 110px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-pink), var(--accent-blue));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: 110px 0 40px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #e9d5ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 4rem;
    width: 100%;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInHero 1s ease-out forwards;
}

@keyframes fadeInHero {
    to {
        opacity: 1;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator i {
    font-size: 2rem;
    color: #7c3aed;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    animation: fadeEffect 1s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-large);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
    text-align: left;
}

.slide-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Slide content for icon-based slides */
.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: white;
}

/* Individual slide backgrounds removed - using actual images now */

.slide-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.slide-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.slide-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    max-width: 300px;
}

/* Navigation arrows */
.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
    font-size: 1rem;
    z-index: 10;
}

.prev-slide {
    left: 15px;
}

.next-slide {
    right: 15px;
}

.prev-slide:hover, .next-slide:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-medium);
}

/* Slide indicators */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Slideshow animations */
@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* About Section */
.about {
    padding: 40px 0;
    background: var(--background-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.feature {
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(139, 124, 182, 0.05);
    transform: translateX(5px);
}

.feature i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
    transition: var(--transition);
}

.feature:nth-child(1) i { color: var(--accent-blue); }
.feature:nth-child(2) i { color: var(--accent-green); }
.feature:nth-child(3) i { color: var(--accent-pink); }

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.feature p {
    color: var(--text-light);
    margin: 0;
}

.about-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    position: relative;
    overflow: hidden;
}

.care-illustration {
    width: 100%;
    height: auto;
    max-width: 600px;
    object-fit: cover;
    background: transparent;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.stat {
    margin-bottom: 2rem;
}

.stat:last-child {
    margin-bottom: 0;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    max-width: 800px;
}

/* FAQs Section */
.faqs {
    padding: 40px 0 340px 0;
    background: var(--background-white);
}

.faqs .section-header {
    margin-bottom: 5rem;
}

.faqs-content {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-card {
    background: var(--background-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(139, 124, 182, 0.08);
    border: 1px solid rgba(139, 124, 182, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 8px 30px rgba(139, 124, 182, 0.15);
    transform: translateY(-2px);
}

.faq-card:nth-child(1) { border-left: 4px solid var(--accent-blue); }
.faq-card:nth-child(2) { border-left: 4px solid var(--accent-green); }
.faq-card:nth-child(3) { border-left: 4px solid var(--accent-pink); }
.faq-card:nth-child(4) { border-left: 4px solid var(--accent-orange); }
.faq-card:nth-child(5) { border-left: 4px solid var(--primary-color); }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 1.8rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(139, 124, 182, 0.05);
    color: var(--primary-color);
}

.faq-question:focus {
    outline: none;
    background: rgba(139, 124, 182, 0.1);
}

.faq-icon {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-card.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-card.active .faq-answer {
    max-height: 500px;
}

.faq-content {
    padding: 0 1.8rem 1.5rem 1.8rem;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.faq-content p {
    margin-bottom: 1rem;
}

.faq-content ul {
    margin: 0;
    padding-left: 1.2rem;
}

.faq-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.faq-content li:last-child {
    margin-bottom: 0;
}

.faq-item ul {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    padding-left: 1.5rem;
}

.faq-item ul li {
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    padding: 40px 0;
    background: var(--background-gradient);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    text-align: left;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.service-card:nth-child(1)::before { background: var(--gradient-primary); }
.service-card:nth-child(2)::before { background: linear-gradient(135deg, var(--accent-pink) 0%, var(--primary-color) 100%); }
.service-card:nth-child(3)::before { background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-light) 100%); }
.service-card:nth-child(4)::before { background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-color) 100%); }
.service-card:nth-child(5)::before { background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-light) 100%); }
.service-card:nth-child(6)::before { background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--primary-color) 100%); }

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-colorful);
}

.service-card:hover::before {
    height: 6px;
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    transition: var(--transition);
}

.service-card:nth-child(1) i { color: var(--primary-color); }
.service-card:nth-child(2) i { color: var(--accent-pink); }
.service-card:nth-child(3) i { color: var(--accent-blue); }
.service-card:nth-child(4) i { color: var(--accent-green); }
.service-card:nth-child(5) i { color: var(--accent-orange); }
.service-card:nth-child(6) i { color: var(--accent-yellow); }

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.service-card ul {
    color: var(--text-light);
    line-height: 1.6;
    padding-left: 1.5rem;
    margin: 0;
}

.service-card ul li {
    margin-bottom: 0.5rem;
}

.service-cta {
    text-align: center;
}

/* Careers Section */
.careers {
    padding: 80px 0 40px 0;
    background: var(--background-white);
}

.careers-content {
    max-width: 1000px;
    margin: 0 auto;
}

.careers-intro {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
    border-radius: var(--border-radius-large);
    border: 1px solid #d0d0d0;
}

.careers-intro p {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background: var(--background-white);
}

.testimonial-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.testimonial-nav-btn {
    background: none;
    border: 2px solid #ccc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 2rem;
}

.testimonial-nav-btn:hover {
    border-color: #999;
    background: #f5f5f5;
}

.testimonial-nav-btn i {
    font-size: 1.5rem;
    color: #666;
}

.testimonial-display {
    flex: 1;
    text-align: center;
    padding: 0 3rem;
}

.testimonial-content {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.testimonial-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.2rem;
    color: #666;
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonial-carousel-container {
        padding: 0 1rem;
    }
    
    .testimonial-display {
        padding: 0 1rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonial-nav-btn {
        width: 35px;
        height: 35px;
        margin: 0 0.5rem;
    }
    
    .testimonial-nav-btn i {
        font-size: 0.9rem;
    }
}

/* Contact Section */
.contact {
    padding: 40px 0;
    background: var(--background-gradient);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-item {
    padding: 0.3rem 0.5rem 0.3rem 0;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(139, 124, 182, 0.05);
    transform: scale(1.02);
}

.contact-item i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
    transition: var(--transition);
}

.contact-item:nth-child(1) i { color: var(--accent-green); }
.contact-item:nth-child(2) i { color: var(--accent-blue); }
.contact-item:nth-child(3) i { color: var(--accent-pink); }
.contact-item:nth-child(4) i { color: var(--accent-orange); }

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Office Managers Section */
.office-managers {
    margin-bottom: 0;
    text-align: center;
}

.office-managers h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 600;
}

.managers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.manager-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.manager-photo {
    width: 160px;
    height: 170px;
    border-radius: 50%;
    background: var(--background-light);
    border: 3px solid var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.manager-photo::before {
    content: '';
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.manager-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.manager-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

.manager-contact {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* Client Services heading positioning */
.managers-grid h3 {
    position: relative;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Forms */
.form-note {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    color: #0369a1;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 124, 182, 0.1);
}

/* Error states for form validation */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.footer-section p i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

/* Credentials Section */
.credentials p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.credentials p i {
    color: var(--accent-green);
    margin-right: 0.5rem;
    width: 1rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #aaa;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--background-white);
    margin: 2% auto;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-dark);
}

.modal h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.modal h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}



/* Quick Access Buttons */
.quick-access {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.quick-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-strong);
}

/* Responsive Design */
@media (max-width: 768px) {
    .credentials-content {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .credential-item {
        gap: 0.3rem;
    }
    
    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero {
        padding: 100px 20px 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        justify-content: center;
    }

    .slideshow-container {
        max-width: 400px;
        height: 300px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .slide-overlay h3 {
        font-size: 1.2rem;
    }

    .slide-overlay p {
        font-size: 0.9rem;
    }

    .prev-slide, .next-slide {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .prev-slide {
        left: 10px;
    }

    .next-slide {
        right: 10px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }



    .hero-buttons {
        justify-content: center;
    }

    .form-actions {
        flex-direction: column;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }



    .quick-access {
        bottom: 1rem;
        right: 1rem;
    }

    .modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 90px 15px 70px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .slideshow-container {
        max-width: 300px;
        height: 250px;
    }

    .scroll-indicator i {
        font-size: 1.5rem;
    }

    .prev-slide, .next-slide {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .modal-content {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
        --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.5);
    }
}