/* ===============================
   Global Styles — Diana Impex Pvt. Ltd.
   =============================== */

:root {
  --primary: #0078d7;
  --primary-dark: #005fa3;
  --bg: rgba(253, 254, 255, 0.8);
  --text: #222;
  --muted: #555;
  --shadow: 0 2px 6px rgba(0,0,0,0.15);
  --radius: 10px;
}

/* ===============================
   Background Image
   =============================== */

body {
  background: url("pic/back4.jpg") 
              no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
  min-height: 100vh;
  backdrop-filter: blur(0.5px);
}

/* Optional translucent overlay to improve readability */
body::before {
  content: "";
  position: fixed;
  inset: 0;
 
  z-index: -1;
}

/* ===============================
   Global Reset
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, sans-serif;
}

/* ===============================
   Layout
   =============================== */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.disclaimer {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 12px 16px;
  margin: 20px auto;
  border-radius: 6px;
  width: 95%;
  max-width: 900px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ===============================
   Header & Navigation
   =============================== */
header {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .brand img {
  width: 80px;
  height: 60px;
  object-fit: contain;
}

header h1 {
  font-size: 22px;
  color: var(--primary-dark);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--primary-dark);
  font-weight: 500;
  transition: 0.2s ease;
}

nav a:hover {
  background: var(--primary);
  color: #fff;
}

nav a.active {
  background: var(--primary);
  color: #fff;
}
/* =========================
   FOOTER SECTION
   ========================= */
.footer-section {
    background: #0e4a75;
    color: #fff;
    padding: 50px 0 10px;
    margin-top: 40px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    width: 22%;
    min-width: 220px;
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.footer-col ul li {
    list-style: none;
    margin: 6px 0;
}

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

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    width: 130px;
    margin-bottom: 10px;
}

.footer-social a {
    color: white;
    font-size: 22px;
    margin-right: 12px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #d4e8ff;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}
/* ===============================
   Hero Section
   =============================== */
.hero {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: stretch;
}

.hero .lead {
  flex: 1;
  min-width: 300px;
  background: var(--bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 24px;
}

.hero .lead h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.hero .lead p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero .cta {
  display: flex;
  gap: 10px;
}

.hero aside {
  width: 300px;
  background: var(--bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 240px;
}

/* ===============================
   Buttons
   =============================== */
.btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background: var(--primary-dark);
}

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

.btn.ghost:hover {
  background: var(--primary);
  color: #fff;
}


/* ===============================
   Cards & Sections
   =============================== */
.card {
  background: var(--bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

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

/* ===============================
   Clients Page
   =============================== */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
}

.client-logos img {
  width: 180px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: 0.2s;
}

.client-logos img:hover {
  filter: none;
}

/* ===============================
   Modal
   =============================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal.active {
  display: flex;
}

.modal .panel {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  width: 90%;
}

/* ===============================
   Contact Form
   =============================== */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  background: rgba(255,255,255,0.9);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}


/* ===============================
   Full-width Slideshow with Animation
   =============================== */
.hero-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.slide {
  display: none;
  position: relative;
  animation: fade 1s ease;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transform: scale(1);
  animation: zoomEffect 10s ease-in-out forwards;
}

/* Slow Zoom-in animation */
@keyframes zoomEffect {
  0% {
    transform: scale(1);
    transform-origin: center center;
  }
  100% {
    transform: scale(1.1);
    transform-origin: center center;
  }
}

.caption {
  position: absolute;
  bottom: 30px;
  left: 50px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 500;
  animation: fadeCaption 2s ease;
}

@keyframes fadeCaption {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 14px;
  color: white;
  font-weight: bold;
  font-size: 26px;
  transition: 0.3s;
  user-select: none;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transform: translateY(-50%);
}

.next { right: 20px; }
.prev { left: 20px; }

.prev:hover, .next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.dots {
  text-align: center;
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.dot {
  height: 14px;
  width: 14px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.6);
  border-radius: 50%;
  display: inline-block;
  transition: 0.3s;
}

.active-dot, .dot:hover {
  background-color: #fff;
}

/* Fade Animation */
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* ===============================
   Sliding Text Banner
   =============================== */
.text-slider {
  position: relative;
  width: 100%;
  background: linear-gradient(to right, rgba(0,120,215,0.9), rgba(0,95,163,0.9));
  color: #fff;
  text-align: center;
  overflow: hidden;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-slide {
  position: absolute;
  opacity: 0;
  width: 100%;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.text-slide.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   Dropdown Navigation
   =============================== */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  position: relative;
}

nav ul li {
  position: relative;
}

nav ul li a {
  padding: 10px 6px;
  display: block;
}

/* Dropdown base */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 999;
  padding: 10px 0;
}

.dropdown-menu li a {
  padding: 10px 15px;
  color: #333;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #f3f3f3;
  color: #0078d7;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Arrow styling */
.dropdown > a::after {
  content: "";
}
/* PRODUCT GRID LAYOUT A */
.products-section {
  padding: 40px 5%;
  text-align: center;
}

.products-section h2 {
  font-size: 32px;
  margin-bottom: 25px;
}

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

.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  text-align: left;
  text-decoration: none;
  color: black;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.20);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.product-card p {
  font-size: 14px;
  color: #666;
}
/* PRODUCT PAGE (LAYOUT 2) */
.product-wrapper {
  display: flex;
  gap: 40px;
  padding: 50px 5%;
}

.product-left {
  flex: 1;
}

.product-right {
  flex: 1;
  padding-right: 20px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.spec-table td {
  padding: 10px;
  border: 1px solid #ddd;
}

.quote-btn {
  background: #0073e6;
  color: #fff;
  padding: 12px 22px;
  display: inline-block;
  margin-top: 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.quote-btn:hover {
  background: #005bb5;
}

/* SLIDESHOW FIXED */
.prod-slideshow {
  position: relative;
  width: 100%;
  height: 330px;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  margin-bottom: 20px;
  z-index: 1;
}

.prod-slideshow img,
.prod-slideshow video {
  position: absolute;
  width: 100%;
  height: 330px;
  object-fit: cover;
  opacity: 0;
  transition: 0.7s;
  pointer-events: auto !important;
}

.prod-slideshow video {
  z-index: 10 !important;
}

.prod-slideshow .active {
  opacity: 1;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  padding: 8px 12px;
  font-size: 22px;
  cursor: pointer;
  border-radius: 6px;
  z-index: 20;
  pointer-events: auto;
}

.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }

.text-box {
    background: rgba(255, 255, 255, 0.85); /* White transparent box */
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
    color: #000; /* Make text black for readability */
}.product-container {
    display: flex;
    gap: 30px;
}
.slideshow-container {
    width: 100%;
    height: 450px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.text-box {
    flex: 1;
}
/* ------- MEDIA GALLERY ------- */

.gallery-container {
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

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

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-item img:hover {
  transform: scale(1.08);
}
/* White background box for media gallery page */
.gallery-wrapper {
  background: #ffffff;
  padding: 40px 10px;
  margin: 30px auto;
  max-width: 1300px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

/* Center header text */
.page-header {
  text-align: center;
  margin-bottom: 10px;
}

/* Gallery layout */
.gallery-container {
  max-width: 1200px;
  margin: auto;
}

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

.gallery-item img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-item img:hover {
  transform: scale(1.07);
}

