/* Global Styles */
:root {
    --primary-color: #007fc3;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #10192c;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --white: #fff;
    --black: #000;
    --border-color: #ddd;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

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

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 1.6rem;
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

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

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

.nav-links > ul {
  list-style: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

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

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

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

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.btn-text:hover::after {
    width: 100%;
}

/* Section Styles */
section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    font-size: 3.6rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 6rem;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1.5rem auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 80rem;
    margin: 0 auto 2rem;
    font-size: 1.8rem;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-weight: 700;
    font-size: 2.4rem;
}

.logo a {
    color: var(--dark-color);
}

.nav-links ul {
    display: flex;
}

.nav-links li {
    margin-left: 3rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.6rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

#menuOpen, #menuClose {
    display: none;
    font-size: 2.4rem;
    cursor: pointer;
}

/* Title Section and Hero */
.title-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 7rem;
}

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

.title-content {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 0 auto;
}

.title-content h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.title-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* Sustainability Section */
.sustainability {
    background-color: var(--light-color)
}

/* Investors Section */
.investors {
  background-color: var(--light-color)
}

/* Products Section */
.products {
    background-color: var(--light-color);
}

.solution {
  background-color: var(--light-color);
}

.competition {
  background-color: var(--light-color);
}

.intellectual-property {
  background-color: var(--light-color);
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
}

.product-box {
    flex: 1 1 30rem;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-box:hover {
    transform: translateY(-10px);
}

.product-box i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.product-box h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

/* Technology Section */
.technology-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-color);
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}

.testimonial {
    flex: 1 1 45rem;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.quote {
    margin-bottom: 2rem;
}

.quote i {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.client h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

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

.cta .btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 6rem 0 0;
    position: relative;
}

.footer-background {
  position: absolute;
  width:100%;
  height:100%;
  top: 0;
  left: 0;
  z-index:47;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
}

.footer-section {
    flex: 1 1 25rem;
    z-index: 56;
}

.footer-section h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 3rem;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 1rem;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

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

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

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section i {
    margin-right: 1rem;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}



/* About Page Styles */
.mission-section {
    background-color: var(--light-color);
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5rem;
}

.mission-text {
    flex: 1 1 50rem;
}

.mission-image {
    flex: 1 1 40rem;
}

.values {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    flex: 1 1 15rem;
    text-align: center;
}

.value-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.team-member {
    flex: 1 1 30rem;
    text-align: center;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.member-image {
    width: 15rem;
    height: 15rem;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 50%;
}

.position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    flex: 1 1 20rem;
    padding: 2rem;
}

.stat-item h3 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
}

/* Scroll Animations */
.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animation.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation effect for multiple elements */
.feature-container .scroll-animation:nth-child(1),
.team-container .scroll-animation:nth-child(1),
.services-grid .scroll-animation:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-container .scroll-animation:nth-child(2),
.team-container .scroll-animation:nth-child(2),
.services-grid .scroll-animation:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-container .scroll-animation:nth-child(3),
.team-container .scroll-animation:nth-child(3),
.services-grid .scroll-animation:nth-child(3) {
    transition-delay: 0.3s;
}

.feature-container .scroll-animation:nth-child(4),
.team-container .scroll-animation:nth-child(4),
.services-grid .scroll-animation:nth-child(4) {
    transition-delay: 0.4s;
}

.feature-container .scroll-animation:nth-child(5),
.team-container .scroll-animation:nth-child(5),
.services-grid .scroll-animation:nth-child(5) {
    transition-delay: 0.5s;
}

.feature-container .scroll-animation:nth-child(6),
.team-container .scroll-animation:nth-child(6),
.services-grid .scroll-animation:nth-child(6) {
    transition-delay: 0.6s;
}

/* Page Transitions */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.page-transition.active {
    transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    html {
        font-size: 55%;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 50%;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 30rem;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 0;
        transition: 0.5s;
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 2.5rem 0;
    }
    
    #menuOpen, #menuClose {
        display: block;
    }
    
    #menuClose {
        position: absolute;
        top: 2rem;
        right: 2rem;
    }
    
    .title-section {
        height: 50vh;
    }
    
    .title-content h1 {
        font-size: 3.6rem;
    }
    
    .title-content p {
        font-size: 1.8rem;
    }
    
    .process-timeline::before {
        left: 2.5rem;
    }
    
    .step-number {
        left: 2.5rem;
    }
    
    .step-content {
        width: 80%;
        margin-left: 8rem !important;
    }

    .news-wrapper {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

    .news-item {
        width: 96% !important;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 5rem 0;
    }
    
    .feature-box {
        flex: 1 1 100%;
    }
    
    .title-content h1 {
        font-size: 3rem;
    }
    
    .title-content p {
        font-size: 1.6rem;
    }
    
    .about-content, 
    .mission-content, 
    .service-content {
        gap: 3rem;
    }
    
    .info-box {
        flex: 1 1 100%;
    }
    
    .contact-wrapper {
        gap: 3rem;
    }
    
    .map-container {
        height: 30rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Sustainability Page Styles */
.side-text-wrapper {
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
}

.side-image {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 200px;
}

.side-text {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 200px;
}

/* News Styles */
.news-wrapper {
    width: 100%; 
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
}

.news-item {
    position: relative;
    width:29%;
    aspect-ratio: 3 / 4;
    margin: 2%;
    background-color: var(--light-color);
    border-radius: 1rem;
}

.news-item > img {
    width: 90%;
    margin:5%;
    height: 60%;
    border-radius: 1rem;
}

.news-item > a {
    font-size: 3rem;
    margin: 5%;
}

.news-item > .date {
    position:absolute;
    font-size: 1.5rem;
    margin:5%;
    color: var(--text-light);
    bottom: 0;
    left: 0;
}

.image-wrapper {
    width:100%;
    height: fit-content;
    margin-bottom: 2em;
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content: center;
}

.image-box-container {
    flex: 50%;
    height:auto;
}

.tall-image-box {
    flex: 25%;
}

.image-box {
    width: 90%;
    height: 90%;
    margin:5%;
    box-shadow: 5px 5px 10px #383838;
    overflow: hidden;
    transition: 0.5s;
}

.image {
    width:100%;
    height: 90%;
    border-bottom: 2px solid #a7a7a7;
}

.image-caption {
    text-align: center;
}

.image-box:hover {
    transform: translate(0,-10px);
}

@media (max-width: 800px) {
    .image-box-container {
      flex: 100%;
    }

    .tall-image-box {
        flex: 50%;
    }
}

@media (max-width: 400px) {

    .tall-image-box {
        flex: 100%;
    }
}

/* Products Styles */

.product-50-box-container {
    width:100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.product-divider {
    flex: 0.4%;
    background-color: var(--primary-color);
}
.product-50-box {
    flex: 49.8%;
    aspect-ratio: 1 / 1;

}

.product-title {
    text-align: center;
}

.product-50-box > p {
    margin:5%;
}

.product-50-box > ul {
    padding-left:10%;
}

@media (max-width: 800px) {
    .product-divider {
        height: 5px;
        flex:100%;
    }

    .product-50-box {
        flex: 100%;
    }
}

