/* About Page Styles for TrashScan - Modern Design */

:root {
    --primary-color: #002d18;
    --secondary-color: #004d36;
    --accent-color: #0B4619;
    --light-accent: #0f7029;
    --text-color: #333;
    --light-color: #ffffff;
    --grey-bg: #f8f9fa;
    --card-shadow: 0 10px 20px rgba(0, 45, 24, 0.1);
    --transition: all 0.3s ease;
    --tech-glow: 0 0 15px rgba(15, 112, 41, 0.5);
    --tech-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
}

/* Canvas Cursor Effect Styles */
.cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none; /* Allows clicks to pass through to elements beneath */
    overflow: hidden;
    opacity: 0.85;
    mix-blend-mode: normal;
    transition: opacity 0.3s ease;
}

/* Reduce cursor effect opacity on form focus for better visibility */
input:focus ~ .cursor-canvas,
textarea:focus ~ .cursor-canvas,
select:focus ~ .cursor-canvas,
button:focus ~ .cursor-canvas,
a:focus ~ .cursor-canvas {
    opacity: 0.3;
}

/* Modern Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Modern Header Styles */
.header {
    position: relative;
    background: url('../images/bg1.jpg') center/cover no-repeat;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    color: var(--light-color);
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 45, 24, 0.8), rgba(0, 77, 54, 0.9));
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background: rgba(0, 45, 24, 0.9);
    backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
}

.logo-container {
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px 0;
}

.logo {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Container with Centered Image */
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    text-align: center;
    position: relative;
    z-index: 3;
    min-height: 80vh;
}

.hero-content {
    z-index: 2;
    margin-bottom: 2rem;
    max-width: 800px;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out forwards;
}

.hero-content .tagline {
    font-size: 2rem;
    font-weight: 300;
    margin-top: 1rem;
    opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out forwards;
    min-height: 60px; /* For the typing effect */
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    z-index: 2;
    animation: floatImage 3s ease-in-out infinite;
    filter: drop-shadow(var(--tech-glow));
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section.bg-light {
    background-color: var(--grey-bg);
}

/* Simple section transitions */
.section:not(.bg-light) + .section.bg-light,
.section.bg-light + .section:not(.bg-light) {
    padding-top: 8rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

/* Animation classes */
.section, .feature-card, .team-member, .contact-card, .user-group, .step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.show, .feature-card.show, .team-member.show, .contact-card.show, .user-group.show, .step.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Overview Section */
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-text {
    position: relative;
}

.highlight-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
    background-color: rgba(15, 112, 41, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 45, 24, 0.05);
}

.highlight-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--accent-color);
    border-radius: 3px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* Add style for overview typed cursor */
.highlight-text .typed-cursor {
    color: var(--accent-color);
    font-weight: 500;
    opacity: 1;
}

/* Image Carousel Styles */
.overview-carousel {
    width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.carousel-container {
    width: 100%;
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    background-color: rgba(0, 45, 24, 0.05);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 45, 24, 0.9), transparent);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 500;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-top: 10px;
}

.carousel-btn {
    background: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.carousel-indicators {
    display: flex;
    gap: 8px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.overview-carousel:hover .carousel-btn {
    opacity: 1;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 220px;
    }
    
    .carousel-slide img {
        object-fit: contain;
    }
    
    .slide-caption {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .carousel-controls {
        padding: 8px 0;
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(0, 45, 24, 0.1), rgba(0, 77, 54, 0.05));
    z-index: -1;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 45, 24, 0.15);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    margin-bottom: 1.5rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 45, 24, 0.2);
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Architecture Section */
.architecture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.architecture-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.architecture-steps {
    margin-top: 2rem;
    position: relative;
}

.architecture-steps .step {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 60px;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.architecture-steps .step-number {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 45, 24, 0.2);
    z-index: 2;
}

.architecture-steps .step p {
    margin: 0;
    padding-left: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .architecture-steps .step {
        padding-left: 50px;
    }
    
    .architecture-steps .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Purpose and Goals Section */
.purpose-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.purpose-list {
    list-style: none;
    margin-top: 1.5rem;
}

.purpose-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.purpose-list li i {
    color: var(--accent-color);
    margin-right: 1rem;
}

.purpose-image {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.purpose-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.purpose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 45, 24, 0.2);
}

.purpose-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Target Users Section */
.users-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.user-group {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.user-group:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 45, 24, 0.15);
}

