/* Plant Disease Detection App - Main CSS */

/* Color Palette Variables */
:root {
    /* Primary Colors */
    --primary-green: #4CAF50;
    --primary-blue: #2196F3;
    --primary-orange: #FF9800;
    --primary-teal: #009688;
    --primary-purple: #9C27B0;
    
    /* Light Shades */
    --light-green: #C8E6C9;
    --light-blue: #BBDEFB;
    --light-orange: #FFE0B2;
    --light-teal: #B2DFDB;
    --light-purple: #E1BEE7;
    
    /* Dark Shades */
    --dark-green: #2E7D32;
    --dark-blue: #1565C0;
    --dark-orange: #F57C00;
    --dark-teal: #00695C;
    --dark-purple: #7B1FA2;
    
    /* System Colors */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #757575;
    --dark-gray: #424242;
    --black: #212121;
    
    /* Font Sizes - Conservative */
    --fs-small: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.75rem;
    --fs-3xl: 2rem;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--dark-green);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); }

p {
    margin-bottom: var(--space-sm);
    color: var(--gray);
    font-size: var(--fs-base);
}

/* Links */
a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--dark-green);
}

/* Header */
.navbar {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

.navbar-brand {
    font-size: var(--fs-lg) !important;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm) !important;
    transition: var(--transition-base);
}

.navbar-nav .nav-link:hover {
    color: var(--light-green) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../MUY_images/hero-bg.webp') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.hero-desc {
    font-size: var(--fs-md);
    margin-bottom: var(--space-xl);
    opacity: 0.8;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Decorative Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-orange);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--primary-blue);
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-purple);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styling */
.section {
    padding: var(--space-2xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: var(--fs-2xl);
    color: var(--dark-green);
}

.section-subtitle {
    text-align: center;
    margin-bottom: var(--space-md);
    font-size: var(--fs-lg);
    color: var(--primary-teal);
}

.section-desc {
    text-align: center;
    margin-bottom: var(--space-xl);
    font-size: var(--fs-base);
    color: var(--gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-feature {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    margin-bottom: var(--space-md);
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-feature i {
    font-size: var(--fs-2xl);
    color: var(--primary-green);
    margin-bottom: var(--space-sm);
}

.about-feature h4 {
    color: var(--dark-green);
    margin-bottom: var(--space-xs);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--light-green), var(--light-teal));
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    margin-bottom: var(--space-lg);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.service-card h4 {
    color: var(--dark-green);
    margin-bottom: var(--space-sm);
}

.service-card .price {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: var(--space-sm);
}

.service-card .features {
    list-style: none;
    margin-bottom: var(--space-md);
}

.service-card .features li {
    padding: var(--space-xs) 0;
    color: var(--gray);
}

/* Price Plan Section */
.price-card {
    background: var(--white);
    border-radius: 20px;
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-teal));
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.price-card .price {
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: var(--space-md);
}

.price-card .features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.price-card .features li {
    padding: var(--space-xs) 0;
    color: var(--gray);
    border-bottom: 1px solid var(--light-gray);
}

/* Team Section */
.team-member {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: var(--space-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    margin-bottom: var(--space-lg);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-md);
    border: 5px solid var(--primary-green);
}

.team-member h4 {
    color: var(--dark-green);
    margin-bottom: var(--space-xs);
}

.team-member .role {
    color: var(--primary-teal);
    font-weight: 500;
}

/* Reviews Section */
.reviews {
    background: linear-gradient(135deg, var(--light-blue), var(--light-purple));
}

.review-card {
    background: var(--white);
    border-radius: 20px;
    padding: var(--space-xl);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    margin-bottom: var(--space-lg);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-green);
    opacity: 0.3;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.review-author {
    font-weight: 700;
    color: var(--dark-green);
    margin-top: var(--space-md);
}

/* FAQ Section */
.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: var(--space-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
    color: var(--white);
    cursor: pointer;
    margin: 0;
    font-size: var(--fs-md);
    font-weight: 600;
    transition: var(--transition-base);
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--dark-teal));
}

.faq-answer {
    padding: var(--space-lg);
    color: var(--gray);
    border-top: 1px solid var(--light-gray);
    display: none;
}

.faq-question.active + .faq-answer {
    display: block;
}

/* Gallery Section */
.gallery {
    background: var(--light-gray);
}

.gallery-item {
    margin-bottom: var(--space-md);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Contact Section */
.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: var(--space-xl);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: var(--space-sm);
    font-size: var(--fs-base);
    transition: var(--transition-base);
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
    border: none;
    border-radius: 10px;
    padding: var(--space-sm) var(--space-xl);
    font-size: var(--fs-md);
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--dark-teal));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-green), var(--dark-teal));
    color: var(--white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer h5 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer p, .footer a {
    color: var(--light-gray);
    font-size: var(--fs-small);
}

.footer a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    text-align: center;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
}

.shadow-lg {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.rounded-lg {
    border-radius: 20px;
}

/* Breadcrumb */
.breadcrumb-container {
    padding: var(--space-lg) 0;
    background: var(--light-gray);
}

.breadcrumb-container img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

/* Space Page */
#space {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--light-green), var(--light-teal));
    border-radius: 20px;
    margin: var(--space-xl) 0;
}

/* Animation for elements */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--fs-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--fs-lg);
    }
    
    .section-title {
        font-size: var(--fs-xl);
    }
    
    .service-card,
    .price-card,
    .team-member {
        margin-bottom: var(--space-md);
    }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
