/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

/* BASE STYLES */
body {
  background-color: #e8f0f7;
  font-family: 'Inter', sans-serif;
}

/* NORMAL STYLES */
.header {
  position: fixed;
  width: 100%;
  z-index: 5;
}

.top-bar {
  background-color: rgb(39, 44, 51);
}

.top-bar__content {
  height: 30px;
  max-width: 1200px;
  padding: 0 30px;
  margin: 0 auto;
  display: flex;
  justify-content: end;
  align-items: center;
  column-gap: 20px;
  font-size: 12px;
  /* color: rgba(255, 255, 255, 0.35); */
  color: #c5c5c5;
}

.icon {
  margin-right: 3px;
  /* color: rgba(255, 255, 255, 0.17); */
  color: #c5c5c5;
}

.bottom-bar {
  background-color: rgb(19, 22, 26);
}

.bottom-bar__content {
  min-height: 60px;
  max-width: 1200px;
  padding: 0 30px;
  margin: 0 auto;  
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  vertical-align: middle;
  display: flex;
  column-gap: 10px;
  align-items: center;
}

.logo__img {
  height: 30px;
}

.logo__text {
  font-size: 20px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.nav {
  transition: all 0.3s ease-in-out;
}

.nav__list {
  display: flex;
  column-gap: 40px;
}

/* .nav__item {
  
} */

.nav__link {
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.2s;
}

.nav__link:hover,
.nav__link:focus {
  color: rgba(255, 255, 255, 1);
}

.btn {
  color: #fff;
  background-color: #0071e3;
  padding: 8px 20px;
  border-radius: 1000px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  background-color:  rgb(28, 128, 228);
}

.hamburger {
  cursor: pointer;
  display: none;
}

.bar {
  height: 2px;
  width: 27px;
  background-color: #fff;
  margin: 5px 0;
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

/* For JS */
.nav--open {
  left: 50% !important;
}

.hamburger--open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger--open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger--open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MEDIA QUERIES */
@media (max-width: 650px) {
  .nav {
    position: fixed;
    top: 90px;
    left: -100%;
    transform: translateX(-50%);
    background-color: rgb(19, 22, 26);
    width: 100%;
    padding: 10px 0 25px;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }

  .nav__link {
    font-size: 14px;
  }

  .btn {
    font-size: 11px;
    padding: 7px 17px;
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 360px) {
  .top-bar__content {
    font-size: 8px;
  }
}

/* DROPDOWN */

.nav__item--dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgb(25, 29, 34);
  min-width: 200px;
  padding: 15px 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  z-index: 100;
}

.dropdown li {
  list-style: none;
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  transition: 0.2s;
}

.dropdown li a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Desktop Hover */
@media (min-width: 651px) {
  .nav__item--dropdown:hover .dropdown {
    display: flex;
  }
}

/* Mobile Dropdown */
@media (max-width: 650px) {
  .nav__item--dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown {
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 10px 0;
  }

  .dropdown li a {
    padding: 8px 0;
  }

  .dropdown.show {
    display: flex;
  }
}

/* Arrow */
.dropdown-arrow {
  display: inline-block;
  margin-left: 6px;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  position: relative;
  top: -2px;
}

/* Rotate arrow when active */
.nav__item--dropdown.active .dropdown-arrow {
  transform: rotate(-135deg);
}





.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Mobile optimization */
@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 15px;
    left: 15px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #0071e3;
  color: #fff;
  padding: 15px;
  text-align: center;
  z-index: 9999;
}
  .cookie-banner button {
    margin: 5px;
    padding: 8px 15px;
    border: 1px solid white;
    cursor: pointer;
  }
  .cookie-banner button:hover {
    background: #fff;
    color: black;
    transition: 0.1s ease;
  }








.portfolio-section {
  padding: 80px 5%;
  background: #f5f5f5;
  font-family: "Inter", sans-serif;
}

.portfolio-container {
  padding-top: 40px;
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;

  /* 🔥 FIX */
  align-items: start;   /* stops sidebar from stretching */
}

/* LEFT MENU */
.portfolio-menu {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;

  height: fit-content; /* 🔥 prevents stretching */
}

.menu-btn {
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  background: #eaeaea;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease;
}

.menu-btn:hover {
  background: #ddd;
  font-weight: 600;
}

.menu-btn.active {
  background: #0071e3;
  color: #fff;
  font-weight: 600;
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  align-content: start; /* always starts from top */
}

.portfolio-item {
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  animation: fadeIn 0.4s ease forwards;
}

.portfolio-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .portfolio-container {
    grid-template-columns: 1fr;
  }

  .portfolio-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .menu-btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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







.blog-section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
}

/* FILTER ROW */
.filter-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-row select,
.filter-row input {
  padding: 10px 16px;
  border-radius: 25px;
  border: 1px solid #e5e5e5;
  font-size: 13px;
  transition: 0.3s;
}

