/* 
 * Portfolio Design System
 * Theme: Matte Black + Electric Blue
 */

:root {
    /* Sarvam-Style Vibrant Mesh Theme */
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #10b981;
    --accent-secondary: #059669;
    --bg-dark: #ffffff;
    --bg-secondary: #ffffff;
    --text-light: #ffffff;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
    --body-gradient: linear-gradient(-45deg, #ffffff, #fff7ed, #eff6ff, #fdf4ff);
    --cta-bg: rgba(0, 0, 0, 0.9);

    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-radius: 12px;
}

body.theme-red {
    /* Vibrant Sarvam Mesh Theme */
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #cc0000;
    --accent-secondary: #a00000;
    --bg-dark: #ffffff;
    --bg-secondary: #ffffff;
    --text-light: #ffffff;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --body-gradient: linear-gradient(-45deg, #ffffff, #fff7ed, #eff6ff, #fdf4ff);
    --cta-bg: rgba(0, 0, 0, 0.9);
    color: var(--primary-color);
}

body.theme-red .card, 
body.theme-red .contact-form-container {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(139, 0, 0, 0.1) !important;
}

body.theme-red h1, 
body.theme-red h2, 
body.theme-red h3, 
body.theme-red h4, 
body.theme-red h5, 
body.theme-red h6 {
    color: var(--primary-color);
}

body.theme-red .navbar {
    background: rgba(255, 255, 255, 0.8) !important;
}

body.theme-red .navbar-links a {
    color: var(--primary-color);
}

/* Logo Theme Colors - Dynamic */
.logo-rect { fill: #2b8a44; transition: fill 0.3s ease; }
.logo-circle { fill: #1a5032; transition: fill 0.3s ease; }

body.theme-red .logo-rect { fill: #ff4d4d; }
body.theme-red .logo-circle { fill: #a80000; }

.logo-text { color: var(--primary-color) !important; transition: color 0.3s ease; }
.logo-text .highlight { color: var(--accent-color) !important; transition: color 0.3s ease; }

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: var(--transition);
    border: 2px solid white;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.theme-toggle i {
    font-size: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    background: var(--body-gradient);
    background-size: 400% 400%;
    animation: globalGradient 15s ease infinite;
    color: var(--secondary-color);
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

@keyframes globalGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.3rem, 4vw, 1.5rem);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Wide Cards (About Stats) - Redesign */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.stat-card.wide-card {
    background: var(--bg-secondary);
    /* White */
    border: none;
    padding: 1.5rem 2rem;
    border-radius: var(--card-radius);
    text-align: left;
    /* Left align looks cleaner in feed style */
    transition: var(--transition);
    width: 100%;
    box-shadow: var(--card-shadow);
    border-left: 4px solid transparent;
}

.stat-card.wide-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    text-transform: none;
    /* Sentence case is friendlier */
    letter-spacing: 0;
    font-family: 'Poppins', sans-serif;
}

.stat-card.wide-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.stat-card.wide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Deeper shadow */
    border-left-color: var(--accent-color);
    /* Red accent on hover */
}


/* Generic Grid & Card Styles */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Expertise Cards - Redesign */
.card {
    background: var(--bg-secondary);
    border-radius: var(--card-radius);
    padding: 2.5rem 2rem;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    /* Flex layout for icon alignment */
    flex-direction: column;
    align-items: flex-start;
}

/* Hero Section - RESTORED */
.hero {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 2rem;
    /* Wave is absolute, so use regular padding */
    min-height: 100vh;
    height: auto;
    /* Allow growth */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fdfefe 0%, #e8f4ec 100%);
    /* Light Green Gradient */
    position: relative;
    overflow: hidden;
    color: var(--primary-color);
}

/* Responsive Container */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 1rem;
    position: relative;
    z-index: 10;
    width: 90%;
    /* Strict width constraint */
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
    margin-bottom: 12rem;
    /* Push content UP away from wave */
}

.hero-text {
    flex: 1;
    /* min-width: 500px;  Removed for mobile responsiveness */
    min-width: 300px;
    /* Better default that allows scaling */
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    height: 500px;
    align-items: center;
    height: 500px;
    align-items: center;
    /* min-width: 450px; Removed for mobile responsiveness */
    min-width: 300px;
}

/* Orbit System Styles */
.orbit-container {
    position: relative;
    width: 400px;
    /* Reduced from 450px to prevent overflow */
    height: 400px;
    max-width: 100%;
    /* Ensure it doesn't overflow parent */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Center Image */
.profile-center {
    position: absolute;
    z-index: 10;
}

.profile-img {
    width: 250px;
    /* Slightly smaller profile pic */
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 40px rgba(43, 138, 68, 0.4);
    transition: transform 0.3s ease;
}

/* Orbit Item Positioning */
.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Radius of the orbit reduced to fit new size */
    transform: rotate(calc(45deg * var(--i))) translate(190px) translateY(-50%);
    transform-origin: 0 0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    height: 500px;
    align-items: center;
}

/* Wave Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
    /* Wave is background decoration */
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom .shape-fill {
    fill: var(--bg-dark);
    /* Color matches body background */
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.expertise-card .icon {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    background: var(--accent-color);
    /* Red background circle */
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(43, 138, 68, 0.3);
}

.expertise-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
}

.expertise-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Video Carousel Cards */
.video-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 320px;
    /* Ensure width */
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Ensure Icons are visible in Orbit */
.tech-icon i {
    color: #fff;
    /* Ensure icon glyph is white */
}

.tech-icon:hover i {
    color: var(--accent-color);
    /* Red on hover */
}


.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section {
    padding: var(--section-spacing) 0;
    background: transparent;
}

/* Mission Section Specifics */
.modern-mission {
    padding: 120px 0;
    text-align: center;
}

.modern-mission h2 {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 2.5rem;
    letter-spacing: -3px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.mission-statement {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--secondary-color);
    font-weight: 500;
    opacity: 0.8;
    position: relative;
    padding: 0 2rem;
    letter-spacing: 0.5px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Layouts */
/* --- Component Styles --- */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Navbar Scrolled State - kept similar but ensures shadow */
.navbar.scrolled {
    height: 70px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--accent-color);
}

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

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* Underline effect on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease-in-out;
}

.mobile-nav-overlay.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-links {
    list-style: none;
    text-align: center;
}

.mobile-links li {
    margin: 2rem 0;
}

.mobile-links a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    /* Make sure links are visible */
    text-decoration: none;
    transition: var(--transition);
}

