/* Base styles */
@import url(https://fonts.googleapis.com/css?family=Lato:600);

body {
    font-family: 'Lato', sans-serif;
    min-height: 100vh;
    /* width: 100% !important;
    max-width: 100% !important; */
    position: relative !important;
}

#footer-placeholder {
    position: absolute;
    bottom: 0;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
}


/* Rotating text styles */
.rotating-text {
    font-family: Lato, sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #333;
    margin: 20px 0;
}

.rotating-text p {
    display: inline-flex;
    margin: 0;
    vertical-align: top;
}

.rotating-text .word {
    position: absolute;
    display: flex;
    opacity: 0;
}

.rotating-text .letter {
    transform-origin: center center 25px;
}

.rotating-text .letter.space {
    width: 0.3em;
}

.rotating-text .letter.out {
    transform: rotateX(90deg);
    transition: 0.32s cubic-bezier(0.6, 0, 0.7, 0.2);
}

.rotating-text .letter.in {
    transition: 0.38s ease;
}

.rotating-text .letter.behind {
    transform: rotateX(-90deg);
}

.alizarin { color: #e74c3c; }
.wisteria { color: #8e44ad; }
.peter-river { color: #3498db; }
.emerald { color: #2ecc71; }
.sun-flower { color: #f1c40f; }

/* Existing styles */
.skill-tag {
    display: inline-block;
    background-color: #e2e8f0;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
}

.skill-tag:hover {
    background-color: #4299e1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.project-card {
    transition: transform 0.3s ease-in-out;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

/* Navigation styles */
.nav-link {
    font-weight: 600;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #4299e1;
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

/* Service box styles */
.service-box {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-box:hover::before {
    opacity: 0.1;
}

.service-box h3 {
    color: #333;
    transition: color 0.3s ease;
}

.service-box:hover h3 {
    color: #3498db;
}

.service-box p {
    color: #666;
    transition: color 0.3s ease;
}

.service-box:hover p {
    color: #333;
}


/* Intro section styles */
#intro {
    min-height: calc(100vh - 120px); /* Subtract the header height and some extra space for the chatbot */
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
}

/* Nav-specific container styles */
.nav-container {
    padding: 1rem 2rem !important; /* Add more padding for nav if needed */
    background-color: white; /* Add background color for visibility */
    border-bottom: 1px solid #e5e7eb; /* Optional: Add a subtle border for separation */
    z-index: 103; /* Highest z-index to stay on top */
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.intro-text {
    width: 100%;
    padding-right: 2rem;
}

.intro-image {
    width: 100%;
    max-width: 500px; /* Limit max-width of image container */
    margin-top: 2rem;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 70vh; /* Limit max-height of image */
    object-fit: contain;
    object-position: center;
}

@media (min-width: 1024px) {
    .intro-content {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .intro-text {
        width: 50%;
    }

    .intro-image {
        width: 45%;
        margin-top: 0;
    }
}

.cta-button {
    display: inline-block;
    background-color: #4299e1;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
    font-weight: 600;
}

.cta-button:hover {
    background-color: #3182ce;
}

/* Styles for larger name and title */
.text-2xl {
    font-size: 1.5rem !important; /* Larger font size for name and title */
}

@media (min-width: 768px) {
    .text-2xl {
        font-size: 2rem; /* Further increase for larger screens */
    }
}

/* Mobile menu styles */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}

#mobile-menu a {
    border-bottom: 1px solid #e5e7eb;
}

#menu-toggle {
    display: flex;
    align-items: center;
}

/* Styles for Zoho Web-Optin Form */
.form-container {
    width: 100vw;
    max-width: 100%;
    margin: 0 auto;
}

#zoho-form-iframe {
    border: none;
    width: 100%;
    height: 800px;
    overflow: hidden;
    max-width: 1400px; 
    margin: 0 auto; 
    display: block;
}

#anything-llm-embed-chat-container {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    width: 500px !important;
    height: 1000px !important;
    max-width: 100% !important;
    max-height: calc(100vh - 100px) !important;
    z-index: 9999 !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#anything-llm-chat {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Fix Vapi Chat Button in the bottom-left corner */
#vapi-support-btn {
    position: fixed !important;
    bottom: 40px;
    left: 40px;
    z-index: 9999; /* Ensure it appears on top of other elements */
  }

@media (max-width: 768px) {
    #anything-llm-embed-chat-container {
        width: 90% !important;
        right: 5% !important;
    }
}