@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1C5193;
    --secondary-color: #f8f9fa;
    --accent-color: #e6b980; /* New gold accent color */
    --text-color: #333;
    --light-bg: #f9f9f9;
    --dark-bg: #225595;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: none;
    overflow: hidden;
    padding: 80px 0 40px; /* Reduced from 120px 0 80px */
}

.min-vh-100 {
    min-height: 80vh !important; /* Reduced from default 100vh */
}

/* Hero Section Background for Desktop */
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('img/banner-desktop.png') center center/cover no-repeat;
    z-index: 0;
    filter: brightness(0.95);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #225595;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-img {
    transition: transform 0.6s cubic-bezier(.4,2,.3,1);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.hero-img:hover {
    transform: scale(1.04) rotate(-2deg);
}

@keyframes softFadeIn {
    from { opacity: 0; transform: scale(0.95);}
    to { opacity: 1; transform: scale(1);}
}

/* Responsive Hero Section */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-img { max-width: 80vw; margin-bottom: 2rem;}
}

/* Section Titles */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 1px;
    color: #225595;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.text-lg-start .section-title::after {
    left: 0;
    transform: none;
}

html, body {
    overflow-x: hidden;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        width: 100%;
    }
    /* Remove or comment out this block to show hero image on mobile */
    /* .hero-img {
        display: none;
    } */
}

/* Product Cards */
/* Product Card Improvements */
.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
}

.product-card img {
    transition: all 0.5s ease;
    height: 250px;
    object-fit: cover;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    background: white;
    text-align: center;
}

.product-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Feature Cards */
.feature-card {
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--primary-color);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2);
}

.feature-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #225595;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Contact Section Improvements */
.contact-info i {
    color: #225595;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(34, 85, 149, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-info .d-flex:hover i {
    background-color: #225595;
    color: white;
    transform: scale(1.1);
}

.contact-form .btn-primary {
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background-color: #225595;
    border-color: #225595;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 85, 149, 0.3);
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a4580 0%, #225595 100%);
    color: white;
    padding: 5rem 0 2rem;
}

footer img {
    filter: brightness(0) invert(1);
    margin-bottom: 2rem;
}

footer p {
    opacity: 0.9;
    line-height: 1.8;
}

footer .copyright {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 3rem;
}

footer hr {
    opacity: 0.1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Scroll Reveal Animation */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* Sustainability List Improvements */
.sustainability-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.sustainability-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.sustainability-list li i {
    color: #225595;
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Enhanced WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20c15c;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* Responsive adjustment for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        right: 20px;
        bottom: 20px;
    }
}

/* Corporate Inquiry Button Animation */
.navbar .btn-primary, 
.modal-body .btn-primary {
    background-color: #225595;
    border-color: #225595;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.navbar .btn-primary::after,
.modal-body .btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.navbar .btn-primary:hover,
.modal-body .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 85, 149, 0.3);
    background-color: #1a4580;
    border-color: #1a4580;
}

.navbar .btn-primary:hover::after,
.modal-body .btn-primary:hover::after {
    height: 100%;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
    border: 5px solid white;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: #f8f9fa;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(34, 85, 149, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Make product images clickable */
.product-card img {
    cursor: pointer;
}
