/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a0a23;
    color: white;
}

header {
    background-color: #0d0d2b;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Navigation Styling */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

nav img {
    height: 30px;
    width: 10%;
    margin-right: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Hover Effect */
nav ul li a:hover {
    color: #4f46e5;
}

/* Active Tab Styling */
nav ul li.active a {
    color: #ffffff; /* Keep the text white */
    font-weight: bold; /* Make it slightly bolder */
    opacity: 1; /* Ensure full opacity */
}

/* White Dot Under Active Tab */
nav ul li.active a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20px;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
}


.contact-btn {
    background: none;
    border: 2px solid white;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-btn:hover {
    background-color: white;
    color: #0d0d2b;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    min-height: 70vh;
}

/* Hero Content */
.hero-content {
    max-width: 45%; /* Adjust text width */
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.2;
    color: white;
}

.hero-content .highlight {
    color: #576BFF; /* Blue color matching the image */
}

.hero-content p {
    font-size: 1.1rem;
    margin: 15px 0;
    color: #B0B0B0;
}

/* Call to Action Button */
.cta-btn {
    background-color: #576BFF;
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background-color: #4051DB;
}

/* Hero Image */
.hero-image {
    max-width: 40%; /* Reduced width to fit layout better */
    text-align: right;
}

.hero-image img {
    width: 100%; /* Ensures it remains responsive */
    max-width: 450px; /* Limits maximum width */
    height: auto; /* Maintains aspect ratio */
}

/* General Section Styling */
#features {
    text-align: center;
    padding: 80px 10%;
    background-color: #0A0A18;
}

#features h3 {
    font-size: 1.5rem; /* Reduced font size */
    color: #576BFF;
    margin-top: 170px; /* Added margin at the top */
    margin-bottom: 40px; /* Keep or adjust as needed */
}



/* Marquee Effect for Smooth Scrolling */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 40px;
}

/* Programming Languages Marquee */
.marquee {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px; /* Adds spacing between images */
    animation: marquee 5s linear infinite;
}

/* Reverse animation for feature cards */
.feature-cards .marquee {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Adds space between images */
    animation: marquee-reverse 5s linear infinite;
}
/* Feature Cards - Centered & Wrapped */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    justify-items: center;
    align-items: stretch;
    margin-bottom: 36px;
}
.feature-cards .card {
  min-width: 0;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0;
}

@media (max-width: 900px) {
  .feature-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .feature-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-cards .card { max-width: 98vw; }
}

/* Remove marquee animation from feature-cards */
.feature-cards .marquee { animation: none !important; gap: 0 !important; }

/* Individual Card - Perfect Square */
.card {
    background: #12122D;
    border-radius: 12px;
    width: 250px; /* Equal width & height */
    height: 250px; /* Ensures square shape */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Ensures text stays at bottom */
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Proper Image Fit Inside Square */
.card img {
    width: 100%;
    height: 70%; /* Ensures image takes most of the card */
    object-fit: contain; /* Ensures images don't stretch */
}

/* Adjusted Text Placement */
.card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 10px 0 0 0;
}

/* Hover Effect */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Marquee Animations */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

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

/* Moving Effect on Hover */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}


/* Platform Section Styling */
#platform {
    background-color: #0A0A18;
    padding: 80px 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

.platform-text {
    max-width: 50%;
    color: white;
}

.platform-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.platform-text p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 30px;
}

/* CTA Button */
.cta-btn {
    display: inline-block;
    background: #576BFF;
    color: white;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #4056D7;
}

/* Platform Image */
.platform-image {
    max-width: 50%;
}

.platform-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Benefits Section Styling */
#benefits {
    background-color: #0A0A18;
    text-align: center;
    padding: 80px 10%;
}

#benefits h2 {
    font-size: 2.5rem;
    color: #576BFF;
    margin-bottom: 50px;
}

/* Grid Layout for Cards */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Individual Benefit Card */
.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Icon Styling */
.icon {
    display: flex;
    justify-content: flex-start; /* Align icon to the left */
    align-items: center; /* Keep vertical alignment */
}

.icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}


/* Card Title */
.benefit-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

/* Card Text */
.benefit-card p {
    font-size: 1rem;
    color: #aaa;
}



/* Section Container */
#how-it-works {
    background-color: #0A0A18;
    padding: 80px 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-it-works-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

