/* Base Styles */
body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif
}

body,
html {
    height: 100%;
    line-height: 1.8;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

:root {
    /* Elegant Dark with Gold */
    --primary-color: #1E293B;  /* Slate */
    --primary-light: #334155;  /* Lighter slate for hover states */
    --secondary-color: #EAB308;  /* Yellow */
    --secondary-light: #FACC15;  /* Lighter yellow for hover */
    --accent-color: #F43F5E;  /* Rose */
    --accent-light: #FB7185;  /* Lighter rose for hover */
    --complementary-color: #10B981;  /* Emerald green for highlights */
    --light-color: #F8FAFC;  /* Off-white */
    --dark-color: #0F172A;  /* Slate */
    --text-light: #F8FAFC;  /* Light text on dark backgrounds */
    --text-dark: #0F172A;  /* Dark text on light backgrounds */
}

/* Typography */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(248, 250, 252, 0.9);
    font-weight: 400;
    line-height: 1.4;
}

.w3-center {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.w3-large {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

p {
    text-align: justify;
    margin-bottom: 1.2em;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Team Section */
.team-name {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 15px 0 5px;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.team-title {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.team-bio {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    overflow: visible;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: unset;
    color: var(--text-dark);
}

.team-skills {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background-color: rgba(234, 179, 8, 0.2); /* 0.5 = 50% opacity */
    /*background-color: var(--secondary-color);*/
    color: rgb(0, 0, 0);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #EAB308;
}

/* Team Layout */
.team-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.team-col {
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
}

@media (min-width: 992px) {
    .team-col {
        width: 33.333%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .team-col {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .team-col {
        width: 100%;
    }
}

/* Navigation */
.w3-bar .w3-button {
    font-family: var(--body-font);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.2);
}

/* Background Colors */
.background-color {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.main-content {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.alternate-blocks {
    background-color: var(--light-color);
    color: var(--text-dark);
}

/* Content Blocks */
.content-block {
    padding: 60px 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

@media (min-width: 768px) {
    .content-block {
        padding: 100px 16px;
    }
}

.content-block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.bgimg-1 {
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.8)), url("images/chatbot-interface.jpg");
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Contact Cards */
.contact-card {
    background-color: white;
    color: var(--text-dark);
    border-radius: 12px;
    padding: 25px;
    margin: 15px;
    min-height: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Team Images */
.team-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Navigation Bar */
.w3-top {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 1030;
    background-color: transparent !important;
    transition: all 0.3s ease;
}

#myNavbar {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#myNavbar .w3-wide {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    margin-right: auto;
}

#myNavbar .w3-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

/* Mobile Menu Button */
.w3-bar .w3-button.w3-hide-large.w3-hide-medium {
    margin-left: auto;
    padding: 0.5rem 1rem;
}

/* Mobile Sidebar */
.w3-sidebar {
    width: 100%;
    max-width: 300px;
    background-color: var(--primary-color);
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.w3-sidebar.w3-show {
    transform: translateX(0);
}

.w3-sidebar .w3-bar-item {
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    color: var(--text-light);
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.w3-sidebar .w3-bar-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    padding-left: 2rem;
}

.w3-sidebar .w3-bar-item.w3-button {
    color: var(--text-light);
}

.w3-sidebar .w3-bar-item.w3-large {
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

/* Overlay */
.w3-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
    backdrop-filter: blur(3px);
}

/* Team Cards */
.team-card {
    background-color: white;
    color: var(--text-dark);
    border-radius: 12px;
    padding: 30px;
    margin: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.team-image-container {
    width: 100%;
    max-width: 250px;
    height: 250px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 5px solid white;
    flex-shrink: 0;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-title a {
    margin-left: 10px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.team-title a:hover {
    color: var(--accent-color);
}

/* Contact Section */
.contact-container {
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info-card, .contact-form-card {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.contact-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-item-content {
    flex: 1;
}

.contact-item h3 {
    color: var(--secondary-color);
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .contact-container {
        margin-top: 30px;
        gap: 20px;
        padding: 0 15px;
    }
    
    .contact-info-card, .contact-form-card {
        padding: 20px;
        min-width: 100%;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .contact-item {
        padding: 12px;
        gap: 15px;
    }
    
    .contact-item i {
        font-size: 20px;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
    }
    
    .contact-item p {
        font-size: 1rem;
    }
}

/* Footer */
footer {
    padding: 32px 16px;
}

.to-top-button {
    margin: 20px 0;
    transition: transform 0.3s ease;
    background-color: var(--accent-color) !important;
}

.to-top-button:hover {
    transform: translateY(-3px);
}

.credits {
    font-size: x-small;
    text-align: center;
    opacity: 50%;
    margin: 20px 0;
    color: var(--text-light);
}

/* Product Section */
.product-feature {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.product-feature-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    color: var(--secondary-color);
}

.product-feature-text {
    flex: 1;
}

.product-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.w3-top.scrolled {
    background-color: rgba(248, 250, 252, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.w3-top.scrolled .w3-bar-item,
.w3-top.scrolled .w3-button {
    color: var(--primary-color) !important;
}

.w3-top.scrolled .w3-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.w3-bar .w3-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.w3-bar .w3-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.w3-bar .w3-button i {
    margin-right: 5px;
}

.w3-center.w3-large {
    color: var(--primary-color);
    font-weight: 500;
}

.alternate-blocks .w3-center.w3-large {
    color: var(--text-dark);
}

.main-content .w3-center.w3-large {
    color: var(--text-light);
}

.team-title {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.team-bio {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    overflow: visible;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: unset;
    color: var(--text-dark);
}

.alternate-blocks .team-bio {
    color: var(--text-dark);
}

.main-content .team-bio {
    color: var(--text-dark);
}

.consulting-content {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.consulting-intro {
    margin-bottom: 1.5em;
    font-weight: 500;
    color: var(--text-light);
}

.consulting-experience {
    color: var(--text-light);
    margin-bottom: 1.5em;
}

.consulting-services {
    margin-bottom: 1em;
    font-weight: 500;
    color: var(--text-light);
}

.services-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 2em;
}

.services-list li {
    margin-bottom: 0.8em;
    padding-left: 1.5em;
    position: relative;
}

.services-list li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.about-container {
    max-width: 800px;
    margin: 64px auto 0;
    padding: 0 20px;
}

.about-content {
    width: 100%;
}

.about-text {
    color: var(--text-light);
}

.about-section {
    margin-bottom: 40px;
}

.about-subheading {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: var(--text-light);
}

@media (max-width: 767px) {
    .about-container {
        margin-top: 40px;
        padding: 0 15px;
    }
    
    .about-section {
        margin-bottom: 30px;
    }
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(248, 250, 252, 0.6);
}

.submit-button {
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    width: auto;
}

.submit-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .contact-form {
        gap: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .submit-button {
        width: 100%;
        text-align: center;
    }
}

/* Snackbar Notification */
.snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #4CAF50;
    color: var(--text-light);
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.snackbar.show {
    visibility: visible;
    opacity: 1;
} 