/* styles.css for Authentic Venture Distribution Services (AVDS) - Enhanced Mobile Nav */

/* Import Montserrat for headings */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #F5F6F5; /* Light gray background for contrast */
}

/* Header */
header {
    background:  #ffffff;
    color: #003087;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a .logo-img {
    height: 50px;
    width: auto;
}

.logo-img {
    height: 50px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #003087;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

nav ul li a:hover,
nav ul li a[aria-current="page"] {
    color: #2E7D32; /* Green accent for hover/active */
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown {
    display: none;
    position: absolute;
    background: #0047AB;
    top: 100%;
    left: 0;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 100;
}

nav ul li:hover .dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown li {
    padding: 0.75rem 1rem;
}

.dropdown li a {
    color: #FFFFFF;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.dropdown li a:hover {
    background-color: #003087;
}

/* Mobile Menu Toggle - Enhanced with X animation */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #003087;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.menu-toggle::before {
    content: '\f0c9'; /* Font Awesome bars (hamburger) */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.menu-toggle.active::before {
    opacity: 0;
}

.menu-toggle.active::after {
    content: '\f00d'; /* Font Awesome X */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* Banner/Hero Section */
.hero {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #FFFFFF;
    text-align: center;
    padding: 5rem 2rem;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner {
    background: linear-gradient(rgba(0, 48, 135, 0.8), rgba(0, 48, 135, 0.8)), url('images/tanks.png') center/cover no-repeat;
    color: #FFFFFF;
    text-align: center;
    padding: 5rem 2rem;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
}

.banner::after,
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.hero-content {
    background: rgba(0, 51, 102, 0.7);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.banner h1,
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p,
.hero-content .subheading {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.hero-content .cta-button {
    margin-top: 1.5rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #2E7D32;
    color: #FFFFFF;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #1B5E20;
    transform: scale(1.05);
}

/* Side-by-Side Layout */
.side-by-side {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.text-content {
    flex: 1;
}

.side-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.text-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: #003087;
    margin-bottom: 1.5rem;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.text-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.text-content ul li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
}

.text-content ul li:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #2E7D32;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}



/* Timeline (About Page) */
.timeline {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #2E7D32;
    transform: translateX(-50%);
}

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

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 4rem;
    text-align: right;
}

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

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 4rem;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content:before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #FFFFFF;
}

.timeline-item:nth-child(even) .timeline-content:before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #FFFFFF transparent transparent;
}

.timeline-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    color: #003087;
    margin-bottom: 0.5rem;
}

section {
    margin: auto;
    padding: 7vh 3vw;
    max-width: 1300px;
    text-align: center;
    background: #f8f8f8;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Advantages Grid (Index Page) */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    color: #003087;
    margin-bottom: 0.75rem;
}

/* Contact Section */
.contact-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.contact-container {
    display: flex;
    gap: 2.5rem;
}

.contact-info,
.contact-form {
    flex: 1;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.contact-info h2,
.contact-form h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: #003087;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info i {
    color: #2E7D32;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2E7D32;
    box-shadow: 0 0 5px rgba(46, 125, 50, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .cta-button {
    width: 100%;
    text-align: center;
}

/* Map Section */
.map-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.map-section iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #003087 0%, #0047AB 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

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

/* Sustainability-Specific Styling */
.sustainability-commitment,
.sustainability-initiatives,
.sustainability-impact,
.sustainability-goals {
    background: #E8F5E9;
    border-left: 5px solid #2E7D32;
    padding-left: 1rem;
}

/* Responsive Design - Enhanced Mobile Nav */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        align-items: center;
        padding: 1rem 1.5rem;
    }

    .menu-toggle {
        display: block;
        top: 1.5rem;
        right: 1.5rem;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 48, 135, 0.95); /* Semi-transparent navy */
        z-index: 1000;
        transform: translateX(100%); /* Hidden by default */
        transition: transform 0.3s ease-in-out;
    }

    nav.active {
        transform: translateX(0); /* Slide in */
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 2rem;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 1.5rem 0;
    }

    nav ul li a {
        color: #FFFFFF;
        font-size: 1.5rem; /* Larger for touch */
        padding: 0.5rem 1rem;
        display: block;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        background: #003087;
        width: 100%;
        text-align: center;
        display: none;
    }

    .dropdown.active {
        display: block;
    }

    .dropdown li {
        padding: 0.5rem 0;
    }

    .dropdown li a {
        font-size: 1.2rem;
    }

    .side-by-side {
        flex-direction: column;
        gap: 1.5rem;
    }

    .side-image,
    .text-content {
        max-width: 100%;
    }

    .timeline:before {
        left: 25px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        text-align: left;
    }

    .contact-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .banner h1,
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .banner h1,
    .hero h1 {
        font-size: 2rem;
    }

    .text-content h2,
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.75rem 1.25rem;
    }

    nav ul li a {
        font-size: 1.3rem;
    }

    .dropdown li a {
        font-size: 1.1rem;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form Feedback */
.form-feedback {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1.1rem;
}

.form-feedback.success {
    background: #E8F5E9; /* Light green */
    border: 1px solid #2E7D32; /* Green accent */
    color: #2E7D32;
}

.form-feedback.error {
    background: #FFEBEE; /* Light red */
    border: 1px solid #D32F2F; /* Red for errors */
    color: #D32F2F;
}



/* Case Studies Section */
.case-studies {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.case-study-card {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.case-study-icon {
    font-size: 3rem;
    color: #2E7D32;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-icon {
    transform: scale(1.1);
}

.case-study-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    color: #003087;
    margin-bottom: 0.75rem;
}

.case-study-card p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.case-study-card .highlight {
    font-weight: 700;
    color: #2E7D32;
    font-size: 1rem;
}

/* Impact Metrics Section */
.impact-metrics {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.impact-metrics p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.metric-card {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.metric-card i {
    font-size: 2rem;
    color: #2E7D32;
    margin-bottom: 1rem;
}

.metric-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    color: #003087;
    margin-bottom: 0.75rem;
}

.metric-card p {
    font-size: 1.1rem;
}

/* Our Process Section */
.our-process {
    background: #E8F5E9;
    border-left: 5px solid #2E7D32;
    padding-left: 1rem;
}

.our-process .image-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.our-process .side-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Project Timeline Section */
.project-timeline {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.project-timeline p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #2E7D32;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-content {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    color: #003087;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.timeline-content img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.timeline-item.left .timeline-content:before,
.timeline-item.right .timeline-content:before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #2E7D32;
    border-radius: 50%;
}

.timeline-item.left .timeline-content:before {
    right: -30px;
}

.timeline-item.right .timeline-content:before {
    left: -30px;
}

@media (max-width: 768px) {
    .timeline:before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 40px;
    }
    .timeline-item.right {
        left: 0;
    }
    .timeline-item.left .timeline-content:before,
    .timeline-item.right .timeline-content:before {
        left: -10px;
        right: auto;
    }
}

/* Partners Section */
.partners {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.partners h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: #003087;
    margin-bottom: 1rem;
}

.partners p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.partners-carousel {
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin: 0 1.5rem;
    flex-shrink: 0;
}

.partner-list {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #333;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .partner-logo {
        width: 150px;
        height: 150px;
        margin: 0 0.75rem;
    }
}

/* CTA Section */
.cta-section {
    text-align: center;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.cta-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: #003087;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
