/* ===========================
   Dast Hub Official Styles
   =========================== */

/* Root Variables */
:root {
  --emerald: #2ecc71;
  --dark-blue: #0a2540;
  --ash: #f5f5f5;
  --white: #ffffff;
  --text-dark: #333;
  --text-light: #666;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

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

/* ================= Header ================= */
.site-header {
  background: var(--dark-blue);
  color: var(--white);
  padding: 15px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.main-nav a {
  color: var(--white);
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--emerald);
}

/* ===== Hero Section ===== */
.hero {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #007f5f, #0a2342); /* emerald → dark blue */
  color: #fff;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden; /* Prevent image from spilling outside */
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Text Side */
.hero-text {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.hero-text .lead-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #fff;
}

.hero-text .sub-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #a8f0d1; /* light emerald accent */
}

.hero-text .lead-desc {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-buttons .btn {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  min-width: 150px;
  background: #fff;
  color: #007f5f;
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  background: #007f5f;
  color: #fff;
}

/* Image Side */
.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;  /* now it won’t exceed container */
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ===== Responsive Fixes ===== */
/* Hide / show depending on screen */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
    text-align: center;
    margin: 1rem auto;
    max-width: 80%;
  }

  .desktop-only {
    display: none;
  }
}
 
/* Center buttons on mobile */
@media (max-width: 768px) {
  .hero-buttons {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}
 

/* ================= Buttons ================= */
.btn, .btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px; /* pill shape */
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn {
  background: var(--emerald);
  color: var(--white);
}

.btn:hover {
  background: #27ae60;
}

.btn-outline {
  border: 2px solid var(--emerald);
  color: var(--emerald);
}

.btn-outline:hover {
  background: var(--emerald);
  color: var(--white);
}

/* ================= About ================= */
.about {
  padding: 60px 20px;
  text-align: center;
}

.about h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark-blue);
}

/* ================= Services ================= */
.services {
  background: var(--ash);
  padding: 60px 20px;
  text-align: center;
}

.services h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--dark-blue);
}

.services p {
  margin-bottom: 40px;
  color: var(--text-light);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  align-items: stretch; /* make all same height */
}

.service-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service-card i {
  font-size: 40px;
  color: var(--emerald);
  margin-bottom: 15px;
}

.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-blue);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  flex-grow: 1;
}

.view-all {
  margin-top: 30px;
}

.view-all a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--dark-blue);
  color: var(--white);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.view-all a:hover {
  background: var(--emerald);
}

/* ================= Why Us ================= */
.why {
  background: var(--ash);
  padding: 60px 20px;
}

.why h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--emerald);
}

.why ul {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.why ul li {
  padding: 15px 20px;
  font-size: 1.05rem;
  color: var(--dark-blue);
  font-weight: 500;
  position: relative;
  border-left: 4px solid var(--emerald);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Desktop: 2 items per row */
@media (min-width: 768px) {
  .why ul {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================= Contact Preview ================= */
.contact-preview {
  padding: 60px 20px;
  text-align: center;
  background: var(--ash);
}

.contact-preview h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--dark-blue);
}

/* ================= Footer ================= */
.site-footer {
  background: var(--dark-blue);
  color: var(--white);
  text-align: center;
  padding: 25px 15px;
  font-size: 1.2rem;
  margin-top: 40px;
}

.site-footer p {
  margin: 5px 0;
}

/* ===============================
   FIX: Our Work & Our Brands
   =============================== */

.work-section {
  padding: 80px 20px;
  background: #f8f9fb;
  text-align: center;
}

.work-section .section-header {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.work-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.work-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.work-card h4 {
  font-size: 1.3rem;
  margin: 20px 15px 10px;
  color: var(--dark-blue);
}

.work-card p {
  margin: 0 15px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  flex-grow: 1;
}

.work-card .btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  margin: 20px auto;
  align-self: center;
}

/* Our Brands Section */
.brands {
  padding: 80px 20px;
  background: #fafafa;
  text-align: center;
}

.brands h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--dark-blue);
}

.brand-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.brand-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 15px;
  padding: 30px 25px;
  flex: 1 1 350px;
  max-width: 400px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.brand-card img {
  max-width: 140px;
  margin: 0 auto 20px;
}

.brand-card h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--dark-blue);
}

.brand-card p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: var(--text-light);
}

.brand-card .btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
}




/* Center align Our Work section title + description */
.work-blog .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}





/* =========================
   ABOUT PAGE STYLES
========================= */

.about-page section {
  padding: 80px 20px;
}

.about-page h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #1a2b49; /* dark blue brand color */
  position: relative;
}

.about-page h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0e8a60; /* emerald */
  margin: 15px auto 0;
  border-radius: 3px;
}



