/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --secondary-color: #FF8F00;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #FFFFFF;
    --bg-light: #F5F5F5;
    --bg-dark: #1A3B1A;
    --border-color: #E0E0E0;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== STICKY WHATSAPP BUTTON - ALWAYS VISIBLE ===== */
.whatsapp-float {
    position: fixed !important; /* Force fixed positioning */
    bottom: 30px !important;
    right: 30px !important;
    background-color: #25D366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999999 !important; /* Very high z-index to stay on top */
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.whatsapp-float i {
    font-size: 35px;
    color: white;
    line-height: 1;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

/* Pulse animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float i {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
}

/* Ensure it's visible on all browsers */
.whatsapp-float {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

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

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

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

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

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--text-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

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

a {
    text-decoration: none;
}

.logo-image {
    height: 60px;
    width: auto;
}

.logo h2 {
    margin: 0;
    font-size: 20px;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero-home {
    height: 600px;
    background: url("../images/portviewbg.jpeg") no-repeat center center/cover;
}

.hero-about {
    height: 50vh;
    background: url("../images/portviewbg.jpeg") no-repeat center center/cover;
}

.hero-products {
    height: 50vh;
    background: url("../images/portviewbg.jpeg") no-repeat center center/cover;
}

.hero-contact {
    height: 35vh;
    background: url("../images/portviewbg.jpeg") no-repeat center center/cover;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    color: #FFFFFF !important;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #FFFFFF;
}

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

.btn-secondaryhero {
    background-color: transparent;
    color: white;
    border: 2px solid #FFFFFF;
}

.btn-secondaryhero:hover {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--text-white);
}

/* ===== COMPANY INTRO ===== */
.company-intro {
    padding: 80px 0;
    background: var(--bg-light);
}

.company-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-content h2 {
    color: var(--primary-dark);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--primary-dark);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--text-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* Team Section Fixes */
.product-card .product-info h3 {
    margin-bottom: 5px;
    color: #2E7D32;
    font-size: 1.5rem;
}

.product-card .product-info p {
    margin-bottom: 5px;
    color: #666;
}

.product-card .product-info p:first-of-type {
    color: #FF8F00;
    font-weight: 600;
    font-size: 1.1rem;
}

.product-card .product-info p:last-of-type {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.team-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-buttons {
    display: flex;
    gap: 10px;
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--text-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    padding: 60px 0;
    background: var(--text-white);
}

.badges-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.badge-item {
    text-align: center;
}

.badge-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    color: var(--primary-color);
}

.badge-item h4 {
    font-size: 1rem;
    color: var(--text-dark);
}

/* ===== EXPORT COUNTRIES ===== */
.export-countries {
    padding: 60px 0;
    background: var(--bg-light);
}

.countries-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.country-item {
    text-align: center;
    padding: 20px;
    background: var(--text-white);
    border-radius: 10px;
    min-width: 120px;
}

.country-flag {
    font-size: 2rem;
    margin-bottom: 10px;
}

.country-name {
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== INQUIRY CTA ===== */
.inquiry-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-white);
    text-align: center;
}

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

.inquiry-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.inquiry-cta .btn-primary {
    background: var(--secondary-color);
    color: var(--text-white);
}

.inquiry-cta .btn-primary:hover {
    background: #ff6f00;
}

/* ===== PRODUCT DETAILS PAGE ===== */
.product-detail {
    padding: 100px 0 60px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.product-gallery {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.product-gallery img {
    width: 100%;
    height: auto;
}

.product-info-detail h1 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 12px 10px;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.specs-table td:last-child {
    color: var(--text-light);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 100px 0 60px;
}

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

.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-info h2 {
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
    margin-top: 30px;
}

.contact-details-page li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
}

.contact-form {
    background: var(--text-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    background-color: var(--success-color);
    color: var(--text-white);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.success-message.show {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

.social-links a:hover {
    background: var(--secondary-color);
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--text-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .company-intro .container,
    .product-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-buttons {
        flex-direction: column;
    }
}