.filter-row select {
  min-width: 200px;
  height: 42px;

  padding: 0 55px 0 16px; /* IMPORTANT: larger right padding */

  border-radius: 30px;
  border: 1px solid #e5e5e5;
  font-size: 14px;
  font-weight: 500;
  background-color: #fff;
  cursor: pointer;

  /* remove native arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* custom arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%23111' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;

  /* KEY FIX ↓ */
  background-position: calc(100% - 22px) center;

  background-size: 14px;
}

.filter-row input {
  flex: 1;
  max-width: 360px;   /* smaller search */
}

.filter-row select:focus,
.filter-row input:focus {
  outline: none;
  border-color: #111;
}

/* SEARCH RESULTS BOX */
.search-results {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 60px;
  max-height: 480px;
  overflow-y: auto;
}

.search-header {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #444;
}

#searchGrid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.search-card {
  display: flex;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eaeaea;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s;
}

.search-card:last-child {
  border-bottom: none;
}

.search-card.show {
  opacity: 1;
  transform: translateY(0);
}

.search-card img {
  width: 80px;
  height: 65px;
  object-fit: cover;
  border-radius: 8px;
}

.search-card h4 {
  font-size: 14px;
  margin-bottom: 5px;
}

.search-card p {
  font-size: 12px;
  color: #666;
}

/* MAIN GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f1f1f1;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.blog-card.show {
  opacity: 1;
  transform: translateY(0);
}

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

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

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: #111;
}

/* BUTTONS */
.load-more,
.view-more {
  margin-top: 30px;
  padding: 10px 24px;
  border-radius: 25px;
  border: 1px solid #111;
  background: #fff;
  cursor: pointer;
  transition: 0.3s;
  font-size: 13px;
}

.load-more:hover,
.view-more:hover {
  background: #111;
  color: #fff;
}

.load-more-wrapper {
  text-align: center;
}

/* UTIL */
.hidden {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .filter-row {
    flex-direction: column;
  }

  .filter-row input {
    max-width: 100%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .search-card {
    flex-direction: column;
  }

  .search-card img {
    width: 100%;
    height: 140px;
  }
}
.blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}












body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: #111;
}

.blog-wrapper {
  padding: 100px 20px;
}

.blog-container {
  max-width: 1200px;
  padding-top: 60px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

/* MAIN BLOG */
.blog-featured {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 30px;
}

.blog-category {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
  font-weight: 500;
}

.blog-title {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 40px;
}

.blog-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 15px;
}

.blog-content h4 {
  font-size: 16px;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
}

.blog-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

/* POST NAVIGATION */
.post-navigation {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}

.post-navigation a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.post-navigation a:hover {
  opacity: 0.6;
}

/* SIDEBAR */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-post img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.sidebar-post h5 {
  font-size: 14px;
  margin-bottom: 6px;
}

.sidebar-post a {
  font-size: 13px;
  text-decoration: none;
  color: #0071e3;
  font-weight: 500;
}

.sidebar-post a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .blog-container {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    margin-top: 60px;
  }

  .blog-title {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .blog-wrapper {
    padding: 60px 15px;
  }

  .blog-title {
    font-size: 24px;
  }

  .blog-content p {
    font-size: 14px;
  }
}







.testimonial-section{
  padding:60px 6%;
  background:linear-gradient(180deg,#f8fafc,#eef2f7);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

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

/* GRID */

.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px 40px;
}

/* GLASS CARD */

.testimonial-card{
  position:relative;

  padding:32px;

  background:rgba(255,255,255,0.55);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);

  border-radius:14px;

  border:1px solid rgba(255,255,255,0.4);

  box-shadow:
  0 10px 30px rgba(0,0,0,0.05),
  inset 0 1px 0 rgba(255,255,255,0.6);

  transition:all .35s ease;
}

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

/* LEFT COLOR STRIP */

.testimonial-card::before{
  content:"";
  position:absolute;
  left:0;
  top:24px;
  bottom:24px;
  width:4px;
  border-radius:3px;
}

.blue::before{
  background:#3b82f6;
}

.orange::before{
  background:#ff6a3d;
}

/* TEXT */

.testimonial-card p{
  font-size:15.5px;
  line-height:1.75;
  color:#1f2937;
  margin-bottom:22px;
}

/* AUTHOR */

.author h4{
  font-size:15px;
  font-weight:600;
  color:#000;
  margin-bottom:3px;
}

.author span{
  font-size:13px;
  color:#6b7280;
}

/* MOBILE */

@media (max-width:700px){

  .testimonial-grid{
    grid-template-columns:1fr;
  }

  /* .testimonial-section{
    padding:80px 6%; 
  } */

}