/* ============================================
   CSS Variables for Theme Support
   ============================================ */
:root {
    --primary-green: #166534;
    --primary-green-light: #22c55e;
    --primary-green-dark: #14532d;
    --bg-gradient-start: #f0fdf4;
    --bg-gradient-end: #ffffff;
    --text-primary: #020817;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --primary-green: #22c55e;
    --primary-green-light: #4ade80;
    --primary-green-dark: #16a34a;
    --bg-gradient-start: #0f172a;
    --bg-gradient-end: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --card-bg: #1e293b;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(to bottom right, var(--bg-gradient-start), var(--bg-gradient-end), var(--bg-gradient-start));
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   Navbar Styles
   ============================================ */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    background: linear-gradient(to bottom right, rgba(240, 253, 244, 0.9), rgba(255, 255, 255, 0.9), rgba(240, 253, 244, 0.9));
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.logo-img {
    height: 48px;
    width: auto;
    transform: scale(1.5);
    transform-origin: left center;
    margin-left: 2rem;
    transition: filter 0.3s ease;
}

[data-theme="dark"] .logo-img {
    filter: brightness(0) invert(1);
}

.navbar-nav {
    gap: 1rem;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0.75rem !important;
}

.nav-link:hover {
    color: var(--primary-green-dark) !important;
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-green-light) !important;
}

.btn-contact {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-dark-mode {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-dark-mode:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, 
        rgba(15, 23, 42, 0.08) 0%,
        rgba(34, 197, 94, 0.06) 50%,
        rgba(15, 23, 42, 0.08) 70%,
        rgba(240, 253, 244, 0.3) 85%,
        rgba(240, 253, 244, 0.5) 95%,
        rgba(240, 253, 244, 1) 100%
    );
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(to bottom,
        rgba(15, 23, 42, 0.3) 0%,
        rgba(34, 197, 94, 0.15) 50%,
        rgba(15, 23, 42, 0.3) 70%,
        rgba(15, 23, 42, 0.5) 85%,
        rgba(15, 23, 42, 0.7) 95%,
        rgba(15, 23, 42, 1) 100%
    );
}

.hero-section::before {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.hero-section::after {
    content: '';
    position: absolute;
    left: 25%;
    bottom: 0;
    width: 320px;
    height: 320px;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.badge-custom {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.text-green {
    color: var(--primary-green);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--primary-green);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 4px 4px 0px var(--primary-green-dark);
}

.btn-primary-custom:hover {
    background: var(--primary-green-dark);
    transform: translate(2px, 2px);
    box-shadow: none;
    color: white;
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--primary-green);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0px var(--primary-green-dark);
}

.btn-outline-custom:hover {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
    transform: translate(2px, 2px);
    box-shadow: none;
}

.hero-image-wrapper {
    position: relative;
    margin-left: auto;
    max-width: 92%;
}

.hero-image-glow {
    position: absolute;
    inset: -8px;
    background: linear-gradient(to right, rgba(22, 101, 52, 0.3), rgba(22, 101, 52, 0.3));
    border-radius: 1rem;
    filter: blur(20px);
    opacity: 0.5;
}

.hero-image-container {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .hero-image-container {
    background: var(--card-bg);
}

.hero-image-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-green-dark));
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

/* ============================================
   Section Styles
   ============================================ */
.section-padding {
    padding: 4.5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* First section after hero has moderate top padding */
#services.section-padding {
    padding-top: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green-light);
}

.service-layout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    background: rgba(34, 197, 94, 0.2);
    color: var(--primary-green-dark);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-green-dark);
    gap: 0.75rem;
}

/* ============================================
   About Section
   ============================================ */
.about-image-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.about-image-glow {
    position: absolute;
    inset: -8px;
    background: linear-gradient(to right, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border-radius: 1rem;
    filter: blur(20px);
    opacity: 0.5;
}

.about-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: #f1f5f9;
    border-radius: 0.5rem;
    padding: 1rem;
}

[data-theme="dark"] .about-image {
    background: #334155;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================
   Product Section
   ============================================ */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.product-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    background: linear-gradient(to bottom right, var(--primary-green), var(--primary-green-dark));
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(40px);
    transition: opacity 0.5s ease;
}

