/* Custom CSS for EcoSeeds Drone Reforestation Template */

/* CSS Variables - Pastel Color Palette */
:root {
    /* Primary Colors */
    --primary-green: #7fb069;      /* Soft forest green */
    --primary-blue: #6ba6cd;       /* Sky blue */
    --primary-brown: #a67c5a;      /* Earth brown */
    --primary-beige: #d4b996;      /* Natural beige */
    --primary-sage: #9caf88;       /* Sage green */
    
    /* Light Shades */
    --light-green: #b8d4a8;
    --light-blue: #a8c9e4;
    --light-brown: #c9a788;
    --light-beige: #e6d4b8;
    --light-sage: #b8c8a8;
    
    /* Dark Shades */
    --dark-green: #5e8c4f;
    --dark-blue: #4f8baa;
    --dark-brown: #7d5c42;
    --dark-beige: #b29a75;
    --dark-sage: #7a9066;
    
    /* Neutral Colors */
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Base Typography - Conservative Sizing */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Conservative Header Sizing */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green);
}

h1, .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-green);
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

h4, h5 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
    padding-top: 80px;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}

.btn-outline-primary {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-primary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Card Styling */
.card {
    border: none;
    box-shadow: 0 2px 10px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px var(--shadow);
}

/* Section Backgrounds */
.bg-light {
    background-color: var(--bg-light);
}

/* Text Colors */
.text-success {
    color: var(--primary-green);
}

.text-primary {
    color: var(--primary-blue);
}

.text-info {
    color: var(--primary-sage);
}

.text-warning {
    color: var(--primary-beige);
}

.text-danger {
    color: var(--primary-brown);
}

/* Contact Info Styling */
.contact-info {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.contact-info i {
    display: block;
    margin: 0 auto;
}

/* Footer Styling */
footer {
    background-color: var(--text-dark);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-green);
}

/* Form Styling */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(127, 176, 105, 0.25);
}

/* Icon Styling */
.fa-3x {
    font-size: 2.5rem;
}

.fa-2x {
    font-size: 1.75rem;
}

/* Breadcrumb Styling */
.breadcrumb-section {
    padding-top: 80px;
}

.breadcrumb-icon {
    height: 30px;
    width: auto;
}

/* Gallery Styling */
.gallery img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

/* Process Steps */
.rounded-circle {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content-center;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: var(--primary-blue);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .contact-info {
        margin-top: 2rem;
        text-align: center;
    }
}

/* Animation Utilities for Sal.js */
[data-sal] {
    transition-duration: 0.5s;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 10px var(--shadow);
}

.text-muted {
    color: var(--text-muted);
}

/* Custom spacing */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Navbar adjustments for better mobile experience */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Team section styling */
.team-member img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

/* Pricing plan highlight */
.border-primary {
    border: 3px solid var(--primary-green);
}

/* Service items grid alignment */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* FAQ section styling */
.faq-card {
    background-color: var(--white);
    border-left: 4px solid var(--primary-green);
}

/* Blog grid styling */
#blog_grid .card {
    height: 100%;
}

/* Lightbox customization */
.lb-data .lb-caption {
    font-size: 1rem;
    color: var(--white);
}

/* Custom decorative elements */
.hero-decoration {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: var(--light-sage);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
}

/* Progress indicators */
.progress-indicator {
    width: 4px;
    height: 100%;
    background-color: var(--primary-green);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Timeline styling */
.timeline-card {
    position: relative;
    padding-left: 2rem;
}

.timeline-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 12px;
    height: 12px;
    background-color: var(--primary-green);
    border-radius: 50%;
}

/* Space page specific styling */
#space {
    background: linear-gradient(45deg, var(--light-green), var(--light-blue));
    position: relative;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
.btn:focus,
.form-control:focus,
.navbar-toggler:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .navbar,
    .breadcrumb-section,
    footer {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
} 

.hero-section h1 {
    padding-top: 225px;
}



.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);
}

.instagram-link {
    background: linear-gradient(135deg, #e4405f, #f77737, #fcaf45);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #d62976, #e4405f, #f77737);
}

.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;
    }
}



/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
