/* Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

body {
    background: #E9E9E9;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 50px;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

header .logo { font-size: 1.4rem; font-weight: bold; color: white; }
nav a { margin-left: 25px; text-decoration: none; color: white; font-weight: 500; }

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 50px;
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero h1 { font-size: 3rem; margin-bottom: 20px; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.2rem; margin-bottom: 25px; max-width: 600px; line-height: 1.7; }

/* Buttons */
.btn-primary {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    background: linear-gradient(to left, #00c6ff, #0072ff);
    transform: scale(1.06);
    box-shadow: 0 5px 20px rgba(0,114,255,0.3);
}

/* Sections */
.section { padding: 100px 50px; max-width: 1200px; margin: 0 auto; position: relative; overflow: hidden; }
.container { position: relative; }

/* Section titles */
.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}
.section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    margin: 12px auto 0;
    border-radius: 3px;
}

/* Cards */
.card {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(6px);
    width: 100%;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.card img.card-img {
    width: 100%;
    object-fit: cover;
    height: 420px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.card-content { padding: 24px; }
.card h2, .card h3 {
    font-weight: 600;
    line-height: 1.4;
    color: #111;
}
.card p {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

/* Card Grid */
.card-grid, .three-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* RFQ */
#rfq .rfq-card { max-width: 650px; margin: 0 auto; text-align: center; padding: 40px; }
.rfq-form { display: flex; flex-direction: column; gap: 15px; }
.rfq-form input, .rfq-form textarea {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
}
.rfq-form textarea { min-height: 120px; resize: vertical; }

footer {
    text-align: center;
    padding: 25px;
    background: #111;
    color: #aaa;
    margin-top: 50px;
}

footer .social-icons {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer .social-icons a img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease, filter 0.3s ease;
    
}

footer .social-icons a:hover img {
    transform: scale(1.2);
    filter: brightness(0.8) invert(1);
}


/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Image / Card stagger */
.card.reveal:nth-child(2) { transition-delay: 0.15s; }
.card.reveal:nth-child(3) { transition-delay: 0.3s; }

@media (max-width: 768px) {
    .hero { align-items: center; text-align: center; padding: 0 20px; }
    .section { padding: 70px 25px; }
    .card img.card-img { height: 240px; }
}

.location-card {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 30px;
    align-items: center;
    justify-content: space-between;
}

.location-content {
    display: flex;
    width: 100%;
    gap: 30px;
}

.location-map {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.location-text {
    flex: 1;
}

.location-text h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.location-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Location Section - Responsive */
.location-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.location-text,
.location-map {
    flex: 1;
    min-width: 280px;
}

/* On smaller screens, stack vertically */
@media (max-width: 768px) {
    .location-card {
        flex-direction: column;
        text-align: center;
    }
    .location-text {
        margin-bottom: 20px;
    }
    .map-container button {
        left: 50%;
        transform: translateX(-50%);
    }
}


/* Four-column grid for products */
.four-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
}

.map-container img {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit: cover;
}

.map-container button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    transition: 0.3s;
}
.map-container button:hover {
    background: linear-gradient(to left, #00c6ff, #0072ff);
    transform: translateX(-50%) scale(1.05);
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    nav.nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(0,0,0,0.95);
        width: 220px;
        flex-direction: column;
        display: none;
        padding: 15px 20px;
        border-radius: 8px;
    }
    nav.nav-links a {
        margin: 10px 0;
    }
    nav.nav-links.active {
        display: flex;
    }
    .burger {
        display: flex;
    }
}

/* Burger animation */
.burger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.toggle span:nth-child(2) {
    opacity: 0;
}
.burger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


