/* style.css - Modern UI + Brand Theme */
:root {
    --primary: #003366;
    --secondary: #00509e;
    --accent: #28a745;
    --light: #f4f6f9;
    --dark: #343a40;
    --white: #ffffff;
    --footer-bg: #111111; /* Dark Black for Footer */
    --radius: 8px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1; /* Pushes footer to bottom */
}

/* --- Components --- */
.container { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: 0 4px 6px rgba(0,0,0,0.1); padding: 30px; margin-bottom: 30px; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: 600; cursor: pointer; border: none; transition: 0.3s; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-success { background: var(--accent); color: var(--white); }
.btn-danger { background: #dc3545; color: var(--white); }

/* --- Navbar (Updated for Dark Background) --- */
.navbar {
    background: var(--primary); /* Uses your Navy Blue Brand Color */
    /* OR use 'background: #111;' if you want it Black like the footer */
    
    color: var(--white);
    padding: 15px 0;
    border-bottom: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Fix for Buttons inside the Dark Navbar */
.navbar .btn {
    background: var(--white);   /* White Button */
    color: var(--primary);      /* Blue Text */
    border: 1px solid var(--white);
}

.navbar .btn:hover {
    background: transparent;    /* Transparent on hover */
    color: var(--white);        /* White Text */
}

.logo-img {
    height: 50px;
    width: auto;
    /* Ensure no background filters are messing with the header logo */
    filter: none;
    background: transparent;
}
/* --- ASSEMBLY ANIMATION CSS --- */
.assembly-container-gears {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Adjust height as needed for your space */
  height: 150px;
  /* Optional: remove background-color if you want it transparent */
  background-color: #f4f8fb; 
}

.gear-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
}

.gear {
  position: absolute;
  fill: #3498db; /* Primary Blue */
  opacity: 0.8;
}

.gear-one {
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  animation: rotate-clockwise 4s linear infinite;
  fill: #2980b9; /* Slightly darker blue */
}

.gear-two {
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  animation: rotate-counter 4s linear infinite;
}

@keyframes rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-counter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
/* --------------------------- */

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 600; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #ced4da; border-radius: 5px; box-sizing: border-box; }

/* --- Table --- */
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
th { background: var(--primary); color: var(--white); padding: 15px; text-align: left; }
td { padding: 15px; border-bottom: 1px solid #eee; }
.qr-preview { width: 60px; height: 60px; border: 1px solid #ddd; }

/* --- CONTACT SECTION --- */
.contact-section { max-width: 800px; margin: 50px auto; text-align: center; padding: 20px; }
.contact-heading { font-size: 2rem; margin-bottom: 10px; color: var(--primary); }
.contact-subheading { color: #777; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; }
.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.contact-form textarea { height: 120px; margin-bottom: 15px; resize: vertical; width: 100%; box-sizing: border-box; }
.contact-form button { background: var(--dark); color: white; padding: 12px 30px; border: none; cursor: pointer; letter-spacing: 1px; }
.contact-form button:hover { background: var(--primary); }

/* --- FOOTER (Matches your reference image) --- */
.footer { background-color: var(--footer-bg); color: #888; text-align: center; padding: 50px 20px; margin-top: auto; }
.footer img { height: 40px; margin: 15px 0; filter: brightness(0) invert(1); /* Makes logo white to match dark bg */ opacity: 0.9; }
.footer p { margin: 5px 0; font-size: 0.9em; }
.social-icons { margin-bottom: 10px; }
.social-icons a { color: white; margin: 0 12px; font-size: 1.3rem; text-decoration: none; transition: 0.3s; }
.social-icons a:hover { color: var(--accent); }

/* --- WHATSAPP FLOAT --- */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; z-index: 100; }
.whatsapp-float img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 2px 2px 3px #999; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .form-row { flex-direction: column; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
}