:root {
    --primary-color: #2B5A35;
    --secondary-color: #1A4023;
    --accent-color: #0F2815;
    --light-green: #E8F5E9;
    --pale-green: #F5F8F5;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --section-padding: clamp(2rem, 5vh, 4rem);
    --container-padding: clamp(1rem, 5vw, 2rem);
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Global Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed navbar */
}

/* Section Spacing & Animations */
section {
    opacity: 0;
    transform: translateY(20px);
    animation: sectionFadeIn 0.8s ease forwards;
    position: relative;
}

@keyframes sectionFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Navigation */
.navbar {
    background: var(--pale-green);
    box-shadow: 0 2px 15px rgba(43, 90, 53, 0.08);
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(245, 248, 245, 0.95);
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem var(--container-padding);
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    margin-left: 2.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Logo Carousel */
.logo-carousel {
    padding: var(--section-padding) 0;
    margin: 0;
    background: var(--white);
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
    align-items: center;
}

.logo-slide {
    width: 160px;
    padding: 0.5rem;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    height: 100px;
}

.logo-slide img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.6s ease;
    will-change: filter;
    margin: auto;
}

.logo-slide:hover img {
    filter: grayscale(0%);
}

/* Create trail effect for neighboring logos */
.logo-slide:hover + .logo-slide img {
    filter: grayscale(40%);
    transition-delay: 0.15s;
}

.logo-slide:hover + .logo-slide + .logo-slide img {
    filter: grayscale(70%);
    transition-delay: 0.1s;
}

/* Remove pause on hover */
.logo-track:hover {
    animation-play-state: running;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-160px * 7)); }
}

/* Hero Section */
.hero {
    min-height: 90vh;
    padding-top: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('Tankers/istockphoto-918674154-612x612.jpg') center/cover;
    opacity: 0.15;
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
    animation: fadeInLeft 1s ease;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    max-width: 800px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    animation: fadeInLeft 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
    font-weight: 400;
    letter-spacing: 0.01em;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.95);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInLeft 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(0deg, transparent 24%, 
            rgba(43, 90, 53, 0.02) 25%, 
            rgba(43, 90, 53, 0.02) 26%, 
            transparent 27%, transparent 74%, 
            rgba(43, 90, 53, 0.02) 75%, 
            rgba(43, 90, 53, 0.02) 76%, 
            transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, 
            rgba(43, 90, 53, 0.02) 25%, 
            rgba(43, 90, 53, 0.02) 26%, 
            transparent 27%, transparent 74%, 
            rgba(43, 90, 53, 0.02) 75%, 
            rgba(43, 90, 53, 0.02) 76%, 
            transparent 77%, transparent);
    background-size: 50px 50px;
}

