.hero {
    position: relative;
    width: 100%;
    height: 63vh; /* full screen */
    overflow: hidden;
    z-index: 1;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* makes it stretch nicely */
}

/* Arrows */
.arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
}

.arrows, .dots {
    z-index: 2;
}

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

.dots span {
    height: 14px;
    width: 14px;
    margin: 0 5px;
    display: inline-block;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.dots span.active {
    opacity: 1;
    background: orange;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px; /* Offset to prevent fixed navbar from covering section content */
}

body {
    padding-top: 80px; /* Offset for fixed header */
    background-size: cover;
    background-position: center;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

a:hover {
    color: gray;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    width: 100%;
    height: 80px;
    /* max-width: 1200px; */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(0, 0, 0); /* Solid black at start */
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.7); /* Increased transparency when scrolled */
    backdrop-filter: blur(12px); /* Modern glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .logo {
    height: 80px;
    width: auto;
    padding-left: 2rem;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .action_btn {
    margin-right: 1rem;
}

.navbar .toggle_btn {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    padding-right: 1rem;
}

.navbar-social {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 2rem;
}

.navbar-social a {
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.navbar-social a:hover {
  color: #00bcd4;
}

.navbar a,
.navbar-nav a,
.navbar-nav .nav-link {
  display: inline-block;
}

/* Specific styling for actual navigation links */
.navbar .links a {
  position: relative;
  color: #fff;
  transition: color 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.4rem 0;
}

.navbar .links a:hover,
.navbar .links a.active {
  color: rgb(253, 175, 29) !important; /* Premium brand gold */
}

/* Premium sliding underline effect */
.navbar .links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: rgb(253, 175, 29);
  transition: width 0.3s ease;
}

.navbar .links a:hover::after,
.navbar .links a.active::after {
  width: 100%;
}

/* Dropdown menu item transitions and active highlighting */
.dropdown_menu li a {
  transition: color 0.3s ease;
}

.dropdown_menu li a:hover,
.dropdown_menu li a.active {
  color: rgb(253, 175, 29) !important;
  font-weight: bold;
}

/* Hide social icons on small screens */
@media (max-width: 991px) {
  .navbar-social {
    display: none;
  }
}

.action_btn {
    background-color: rgb(253, 175, 29);
    color: #000;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.action_btn:hover {
    transform: scale(1.06);
    background-color: rgb(230, 155, 10);
    color: #000;
}

.action_btn:active {
    transform: scale(0.95);
}

/* DROPDOWN */
.dropdown_menu {
    display: none;
    position: absolute;
    right: 0.5rem;
    top: 80px; /* Aligned with fixed 80px navbar */
    width: 300px;

    z-index: 1010;

    background-color: rgba(0, 0, 0, 0.85); /* Slightly darker for better readability */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
    display: block;
    height: 240px;
}


.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ABOUT SECTION */
.about {
    padding: 4rem 2rem;
    background: #f9f9f9;
    color: #333;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 30px;
}

.about-statement {
  font-size: 2.8rem;
  font-weight: 700;
  color: #000000; /* elegant gold */
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-align: left; /* match your heading alignment */
}

.about-text h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #bfa145; /* elegant gold tone */
    position: relative;
    margin-bottom: 1.5rem;
}

.about-text h2::before,
.about-text h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #bfa145, #e2c675);
    border-radius: 2px;
}

.about-text h2::before {
    left: calc(50% - 200px);
}

.about-text h2::after {
    left: calc(50% + 160px);
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-text .brand {
    color: rgb(253, 175, 29);
    font-weight: bold;
}

.about-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.8rem;
    background: #000; /* black background */
    color: #fff; /* white text */
    border: 2px solid #000; /* black border */
    border-radius: 4px; /* slight roundness */
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-btn:hover {
    background: #fff; /* white background */
    color: #000; /* black text */
    border: 2px solid #000; /* keep border visible */
    transform: translateY(-2px); /* subtle lift effect */
}

/* Image styling */
.about-img img {
    width: 60%; /* smaller size */
    max-width: 400px; /* optional: limit the largest size */
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto; /* centers the image horizontally */
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-img {
        order: -1;
    }
}

/* PRODUCTS SECTION */
.products {
  padding: 4rem 2rem;
  text-align: center;
  background: #f4f4f4;
}

.products h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: #111;
}

