/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    color: #000000; /* Updated color */
    line-height: 1.5;
    background-color: #f5f5f5;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #4633B3; /* Updated color */
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: #4b5563;
}

a {
    text-decoration: none;
    color: #4633B3; /* Updated color */
    transition: color 0.3s;
}

a:hover {
    color: #A863CE; /* Updated color */
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-align: center;
    border-radius: 0.375rem;
    transition: all 0.3s, transform 0.3s; /* Added transform transition */
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.05); /* Grow slightly on hover */
}

.btn svg {
    display: inline-block;
    vertical-align: middle;
}

.btn-primary {
    background-color: #4633B3; /* Updated color */
    color: white;
    border: 2px solid #4633B3; /* Updated color */
}

.btn-primary:hover {
    background-color: #A863CE; /* Updated color */
    border-color: #A863CE; /* Updated color */
    color: white;
}

.btn-secondary {
    background-color: #4633B3; /* Updated color */
    color: white;
    border: 2px solid #4633B3; /* Updated color */
}

.btn-secondary:hover {
    background-color: #A863CE; /* Updated color */
    border-color: #A863CE; /* Updated color */
    color: white;
}

.btn-linkedin {
    background-color: #000000;
    color: white;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-linkedin:hover {
    background-color: #333333;
    border-color: #333333;
    color: white;
}

.btn-linkedin .linkedin-icon {
    width: 20px;
    height: 20px;
    filter: invert(100%);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #4633B3;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn-icon:hover {
    background-color: rgba(70, 51, 179, 0.1);
    transform: scale(1.1);
}

.btn-icon.speaking {
    color: #A863CE;
    background-color: rgba(168, 99, 206, 0.1);
}

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #4633B3;
    margin-right: 2rem;
    font-size: clamp(1.1rem, 3vw, 1.75rem); /* Increased minimum size */
    white-space: nowrap;
}

.logo span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis when text overflows */
}

.logo img {
    width: clamp(36px, 5vw, 56px); /* Increased minimum size */
    height: auto;
    margin-right: clamp(8px, 2vw, 16px); /* Adjusted spacing */
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo .ai-text {
    color: #53C0AD;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #A863CE; /* Updated color */
    font-weight: 500;
}

.nav-links a:hover {
    color: #53C0AD; /* Updated color */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #000000; /* Updated color */
    flex-shrink: 0; /* Prevent menu button from shrinking */
    margin-left: auto;
    padding: 0.5rem;
}

/* Hero section */
.hero {
    padding: 5rem 0;
    background-color: #f5f5f5;
    text-align: center;
}

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

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Services section */
.services {
    padding: 5rem 0;
    background-color: white;
}

.services-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Unified service card styles */
.service-card {
    background-color: #f8fafc;
    border-radius: 0.5rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
}

/* Remove these properties as they're unnecessary */
[data-service="more-services"] {
    /* Empty to remove any special treatment */
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* About section */
.about {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    max-width: 400px;
    width: 100%;
    margin-right: 2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-image figcaption {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
}

.about-content .button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Testimonials section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, #f8fafc, #ffffff);
}

.testimonials-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(70, 51, 179, 0.08);
    border: 1px solid rgba(70, 51, 179, 0.1);
}

.testimonial-card::before {
    display: none;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0) scale(1);
}

.testimonial-card.prev {
    transform: translateX(-100%) scale(0.8);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4633B3;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1.5rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    position: absolute;
    font-family: Georgia, serif;
    font-size: 3rem;
    color: #A863CE;
    opacity: 0.15;
    line-height: 1;
}

.testimonial-text::before {
    left: -1rem;
    top: -0.5rem;
}

.testimonial-text::after {
    right: -1rem;
    bottom: -1rem;
}

.testimonial-author {
    font-weight: 600;
    color: #4633B3;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.testimonial-author::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2px;
    background-color: #A863CE;
    margin-right: 1rem;
}

.testimonial-footer {
    margin-top: 1rem;
}