.about::after {
    display: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Banner Logo Styling */
.banner-logo {
    margin: 2rem 0;
    padding: 2rem 0;
    background: linear-gradient(to right, transparent, var(--white), var(--white), transparent);
    position: relative;
    overflow: hidden;
}

.banner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.banner-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.banner-logo img {
    max-width: 800px;
    width: 90%;
    height: auto;
    margin: 0 auto;
    display: block;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(1);
}

.banner-logo:hover img {
    transform: translateY(-5px);
    filter: brightness(1.05);
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
    background-image: 
        linear-gradient(0deg, transparent 24%, 
            rgba(43, 90, 53, 0.015) 25%, 
            rgba(43, 90, 53, 0.015) 26%, 
            transparent 27%, transparent 74%, 
            rgba(43, 90, 53, 0.015) 75%, 
            rgba(43, 90, 53, 0.015) 76%, 
            transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, 
            rgba(43, 90, 53, 0.015) 25%, 
            rgba(43, 90, 53, 0.015) 26%, 
            transparent 27%, transparent 74%, 
            rgba(43, 90, 53, 0.015) 75%, 
            rgba(43, 90, 53, 0.015) 76%, 
            transparent 77%, transparent);
    background-size: 50px 50px;
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(43, 90, 53, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(43, 90, 53, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 90, 53, 0.05), transparent);
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(43, 90, 53, 0.15);
    border-color: rgba(43, 90, 53, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    position: relative;
    display: inline-block;
}

.service-card:hover i {
    transform: scale(1.1) translateY(-5px);
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    transform: translateY(-3px);
    color: var(--primary-color);
}

.service-card p {
    color: var(--dark-gray);
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover p {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: all 0.4s ease;
    border-radius: 3px;
}

.service-card:hover::after {
    width: 80%;
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(0deg, transparent 24%, 
            rgba(43, 90, 53, 0.02) 25%, 
            rgba(43, 90, 53, 0.02) 26%, 
            transparent 27%, transparent 74%, 
            rgba(43, 90, 53, 0.02) 75%, 
            rgba(43, 90, 53, 0.02) 76%, 
            transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, 
            rgba(43, 90, 53, 0.02) 25%, 
            rgba(43, 90, 53, 0.02) 26%, 
            transparent 27%, transparent 74%, 
            rgba(43, 90, 53, 0.02) 75%, 
            rgba(43, 90, 53, 0.02) 76%, 
            transparent 77%, transparent);
    background-size: 50px 50px;
}

.contact::before {
    content: '';
    position: absolute;
    right: calc(28% - 300px);
    bottom: -26%;
    width: 1000px;
    height: 1000px;
    background: url('Logos/output-onlinepngtools.png') no-repeat center/contain;
    opacity: 0.08;
    transform: rotate(-5deg);
    pointer-events: none;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

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

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(43, 90, 53, 0.05);
    transition: var(--transition);
}

.info-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.info-item p {
    margin: 0;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
    color: var(--dark-gray);
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 90, 53, 0.1);
}

/* Map Container */
.map-container {
    margin-top: 2rem;
    flex-grow: 1;
    min-height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(43, 90, 53, 0.1);
    position: relative;
    border: 3px solid var(--white);
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: 0 15px 40px rgba(43, 90, 53, 0.15);
    transform: translateY(-5px);
}

#map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Custom Map Marker */
.custom-map-marker {
    color: var(--primary-color);
    font-size: 35px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.custom-map-marker:hover {
    transform: scale(1.1);
}

.custom-map-marker i {
    transform: translateY(-50%);
}

.leaflet-popup-content-wrapper {
    background: var(--white);
    color: var(--dark-gray);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(43, 90, 53, 0.1);
    font-family: 'Arial', sans-serif;
}

.leaflet-popup-content {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

.leaflet-popup-tip {
    background: var(--white);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(43, 90, 53, 0.1);
    align-self: start;
    position: relative;
}

.contact-form::after {
    display: none;
}

.contact-form form {
    display: grid;
    gap: 1rem;
}

.contact-form input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    background: var(--white);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(0);
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: var(--dark-gray);
}

.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    background: var(--white);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(0);
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: var(--dark-gray);
    min-height: 120px;
    max-height: 200px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 90, 53, 0.1);
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 90, 53, 0.2);
}

/* Footer */
footer {
    background: var(--accent-color);
    color: var(--white);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes the logo white in the footer */
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 1rem;
}

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

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1001;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .about-content,
    .services-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        text-align: left;
        padding-top: 100px;
    }
    
    .hero .container {
        align-items: flex-start;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        max-width: 100%;
    }
    
    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-carousel {
        padding: 1rem 0;
    }
    
    .logo-track {
        width: calc(140px * 7);
    }
    
    .logo-slide {
        width: 140px;
        height: 90px;
    }

    .about-content {
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .banner-logo {
        margin: 1.5rem 0;
        padding: 1.5rem 0;
    }

    .map-container {
        min-height: 250px;
        margin: 1rem 0 2rem;
    }

    .contact-form::after {
        height: 150px;
        margin-top: 1.5rem;
    }

    .contact::before {
        width: 600px;
        height: 600px;
        right: calc(50% - 200px);
        bottom: -10%;
    }

    .logo-slide img {
        max-height: 70px;
    }
} 