:root {
    /* Primary Color Palette - Pastel High-Contrast Colors */
    --primary-green: #4a9b8e;
    --primary-blue: #6ba3d0;
    --primary-earth: #8b7355;
    --primary-sky: #87ceeb;
    --primary-forest: #228b22;
    
    /* Light/Dark Shades */
    --light-green: #a8d5cc;
    --light-blue: #b5d3ea;
    --light-earth: #c5b299;
    --light-sky: #c3e7f5;
    --light-forest: #7fb87f;
    
    --dark-green: #2d5e56;
    --dark-blue: #4a7ba8;
    --dark-earth: #5d4e3a;
    --dark-sky: #5ba0c4;
    --dark-forest: #1a6b1a;
    
    /* Typography */
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    
    /* Conservative heading sizes */
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --h4-size: 1.25rem;
    --h5-size: 1.125rem;
    --navbar-brand-size: 1.25rem;
}

/* 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;
    }
}

/* Base Typography - Conservative Sizes */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

h2 {
    font-size: var(--h2-size);
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: var(--h3-size);
    font-weight: 500;
    color: var(--primary-earth);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: var(--h4-size);
    font-weight: 500;
    color: var(--dark-green);
}

h5 {
    font-size: var(--h5-size);
    font-weight: 500;
    color: var(--dark-blue);
}

p {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
    max-width: none;
}

/* Header Styles */
.navbar-brand {
    font-size: var(--navbar-brand-size);
    font-weight: 600;
    color: var(--primary-green);
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    color: var(--dark-green);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-sky) 0%, var(--light-green) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 200px 200px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Section Styling */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 1rem;
}

.service-card ul li {
    padding: 0.25rem 0;
    color: var(--dark-earth);
}

.service-card ul li i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

/* Feature Items */
.feature-item {
    padding: 1.5rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
}

/* Price Cards */
.price-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.featured {
    border: 3px solid var(--primary-green);
    transform: scale(1.05);
}

.price-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 1rem 0;
}

/* Team Members */
.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 4px solid var(--light-green);
}

.team-member h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Review Cards */
.review-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

.review-card .card-body {
    padding: 2rem;
}

.review-card .blockquote-footer {
    font-style: italic;
    color: var(--dark-blue);
}

/* Case Study Cards */
.case-study-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
}

.case-study-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Process Steps */
.process-step {
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
}

/* Gallery */
#gallery img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* FAQ Cards */
.faq-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.faq-card .card-body {
    padding: 1.5rem;
}

.faq-card h5 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(74, 155, 142, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
}

/* Footer */
#footer {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--dark-blue) 100%);
}

#footer h5, #footer h6 {
    color: var(--light-green);
    margin-bottom: 1rem;
}

#footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--light-sky);
}

/* Breadcrumb */
.breadcrumb-nav {
    padding-top: 100px;
}

.breadcrumb-icon {
    width: 30px;
    height: 30px;
}

/* Additional Page Styles */
.tech-card, .platform-feature, .drone-spec, .qa-process, .innovation-area,
.research-card, .climate-study, .agri-research, .urban-study, .collaboration-area {
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.tech-card:hover, .platform-feature:hover, .qa-process:hover, .innovation-area:hover,
.research-card:hover, .climate-study:hover, .urban-study:hover, .collaboration-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tech-card i, .platform-feature i, .qa-process i, .innovation-area i,
.research-card i, .climate-study i, .urban-study i, .collaboration-area i {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.drone-spec.card, .agri-research.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.drone-spec.card:hover, .agri-research.card:hover {
    transform: translateY(-5px);
}

/* Utility Classes */
.text-primary {
    color: var(--primary-green);
}

.bg-primary {
    background-color: var(--primary-green);
}

.border-primary {
    border-color: var(--primary-green);
}

/* Contact Info Icons */
#contacts .fa-2x {
    color: var(--primary-green);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Placeholder Styling */
img[src*="placeholder"], img[src*="webp"] {
    background-color: var(--light-sky);
    border: 2px dashed var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-weight: 500;
}

img[src*="placeholder"]:before {
    content: "Image Placeholder";
} 

.hero-section h1 {
    padding-top: 175px;
}


/* 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;
    }
}
