/* ============================================
   EthiTrade - Main CSS File
   Ethical Trade Digital Marketplace
   ============================================ */

/* ============================================
   COLOR PALETTE VARIABLES
   ============================================ */
:root {
    /* Primary Colors - Pastel High-Contrast */
    --primary-green: #4A9D73;      /* Primary green for ethics/sustainability */
    --accent-blue: #5B9BD5;        /* Professional blue for trust */
    --warm-orange: #E8A85B;        /* Warm orange for engagement */
    --soft-purple: #8B72BE;        /* Soft purple for innovation */
    --earth-brown: #A67B5B;        /* Earth brown for grounding */
    
    /* Light Shades */
    --light-green: #E8F5F0;
    --light-blue: #EBF3FA;
    --light-orange: #FDF4E8;
    --light-purple: #F2EFFA;
    --light-brown: #F5F2ED;
    
    /* Dark Shades */
    --dark-green: #2F6B4F;
    --dark-blue: #3B6B9C;
    --dark-orange: #C8883B;
    --dark-purple: #6B529E;
    --dark-brown: #865B3B;
    
    /* Neutral Colors */
    --text-primary: #2c2c2c;
    --text-secondary: #666666;
    --background-light: #fafafa;
    --border-color: #e6e6e6;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    font-size: 16px;
    background-color: var(--background-light);
    overflow-x: hidden;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary-green) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green) !important;
}

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

.hero-decorative-shape {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: var(--warm-orange);
    border-radius: 50% 20% 50% 20%;
    opacity: 0.3;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    padding-top: 200px;
}

.hero-section h2 {
    color: var(--accent-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--background-light) !important;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.feature-card i {
    color: var(--primary-green);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease;
    border: none;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.service-card ul li::before {
    content: "✓";
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ============================================
   FEATURE ITEMS
   ============================================ */
.feature-item {
    margin-bottom: 2rem;
}

.feature-item i {
    color: var(--accent-blue);
}

/* ============================================
   PRICING CARDS
   ============================================ */
.price-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    height: 100%;
}

.price-card.featured {
    border: 3px solid var(--primary-green);
    transform: scale(1.05);
}

.price-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.price-card ul li:last-child {
    border-bottom: none;
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 1.5rem 0;
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto;
}

/* Custom grid for 5 team members */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

/* ============================================
   REVIEW CARDS
   ============================================ */
.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    height: 100%;
    position: relative;
}

.review-card::before {
    content: """;
    font-size: 4rem;
    color: var(--primary-green);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    line-height: 1;
}

.review-card p {
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-secondary);
}

.review-card h5 {
    color: var(--primary-green);
    margin-top: 1rem;
    font-weight: 600;
}

/* ============================================
   CASE STUDY CARDS
   ============================================ */
.case-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease;
    border: none;
}

.case-card:hover {
    transform: translateY(-8px);
}

.case-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.case-card .card-body {
    padding: 1.5rem;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-green);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 150px;
    text-align: center;
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin: 0 2rem;
}

/* ============================================
   CAREER CARDS
   ============================================ */
.career-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.career-card:hover {
    transform: translateY(-5px);
}

.career-card h4 {
    color: var(--primary-green);
}

/* ============================================
   INFO CARDS
   ============================================ */
.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    color: var(--primary-green);
}

.info-card h4 {
    color: var(--accent-blue);
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease;
    border: none;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.blog-card a:hover {
    color: var(--dark-green);
}

/* ============================================
   FAQ CARDS
   ============================================ */
.faq-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    height: 100%;
    transition: transform 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-3px);
}

.faq-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   GALLERY
   ============================================ */
#gallery img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-form .form-control {
    border: 2px solid var(--border-color);
    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, 157, 115, 0.25);
}

.contact-form .btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
}

.contact-info {
    padding: 2rem;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-info .info-item i {
    background: var(--primary-green);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-info .info-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--text-primary) !important;
    color: var(--white);
}

footer h4, footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

footer a {
    color: var(--light-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

footer ul li {
    margin-bottom: 0.5rem;
}

footer hr {
    border-color: var(--dark-green);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
    background: var(--light-green);
    padding: 2rem 0;
    margin-top: 80px;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

/* ============================================
   ADDITIONAL PAGES STYLING
   ============================================ */

/* Overview Items */
.overview-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.overview-item:hover {
    transform: translateY(-5px);
}

.overview-item i {
    color: var(--primary-green);
}

/* Tool Cards */
.tool-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease;
    border: none;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-8px);
}

.tool-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.tool-card .card-body {
    padding: 1.5rem;
}

/* Verification Timeline */
.verification-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
}

.verification-step {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.verification-step .step-icon {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 2rem;
}

.verification-step .step-content {
    flex: 1;
}

/* Integration Cards */
.integration-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.integration-card:hover {
    transform: translateY(-5px);
}

.integration-card i {
    color: var(--accent-blue);
}

/* Support Cards */
.support-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-card i {
    color: var(--warm-orange);
}

/* Framework Items */
.framework-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.framework-item:hover {
    transform: translateY(-5px);
}

.framework-item i {
    color: var(--primary-green);
}

/* Impact Cards */
.impact-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease;
    border: none;
    height: 100%;
}

.impact-card:hover {
    transform: translateY(-8px);
}

.impact-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.impact-card .card-body {
    padding: 1.5rem;
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.certification-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
}

.certification-item i {
    color: var(--primary-green);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Supply Chain Cards */
.supply-chain-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.supply-chain-card:hover {
    transform: translateY(-5px);
}

.supply-chain-card i {
    color: var(--accent-blue);
}

/* Initiative Cards */
.initiative-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.initiative-card:hover {
    transform: translateY(-5px);
}

.initiative-card i {
    color: var(--soft-purple);
}

/* ============================================
   ANIMATION & MOTION REDUCTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-primary-green {
    color: var(--primary-green) !important;
}

.bg-primary-green {
    background-color: var(--primary-green) !important;
}

.border-primary-green {
    border-color: var(--primary-green) !important;
}

.shadow-soft {
    box-shadow: 0 5px 20px var(--shadow) !important;
}

.rounded-15 {
    border-radius: 15px !important;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.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 states for accessibility */
*:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .breadcrumb-section,
    footer {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
}



/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.9);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 1);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

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

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

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