/* EcoTrail Rental - Main CSS */

/* CSS Custom Properties for Color Palette */
:root {
    /* Primary Colors */
    --primary-green: #254823;
    --primary-forest: #132610;
    --primary-sage: #91b690;
    --primary-earth: #9a775e;
    --primary-sky: #8fd9e5;
    
    /* Light Shades */
    --light-green: #57815d;
    --light-forest: #3e693c;
    --light-sage: #88bc87;
    --light-earth: #907163;
    --light-sky: #9ce1f8;
    
    /* Dark Shades */
    --dark-green: #112410;
    --dark-forest: #22401d;
    --dark-sage: #689f6a;
    --dark-earth: #625138;
    --dark-sky: #4f8fc3;
    
    /* Additional Colors */
    --accent-orange: #ffa231;
    --accent-yellow: #ffe819;
    --text-dark: #334b60;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #39404a;
    --border-color: #d9dfe4;
    
    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--primary-sage));
    --gradient-secondary: linear-gradient(135deg, var(--primary-earth), var(--accent-orange));
    --gradient-hero: linear-gradient(135deg, var(--primary-forest), var(--primary-sky));
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.24rem;
}

h2 {
    font-size: 1.81rem;
}

h3 {
    font-size: 1.59rem;
}

h4 {
    font-size: 1.32rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(11px);
    box-shadow: 0 4px 17px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 17px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.49rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--dark-green);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    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: var(--gradient-hero);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../DIG_images/hero-bg.webp') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.59rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding-top: 2713px;
}

.hero-section p {
    font-size: 1.16rem;
    margin-bottom: 1.68rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

/* Feature Cards */
.feature-card {
    background: var(--text-light);
    border-radius: 11px;
    padding: 2rem;
    box-shadow: 0 7px 114px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-13px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    background: var(--text-light);
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 10px 210px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h5 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-card .price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-top: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.25rem 0;
    color: var(--text-dark);
}

.service-card li:before {
    content: "✓";
    color: var(--primary-green);
    margin-right: 0.5rem;
}

/* Feature Items */
.feature-item {
    padding: 2rem;
    border-radius: 10px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--text-light);
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: var(--text-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border-color: var(--primary-green);
    position: relative;
}

.pricing-card.popular::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.86rem;
    font-weight: 600;
}

.pricing-card .price-tag {
    font-size: 1.56rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.pricing-card li:before {
    content: "✓";
    color: var(--primary-green);
    margin-right: 0.5rem;
}

/* Team Members */
.team-member {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--primary-green);
}

.team-member h5 {
    color: var(--primary-green);
    margin-top: 1rem;
}

/* Review Cards */
.review-card {
    background: var(--text-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    border-left: 4px solid var(--primary-green);
}

.review-card h6 {
    color: var(--primary-green);
    margin-top: 1rem;
    font-style: italic;
}

/* Case Study Cards */
.case-study-card {
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.case-study-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study-card .case-content {
    padding: 1.5rem;
}

.case-study-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Process Steps */
.process-step {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.56rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.process-step h5 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Timeline Items */
.timeline-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-item .timeline-year {
    background: var(--primary-green);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-item h5 {
    color: var(--primary-green);
    margin-bottom: 0.63rem;
}

/* Career Positions */
.career-position {
    background: var(--text-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--primary-green);
}

.career-position:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.career-position h4 {
    color: var(--primary-green);
    margin-bottom: 0.71rem;
}

/* Core Info Cards */
.info-card {
    background: var(--text-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.info-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--text-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(39, 73, 36, 0.25);
}

.contact-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
}

/* Blog Cards */
.blog-card {
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .blog-content {
    padding: 1.5rem;
}

.blog-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.blog-card .read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-card .read-more:hover {
    color: var(--dark-green);
}



/* Gallery */
.gallery img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

footer h5 {
    color: var(--primary-sage);
    margin-bottom: 1rem;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-sage);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 0.68rem;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Additional Page Styles */
.equipment-category,
.sustainability-feature,
.tech-spec,
.training-program,
.support-service,
.planning-phase,
.execution-strategy,
.quality-measure,
.risk-category,
.monitoring-system {
    background: var(--text-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--primary-green);
}

.equipment-category:hover,
.sustainability-feature:hover,
.tech-spec:hover,
.training-program:hover,
.support-service:hover,
.planning-phase:hover,
.execution-strategy:hover,
.quality-measure:hover,
.risk-category:hover,
.monitoring-system:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.equipment-category h4,
.sustainability-feature h4,
.tech-spec h4,
.training-program h4,
.support-service h4,
.planning-phase h4,
.execution-strategy h4,
.quality-measure h4,
.risk-category h4,
.monitoring-system h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-green);
}

.bg-primary {
    background: var(--primary-green);
}

.bg-gradient {
    background: var(--gradient-primary);
}

.shadow-sm {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.rounded-lg {
    border-radius: 10px;
}

.border-primary {
    border-color: var(--primary-green);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.64rem;
    padding-top: 275px;
}
    
    .feature-card,
    .service-card,
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb,
    footer {
        display: none;
    }
    
    .hero-section {
        page-break-inside: avoid;
    }
    
    .feature-card,
    .service-card,
    .pricing-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}

/* Focus visible for accessibility */
.focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Loading states */
.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img:not(.loaded) {
    opacity: 0.7;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