.product-card:hover::before {
    opacity: 0.1;
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(to bottom right, var(--primary-green), var(--primary-green-dark));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.product-card:hover .product-content h3 {
    color: var(--primary-green);
}

.product-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .feature-badge {
    background: #334155;
}

.product-card:hover .feature-badge {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .product-card:hover .feature-badge {
    background: #475569;
}

.feature-badge i {
    color: var(--primary-green);
}

.btn-product {
    background: linear-gradient(to right, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 4px 4px 0px var(--primary-green-dark);
    white-space: nowrap;
    font-size: 0.875rem;
}

.btn-product:hover {
    transform: translate(2px, 2px);
    box-shadow: none;
    color: white;
}

.btn-product:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-card:hover,
.testimonial-card.active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green-light);
}

.testimonial-card.active {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-quote {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-quote i {
    font-size: 2rem;
    color: #e2e8f0;
    display: block;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .testimonial-quote i {
    color: #475569;
}

.testimonial-quote p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
}

[data-theme="dark"] .author-avatar {
    background: #475569;
}

.testimonial-author h5 {
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(34, 197, 94, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-green);
    transform: scale(1.25);
}

/* ============================================
   Career Section
   ============================================ */
#career.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.25rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.benefit-layout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-green);
    font-size: 1.25rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-content {
    flex-grow: 1;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.career-cta {
    background: linear-gradient(to right, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.15));
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
    text-align: center;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.career-cta h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    text-align: left;
    flex-grow: 1;
}

.career-cta p {
    display: none;
}

.btn-internship {
    background: linear-gradient(to right, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(34, 197, 94, 0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 4px 4px 0px var(--primary-green-dark);
    animation: none;
    flex-shrink: 0;
}

.btn-internship:hover {
    transform: translate(2px, 2px);
    box-shadow: none;
    color: white;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.6), 0 0 40px rgba(34, 197, 94, 0.4);
    }
}

/* ============================================
   Contact Section
   ============================================ */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p,
.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-green);
}

.contact-form-wrapper {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.btn-contact-form {
    width: 100%;
    background: var(--primary-green);
    color: white;
    padding: 1rem;
    border-radius: 0;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 4px 4px 0px var(--primary-green-dark);
}

.btn-contact-form:hover {
    background: var(--primary-green-dark);
    transform: translate(2px, 2px);
    box-shadow: none;
    color: white;
}

.form-note {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #f8fafc;
    padding: 4rem 0 2rem;
    color: var(--text-secondary);
}

[data-theme="dark"] .footer {
    background: #0f172a;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green-dark);
    margin-bottom: 1rem;
}

[data-theme="dark"] .footer-brand {
    color: var(--primary-green-light);
}

.footer h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ============================================
   Chatbot Styles
   ============================================ */
.chatbot-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-green-dark));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    color: white;
    font-size: 1.5rem;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.5);
}

.chatbot-button:active {
    transform: scale(0.95);
}

/* Robot Styles */
.robot {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float-robot 4s ease-in-out infinite;
}

@keyframes float-robot {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

.robot-head {
    position: relative;
    width: 80px;
    height: 64px;
    background: linear-gradient(to bottom, var(--primary-green), var(--primary-green-dark));
    border-radius: 0.5rem;
    border: 2px solid rgba(34, 197, 94, 0.5);
    box-shadow: var(--shadow-lg);
    margin-bottom: 4px;
}

.robot-ear {
    position: absolute;
    top: -8px;
    width: 12px;
    height: 16px;
    background: var(--primary-green-dark);
    border-radius: 0.25rem 0.25rem 0.125rem 0.125rem;
    box-shadow: var(--shadow-sm);
}

.robot-ear-left {
    left: 8px;
    transform: rotate(-12deg);
}

.robot-ear-right {
    right: 8px;
    transform: rotate(12deg);
}

.robot-face {
    position: relative;
    width: 100%;
    height: 100%;
}

.robot-speaker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.4);
    box-shadow: var(--shadow-sm);
}

.robot-speaker-left {
    left: -12px;
}

.robot-speaker-right {
    right: -12px;
}

.robot-eyes {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.robot-eye {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.4);
    position: relative;
}

.eye-inner {
    position: absolute;
    inset: 4px;
    background: #3b82f6;
    border-radius: 50%;
    border: 1px solid #2563eb;
}

.eye-inner::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: #1e40af;
    border-radius: 50%;
}

.eye-inner::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: white;
    border-radius: 50%;
}

.robot-mouth {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
}

.robot-mouth span {
    width: 4px;
    height: 4px;
    background: rgba(34, 197, 94, 0.4);
    border-radius: 50%;
}