.products h2 b {
  font-weight: 800; /* makes "Discover" extra bold */
}

.products h2 .color-product {
  color: rgb(253, 175, 29);
  font-weight: 400; /* makes "Our Products" normal weight */
}


.product-slider {
  position: relative;
  width: 80%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  /* border: 2px solid rgb(124, 124, 124);   Rectangle frame */
  border-radius: 6px;
  padding: 1rem;
  background: transparent;
}

.color-product {
  color: rgb(253, 175, 29);
}

.product-container {
  overflow: hidden;
  width: 100%;
}

.product-track {
  display: flex;
  transition: transform 0.5s ease;
}

.product-card {
  flex: 0 0 25%; /* 4 per view */
  padding: 0.5rem;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.product-card img:hover {
  transform: scale(1.05);
}

/* Arrows */
.arrow {
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  padding: 0 1rem;
  color: #333;
  transition: color 0.3s;
}

.arrow:hover {
  color: orange;
}

/* Dots */
.prod-dots {
  margin-top: 1rem;
  text-align: center;
}

.prod-dots span {
  height: 14px;
  width: 14px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: 0.3s;
}

.prod-dots span.active {
  background: orange;
}

/* Responsive */
@media (max-width: 992px) {
  .product-card { flex: 0 0 33.33%; }
}
@media (max-width: 768px) {
  .product-card { flex: 0 0 50%; }
}
@media (max-width: 480px) {
  .product-card { flex: 0 0 100%; }
}


/* RESPONSIVE */
@media (max-width: 992px) {
    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    /* .dropdown_menu {
        display: block;
    } */
}

@media (max-width: 576px) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
}



/* -----GALLERY----- */
.gallery {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #111;
}

.gallery-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.gallery-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  text-align: left;
}

.gallery-item.reverse {
  grid-template-columns: 1fr 1fr;
}
.gallery-item.reverse .gallery-text {
  order: 2;
}
.gallery-item.reverse .gallery-img {
  order: 1;
}

.gallery-text h3 {
  font-size: 2.9rem;
  margin-bottom: 1rem;
  color: orange;
  font-weight: 550;       /* makes text thinner (100–900, lower = thinner) */
  letter-spacing: 2px;    /* adds space between each letter */
}

.gallery-text p {
  line-height: 1.6;
  color: #444;
}

.gallery-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .gallery-item.reverse .gallery-text,
  .gallery-item.reverse .gallery-img {
    order: unset;
  }
}

.gallery-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.3rem;
    font-size: 0.78rem;
    background: #000; /* black background */
    color: #fff; /* white text */
    border: 2px solid #000; /* black border */
    border-radius: 4px; /* slightly rounded */
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-btn:hover {
    background: #fff; /* white background */
    color: #000; /* black text */
    border: 2px solid #000; /* black border */
    transform: translateY(-2px); /* small hover lift */
}



/* BLOG */
.blog-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background: url("../images/home/slide3.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

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

.blog-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center; /* ✅ ensures vertical centering */
  padding: 2rem;
}

/* ✅ Center image vertically and horizontally */
.blog-left {
  display: flex;
  justify-content: center;
  align-items: center; /* perfect vertical centering */
}

.blog-left img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  object-fit: contain; /* prevents cropping */
  transition: all 0.3s ease;
}

/* TEXT AREA */
.blog-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 450px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.blog-right h3 {
  font-size: 1.2rem;
  color: #b8860b; /* brown-gold */
  margin-bottom: 0.5rem;
}