.mobile-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */


.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 650px;
}

.hero-image {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Text Visibility Fix */
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color) !important;
    /* Dark Green on Light Bg */
}

.hero p.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    /* Dark text for subtitle */
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero h4 {
    color: var(--accent-color);
}

.nav-links a {
    color: var(--secondary-color);
    /* Dark Slate */
    text-decoration: none;
    font-weight: 600;
    /* Bold for readability */
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.btn-primary {
    background: #000000;
    color: #ffffff !important;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #333333;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: #ffffff !important;
}

/* Secondary Button */
.btn-secondary {
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--primary-color);
    /* Dark green visibility on light background */
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(136, 235, 26, 0.1);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--card-shadow);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

/* Expertise Grid */
.expertise-card .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.expertise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.expertise-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Project Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-header h3 {
    margin-bottom: 0;
    color: var(--accent-color);
}

.tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.tech-stack {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.tech-stack span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.stat-card h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.stat-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Certifications */
.community-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cert-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.cert-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.box-icon {
    color: var(--accent-color);
}

.community-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.community-links h3 {
    margin-bottom: 1rem;
}

/* Contact */
.contact-container {
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    background: var(--bg-secondary);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    /* Pill */
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
}

.contact-item i {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    /* Dark Blue */
    padding: 3rem 0;
    text-align: center;
    margin-top: 5rem;
    color: #cbd5e1;
}

footer p {
    color: #cbd5e1;
}

footer i {
    color: var(--accent-color);
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {

    .grid-2,
    .about-grid,
    .community-wrapper {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        /* Stack projects */
    }
}

@media (max-width: 991px) {
    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .about-stats {
        grid-template-columns: 1fr !important;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-address {
        margin: 0 auto !important;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-impact {
        padding: 120px 1rem 60px !important;
    }

    .hero-impact h1 {
        font-size: 2.2rem !important;
    }

    /* Mobile Orbit Fixes */
    .orbit-container {
        width: 280px;
        height: 280px;
        margin: 2rem auto;
    }

    .profile-img {
        width: 150px !important;
        height: 150px !important;
    }

    .orbit-item {
        transform: rotate(calc(45deg * var(--i))) translate(125px) translateY(-50%) !important;
    }

    .tech-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .video-card {
        flex: 0 0 280px;
    }
}

/* Chatbot Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-main);
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    border: none;
    color: #000;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(43, 138, 68, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.online-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    box-shadow: 0 0 8px #22c55e;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.chat-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.chat-popup.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-header {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.chat-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header h4 {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
}

.chat-header .status {
    font-size: 0.75rem;
    margin: 0;
    opacity: 1;
    color: #ffffff;
}

.close-chat {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.1rem;
}

.chat-body {
    padding: 1rem;
    height: 450px;
    overflow-y: auto;
    background: #151515;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Custom Scrollbar for Chat */
.chat-body::-webkit-scrollbar,
#aiChatLog::-webkit-scrollbar {
    width: 5px;
}

.chat-body::-webkit-scrollbar-track,
#aiChatLog::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.chat-body::-webkit-scrollbar-thumb,
#aiChatLog::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.suggestion-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0;
    animation: fadeIn 0.5s ease;
    align-self: flex-start;
    width: 100%;
}

.suggestion-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border-color: rgba(255, 59, 48, 0.3);
    text-align: left;
    width: fit-content;
}

.suggestion-chip:hover {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

@keyframes pulseGlow {
    0% { border-color: rgba(255, 59, 48, 0.2); box-shadow: 0 0 5px rgba(255, 59, 48, 0.1); }
    50% { border-color: rgba(255, 59, 48, 0.6); box-shadow: 0 0 15px rgba(255, 59, 48, 0.2); }
    100% { border-color: rgba(255, 59, 48, 0.2); box-shadow: 0 0 5px rgba(255, 59, 48, 0.1); }
}

.chat-timestamp {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
}

.message {
    max-width: 90%;
    padding: 0.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.message.bot {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}

.message.user {
    background: var(--accent-color);
    color: #ffffff;
    border-bottom-right-radius: 2px;
    align-self: flex-end;
}

.ai-agent-view {
    padding: 1.2rem 1.2rem 1.8rem 1.2rem !important; /* Increased bottom padding */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.btn-block {
    display: block;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness for Chat */
@media (max-width: 480px) {
    .chat-popup {
        width: 90vw;
        right: -15px;
        /* Offset for container padding/margin */
    }
}

/* Video Carousel Styles */
.video-carousel {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--bg-secondary);
}

.video-carousel::-webkit-scrollbar {
    height: 8px;
}

.video-carousel::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.video-carousel::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.video-card {
    flex: 0 0 350px;
    height: auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1.5rem;
    flex: 1;
    /* Ensure equal height */
    display: flex;
    flex-direction: column;
}

.video-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Profile Image Styles */
.profile-img-container {
    margin-bottom: 0;
    display: inline-block;
    position: relative;
}

.profile-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 40px rgba(43, 138, 68, 0.4);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    border-color: var(--accent-secondary);
}

/* Mobile Responsive Adjustments for Hero Split */
@media (max-width: 991px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .cta-group {
        justify-content: center;
    }

    .hero p.subtitle {
        margin: 1.5rem auto 2.5rem;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }
}

/* Orbit System Styles */
.orbit-container {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Center Image */
.profile-center {
    position: absolute;
    z-index: 10;
}

.profile-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    /* White border */
    box-shadow: 0 0 50px rgba(96, 165, 250, 0.4);
    /* Blue Glow */
    transition: transform 0.3s ease;
}

.profile-center:hover .profile-img {
    transform: scale(1.05);
    border-color: #60a5fa;
    /* Light Blue */
}

/* Orbit Ring Animation Wrapper */
.orbit-rotator {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 60s linear infinite;
    /* Slower, smoother rotation */
}

.orbit-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    /* Dashed ring */
    border-radius: 50%;
}

/* Pause animation on hover */
.orbit-container:hover .orbit-rotator {
    animation-play-state: paused;
}

.orbit-container:hover .tech-icon {
    animation-play-state: paused;
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes counter-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* Orbit Item Positioning */
.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Radius of the orbit = 190px (380px diameter) */
    transform: rotate(calc(45deg * var(--i))) translate(190px) translateY(-50%);
    transform-origin: 0 0;
}

/* Update Counter-Rotate Speed to match parent */
.tech-icon {
    width: 60px;
    /* Bigger icons */
    height: 60px;
    background: var(--primary-color);
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
    cursor: pointer;

    /* Counter rotation to keep upright - Must match parent speed (60s) */
    animation: counter-rotate 60s linear infinite;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Flashy Pop-up Effect on Hover */
.tech-icon:hover {
    transform: scale(1.3) rotate(0deg) !important;
    background: var(--accent-color);
    /* Red Background on hover */
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(43, 138, 68, 0.5);
    z-index: 100;
    border-color: #ffffff;
}

/* Ensure Icons are visible in Orbit */
.tech-icon i {
    color: #ffffff !important;
    /* Force white glyphs */
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

.tech-icon:hover i {
    color: inherit;
}

/* Tooltip */
.tech-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-icon:hover::after {
    opacity: 1;
}

/* Mobile Responsiveness for Orbit */
@media (max-width: 991px) {
    .orbit-container {
        width: 350px;
        max-width: 100%;
        /* Ensure it doesn't overflow small screens */
        height: 350px;
        margin-bottom: 3rem;
        /* Add space for icons */
    }

    .profile-img {
        width: 180px;
        height: 180px;
    }

    .orbit-item {
        transform: rotate(calc(45deg * var(--i))) translate(160px) translateY(-50%);
    }

    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Logo Grid Styles */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    /* Subtle backing */
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.logo-item {
    flex: 0 0 120px;
    /* Base size */
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--glass-border);
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tech-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* filter: grayscale(100%); Removed as requested */
    transition: transform 0.3s ease;
    /* opacity: 0.8; Removed as requested */
}

.logo-item:hover .tech-logo {
    /* filter: grayscale(0%); */
    /* opacity: 1; */
    transform: scale(1.1);
    /* Add slight zoom instead */
}


/* Carousel Navigation Styles */
.carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    /* Circular button */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: transform 0.2s, background 0.2s;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: var(--accent-secondary);
}

.prev-btn {
    left: -25px;
    /* Float slightly outside */
}

.next-btn {
    right: -25px;
    /* Float slightly outside */
}

@media (max-width: 768px) {
    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* Blog Section Styles */
.blog-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    color: #cbd5e1;
    font-size: 1rem;
    margin-top: 1rem;
}

.blog-meta img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.blog-content {
    background: white;
    color: #334155;
    /* Slate 700 */
    line-height: 1.8;
    font-size: 1.1rem;
    padding: 4rem 0;
}

.blog-wrapper {
    max-width: 800px;
    /* Readable width like reference */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-content h2 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Blog Listing Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 3rem 0;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
}

.blog-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 2rem;
}

.blog-tag {
    background: #e0f2fe;
    color: #0284c7;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.blog-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #1e293b;
    line-height: 1.4;
}

.blog-card p {
    color: #64748b;
    font-size: 1rem;
}

/* Footer Styles */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    border-top: 1px solid #1e293b;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-logo p {
    font-size: 1rem;
    color: #94a3b8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #cbd5e1;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* Hero Text Sizing */
    .hero h1 {
        font-size: 2.5rem;
    }

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

    /* Orbit Animation Scaling */
    .orbit-container {
        width: 300px;
        height: 300px;
    }

    .orbit-item {
        /* Reduced radius for mobile */
        transform: rotate(calc(45deg * var(--i))) translate(140px) translateY(-50%);
    }

    /* Grid Fixes */
    .grid-3 {
        grid-template-columns: 1fr;
        /* Stack expertise cards */
    }

    .logo-grid {
        gap: 1.5rem;
    }

    .logo-item {
        flex: 0 0 45%;
        /* 2 items per row */
        height: 100px;
    }

    /* Generic Padding */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Blog Header */
    .blog-hero h1 {
        font-size: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Video Carousel Navigation */
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }
}

/* Expertise Logos & Animation */
@keyframes floatLogo {
    0% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    }

    50% {
        transform: translateY(-8px) scale(1.05);
        filter: drop-shadow(0 15px 25px rgba(111, 66, 193, 0.3));
    }

    100% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    }
}

