/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #07161f;
    --secondary: rgb(251, 210, 75);
    --accent: #2ecc71;
    --light: #f9f9f9;
    --dark: #333;
    --gray: #777;
}

body {
    background-color: #f5f5f5;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    color: var(--primary);
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #6fc768;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: absolute;
    width: 100%;
    top: 40px;
    z-index: 1000;
}

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

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

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

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

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a.active {
    color: var(--secondary);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../media/Export-Import.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 110px;
}

.hero-about{
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../media/About-us.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 110px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.hero-about h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

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

.product-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
}



/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    height: 400px;
    background: url('../media/container.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-text li {
    margin-bottom: 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.contact-info h3 {
    color: white;
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-detail i {
    margin-right: 15px;
    font-size: 20px;
    color: var(--secondary);
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

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

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-about h3::after,
.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

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

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

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

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

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

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

/* Mobile: hide text, show only logo */
@media (max-width: 768px) {
    .logo h1 {
        display: none;
    }
}



@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center !important;
        gap: 8px;
    }
    .footer-bottom p {
        text-align: center !important;
        width: 100%;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-menu {
        display: block;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }
}



/* =========================
TOP CONTACT BAR
========================= */
.top-bar {
    background-color: #0b1d2a;
    color: #ffffff;
    font-size: 14px;
    width: 100%;
    position: relative;
    z-index: 9999;
}

.top-bar-container {
    max-width: 1200px;
    margin: auto;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left span {
    margin-right: 20px;
}

.top-left i {
    margin-right: 6px;
    color: rgb(251, 210, 75);
}

.top-left a {
    color: #ffffff;
    text-decoration: none;
}

.top-right a {
    color: #ffffff;
    margin-left: 15px;
    font-size: 15px;
}

.top-right a:hover,
.top-left a:hover {
    color: #e67e22;
}

/* Mobile View */
@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        text-align: center;
    }

    .top-left span {
        display: block;
        margin: 4px 0;
    }

    .top-right {
        margin-top: 6px;
    }
}






@media (max-width: 768px) {

    /* Stack top bar */
    .top-bar-container {
        flex-direction: column;
        text-align: center;
    }

    .top-left span {
        display: block;
        margin: 4px 0;
    }

    /* Header becomes fixed on mobile */
    header {
        position: absolute;  /* 🔥 mobile only */
        top: 100px;        /* taller top bar */
    }
}







/* Certificate Section */


.certification-section {
    padding: 80px 0;
    background: #fff;
}

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

/* Heading */
.certification-heading {
    text-align: center;
    margin-bottom: 50px;
}

.certification-heading h4 {
    color: rgb(251, 210, 75);
    font-weight: 600;
    margin-bottom: 10px;
}

.certification-heading h2 {
    font-size: 36px;
    font-weight: 700;
}

/* Slider */
.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

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

/* Logo item */
.logo-item {
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.logo-item img {
    max-width: 120px;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

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

/* Responsive */
@media (max-width: 768px) {
    .logo-item {
        min-width: 150px;
    }

    .logo-item img {
        max-width: 90px;
    }
}






/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: #fff;
}

.choose-us-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.choose-card {
    width: 300px;
    height: 220px;
    background: linear-gradient(to bottom, #ffffff 60%, #cfd9ff);
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.choose-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.choose-icon.blue {
    color: #07161f;
}

.choose-icon.orange {
    color: rgb(251, 210, 75);
}

.choose-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .choose-card {
        width: 100%;
    }
}






/* RNX Products Section */
.rnx-products-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.rnx-section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

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

.rnx-product-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.rnx-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.rnx-product-card h3 {
    text-align: center;
    margin: 15px 0;
    color: #e67e22;
}

.rnx-product-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.rnx-product-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.rnx-product-table td:first-child {
    font-weight: 600;
    color: #333;
}

.rnx-product-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    padding: 10px;
    background-color: #e67e22;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.rnx-product-btn:hover {
    background-color: #cf711c;
}




/* Full width Google Map */
.map-section {
    width: 100%;
    margin-top: 20px;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

