.blog-right h2 {
  font-size: 2.2rem;
  color: #d4af37; /* gold */
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-right p {
  line-height: 1.6;
  margin-bottom: 1.8rem;
  color: #f5f5f5;
}

/* ✅ Elegant Button */
.blog-btn {
  display: inline-block;
  padding: 1rem 2.5rem; /* more top-bottom padding, bigger overall */
  background: #b8860b; /* rich gold-brown */
  color: #fff;
  border: none;
  border-radius: 4px; /* subtle corners for elegance */
  font-weight: 500; /* less bold */
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-btn:hover {
  color: #000; /* only text changes to black */
  background: #b8860b; /* same background */
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .blog-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .blog-left img {
    width: 90%;
  }

  .blog-right h2 {
    font-size: 1.8rem;
  }

  .blog-btn {
    padding: 0.9rem 2.2rem;
    font-size: 0.95rem;
  }
}

/* ✅ Below 600px: hide image and center text */
@media (max-width: 800px) {
  .blog-container {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .blog-left {
    display: none;
  }

  .blog-right {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .blog-right h2 {
    font-size: 1.6rem;
  }

  .blog-right p {
    font-size: 0.9rem;
  }

  .blog-btn {
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
  }
}




/* SPECIFICATIONS */
.specification {
  padding: 60px 5%;
  text-align: center;
  background: #f9f9f9;
}

.specification h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  color: #111;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.spec-item img {
  width: 100%;
  height: auto;
  /* border-radius: 10px; */
  object-fit: cover;
  cursor: default; /* not clickable */
  transition: transform 0.3s;
}


@media (max-width: 768px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
}


/* LABORATORY */
.laboratory {
  padding: 4rem 2rem;
  text-align: center;
  background: #fff;
}

.laboratory h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111;
}

.lab-desc {
  margin-bottom: 2rem;
  color: #d4af37;          /* gold color */
  font-weight: 700;        /* makes it bold */
  letter-spacing: 0.5px;   /* slight spacing for a premium look */
  font-size: 1.1rem;       /* slightly larger, optional */
}

.lab-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.lab-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.lab-item img:hover {
  transform: scale(1.05);
}

/* Modal background */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* dark overlay */
  display: flex;               /* flex container */
  justify-content: center;     /* center horizontally */
  align-items: center;         /* center vertically */
  overflow: hidden;            /* prevents scrolling */
}

/* The modal image */
.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transform-origin: center center; /* ensures zoom happens from center */
}

/* Close button */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: gold;
}


.lab-item p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #333;
}

.lab-footer {
  margin-top: 2rem;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Modal */
.img-modal {
  display: none; /* Managed as flex/none via JavaScript */
  position: fixed;
  z-index: 2000; /* Higher than our 1000 z-index fixed header */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95); /* Deep rich dark backdrop overlay */
  
  /* Flexbox alignment for perfect centering in middle of screen */
  justify-content: center;
  align-items: center;
}

.img-modal .close {
  position: absolute;
  top: 25px;
  right: 40px;
  color: white;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 2010;
}

.img-modal .close:hover {
  color: rgb(253, 175, 29); /* Theme gold on hover */
  transform: scale(1.15);
}

.modal-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  max-height: 85vh; /* Fitting viewport size beautifully */
}

.modal-content {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px; /* Smooth elegant borders */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6); /* Soft dropping drop shadow */
  transition: transform 0.3s ease;
  cursor: zoom-in; /* zoom cursor indication */
  transform-origin: center center; /* center anchor zoom */
}

/* --- Shipping and Export Section --- */
.shipping {
  text-align: center;
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.shipping h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #222;
  letter-spacing: 0.5px;
}