.testimonial-author-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.testimonial-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.carousel-btn {
    background: white;
    border: none;
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: #4633B3;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

.carousel-btn:hover {
    color: #A863CE;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background-color: #f1f1f1;
    color: #ccc;
    cursor: not-allowed;
    transform: scale(1);
    box-shadow: none;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .testimonials-grid {
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}

/* About section */
.about {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    max-width: 400px;
    width: 100%;
    margin-right: 2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-image figcaption {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
}

.about-content .button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Contact section */
.contact {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.contact-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    margin-right: 1rem;
    font-size: 1.25rem;
    color: #53C0AD; /* Updated color */
}

/* Contact page styles */
.contact-section {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.contact-section .service-card {
    opacity: 1;
    transform: scale(1);
    cursor: default;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #4b5563;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer, .footer-gradient {
    background: linear-gradient(to bottom, white, #4633B3); /* Gradient from white to #4633B3 */
    padding: 20px 0;
    color: white;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.footer-legal {
    flex: 1;
}

.footer-legal a {
    color: white;
}

.footer-social {
    flex: 0 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    margin-right: 0.5rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    color: white;
    font-size: 1.25rem;
}

.footer-social a:hover {
    color: #A863CE; /* Updated color */
}

.social-icon {
    width: 32px; /* Increased size */
    height: 32px; /* Increased size */
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%); /* Match color palette */
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #9ca3af; /* Updated color */
    text-align: center;
    color: #4633B3;
    font-size: 0.875rem;
}

/* Cookie consent popup */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px; /* Added to ensure proper width on mobile */
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    max-width: 600px; /* Added to control maximum width */
}

.cookie-consent p {
    margin: 0;
    color: #4b5563;
    flex: 1;
}

.cookie-consent .button-group {
    display: flex;
    gap: 0.5rem;
}

/* Add responsive styles for cookie consent */
@media (max-width: 640px) {
    .cookie-consent {
        flex-direction: column;
        align-items: stretch;
        left: 10px;
        right: 10px;
        padding: 1rem;
    }

    .cookie-consent p {
        margin-bottom: 1rem;
        text-align: center;
    }

    .cookie-consent .button-group {
        justify-content: center;
    }
}

/* ElevenLabs Widget styling */
#elevenlabs-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 400px;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    #elevenlabs-widget {
        width: calc(100% - 40px);
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    #elevenlabs-widget.hide {
        opacity: 0;
        transform: translate(-50%, 100%);
    }
}

#elevenlabs-widget.hide {
    opacity: 0;
    transform: translateY(100%);
}

/* Blog styles */
.blog-section {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.blog-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #4b5563;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Blog post styles */
.blog-post {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.blog-post .container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post .blog-meta {
    margin-bottom: 2rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.blog-post .blog-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.blog-feature-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.blog-post .blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Privacy Policy styles */
.privacy-policy {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.privacy-policy .content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.privacy-policy h2 {
    margin-top: 2rem;
}

.privacy-policy ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-policy li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

/* Responsive blog styles */
@media (max-width: 768px) {
    .blog-post .container {
        padding: 0 1.5rem;
    }
    
    .blog-post h1 {
        font-size: 2rem;
    }
    
    .blog-post .blog-content {
        padding: 1.5rem;
    }
}

/* Responsive styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 3rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 100;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 2rem;
        width: 100%;
        text-align: left;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #4633B3;
        cursor: pointer;
        padding: 0.5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: 2; /* Added order to show image after text */
    }
    .about-text {
        order: 1; /* Added order to show text before image */
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post h1 {
        font-size: 2rem;
    }
    
    .blog-post .blog-content {
        padding: 1.5rem;
    }

    .logo {
        font-size: clamp(0.875rem, 3vw, 1.5rem); /* Fluid typography */
        max-width: calc(100% - 60px); /* Leave space for menu button */
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem; /* Increased minimum font size */
    }
    
    .logo img {
        width: 36px; /* Increased minimum logo size */
        margin-right: 8px;
    }
}

/* LinkedIn link styles */
.linkedin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #4633B3;
}

.linkedin-link img {
    width: 24px;
    height: 24px;
}

.linkedin-link a {
    color: #4633B3;
    text-decoration: none;
}

.linkedin-link a:hover {
    color: #A863CE;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                opacity 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4633B3;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #A863CE;
}

/* Location section styles */
.location {
    padding: 4rem 0;
    background-color: white;
    text-align: center;
}

.location .container {
    max-width: 800px;
}

.location h2 {
    margin-bottom: 1.5rem;
    color: #4633B3;
}

.location p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #4b5563;
}
