/* Commodity Cards Styling */
.commodities-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Adjust columns for different screen sizes */
    gap: 25px;  /* Space between cards */
    margin-top: 40px;
}

.commodity-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.commodity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .commodities-cards {
        grid-template-columns: repeat(2, 1fr); /* Adjusts to two columns for medium screens */
    }
}

@media (max-width: 576px) {
    .commodities-cards {
        grid-template-columns: 1fr;  /* Stacks cards in a single column for small screens */
    }
}/* What We Do Page Styles */

/* Hero Banner */
.what-we-do-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: var(--light-text);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
}

.overview-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.overview-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.overview-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Service Sections */
.service-section {
    padding: 80px 0;
}

.service-section:nth-child(odd) {
    background-color: var(--light-bg);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-content.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-content.reverse .service-text {
    direction: ltr;
}

.service-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.service-content:hover .service-image img {
    transform: scale(1.05);
}

.service-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.service-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-text p {
    margin-bottom: 0;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.process-step h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-step p {
    line-height: 1.7;
}

/* Case Studies */
.case-studies {
    padding: 80px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-study {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.case-study:hover {
    transform: translateY(-10px);
}

.case-study-image {
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-study:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 30px;
}

.case-study-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.case-study-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.case-study-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.case-study-location, .case-study-year {
    font-size: 14px;
    color: #666;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.client-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.client-item:hover {
    transform: translateY(-5px);
}

.client-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 60px;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-company {
    font-size: 14px;
    color: #666;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
}

.faq-question .icon {
    font-size: 20px;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 15px;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-content.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .what-we-do-hero {
        height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .service-text h2 {
        font-size: 28px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .what-we-do-hero {
        min-height: 350px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* Commodity Cards Styling */
.commodities-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.commodity-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.commodity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.commodity-icon {
    padding: 30px;
    text-align: center;
    background-color: var(--primary-color);
    color: #fff;
}

.commodity-icon i {
    font-size: 48px;
}

.commodity-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.commodity-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.commodity-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .commodities-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .commodities-cards {
        grid-template-columns: 1fr;
    }
}