.shipping-text {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.shipping-image img {
  width: 70%;
  max-width: 800px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.shipping-partner {
  padding: 80px 20px;
  background: #f8f9fa;
  text-align: center;
}

.shipping-partner h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.shipping-partner .subtitle {
  color: #666;
  margin-bottom: 40px;
}

/* Horizontal scroll area */
.partners-scroll {
  overflow-x: visible; /* allow logos to grow outside container */
  width: 80%;
  margin: 0 auto;
}

/* Track with all logos */
.partners-track {
  display: flex;
  gap: 40px;
  padding: 10px;
  justify-content: center;
}

.partner img {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease;
  transform-origin: center; /* enlarge from center */
}

.partner img:hover {
  transform: scale(1.5); /* enlarged size */
  z-index: 10; /* pop above others */
  position: relative; 
}



/* --- Shape Section --- */
.shape-section {
  padding: 60px 5%;
  background-color: #fff;
  color: #333;
}

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

.shape-header h2 {
  font-size: 2.5rem;
  letter-spacing: 1px;
  color: #222;
}

.shape-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.shape-row.reverse {
  flex-direction: row-reverse;
}

.shape-text {
  flex: 1;
  min-width: 300px;
  text-align: center;              /* center horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;         /* center vertically */
}

.shape-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.shape-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 600px;
  text-align: center;
}

.shape-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shape-img img {
  /* width: 100%; */
  max-width: 400px;        /* limits how wide the image can get */
  max-height: 400px;           /* fixed height for consistent sizing */
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease;
  object-fit: contain;
}

.shape-img.small img {
  width: 100%;
  max-width: 350px;  /* fits nicely inside its container */
  height: auto;
  object-fit: contain;
}

/* .shape-img img:hover {
  transform: scale(1.05);
} */

.quote-btn {
  background-color: #333;
  color: #fff;
  border: 2px solid transparent;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.quote-btn:hover {
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

.quote-btn.center {
  display: block;
  margin: 0 auto;
}

hr {
  border: none;
  border-top: 2px solid #eee;
  margin: 30px 0;
}

.blog-section {
  background: url("../images/shape/firebg.jpg") center/cover no-repeat;
  color: #fff;
  padding: 60px 5%;
  display: flex;
  justify-content: center;
}

.blog-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

/* Left info text */
.blog-info {
  flex: 1 1 33.3%;
  text-align: left;
}

.blog-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.blog-info p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 90%;
}

/* Blog cards */
.blog-row {
  flex: 2 1 66.6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-card {
  background-color: rgba(255, 255, 255, 0.171);
  border-radius: 10px;
  padding: 20px;
  backdrop-filter: blur(9px);
  display: flex;
  flex-direction: column;
  height: 420px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.blog-card:hover {
  background-color: rgba(255, 255, 255, 0.027);
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.blog-card p {
  font-size: 0.95rem;
  color: #eee;
  flex-grow: 1;
}

.read-more {
  font-weight: 600;
  color: orange;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
}

.read-more:hover {
  color: #ffd27f;
}

/* Responsiveness */
@media (max-width: 900px) {
  .blog-card img {
    height: 150px;
  }
  .blog-card h3 {
    font-size: 1rem;
  }
  .blog-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 750px) {
  .blog-info {
    display: none; /* Hide text if too small */
  }
  .blog-container {
    justify-content: center;
  }
  .blog-row {
    flex: 1 1 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 550px) {
  .blog-row {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

/* --- Contact Section --- */
.contact-section {
  background-color: #000; /* black background */
  padding: 30px 5%;
  border-top: 2px solid #222; /* subtle dark separator */
  color: #fff; /* make text white by default */
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* stay in one line until smaller screens */
  gap: 20px;
}

/* Left: Logo */
.contact-left {
  flex: 1 1 33.3%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  margin: 0;
}

.contact-logo {
  max-width: 300px;
  height: auto;
  transition: transform 0.3s ease;
}

/* Middle: Copyright */
.contact-center {
  flex: 1 1 33.3%;
  text-align: center;
  font-size: 0.95rem;
  padding: 0 40px;
  color: #fff; /* ensure white */
}

/* Right: Socials */
.contact-right {
  flex: 1 1 25%;
  text-align: right;
  color: #fff;
}

.contact-right p {
  margin-bottom: 10px;
  font-weight: 500;
  color: #fff; /* white text */
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 40px);
  gap: 10px;
  justify-content: end;
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.social-circle:hover {
  background: orange;
  color: #fff;
  transform: scale(1.1);
}


/* Specific social colors */
.social-circle.whatsapp {
  background-color: #25D366; /* WhatsApp green */
  color: #fff;
}

.social-circle.email {
  background-color: #D44638; /* Gmail red */
  color: #fff;
}

.social-circle.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
}

.social-circle.linkedin {
  background-color: #0077B5; /* LinkedIn blue */
  color: #fff;
}

.social-circle.facebook {
  background-color: #1877F2; /* Facebook blue */
  color: #fff;
}

.social-circle.tiktok {
  background-color: #010101; /* TikTok black */
  color: #fff;
}

/* Keep hover consistent */
.social-circle:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}


/* Responsive behavior */
@media (max-width: 900px) {
  .contact-container {
    flex-wrap: wrap;
  }
}

@media (max-width: 650px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-left,
  .contact-center,
  .contact-right {
    flex: 1 1 100%;
    justify-content: center;
    margin: 10px 0;
  }

  .social-grid {
    justify-content: center;
  }
}

/* CAROUSEL */
.carousel {
  margin: 10px auto;
  width: 66%;
  display: flex;
  overflow: hidden;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  animation: spin 19s infinite linear;
  padding-right: 1em;

}

.carousel:hover .group {
  animation-play-state: paused;
}

.carousel-card {
  flex: 0 0 8em;
  height: 8em;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-card:hover {
  transform: scale(1.2);
  z-index: 2;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* keeps image aspect ratio */
}

@keyframes spin {
  from {translate: 0;}
  to {translate: -100%;}
}

.contact-center {
  text-align: center;
  padding: 1.5rem 0;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  color: #fff;
}

.contact-center p {
  margin: 0.3rem 0;
  letter-spacing: 0.3px;
}

.contact-center span {
  font-weight: 700;
  text-decoration: underline;
  color: #fff;
  transition: color 0.3s ease;
}

.contact-center span:hover {
  color: goldenrod; /* subtle hover accent */
}

/* ==========================================================================
   STANDALONE BLOG DETAILS PAGE STYLES
   ========================================================================== */

.blog-post-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.blog-post-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.blog-post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 2rem;
}

.blog-post-hero-content .category {
  color: rgb(253, 175, 29);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: inline-block;
}

.blog-post-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.blog-post-meta {
  font-size: 0.95rem;
  color: #ccc;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.blog-post-meta span i {
  color: rgb(253, 175, 29);
  margin-right: 5px;
}

/* Article Layout */
.blog-post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.blog-post-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.blog-post-body h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: #111;
}

.blog-post-body p {
  margin-bottom: 1.5rem;
}

.blog-post-body blockquote {
  border-left: 4px solid rgb(253, 175, 29);
  padding: 1.2rem 2rem;
  margin: 2.5rem 0;
  background-color: #fcfcfc;
  font-style: italic;
  font-size: 1.25rem;
  color: #444;
  border-radius: 0 8px 8px 0;
  box-shadow: inset 2px 0 0 rgba(0, 0, 0, 0.05);
}

.blog-post-body img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2.5rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-to-blog-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.back-to-blog-btn:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* Responsiveness for standalone blog detail */
@media (max-width: 768px) {
  .blog-post-hero-content h1 {
    font-size: 2.2rem;
  }
  .blog-post-meta {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

/* ==========================================================================
   SCROLL REVEAL
   Uses IntersectionObserver — zero layout cost, GPU-composited transitions only
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay variants for child groups */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.28s; }
.reveal-delay-4 { transition-delay: 0.38s; }
