/* index.css - CropDoctor Main Stylesheet */

:root {
    --primary: #1a5d1a;
    --primary-light: #2e8b2e;
    --primary-dark: #0d3d0d;
    --secondary: #e6b325;
    --secondary-light: #f4d166;
    --accent: #4a7c59;
    --light: #f8f9fa;
    --dark: #1e2a1e;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-light: linear-gradient(135deg, var(--primary-light) 0%, #4aab4a 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.7;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.text-white {
    color: white !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(230, 179, 37, 0.3);
    z-index: -1;
    border-radius: 4px;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 20px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    border: 3px solid var(--primary);
    padding: 3px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    color: var(--secondary);
    font-weight: 800;
}

.nav-link {
    font-weight: 500;
    margin: 0 12px;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
    padding: 8px 0 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 93, 26, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 93, 26, 0.3);
    color: white;
}

.btn-primary::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.5s;
}

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

.btn-light {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
    border: 2px solid white;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 93, 26, 0.2);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.hero p.lead {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 650px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Stats Counter */
.stats-counter {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-top: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Enhanced Hero Image Slider */
.hero-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.image-slider {
    height: 100%;
    position: relative;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.slide.previous {
    transform: translateX(-100%);
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide.active .slide-content img {
    animation: zoomIn 10s ease-in-out infinite alternate;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 30px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.slide.active .slide-caption {
    transform: translateY(0);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26,93,26,0.2), rgba(230,179,37,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.overlay-content {
    text-align: center;
    padding: 20px;
}

.overlay-content i {
    opacity: 0.8;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
}

.slider-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
}

/* Spiral Background Elements */
.spiral-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    opacity: 0.1;
}

.spiral {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid white;
    border-radius: 50%;
    animation: spiralRotate 40s linear infinite;
}

.spiral:nth-child(2) {
    width: 80%;
    height: 80%;
    animation-duration: 35s;
    animation-direction: reverse;
}

.spiral:nth-child(3) {
    width: 60%;
    height: 60%;
    animation-duration: 30s;
}

.spiral:nth-child(4) {
    width: 40%;
    height: 40%;
    animation-duration: 25s;
    animation-direction: reverse;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    font-size: 2rem;
    color: white;
    animation: float 15s infinite linear;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.floating-element:nth-child(2) {
    top: 70%;
    left: 15%;
    animation-delay: 5s;
    animation-duration: 25s;
}

.floating-element:nth-child(3) {
    top: 40%;
    left: 85%;
    animation-delay: 10s;
    animation-duration: 18s;
}

.floating-element:nth-child(4) {
    top: 80%;
    left: 80%;
    animation-delay: 7s;
    animation-duration: 22s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-down:hover {
    opacity: 1;
    transform: translateY(5px);
}

.scroll-down i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 25px auto 0;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: white;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.feature-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 10px 20px rgba(46, 139, 46, 0.2);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
}

.feature-badge .badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 20px;
}

.feature-stats {
    margin-top: 20px;
    color: var(--secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(to bottom, #f8fbf8 0%, #ffffff 100%);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231a5d1a" fill-opacity="0.02" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.step-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(26, 93, 26, 0.3);
    z-index: 2;
}

.step-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-tip {
    margin-top: 20px;
    padding: 10px 15px;
    background: rgba(230, 179, 37, 0.1);
    border-radius: 10px;
    color: var(--secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Gallery Section */
.gallery-section {
    padding: 120px 0;
    background: white;
}

.gallery-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.gallery-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.gallery-badge.healthy {
    background: var(--primary);
}

.gallery-badge.disease {
    background: #dc3545;
}

.gallery-content {
    padding: 25px;
}

.gallery-content h5 {
    color: var(--primary);
    margin-bottom: 10px;
}

.gallery-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--gray);
}

/* Enhanced Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fbf8 100%);
}

.testimonial-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.testimonial-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.testimonial-image-container:hover img {
    transform: scale(1.03);
}

.image-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 30px;
    display: flex;
    justify-content: space-around;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.stat-item h5 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    margin: 0 15px;
    min-width: 100%;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.testimonial-rating {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding-left: 30px;
}

.testimonial-text::before {
    content: """;
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary-light);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary);
    padding: 3px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-info h5 {
    margin-bottom: 5px;
    color: var(--primary);
}

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

.author-badge {
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 30px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

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

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

 /* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-stats {
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--secondary);
}

/* Newsletter */
.newsletter {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fbf8 0%, #e8f5e8 100%);
}

.newsletter-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--shadow);
}

.newsletter-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.newsletter h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.newsletter p {
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
}

.form-text {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 20px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--primary);
    padding: 3px;
    background: white;
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.footer-brand h5 {
    color: white;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #aaa;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: white;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #dcdcdc;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-links a:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.copyright {
    color: #777;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links a {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* Floating Action Button */
.floating-action {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(26, 93, 26, 0.3);
    z-index: 1000;
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.floating-action:hover {
    transform: scale(1.1);
    animation: none;
    color: white;
}

.floating-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.floating-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary);
}

.floating-action:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* New Animations */
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spiralRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 150px 0 100px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .spiral-container {
        display: none;
    }
    
    .hero-image-container {
        margin-top: 50px;
        height: 400px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .feature-card, .step-card, .gallery-card {
        margin-bottom: 30px;
    }
    
    .cta-actions, .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn, .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .testimonial-image-container {
        margin-bottom: 50px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p.lead {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .feature-card, .step-card {
        padding: 30px 20px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .newsletter-content {
        padding: 30px 20px;
    }
    
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 20px;
    }
    
    .floating-action {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .image-stats {
        padding: 20px;
    }
    
    .stat-item {
        gap: 10px;
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    .stat-item h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 130px 0 80px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .stats-counter {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: 50px;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .newsletter-form .btn {
        border-radius: 50px;
        width: 100%;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}