/* General Styles */
body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    background-color: #fff9e6;
    padding-top: 70px; /* Adjust this value based on your header height */
}

h1, h2, h3, h4, h5, h6,
.section_title h2,
.navbar-brand {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
}

/* Header Styles */
.header_area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #ffd200 !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #000 !important;
}

.nav-link {
    color: #000 !important;
}

/* Section Divider */
.section_divider {
    position: relative;
    text-align: center;
    margin: 0rem 0 1rem 0;
}

.portfolio_area .section_divider {
    text-align: center;
}

.about_area .section_divider {
    text-align: left;
}

.section_divider::before,
.section_divider::after {
    content: "";
    display: inline-block;
    width: 8%;
    height: 1px;
    background: #e45447;
    vertical-align: middle;
}

.about_area .section_divider::before {
    width: 8%;
    margin-left: 0;
}

.section_divider .circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #e45447;
    border-radius: 50%;
    vertical-align: middle;
}

/* Portfolio Section */
.section_title {
    margin-bottom: 1rem;
}

.section_title h2 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.portfolio_area {
    padding: 3rem 0 2rem 0;
}

.card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: #fffbf2;
}

.card-img-container {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.card-img-container:hover {
    text-decoration: none;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-title {
    color: white;
    font-size: 1.5rem;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.card-img-container:hover .card-img-overlay {
    opacity: 1;
}

.card-img-container:hover .project-title {
    transform: translateY(0);
}

.tech-stack {
    margin-top: 1rem;
}

.tech-stack .badge {
    margin-right: 0.5rem;
}

.badge.bg-primary {
    background-color: #000 !important;
}

/* About Section */
.about_content {
    margin-bottom: 1.5rem;
}

.about_content h2 {
    margin-bottom: 1.5rem;
    font-weight: bold;
    margin-left: 0;
    padding-left: 0;
}

.about_area {
    padding: 2rem 0;
    background-color: #fff9e6;
}

.about_content p {
    margin-bottom: 1rem;
    max-width: 600px;
}

.about-left img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Contact Section */
.social_links a {
    color: #000;
    transition: color 0.3s ease;
}

.social_links a:hover {
    color: #e45447;
}

/* Footer Area */
.footer_area {
    background-color: #ffd200 !important;
}

.footer_content h4 {
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer_area p {
    color: #000 !important;
}

.social_links a {
    color: #000;
    transition: color 0.3s ease;
}

.social_links a:hover {
    color: #e45447;
}

.copyright {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about_content {
        text-align: center;
        margin-top: 2rem;
    }
    
    .section_divider::before,
    .section_divider::after {
        width: 30%;
    }
}

.btn-primary {
    background-color: #000 !important;
    border-color: #000 !important;
}

.btn-primary:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Flags Section */
.flags-container {
    width: 100%;
    overflow: hidden;
    background-color: #fff9e6;
    margin-bottom: 2rem;
}

.flags-scroll {
    display: flex;
    align-items: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
}

.flags-group {
    display: flex;
    animation: scroll 60s linear infinite;
}

.flag {
    height: 30px;
    width: auto;
    margin: 0 1.5rem;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.flag:hover {
    transform: scale(1.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.flags-scroll:hover .flags-group {
    animation-play-state: paused;
}

/* Companies Section */
.companies_area {
    background-color: #fff9e6;
}

.company-logos {
    margin-bottom: 1rem;
}

.company-logos .col-md-4 {
    margin-bottom: 2rem;
}

.company-card {
    background-color: #fffbf2;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.company-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.company-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    min-height: 120px;
}

.company-logo img {
    max-width: 350px;
    max-height: 120px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

/* Specific sizing for RWE logo */
a[href*="rwe.com"] img {
    max-width: 600px;
    max-height: 200px;
}

.company-description {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.company-description p {
    margin: 0;
}

.company-logos .col-md-4 {
    padding: 1rem;
    margin-bottom: 1rem;
}

.company-logos .col-md-4:hover .company-description {
    opacity: 1;
    transform: translateY(0);
}

.company-logos .col-md-4:hover .company-logo img {
    transform: scale(1.05);
}

.company-logos .col-md-4 {
    display: flex;
    flex-direction: column;
}

/* Specific sizing for RWE logo */
a[href*="rwe.com"] img {
    max-width: 500px;
    max-height: 180px;
} 

#avatar-container {
    position: absolute;
    bottom: 100px; /* Adjust this to avoid overlapping the text box */
    left: 20px;
    width: 300px; /* Adjust as needed */
}

#simli-video {
    width: 100%;
    height: auto;
    border: 2px solid black; /* Optional for visibility */
    border-radius: 10px;
}

/* Add these to your existing CSS */
.video_chat_area .simli-chat {
  background: transparent;
}

.video_chat_area .chat-controls {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 0 4px 4px;
}

.video_chat_area #chat-form {
  margin: 0;
}

.video_chat_area .video-container {
  border-radius: 4px;
  overflow: hidden;
}
  
