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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Header and Navigation */
.header {
    background-color: #000000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-logo a:hover {
    color: #ffffff;
    transition: color 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #dc2626;
    transition: width 0.3s ease;
}

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

/* Team Login Footer Styling */
.team-login-footer {
    margin-top: 20px;
}

.team-login-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 5px;
    padding: 8px 16px;
    color: #dc2626;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    position: relative;
}

.team-login-btn:hover {
    background: transparent;
    border-color: #dc2626;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.team-login-btn:hover::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 8px;
    right: 8px;
    height: 2px;
    background-color: #ffffff;
}

.team-login-desc {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    font-style: italic;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main {
    margin-top: 70px;
    min-height: calc(100vh - 140px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #000000;
    padding: 100px 0;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #000000;
}

.hero .highlight {
    color: #000000;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #000000;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 1.8rem;
    margin-bottom: 48px;
    color: #000000;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.hero-stats .stat-label {
    font-size: 1rem;
    color: #666666;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: #000000;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #000000;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

/* Override the base cta-button for hero buttons */
.hero-cta .cta-button.primary {
    background-color: transparent !important;
    color: #dc2626 !important;
    border: 2px solid #dc2626 !important;
    font-weight: 600 !important;
}

.hero-cta .cta-button.secondary {
    background-color: transparent !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    font-weight: 600 !important;
}

/* Ensure buttons maintain their colors when not hovered */
.hero-cta .cta-button.primary:not(:hover) {
    background-color: transparent !important;
    color: #dc2626 !important;
    border-color: #dc2626 !important;
    font-weight: 600 !important;
}

.hero-cta .cta-button.secondary:not(:hover) {
    background-color: transparent !important;
    color: #000000 !important;
    border-color: #000000 !important;
    font-weight: 600 !important;
}

/* Removed duplicate button styles - using hero-specific styles instead */

/* Base cta-button hover - this should not affect hero buttons */
.cta-button:not(.primary):not(.secondary):hover {
    background-color: transparent;
    color: #000000;
    border-color: #dc2626;
    font-weight: bold;
}

.cta-button:hover::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #dc2626;
}

/* Request Demo button - ONLY changes when hovered */
.hero-cta .cta-button.primary:hover {
    background-color: transparent !important;
    color: #000000 !important;
    border-color: #000000 !important;
    font-weight: bold !important;
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.hero-cta .cta-button.primary:hover::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #000000;
}

/* Learn More button - ONLY changes when hovered */
.hero-cta .cta-button.secondary:hover {
    background-color: transparent !important;
    color: #dc2626 !important;
    border-color: #dc2626 !important;
    font-weight: bold !important;
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Red underline for secondary button when hovered */
.hero-cta .cta-button.secondary:hover::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #dc2626;
}

/* Ensure buttons don't affect each other */
.hero-cta .cta-button.primary:not(:hover) {
    background-color: transparent !important;
    color: #dc2626 !important;
    border-color: #dc2626 !important;
    font-weight: 600 !important;
    transform: translateY(0) scale(1) !important;
    box-shadow: none !important;
}

.hero-cta .cta-button.secondary:not(:hover) {
    background-color: transparent !important;
    color: #000000 !important;
    border-color: #000000 !important;
    font-weight: 600 !important;
    transform: translateY(0) scale(1) !important;
    box-shadow: none !important;
}

/* Cross-button effect: when hovering over primary, change secondary to opposite */
.hero-cta .cta-button.primary:hover + .cta-button.secondary {
    background-color: transparent !important;
    color: #dc2626 !important;
    border-color: #dc2626 !important;
    font-weight: 600 !important;
    transform: translateY(0) scale(1) !important;
    box-shadow: none !important;
}

/* No underline for cross-button effect */

/* Cross-button effect: when hovering over secondary, change primary to black */
.hero-cta:hover .cta-button.primary:not(:hover) {
    background-color: transparent !important;
    color: #000000 !important;
    border-color: #000000 !important;
    font-weight: 600 !important;
    transform: translateY(0) scale(1) !important;
    box-shadow: none !important;
}

/* No cross-button underline effect */


/* Removed active effects to prevent cross-button issues */

/* Section Styles */
.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 40px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #000000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #000000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card:hover .card-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-color: rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
    color: #000000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000000;
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    display: block;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #000000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
}

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

.submit-btn {
    background-color: transparent;
    color: #000000;
    padding: 15px 40px;
    border: 2px solid #000000;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.submit-btn:hover {
    background-color: transparent;
    color: #000000;
    border-color: #dc2626;
    transform: translateY(-2px);
    font-weight: bold;
}

.submit-btn:hover::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #dc2626;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section h3 {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
}

.footer-section p {
    color: #e5e5e5;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #e5e5e5;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section ul li a:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #dc2626;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #e5e5e5;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(220, 38, 38, 0.1);
}

.team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-card:hover .team-photo {
    border-color: rgba(220, 38, 38, 0.6);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;
}

.team-role {
    font-size: 1rem;
    font-weight: 500;
    color: #dc2626;
    margin-bottom: 15px;
    min-height: 1.2em;
    position: relative;
    display: inline-block;
}

.team-role::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #000000;
    transition: width 0.3s ease;
}

.team-bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Team Social Media Icons */
.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
    transform: translateY(-2px);
    color: #dc2626;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #000000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .team-card {
        padding: 25px 15px;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .section {
        padding: 60px 0;
    }

    .card {
        padding: 30px 20px;
    }
}