/* Split Section (Mission & Vision) */
.mission-vision {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.mission-vision .section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #003366;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.mv-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.mv-card h3 {
  color: #006633;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.mv-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Desktop layout: 2 columns */
@media (min-width: 768px) {
  .mv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Core Values */
.about-page .styled-list {
  display: grid;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.about-page .styled-list li {
  background: #fff;
  padding: 18px 20px;
  border-left: 5px solid #0e8a60;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
  .about-page .styled-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* What Makes Us Different */
.about-page .grid-cards {
  display: grid;
  gap: 25px;
}

@media (min-width: 768px) {
  .about-page .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-page .grid-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-page .card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
  text-align: center;
}

.about-page .card h4 {
  margin-bottom: 10px;
  color: #0e8a60;
}

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

/* Our Story */
.about-page .center-btn {
  text-align: center;
  margin-top: 30px;
}

.about-page .center-btn .btn {
  padding: 12px 30px;
  border-radius: 8px;
  background: #0e8a60;
  color: #fff;
  font-weight: 600;
}

/* Contact Preview */
.about-page .contact-preview {
  background: #f4f6f9; /* ash */
  color: #1a2b49;
  text-align: center;
  padding: 80px 20px;
}

.about-page .contact-preview .btn {
  background: #0e8a60;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
}






/* Services List Section */
.services-list {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.services-list .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #002147;
}

/* Services Grid */
.services-list .grid {
  display: grid;
  grid-template-columns: 1fr; /* default mobile: 1 column */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tablet (≥768px) → 2 cards per row */
@media (min-width: 768px) {
  .services-list .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop (≥1024px) → 3 cards per row */
@media (min-width: 1024px) {
  .services-list .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Service Card */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #002147;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}




/* Contact Section */
.contact-section {
  padding: 70px 20px;
  background: #f9f9f9; /* match About/Home */
  text-align: center;
}

.contact-container {
  background: #002147;
  color: #fff;
  border-radius: 12px;
  max-width: 650px;  /* smaller container */
  margin: 0 auto;
  padding: 40px 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.contact-container h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.contact-container p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.contact-container .btn {
  background: #008060;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
}

.contact-container .btn:hover {
  background: #00a070;
}



/* Services Section Headings */
.services-list .section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #002147; /* Dark Blue (brand color) */
}

.services-list .service-category h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #006400; /* Emerald Green */
  font-weight: 600;
}

.services-list .service-category p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Service Card Typography */
.services-list .service-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #002147;
}

.services-list .service-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.services-list .price {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #006400;
  margin-bottom: 1rem;
}

/* Order Now Button */
.services-list .btn-order {
  display: inline-block;
  background: #006400; /* Emerald Green */
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.services-list .btn-order:hover {
  background: #004d00; /* Darker Green */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}



/* Section Title Styling */
.services-list .service-category {
  margin-top: 3rem; /* space before each title */
}

.services-list .service-category h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem; /* space after the title before the cards */
  text-align: center;
  font-weight: 700;
  color: #006400; /* Emerald Green */
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

/* Underline divider */
.services-list .service-category h3::after {
  content: "";
  display: block;
  width: 80px; /* length of underline */
  height: 3px;
  background-color: #006400; /* Emerald Green underline */
  margin: 0.5rem auto 0; /* center underline */
  border-radius: 2px;
}



/* =========================
   PORTFOLIO PAGE STYLES
   ========================= */
.portfolio-section {
  padding: 80px 0;
  background: #f9fafb;
}

.portfolio-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #0f172a;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

/* Portfolio Item */
.portfolio-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Image */
.portfolio-item img {
  width: 100%;
  height: 220px;          /* control height */
  object-fit: cover;      /* crop to fit */
  border-bottom: 3px solid #00b894; /* accent color */
}

/* Info */
.portfolio-info {
  padding: 20px;
  text-align: left;
}

.portfolio-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f172a;
}

.portfolio-info .category {
  font-size: 0.9rem;
  color: #16a34a;
  font-weight: 500;
  margin-bottom: 8px;
}

.portfolio-info p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Small button */
.portfolio-info .btn-sm {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.portfolio-info .btn-sm:hover {
  background: #16a34a;
}

/* Responsive Grid Layout */
@media (min-width: 600px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}




/* Blog Section */
.blog-section {
  padding: 60px 0;
  background: #f8fafc;
}

.blog-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #0a2239;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* Blog Image */
.blog-card img {
  width: 100%;
  height: 180px; /* Adjusted for mobile & desktop balance */
  object-fit: cover;
  border-bottom: 3px solid #00b894;
}

/* Category Badge */
.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #00b894;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Blog Content */
.blog-content {
  padding: 18px 20px 25px;
}

.blog-content h3 {
  font-size: 1.1rem;
  color: #0a2239;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-content p.blog-excerpt {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-meta {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.blog-content .btn-sm {
  background: #00b894;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.blog-content .btn-sm:hover {
  background: #00956f;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .blog-card img {
    height: 160px;
  }
}


/*contact us*/
section {
  padding: 60px 0;
}
.map-container {
  background: #f9f9f9;
  margin-top: 40px;
}

.btn-primary {
  background: #007b5e;
}
.btn-outline {
  border: 2px solid #007b5e;
  color: #007b5e;
}
.btn-outline:hover {
  background: #007b5e;
  color: #fff;
}	