.expertise-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
    display: block;
    animation: floatLogo 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.expertise-logo:hover {
    filter: drop-shadow(0 0 20px rgba(111, 66, 193, 0.6));
    animation-play-state: paused;
}

/* Emoji Animation Styles */
.expertise-emoji {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: floatLogo 4s ease-in-out infinite;
    transition: all 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    cursor: default;
    line-height: 1;
}

.expertise-emoji:hover {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(111, 66, 193, 0.4));
    animation-play-state: paused;
}

/* Enhanced Engagement UI */
.engagement-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 1rem;
}

.reaction-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reaction-btn {
    background: #fff0f0;
    border: 2px solid #ffe4e6;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
    font-weight: 700;
    color: #e11d48;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
}

.reaction-btn:hover {
    background: #ffe4e6;
    transform: scale(1.05);
}

.reaction-btn:active {
    transform: scale(0.95);
}

.reaction-btn .react-icon {
    display: inline-block;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.react-count {
    display: inline-block;
    min-width: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.react-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.share-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #64748b;
    font-weight: 600;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

@media (max-width: 600px) {
    .engagement-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* WhatsApp Group Card */
.wa-group-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    flex-grow: 1;
    max-width: 400px;
}

.wa-group-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.wa-icon-large {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
}

.wa-text {
    display: flex;
    flex-direction: column;
}

.wa-title {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

.wa-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Updated Responsive for Engagement Bar */
@media (max-width: 768px) {
    .wa-group-card {
        width: 100%;
        max-width: 100%;
    }
}

/* Chatbot Menu UI */
.chat-options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}

.chat-option-btn.whatsapp {
    background: #eaffee;
    color: #25d366;
    border: 1px solid #25d366;
}

.chat-option-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

.chat-option-btn.ai-agent {
    background: #f0fdfa;
    color: #0d9488;
    border: 1px solid #0d9488;
}

.chat-option-btn.ai-agent:hover {
    background: #0d9488;
    color: white;
}

.ai-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ai-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-grow: 1;
    text-align: center;
}

.ai-chip:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.ai-chip.secondary {
    background: white;
    border-style: dashed;
    color: #64748b;
}

/* Achievements Section */
.achievement-card {
    min-width: 350px;
    /* Same width as video cards for consistency */
    height: 400px;
    /* Fixed height to uniform layout */
    padding: 0;
    overflow: hidden;
    scroll-snap-align: start;
    border: none;
    background: transparent;
    box-shadow: none;
}

.achievement-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full image is visible, not cropped */
    border-radius: 12px;
    background: white;
    /* White bg for non-square images */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Mobile Responsive For Achievements & Videos */
@media (max-width: 768px) {
    .achievement-card {
        min-width: 300px;
        /* Reduce width for mobile */
        height: 350px;
        /* Reduce height */
    }

    .video-card {
        flex: 0 0 300px;
        /* Reduce width for mobile */
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.9);
        /* More visible on images */
        color: var(--primary-color);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
}

/* Mobile Visibility Safeguard */
@media (max-width: 991px) {
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}


/* --- Modern Clean Design --- */
.hero-modern {
    padding: 180px 2rem 100px;
    background: transparent;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.hero-modern h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-modern p.lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.modern-mission {
    padding: 120px 2rem;
    background: transparent;
    text-align: center;
}

.modern-mission h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.mission-statement {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.5;
    font-weight: 400;
    color: var(--primary-color);
    max-width: 1000px;
    margin: 0 auto;
    font-family: "Poppins", sans-serif;
}

.modern-cta-section {
    padding: 120px 2rem;
    background: var(--cta-bg);
    backdrop-filter: blur(10px);
    color: white !important;
    text-align: center;
    border-radius: 40px;
    margin: 0 2rem 4rem 2rem;
}

.modern-cta-section h2, 
.modern-cta-section p {
    color: white !important;
}

.modern-cta-section h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: white;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.btn-modern-primary {
    background: white;
    color: var(--primary-color);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-modern-prim.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(136, 235, 26, 0.1);
    border-color: #88eb1a;
}


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

.footer-logo img.logo-img {
    height: 50px;
    margin-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}



/* --- Enhanced Contact Form Styles --- */
.contact-form-container {
    padding: 3rem !important;
    border-radius: 24px !important;
    margin-top: 2rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-container {
        padding: 1.5rem !important;
        margin: 1rem !important;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(43, 138, 68, 0.2);
    transform: translateY(-2px);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
    padding-right: 3rem;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: none;
    animation: slideInCustom 0.4s ease-out;
}

@keyframes slideInCustom {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-status.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}