.user-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.user-group h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Team Section */
.team-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
}

.team-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 45, 24, 0.15);
}

.member-logo {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: var(--transition);
}

.team-member:hover .member-logo {
    opacity: 1;
    transform: scale(1.1);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.member-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 45, 24, 0.8), transparent);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.team-member h3 {
    color: var(--accent-color);
    margin: 1.5rem 0 0.5rem;
    padding: 0 1.5rem;
}

.member-role {
    color: #666;
    font-size: 0.9rem;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.member-social a {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 45, 24, 0.15);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--secondary-color);
}

.feedback-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.feedback-form h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(11, 70, 25, 0.1), var(--tech-glow);
}

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

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    width: 100%;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 0 rgba(0, 30, 15, 0.5);
    transform: translateY(0);
}

.submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0, 30, 15, 0.5);
}

.submit-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 30, 15, 0.5);
}

/* Typed.js cursor color */
.typed-cursor {
    color: var(--light-color);
    font-weight: 400;
    animation: blink 1s infinite;
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.footer-links h3,
.footer-social h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: white;
}

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

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content .tagline {
        font-size: 1.8rem;
    }
    
    .hero-image {
        max-width: 250px;
    }
    
    .container {
        width: 95%;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Improve tech stack display */
    .tech-cards {
        justify-content: center;
    }
    
    /* Make roadmap more compact */
    .roadmap-timeline {
        padding-left: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1.5rem;
    }
    
    .logo-container {
        padding-top: 0;
        margin-top: 5px;
    }
    
    .logo {
        height: 35px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .tagline {
        font-size: 1.5rem;
        min-height: 50px;
    }
    
    .hero-image {
        max-width: 250px;
    }
    
    .overview-content,
    .architecture-content,
    .purpose-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
    
    .architecture-image {
        order: -1;
    }
    
    .purpose-image {
        margin-top: 2rem;
    }
    
    .particles-container {
        height: 50vh;
    }

    /* Improved mobile navigation styles */
    .hero-container {
        padding-top: 150px;
    }

    /* Improve feature cards on mobile */
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Make the timeline more readable */
    .workflow-container {
        padding-left: 1rem;
    }

    /* Adjust tech cards layout */
    .tech-card {
        width: 90px;
        height: 90px;
    }

    .tech-card .tech-icon {
        font-size: 1.8rem;
    }

    .tech-card span {
        font-size: 0.8rem;
    }

    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 45, 24, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        z-index: 999;
        padding: 4rem 0;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        gap: 0;
    }
    
    .nav-menu ul li {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu ul li a {
        display: block;
        padding: 1.2rem 1.5rem;
        margin: 0;
        font-size: 1.1rem;
        letter-spacing: 1px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .nav-menu ul li a:hover {
        background-color: rgba(0, 77, 54, 0.5);
        padding-left: 2rem;
    }
    
    .nav-menu ul li a.active {
        background-color: var(--accent-color);
        color: white;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .tagline {
        font-size: 1.2rem;
        min-height: 40px;
    }
    
    .hero-image {
        max-width: 230px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .user-group,
    .team-member {
        padding: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Make the overview text easier to read */
    .highlight-text {
        font-size: 1rem;
        padding: 12px 15px;
    }

    /* Improve form usability */
    .form-group input, 
    .form-group textarea {
        padding: 0.7rem;
    }

    /* Make carousel controls more touch-friendly */
    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .carousel-container {
        height: 200px;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 400px) {
    .hero-content .tagline {
        font-size: 1.3rem;
        min-height: 35px;
        padding: 0 10px;
    }

    .hero-image {
        max-width: 220px;
    }

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

    .navbar {
        padding: 0.75rem 1rem;
    }

    .logo {
        height: 30px;
    }

    /* One column tech cards layout */
    .tech-cards {
        justify-content: center;
    }

    .tech-card {
        width: 100px;
        height: 100px;
        margin: 0.5rem;
    }

    .carousel-container {
        height: 180px;
    }
    
    .slide-caption {
        padding: 8px;
        font-size: 0.8rem;
    }
}

/* Add specific fix for iPhone and very small screens */
@media (max-width: 380px) {
    .hero-content .tagline {
        font-size: 1.1rem;
        min-height: 30px;
    }
    
    .hero-image {
        max-width: 210px;
    }
    
    .hero-container {
        padding: 100px 15px 40px;
    }
}

/* Technology Stack Section Styles */
.tech-stack-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.tech-layer {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.tech-layer:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 45, 24, 0.15);
}

.layer-title {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 45, 24, 0.1);
}

.layer-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.layer-title h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 0;
}

.tech-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: rgba(0, 45, 24, 0.05);
    border-radius: 10px;
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    aspect-ratio: 1/1; /* Ensure cards remain square */
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-100%);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--tech-glow);
    background: rgba(255, 255, 255, 0.8);
}