.robot-neck {
    width: 16px;
    height: 8px;
    background: var(--primary-green-light);
    border-radius: 0.125rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2px;
}

.robot-body {
    position: relative;
    width: 64px;
    height: 80px;
    background: linear-gradient(to bottom, var(--primary-green), var(--primary-green-dark));
    border-radius: 0.5rem;
    border: 1px solid rgba(34, 197, 94, 0.5);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.robot-chest {
    width: 48px;
    height: 32px;
    background: white;
    border-radius: 0.25rem;
    margin-top: 8px;
    margin-bottom: 4px;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
}

.robot-chest::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 1px;
}

.robot-arm {
    position: absolute;
    top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.robot-arm-left {
    left: -16px;
}

.robot-arm-right {
    right: -16px;
}

.arm-segment {
    width: 16px;
    height: 12px;
    background: var(--primary-green);
    border-radius: 0.125rem;
    box-shadow: var(--shadow-sm);
}

.robot-hand {
    width: 20px;
    height: 16px;
    background: white;
    border-radius: 0.125rem 0.125rem 0.5rem 0.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(34, 197, 94, 0.4);
    position: relative;
}

.robot-hand::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
    width: 12px;
    height: 4px;
    background: linear-gradient(to right, transparent, #cbd5e1, transparent);
    border-radius: 1px;
}

.robot-legs {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.robot-leg {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leg-segment {
    width: 24px;
    height: 32px;
    background: linear-gradient(to bottom, var(--primary-green), var(--primary-green-dark));
    border-radius: 0.5rem;
    border: 1px solid rgba(34, 197, 94, 0.5);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
}

.leg-segment::before,
.leg-segment::after {
    content: '';
    width: 100%;
    height: 4px;
    background: var(--primary-green-light);
    border-radius: 2px;
}

.leg-segment::after {
    background: var(--primary-green-dark);
}

.robot-foot {
    width: 32px;
    height: 12px;
    background: var(--primary-green);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    margin-top: -4px;
    position: relative;
}

.robot-foot::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: rgba(34, 197, 94, 0.4);
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.robot-foot.left::after {
    right: 0;
}

.robot-foot.right::after {
    left: 0;
}

/* Chatbot Panel */
.chatbot-panel {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 100%;
    max-width: 500px;
    height: 75vh;
    min-height: 550px;
    max-height: 750px;
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.chatbot-panel.active {
    display: flex;
    animation: slide-up 0.3s ease;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(to right, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-header-content i {
    font-size: 1.5rem;
}

.chatbot-header-content h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chatbot-header-content p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.9;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: opacity 0.3s ease;
}

.chatbot-close:hover {
    opacity: 0.7;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8fafc;
    min-height: 0;
}

[data-theme="dark"] .chatbot-messages {
    background: #1e293b;
}

.message {
    margin-bottom: 1rem;
}

.bot-message {
    display: flex;
    flex-direction: column;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-green);
}

.message-header i {
    font-size: 1rem;
}

.message p {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin: 0;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-size: 1rem;
    line-height: 1.6;
}

[data-theme="dark"] .message p {
    background: var(--card-bg);
}

.user-message {
    display: flex;
    justify-content: flex-end;
}

.user-message p {
    background: var(--primary-green);
    color: white;
    border: none;
}

.chatbot-options-inline {
    padding: 1rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.chatbot-option {
    background: white;
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.75rem;
    padding: 0.875rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
    position: relative;
    overflow: hidden;
}

.chatbot-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transition: left 0.5s ease;
}

.chatbot-option:hover::before {
    left: 100%;
}

[data-theme="dark"] .chatbot-option {
    background: var(--card-bg);
    border-color: rgba(34, 197, 94, 0.4);
}

.chatbot-option:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.15));
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.chatbot-option:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.15);
}


/* ============================================
   Modal Styles
   ============================================ */
.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    color: var(--text-primary);
    font-weight: 700;
}

.btn-close {
    background: none;
    opacity: 0.5;
}

[data-theme="dark"] .btn-close {
    filter: invert(1);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .logo-img {
        margin-left: 0;
        transform: scale(1.2);
    }
    
    .chatbot-panel {
        right: 0;
        left: 0;
        bottom: 0;
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    
    .chatbot-button {
        width: 60px;
        height: 60px;
    }
    
    .chatbot-options-inline {
        grid-template-columns: 1fr;
    }
    
    .career-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .career-cta h3 {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .btn-internship {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fade-in-up 0.8s ease-out;
}

/* Smooth transitions for theme changes */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