/* Left Side: Steps */
.steps {
    max-width: 50%;
    color: white;
}

.steps h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.highlight {
    color: #576BFF;
}

/* Step Cards with Blue Border */
.step-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #576BFF; /* Added blue border */
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease-in-out;
}

.step-card:hover {
    background: rgba(87, 107, 255, 0.1); /* Light blue hover effect */
    transform: translateY(-5px);
}

/* Icons Inside Step Cards */
.step-icon img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

/* Step Text */
.step-card p {
    font-size: 1rem;
    color: #aaa;
}

/* Right Side: Single Image */
.visual {
    max-width: 55%; /* Slightly increase the max width */
    display: flex;
    justify-content: center;
}

.visual img {
    width: 130%; /* Increases width towards the right */
    max-width: 550px; /* Adjusted for more width */
    margin-bottom: -20px; /* Moves image slightly down */
    margin-right: -50px; /* Moves image slightly right */
}


/* Responsive Design */
@media (max-width: 900px) {
    .how-it-works-container {
        flex-direction: column;
        text-align: center;
    }
    .steps, .visual {
        max-width: 100%;
    }
    .step-card {
        justify-content: center;
    }
}

/* Section Container */
.why-robosim {
    background-color: #0A0A18;
    padding: 80px 10%;
}

.why-robosim h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 40px;
    margin-left: 50px;
    text-align: left; /* Specifically left-aligns the heading */
}


.highlight {
    color: #576BFF;
}

/* Statistics Cards Container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.stats-card {
    background: rgba(255, 255, 255, 0.05);
    border: 4px solid #576BFF;
    border-radius: 12px;
    padding: 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stats-card h3 {
    font-size: 2rem;
    color: #576BFF;
    margin-bottom: 10px;
}

.stats-card p {
    font-size: 1rem;
    color: #fffdfd;
}

/* Call to Action Section */
.cta-section {
    margin-top: 150px;
}

.cta-section h2 {
    font-size: 3.5rem;
    color: #576BFF;
    font-weight: bold;
    text-align: center;
}

.arrow {
    font-size: 3.5rem;
    color: #576BFF;
}

.cta-section p {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #fffdfd;
    margin-top: -20px;
}

/* Social Icon */
.social-icon {
    width: 40px;
    height: 40px;
    margin-right: 20px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-card {
        width: 90%;
        max-width: 350px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}



/* Footer Styling */
.footer {
    background-color: #0A0A18;
    padding: 70px 10% 30px;
}


.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

/* Left: Logo Only */
.footer-brand img {
    width: 50%;
    height: auto;
    margin-left: -100px;
}

/* Center: Location */
.footer-location {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fffdfd;
    font-size: 1rem;
    text-align: center;
    margin-left: -250px;
}

.footer-location img {
    width: 24px;
    height: 24px;
}

/* Right: Copyright */
.footer-rights {
    color: #fffdfd;
    font-size: 1rem;
    margin-right: -100px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-location {
        text-align: center;
        justify-content: center;
    }
}

/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #0A0A18;
    color: white;
    margin: 0;
    padding: 0;
}

/* About Us Section */
.about-section {
    font-family: 'Roboto', sans-serif;
    font-size: 18px; /* Set font size globally */
    padding: 80px 10%;
    max-width: 1200px;
    margin: auto;
}

/* Content Blocks */
.about-content {
    margin-bottom: 50px;
}

/* Section Titles with Styled Badges */
.section-title {
    font-size: 1.5rem;
    margin-bottom: 30px; /* Increased spacing below the badge */
    display: flex;
    align-items: center;
}