.tech-card:hover::before {
    transform: translateY(0);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
    text-shadow: var(--tech-glow);
}

.tech-card span {
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-color);
    font-weight: 500;
}

/* Mobile adjustments for tech section */
@media (max-width: 768px) {
    .tech-layer {
        padding: 1.5rem;
    }
    
    .layer-title {
        margin-bottom: 1.2rem;
        padding-bottom: 0.8rem;
    }
    
    .layer-title h3 {
        font-size: 1.3rem;
    }
    
    .layer-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .tech-cards {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .tech-layer {
        padding: 1.2rem;
    }
    
    .tech-cards {
        gap: 0.8rem;
        justify-content: space-around;
    }
}

/* How It Works Section Styles */
.workflow-container {
    max-width: 800px;
    margin: 0 auto;
}

.workflow-timeline {
    position: relative;
    padding-left: 2rem;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    margin-bottom: 3rem;
    z-index: 2;
}

.timeline-connector {
    position: absolute;
    left: 25px;
    top: 50px;
    width: 4px;
    height: 50px;
    background: var(--accent-color);
    z-index: 1;
    transform-origin: top;
}

.step-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-left: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.step-number {
    position: absolute;
    left: -2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 3;
    box-shadow: 0 0 0 4px white;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 45, 24, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.timeline-step:hover .step-icon {
    background: var(--accent-color);
    color: white;
    transform: rotate(360deg);
}

.step-content h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    color: #666;
}

/* System Requirements Section Styles */
.requirements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.requirements-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.requirements-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.requirements-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 45, 24, 0.15);
}

.requirements-card:hover::before {
    transform: scaleX(1);
}

.requirements-card.recommended {
    background: linear-gradient(135deg, rgba(0, 45, 24, 0.05), rgba(0, 77, 54, 0.1));
    border: 2px solid rgba(0, 45, 24, 0.1);
}

.req-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.req-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

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

.req-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.req-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.req-list li:last-child {
    border-bottom: none;
}

.req-list li i {
    margin-right: 1rem;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

/* Compliance & Ethics Section Styles */
.compliance-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.compliance-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.compliance-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ethics-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.ethics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 45, 24, 0.15);
}

.ethics-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 45, 24, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.ethics-card:hover .ethics-icon {
    background: var(--accent-color);
    color: white;
}

