/* 
   AMECO Website Styles
   Main stylesheet for the AMECO website
*/

/* Variables */
:root {
    --primary-color: #1e8a4e;
    --secondary-color: #0a4d2e;
    --accent-color: #f7c35f;
    --dark-color: #333333;
    --light-color: #f9f9f9;
    --text-color: #555555;
    --border-color: #dddddd;
    --border-radius: 4px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: #e5b54d;
    color: var(--dark-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo img {
    height: 50px;
}

.main-menu {
    display: flex;
    align-items: center;
}

.main-menu li {
    margin: 0 15px;
    position: relative;
}

.main-menu li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.main-menu li a:hover,
.main-menu li a.active {
    color: var(--primary-color);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    margin: 0;
}

.dropdown li a {
    padding: 8px 20px;
    font-size: 0.95em;
}

.dropdown li a:hover {
    background-color: var(--light-color);
}

.mobile-menu-toggle {
    display: none;
}

.language-selector select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: white;
    color: var(--dark-color);
    font-size: 0.9em;
    cursor: pointer;
}

/* Sticky Header */
header.sticky {
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background-image: url('../images/hero-bg.html');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 200px 0 150px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Cabinet Presentation Section */
.cabinet-presentation {
    padding: 100px 0 80px;
}

.presentation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.presentation-text h2 {
    margin-bottom: 25px;
}

.presentation-text p {
    margin-bottom: 25px;
}

.presentation-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.presentation-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* Key Figures Section */
.key-figures {
    background-color: var(--light-color);
    padding: 80px 0;
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.figure-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.figure-item:hover {
    transform: translateY(-10px);
}

.figure {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.figure-description {
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* Expertise Section */
.expertise {
    background-color: var(--light-color);
    padding: 80px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.expertise-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.expertise-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.expertise-item:hover img {
    transform: scale(1.05);
}

.expertise-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.expertise-content h3 {
    color: white;
    margin-bottom: 10px;
}

.expertise-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ESG Section */
.esg {
    padding: 80px 0;
}

.esg-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.esg-text p {
    margin-bottom: 30px;
}

.esg-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.esg-value h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.esg-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* Projects Showcase Section */
.projects-showcase {
    background-color: var(--light-color);
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 138, 78, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

/* Mauritania Energy Section */
.mauritania-energy {
    padding: 80px 0;
}

.mauritania-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mauritania-text p {
    margin-bottom: 20px;
}

.mauritania-map img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* News Section */
.news {
    background-color: var(--light-color);
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.news-cta {
    text-align: center;
    margin-top: 50px;
}

/* CTA Section */
.cta {
    background-image: url('../images/cta-bg.html');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
    color: white;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 77, 46, 0.8);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content p {
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-logo {
    margin-bottom: 20px;
    height: 50px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h4, .footer-contact h4, .footer-newsletter h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-newsletter p {
    margin-bottom: 20px;
}

.footer-form {
    display: flex;
}

.footer-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.footer-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.footer-form button:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
}

/* Page Banner */
.page-banner {
    background-image: url('../images/page-banner.html');
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    position: relative;
    color: white;
    text-align: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    color: white;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
}

.breadcrumb li {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb li a {
    color: white;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
}

/* About Page */
.about-intro {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.about-values {
    background-color: var(--light-color);
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 35px;
    color: var(--primary-color);
}

.value-item h3 {
    margin-bottom: 15px;
}

.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 10px;
}

.member-info p {
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Services Page */
.services-intro {
    padding: 80px 0;
}

.service-detail {
    padding: 80px 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail-text h2 {
    margin-bottom: 25px;
}

.service-detail-text p {
    margin-bottom: 20px;
}

.service-detail-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.service-features {
    margin-top: 30px;
}

.service-features h3 {
    margin-bottom: 20px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
}

.features-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.service-cta {
    margin-top: 30px;
}

/* Expertise Page */
.expertise-overview {
    padding: 80px 0;
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.expertise-text p {
    margin-bottom: 20px;
}

.expertise-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.expertise-areas {
    background-color: var(--light-color);
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-10px);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.expertise-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.expertise-card h3 {
    margin-bottom: 15px;
}

.expertise-card p {
    margin-bottom: 20px;
}

.expertise-list {
    margin-bottom: 25px;
}

.expertise-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.expertise-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

.expertise-approach {
    padding: 80px 0;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.approach-text p {
    margin-bottom: 30px;
}

.approach-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.approach-pillar {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
}

.pillar-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.pillar-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.approach-pillar h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.approach-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.case-studies {
    background-color: var(--light-color);
    padding: 80px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-study {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.case-study-image {
    height: 250px;
    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: 25px;
}

.case-study-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.case-study-content p {
    margin-bottom: 20px;
}

.team-expertise {
    padding: 80px 0;
}

/* Expertise Detail Page */
.expertise-detail-section {
    padding: 80px 0;
}

.expertise-detail-intro {
    margin-bottom: 50px;
}

.expertise-detail-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.expertise-content {
    margin-top: 30px;
}

.expertise-content h3 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.expertise-content p, 
.expertise-content ul {
    margin-bottom: 20px;
}

.expertise-content ul {
    padding-left: 20px;
}

.expertise-content ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.expertise-image-full {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.expertise-image-full img {
    width: 100%;
}

.expertise-cta {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
}

.expertise-cta h3 {
    margin-bottom: 20px;
}

.expertise-cta p {
    margin-bottom: 25px;
}

/* Contact Page */
.contact-info {
    padding: 80px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-info-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.contact-info-item h3 {
    margin-bottom: 15px;
}

.contact-info-item p {
    margin-bottom: 0;
}

.contact-form-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.contact-form-container {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-submit {
    grid-column: span 2;
    text-align: center;
    margin-top: 20px;
}

.contact-map {
    margin-top: 80px;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* News & Insights Page */
.news-insights-section {
    padding: 80px 0;
}

.news-insights-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.tab-button {
    padding: 12px 25px;
    background-color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 10px;
}

.tab-button.active,
.tab-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.resource-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.resource-image {
    height: 200px;
    overflow: hidden;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.resource-card:hover .resource-image img {
    transform: scale(1.05);
}

.resource-content {
    padding: 20px;
}

.resource-type {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.resource-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.resource-download {
    display: flex;
    align-items: center;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.resource-download i {
    margin-right: 5px;
}

/* Careers Page */
.careers-intro {
    padding: 80px 0;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.careers-text h2 {
    margin-bottom: 25px;
}

.careers-text p {
    margin-bottom: 20px;
}

.careers-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.careers-values {
    background-color: var(--light-color);
    padding: 80px 0;
}

.careers-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.careers-value-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.careers-value-item:hover {
    transform: translateY(-10px);
}

.careers-value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.careers-value-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.careers-value-item h3 {
    margin-bottom: 15px;
}

.job-listings {
    padding: 80px 0;
}

.job-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.filter-button {
    padding: 10px 20px;
    background-color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 10px;
}

.filter-button.active,
.filter-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.job-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.job-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.job-info h3 {
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.job-meta span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.job-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.job-apply {
    min-width: 150px;
    text-align: right;
}

.no-jobs {
    text-align: center;
    padding: 50px;
    background-color: var(--light-color);
    border-radius: 8px;
}

.careers-cta {
    background-color: var(--light-color);
    padding: 80px 0;
    text-align: center;
}

.careers-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.careers-cta-content h2 {
    margin-bottom: 20px;
}

.careers-cta-content p {
    margin-bottom: 30px;
}

/* Floating Action Button */
.floating-action {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.fab-main {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.fab-main:hover {
    background-color: var(--secondary-color);
}

.fab-main i {
    font-size: 24px;
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.fab-options.active {
    opacity: 1;
    visibility: visible;
}

.fab-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fab-option-button {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.fab-option-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.fab-option-label {
    background-color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Chatbot */
.chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
}

.chatbot-button:hover {
    background-color: var(--secondary-color);
}

.chatbot-button i {
    font-size: 24px;
}

.chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    height: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.chatbot.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    color: white;
    margin-bottom: 0;
    font-size: 1.2rem;
}

.chatbot-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message.bot {
    align-items: flex-start;
}

.message-content {
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
}

.message.user .message-content {
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 5px;
}

.message.bot .message-content {
    background-color: var(--light-color);
    color: var(--dark-color);
    border-bottom-left-radius: 5px;
}

.chatbot-input-container {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.95rem;
}

.chatbot-send {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 10px;
}

/* Email Form in Chatbot */
.email-form {
    background-color: #f0f8f4;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
}

.email-form p {
    margin-bottom: 10px;
    font-weight: 600;
}

.email-form .form-group {
    margin-bottom: 10px;
}

.email-form input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.email-form .btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.email-form .btn-submit:hover {
    background-color: var(--secondary-color);
}

/* Solar Calculator */
.solar-calculator-section {
    padding: 80px 0;
}

.calculator-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.calculator-intro p {
    margin-bottom: 20px;
}

.calculator-notes {
    margin-top: 50px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
}

.calculator-notes h3 {
    margin-bottom: 20px;
}

.calculator-notes h4 {
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.calculator-notes ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.calculator-notes ul li {
    margin-bottom: 10px;
}

/* Related Services */
.related-services {
    background-color: var(--light-color);
    padding: 80px 0;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-50 {
    margin-top: 50px;
}

.mb-50 {
    margin-bottom: 50px;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

/* Fix for expertise page text overlap */
.expertise-overview .expertise-content,
.expertise-approach .approach-content {
    position: relative;
    z-index: 2;
}

.expertise-areas {
    position: relative;
    z-index: 1;
    clear: both;
    overflow: hidden;
}

.expertise-card {
    position: relative;
    z-index: 1;
}

.expertise-text, 
.approach-text {
    position: relative;
    z-index: 2;
}

.expertise-image, 
.approach-image {
    position: relative;
    z-index: 1;
}

/* Fix for expertise areas section text color and width */
.expertise-areas {
    background-color: #f0f0f0;
}

.expertise-areas .expertise-card {
    color: var(--text-color);
    width: 100%;
    box-sizing: border-box;
}

.expertise-areas .expertise-card p,
.expertise-areas .expertise-card li {
    color: var(--text-color);
}

/* Ensure full width on mobile */
@media screen and (max-width: 768px) {
    .expertise-areas .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .expertise-areas .expertise-grid {
        width: 100%;
    }
    
    .expertise-areas .expertise-card {
        width: 100%;
        padding: 25px;
    }
}