/* Badge with Increased Size & Spacing */
.badge {
    background: linear-gradient(135deg, #576BFF, #8A76FF); /* Smooth transition between colors */
    color: white;
    padding: 12px 20px; /* Increased padding for larger height & width */
    border-radius: 12px;
    font-size: 1.2rem; /* Slightly larger text */
    font-weight: bold;
    display: inline-block; /* Prevents stretching */
    margin-bottom: 15px; /* Added extra space below the badge */
}

/* Mission List */
.mission-list {
    list-style-type: none;
    padding-left: 0;
}

.mission-list li {
    font-size: 1rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

/* Bullet Point Styling */
.mission-list li::before {
    content: "•"; 
    color: #fffdfd;
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}


/* Modal Overlay */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content */
.modal-content {
    background: #0A0A18;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Form Styling */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    font-size: 14px;
    color: white;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 10px;
    background: #1a1a2e;
    color: white;
    border: 1px solid #576BFF;
    border-radius: 5px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #576BFF, #8A76FF);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #4656ff, #6d66ff);
}

/* Back Button */
.back-btn {
    background: transparent;
    border: 1px solid white;
    padding: 8px 15px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.back-btn:hover {
    background: white;
    color: black;
}

/* Responsive */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
    }
}


/* Centered Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    /* top: 0;
    left: 0; */
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content */
.modal-content {
    background: #0A0A18;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 80%;
    max-height: 80%;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Two-Column Layout for Form Fields */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px; /* Space between fields */
}

/* Make Form Inputs Take 50% of Space */
.form-group {
    flex: 1;
    min-width: 240px; /* Prevents breaking on smaller screens */
}

/* Ensure Inputs Stretch Correctly */
input, select {
    width: 100%;
    padding: 10px;
    background: #1a1a2e;
    color: white;
    border: 1px solid #576BFF;
    border-radius: 5px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #576BFF, #8A76FF);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #4656ff, #6d66ff);
}

/* Back Button */
.back-btn {
    background: transparent;
    border: 1px solid white;
    padding: 8px 15px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.back-btn:hover {
    background: white;
    color: black;
}

/* Responsive: Stack fields in one column on smaller screens */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}

/* Hamburger Navigation Styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2001;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-menu {
  display: flex;
}

@media (max-width: 900px) {
  nav {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    width: 100vw;
    background: #111227ee;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    z-index: 2000;
  }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    animation: fadeIn .3s;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 25px;
    width: 100%;
    margin: 0;
    padding: 0 30px;
  }
  nav ul li {
    width: 100%;
    text-align: left;
  }
  .contact-btn {
    display: none;
  }
}
@keyframes fadeIn { from { opacity: 0;} to{ opacity: 1;} }

@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 40px 2% 20px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-image { max-width: 100%; margin-top: 25px; text-align: center;}
  .hero-image img { max-width: 320px; }
  #features, #platform, #benefits, .about-section, .how-it-works-container, .why-robosim, .footer { padding: 30px 2% 10px; }
  .feature-cards, .benefits-container, .stats-container { flex-direction: column !important; align-items: center; }
  .feature-cards .marquee, .marquee { gap: 40px !important; }
  .card, .benefit-card, .stats-card { width: 90vw !important; max-width: 350px; height: auto !important; margin: 10px 0; }
  .platform-container { flex-direction: column; }
  .platform-text, .platform-image { max-width: 100%; text-align: center; }
  .platform-image img { max-width: 95vw; }
  .steps, .visual { max-width: 100%; }
  .how-it-works-container { flex-direction: column; }
  .visual img { max-width: 95vw; width: 95vw; margin: 0 auto; }
  .about-section { padding: 40px 2%; }
  .footer-container { flex-direction: column; gap: 20px; text-align: center; }
  .footer-location, .footer-brand img, .footer-rights { margin: 0 !important; }
  .modal-content { max-width: 97vw !important; }
  .form-row { flex-direction: column; gap: 4px; }
}

@media (max-width: 500px) {
  .hero-content h1 { font-size: 2rem; }
  .hero { padding: 14vw 0 4vw 0; }
  .about-section { font-size: 15px; }
  .badge { font-size: .96rem; padding: 8px 12px; }
  .card, .benefit-card, .stats-card { padding: 15px !important; }
  #features h3, .why-robosim h2, #benefits h2, .steps h2 { font-size: 1.2rem !important; }
  .section-title { font-size: 1.05rem; }
}

/* ===== Smooth Anchor Jump (Visible on Scroll) ===== */
section[id], .about-section {
  scroll-margin-top: 120px;
}

/* ===== Marquee Animation - Infinite Scroll ===== */
.marquee-container {
  overflow: hidden;
  width: 100%;
}
.marquee {
  display: flex;
  align-items: center;
  gap: 200px;
  min-width: 100vw;
  width: fit-content;
  animation: marquee 16s linear infinite;
}
/* Marquee pause on hover for accessibility */
.marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}