.ethics-text h3 {
    color: var(--accent-color);
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.ethics-text p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Future Roadmap Section Styles */
.roadmap-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.roadmap-title {
    text-align: center;
    margin-bottom: 3rem;
}

.roadmap-title h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.roadmap-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.roadmap-timeline {
    position: relative;
    padding-left: 2rem;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.roadmap-item {
    position: relative;
    padding-bottom: 3rem;
}

.roadmap-item:last-child {
    padding-bottom: 0;
}

.roadmap-dot {
    position: absolute;
    left: -2.3rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--accent-color);
    z-index: 2;
}

.roadmap-content {
    position: relative;
}

.roadmap-date {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.roadmap-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.roadmap-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.roadmap-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 45, 24, 0.15);
}

.roadmap-card:hover::before {
    transform: scaleX(1);
}

.roadmap-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 45, 24, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.roadmap-card:hover .roadmap-icon {
    background: var(--accent-color);
    color: white;
    transform: rotate(360deg);
}

.roadmap-card h4 {
    color: var(--accent-color);
    margin: 0 0 0.5rem;
}

.roadmap-card p {
    margin: 0;
    color: #666;
}

/* Add Lottie Player Script */
#lottie-script {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .tech-card {
        width: 100px;
        height: 100px;
        aspect-ratio: 1/1;
        padding: 0.8rem;
    }
    
    .tech-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .tech-card span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .tech-cards {
        justify-content: center;
    }
    
    .timeline-step {
        flex-direction: column;
    }
    
    .step-content {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .timeline-connector {
        margin-left: 25px;
    }
    
    .requirements-container {
        grid-template-columns: 1fr;
    }
    
    .compliance-content {
        grid-template-columns: 1fr;
    }
}

/* Animation for How It Works section */
.observe-timeline-elements {
    opacity: 0;
}

/* Add new styles for Tippy.js tooltips */
.tippy-box {
    background-color: var(--accent-color);
    color: white;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.tippy-box[data-theme~='light-border'] {
    background-color: white;
    color: var(--text-color);
    border: 1px solid #eaeaea;
}

.tippy-arrow {
    color: var(--accent-color);
}

.tippy-box[data-theme~='light-border'] .tippy-arrow {
    color: white;
}

/* Team member overlay styles */
.member-image {
    position: relative;
    overflow: hidden;
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 45, 24, 0.9), rgba(0, 77, 54, 0.7));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
}

.overlay-content {
    color: white;
    text-align: center;
    padding: 1rem;
}

.overlay-content p {
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
}

