@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil:opsz,wght@10..72,100..900&family=Dancing+Script:wght@400..700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styles */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color) !important;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.logo {
  height: 60px; /* Increased height */
  width: 120px; /* Increased width */
  margin-right: 10px;
  vertical-align: middle;
}

.brand-title {
  color: #000080;
}

.btn-primary-custom {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: #000080;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

h5 {
  color: var(--primary-color);
  font-size: 20px;
}

h1 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-size: 60px;
}

@media (max-width: 767px) {
  .navbar .container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
}

/* Project Hero Section */
.project-hero {
  position: relative;
  height: 100vh;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-top: 76px; /* adjust based on your navbar height */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Breadcrumb Styling */
.breadcrumb {
  display: flex;
  justify-content: center;
  background: transparent;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  font-size: 1.1rem;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .project-hero {
    height: 60vh;
    min-height: 250px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .breadcrumb-item {
    font-size: 1rem;
  }
}
/* Centered heading wrapper */
.heading-wrapper {
  text-align: center;
  margin-bottom: 1.5rem;
}

.heading-wrapper .pill-heading {
  display: inline-flex;
  margin-bottom: 0.8rem;
}

.heading-wrapper h1 {
  font-size: 2rem;
  color: #1a1a1a;
  margin: 0;
}

/* Pill-style heading */
.pill-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e8f0fe;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a73e8;
  margin-bottom: 1rem;
}

.pill-heading::before {
  content: "◆";
  font-size: 0.8rem;
  color: #1a73e8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-title {
  text-align: center;
  font-size: 32px;
  margin-top: 20px;
  color: #ffffff;
  font-weight: 700;
}

.linkblog {
  text-decoration: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-post {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.blog-post:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.blog-category {
  background: #000080;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-content h2 {
  font-size: 1.5rem;
  color: #1a1a2e;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.blog-full-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  color: #555;
  line-height: 1.8;
}

.blog-full-content.expanded {
  max-height: 8000px;
}

.blog-full-content h3 {
  font-size: 1.3rem;
  color: #1a1a2e;
  margin: 1.5rem 0 0.8rem;
}

.blog-full-content p {
  margin-bottom: 1rem;
}

.blog-full-content ul {
  margin: 1rem 0 1rem 2rem;
}

.blog-full-content li {
  margin-bottom: 0.5rem;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: #87ceeb;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.read-more-btn:hover {
  background: #000080;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.read-more-btn .arrow {
  transition: transform 0.3s ease;
}

.read-more-btn.expanded .arrow {
  transform: rotate(180deg);
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #211eff 0%, #764ba2 100%);
}

.author-name {
  font-weight: 600;
  color: #1a1a2e;
}

.read-time {
  color: #666;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-header h1 {
    font-size: 2rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-content {
    padding: 1.5rem;
  }

  .blog-content h2 {
    font-size: 1.3rem;
  }

  .blog-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* Footer Section */
footer {
  background: #000080;
  color: #fff;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: rgb(248, 189, 78);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-column p {
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00d4ff;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.contact-item span {
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #2a2a3e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #00d4ff;
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #2a2a3e;
  text-align: center;
  color: #ccc;
}

/* START WHATSAPP */
/* WhatsApp Widget Styles */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-button {
  background: #25d366;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  position: relative;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button svg {
  width: 24px;
  height: 24px;
  fill: white;
  flex-shrink: 0;
}

.button-text {
  color: white;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.notification-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  background: #ff3333;
  border-radius: 50%;
  border: 2px solid white;
  animation: dotPulse 2s infinite;
}
/* Gallery */
.footer-gallery {
  margin: 0 -0.5rem;
}

.gallery-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Copyright Bar */
.copyright-bar {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  font-size: 0.9rem;
}

.copyright-bar a {
  color: #fff;
  text-decoration: none;
}

@keyframes dotPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 51, 51, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3),
      0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
}

.whatsapp-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: bottom right;
}

.whatsapp-popup.active {
  transform: scale(1);
  opacity: 1;
}

.popup-header {
  background: #25d366;
  color: white;
  padding: 16px 20px;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.popup-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.popup-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.popup-info p {
  font-size: 13px;
  opacity: 0.9;
}

.popup-body {
  padding: 20px;
}

.popup-message {
  background: #f0f0f0;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.popup-actions {
  display: flex;
  gap: 10px;
}

.popup-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.popup-btn.primary {
  background: #25d366;
  color: white;
}

.popup-btn.primary:hover {
  background: #22c55e;
  transform: translateY(-1px);
}

.popup-btn.secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.popup-btn.secondary:hover {
  background: #e5e7eb;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .project-hero {
    height: 60vh;
    min-height: 250px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .breadcrumb-item {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 8rem 2rem 5rem;
  }

  .hero h1 {
    margin-top: 90px;
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .popup-content {
    margin-top: 80px;
    padding: 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