/* Animated form elements */
.animated-input {
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.animated-input:focus {
    border-color: var(--accent-color);
}

.animated-link {
    position: relative;
    display: inline-block;
}

.animated-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.animated-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Submit button with icon */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

/* Tech cards improved animations */
.tech-card {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.5s ease, 
                background-color 0.5s ease;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.hamburger-menu .menu-icon,
.hamburger-menu .close-icon {
    font-size: 24px;
    color: white;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hamburger-menu .menu-icon {
    opacity: 1;
    transform: scale(1);
}

.hamburger-menu .close-icon {
    opacity: 0;
    transform: scale(0.8);
}

.hamburger-menu.active .menu-icon {
    opacity: 0;
    transform: scale(0.8);
}

.hamburger-menu.active .close-icon {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 45, 24, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        z-index: 999;
        padding: 4rem 0;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        gap: 0;
    }
    
    .nav-menu ul li {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu ul li a {
        display: block;
        padding: 1.2rem 1.5rem;
        margin: 0;
        font-size: 1.1rem;
        letter-spacing: 1px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .nav-menu ul li a:hover {
        background-color: rgba(0, 77, 54, 0.5);
        padding-left: 2rem;
    }
    
    .nav-menu ul li a.active {
        background-color: var(--accent-color);
        color: white;
    }
    
    /* Add a logo to the mobile menu */
    .nav-menu::before {
        content: '';
        display: block;
        width: 100px;
        height: 50px;
        background: url('../images/banner1.png') center/contain no-repeat;
        position: absolute;
        top: 40px;
        opacity: 0.8;
    }
    
    /* Add close indicator text */
    .nav-menu::after {
        content: 'Tap outside to close';
        position: absolute;
        bottom: 30px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        height: 30px;
    }
    
    .nav-menu {
        width: 100%;
        max-width: none;
    }
    
    .nav-menu ul li a {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Demo Video Section Styles */
.video-container {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--card-shadow);
    border-radius: 15px;
    overflow: hidden;
    background: white;
    padding: 20px;
    transition: var(--transition);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    transition: var(--transition);
}

/* Mobile adjustments for video */
@media (max-width: 768px) {
    .video-container {
        padding: 15px;
        margin: 0 10px;
    }
}

/* Add a link to the new section in the navigation menu */
.pilot-card p {
    margin: 0;
    color: #666;
}

/* Pilot Study Section Styles */
.pilot-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.pilot-info {
    position: relative;
}

.pilot-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-right: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.pilot-badge i {
    margin-right: 0.5rem;
}

.pilot-info h3 {
    color: var(--accent-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.8rem;
}

.pilot-description {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--text-color);
    text-align: justify;
}

.pilot-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 45, 24, 0.15);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 45, 24, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.highlight-item:hover .highlight-icon {
    background: var(--accent-color);
    color: white;
    transform: rotate(360deg);
}

.highlight-text h4 {
    color: var(--accent-color);
    margin: 0 0 0.3rem;
}

.highlight-text p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Pilot Carousel Styles */
.pilot-carousel {
    width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.pilot-carousel-container {
    width: 100%;
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f5f5;
}

.pilot-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.pilot-slide.active {
    opacity: 1;
}

.pilot-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.pilot-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 45, 24, 0.9), transparent);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 500;
}

.pilot-carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 0 0 10px 10px;
}

.pilot-carousel-btn {
    background: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.pilot-carousel-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.pilot-carousel-indicators {
    display: flex;
    gap: 8px;
}

.pilot-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.pilot-indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Responsive design for pilot study section */
@media (max-width: 992px) {
    .pilot-content {
        grid-template-columns: 1fr;
    }
    
    .pilot-info {
        order: 2;
    }
    
    .pilot-carousel {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .pilot-carousel-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .pilot-carousel-container {
        height: 300px;
    }
    
    .pilot-badge {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    .pilot-info h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .pilot-carousel-container {
        height: 250px;
    }
    
    .pilot-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .pilot-badges {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Additional mobile improvements */
@media (max-width: 768px) {
    .nav-menu.active {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 15px;
        right: 15px;
    }
}

/* Citation Section Styles */
.citation-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.citation-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    width: 100%;
    max-width: 900px;
    transition: var(--transition);
    position: relative;
}

.citation-card:hover {
    box-shadow: 0 15px 30px rgba(0, 45, 24, 0.15);
}

.citation-title h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
}

.citation-authors {
    margin-bottom: 2rem;
    text-align: center;
}

.citation-authors p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.citation-formats h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.format-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.format-tab {
    padding: 0.5rem 1.5rem;
    background: #f5f5f5;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.format-tab:hover {
    background: #e9e9e9;
}

.format-tab.active {
    background: var(--accent-color);
    color: white;
}

.format-content {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    border: 1px solid #eee;
}

.format-text {
    display: none;
    line-height: 1.6;
}

.format-text.active {
    display: block;
}

.format-text p {
    margin: 0;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.citation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 45, 24, 0.2);
}

.citation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 45, 24, 0.3);
}

.citation-btn:active {
    transform: translateY(0);
}

/* Responsive styles for citation section */
@media (max-width: 768px) {
    .citation-card {
        padding: 1.5rem;
    }
    
    .citation-title h3 {
        font-size: 1.2rem;
    }
    
    .citation-authors p {
        font-size: 1rem;
    }
    
    .format-tabs {
        flex-wrap: wrap;
    }
    
    .format-tab {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .format-content {
        padding: 1rem;
    }
    
    .format-text p {
        font-size: 0.9rem;
    }
}
