@import url("./Fonts/WEB/css/pilcrow-rounded.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PilcrowRounded-Regular", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  text-decoration: none;
  list-style: none;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #111827;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2563eb, #1e40af);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #f1f1f1;
}

/* CSS Variables for consistent theming */
:root {
  --primary-color: #8b5cf6;
  --primary-dark: #7c3aed;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-light: #9ca3af;
  --bg-primary: #1f2937;
  --bg-secondary: #111827;
  --bg-dark: #0f172a;
  --bg-card: #232831;
  --bg-card-hover: #25292e;
  --border-color: #4b5563;
  --border-hover: #6b7280;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-purple: linear-gradient(
    135deg,
    #8b5cf6 0%,
    #7c3aed 50%,
    #6d28d9 100%
  );
}

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

.flex-col {
  display: flex;
  flex-direction: column;
}

.contain {
  object-fit: contain !important;
  object-position: center !important;
}

.imgset {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Header Styles */

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  /* background-color: #000; */
  /* backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); */
  background: linear-gradient(
    90deg,
    rgba(9, 17, 48, 1) 0%,
    rgba(60, 65, 90, 1) 69%,
    rgba(80, 84, 107, 1) 88%
  );
  background-color: rgb(9, 17, 48);
  color: #fff;
}

.header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: 50px;
    height: 50px; */
}
.header .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.header .logo h2 {
  font-size: 1.4rem;
}

.header .nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header .nav-menu li a {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

/* 
.header .nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.header .nav-menu li a:hover::after {
  width: 100%;
} */


.header .button {
  padding: 12px 24px;
  border-radius: 25px;
  border: 2px solid var(--primary-color, #8b5cf6);
  font-size: 1rem;
  background: transparent;
  color: var(--text-primary, #ffffff);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.header .button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.header .button:hover::before {
  left: 0;
}

.header .button:hover {
  color: white;
  border-color: var(--primary-color, #8b5cf6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}
.header .bars {
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  color: #fff;
  transition: color 0.3s ease;
}

.header .bars:hover {
  color: #fff;
}



.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(9, 17, 48, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px);
}

.mobile-nav.active {
  left: 0;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-header .logo h2 {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mobile-nav-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 40px 30px;
}

.mobile-nav-links a {
  color: white;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  max-width: 300px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mobile-nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.mobile-nav-bottom {
  padding: 30px;
  display: flex;
  color: black;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-bottom .button {
  padding: 15px 40px;
  border-radius: 25px;
  border: 2px solid #ffffff;
  font-size: 1.1rem;
  background-color: #ffffff;
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-nav-bottom .button:hover {
  background-color: #fbbf24;
  border-color: #fbbf24;
  color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}



/* Main Content */
main {
  background: #111827;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-purple);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services Section */
.services-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.service-card {
  background: var(--bg-card);
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.service-card p {
  flex: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-purple);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-purple);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: white;
  font-size: 2rem;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.service-features {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(139, 92, 246, 0.15);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Projects Section */
.projects-section {
  padding: 60px 0;
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 20px;
}

.project-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  /* min-height: 300px; */
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 10px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.project-card p {
  flex: 1;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.project-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.project-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
}


.project-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  position: relative;
}

.project-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.project-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  /* margin-bottom: 24px; */
  font-size: 0.9rem;
}


/* Ongoing Projects Section */
.ongoing-projects-section {
  padding: 60px 0;
  background: var(--bg-secondary);
}

.ongoing-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 20px;
}

.ongoing-project-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  /* min-height: 600px; */
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.ongoing-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.ongoing-project-card p {
  flex: 1;
}

.ongoing-project-image {
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.ongoing-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ongoing-project-card:hover .ongoing-project-image img {
  transform: scale(1.05);
}

.ongoing-project-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.ongoing-project-card .project-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  position: relative;
}

.ongoing-project-card .project-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.ongoing-project-card .project-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  /* margin-bottom: 24px; */
  font-size: 0.7rem;
}

.ongoing-project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-purple);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.ongoing-project-card:hover::before {
  transform: scaleX(1);
}

.ongoing-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}


.ongoing-project-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.ongoing-project-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Highlights Section */
.highlights-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 10px;
}

.highlight-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  /* min-height: 300px; */
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.highlight-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 20px 20px 0 0;
}

.highlight-card:hover .highlight-image img {
  transform: scale(1.1);
}

.highlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.highlight-card:hover .highlight-overlay {
  opacity: 1;
}

.highlight-content {
  text-align: center;
  color: white;
  padding: 24px;
}

.highlight-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.highlight-content p {
  margin-bottom: 16px;
  opacity: 0.9;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* =================== Footer Styles Start =================== */
.footer {
  background: linear-gradient(
    90deg,
    rgba(9, 17, 48, 1) 0%,
    rgba(60, 65, 90, 1) 69%,
    rgba(80, 84, 107, 1) 88%
  );
  background-color: rgb(9, 17, 48);
  color: #fff;
  padding: 50px 0 0 0;
  font-family: "Bai Jamjuree", sans-serif;
  margin-top: 0px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  gap: 40px;
}
.footer-about {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 350px;
  min-width: 350px;
  margin-bottom: 30px;
}

.footer-logo h2 {
  font-size: 1.4rem;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  background: #fff;
}
.footer-description {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 200px;
  min-width: 200px;
  margin-bottom: 30px;
}
.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
}
.footer-links ul {
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-links ul li a:hover {
  color: #2196f3;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 250px;
  min-width: 250px;
  margin-bottom: 30px;
}
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
}
.footer-contact ul {
  padding: 0;
  margin-bottom: 15px;
}
.footer-contact ul li {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 8px;
}
.footer-contact ul li span {
  color: #fff;
  font-weight: 600;
  margin-right: 6px;
}
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.footer-social a {
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #222;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.footer-social a:hover {
  background: #2196f3;
  color: #fff;
}
.social-icon {
  font-family: "FontAwesome", "Arial", sans-serif;
  font-style: normal;
  font-weight: normal;
  speak: never;
  display: inline-block;
  text-decoration: inherit;
  text-align: center;
}
.footer-bottom {
  background: #191919;
  text-align: center;
  padding: 18px 0;
  margin-top: 30px;
  font-size: 1rem;
  color: #aaa;
  letter-spacing: 0.5px;
}

/* Floating Action Buttons */
.floating-button {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* color: #fff; */
  background-color: white;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.floating-button:hover {
  transform: scale(1.1);
  /* color: #fff; */
}

.whatsapp-button {
  background-color: #25d366;
  bottom: 20px;
  color: white;
  right: 20px;
}

.call-button {
  /* background-color: #007bff; */
  bottom: 20px;
  left: 20px;
}

.ph {
  z-index: 2000;
  color: black;
}
/* Mobile Navigation */

/* Mobile Navigation Styles */


/* Responsive Design */
@media (max-width: 1024px) {


  .header {
    padding: 16px 32px;
  }

  .header .nav-menu li a {
    font-size: 0.9rem;
  }

  .header .button {
    padding: 10px 30px;
    font-size: 1rem;
  }

  .container {
    padding: 0 20px;
  }

  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 32px;
  }

  .stat-item {
    padding: 16px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .services-grid,
  .highlights-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }

  .projects-grid,
  .ongoing-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .service-card,
  .project-card,
  .ongoing-project-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }

  .header .nav-menu {
    display: none;
  }

  .header .bars {
    display: block;
  }

  .services-section{
    margin-top: 70px;
  }

  .services-section,
  .projects-section,
  .ongoing-projects-section,
  .highlights-section {
    padding: 50px 0;
  }

  .services-grid,
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .projects-grid,
  .ongoing-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card,
  .project-card,
  .ongoing-project-card {
    padding: 24px;
    min-height: auto;
  }

  .project-card,
  .ongoing-project-card {
    padding: 8px;
    min-height: auto;
  }

  .service-icon,
  .project-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .project-image,
  .ongoing-project-image{
    height: 200px;
  }

  .project-content h3,
  .ongoing-project-card .project-content h3 {
    font-size: 1.3rem;
  }
  
  .project-content p,
  .ongoing-project-card .project-content p {
    font-size: 0.7rem;
  }

  .service-card h3{
    font-size: 1.2rem;
  }

  .service-card p{
    font-size: 0.7rem;
  }

  .feature-tag{
    font-size: 0.7rem;
  }

  .highlights-grid{
    grid-template-columns: repeat(250px, 1fr);
  }

  .highlight-image{
    height: 200px;
  }

  .footer .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 570px) {

  .header .logo h2 {
    font-size: 1rem;
  }

  .header .button {
    padding: 8px 20px;
    font-size: 1rem;
  }

  .services-section{
    margin-top: 100px;
  }


  .services-grid,
  .highlights-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }


  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid,
  .ongoing-projects-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .highlights-grid{
    grid-template-columns: repeat(180px, 1fr);
  }

  .highlight-image{
    height: 230px;
  }

}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .services-section,
  .projects-section,
  .ongoing-projects-section,
  .highlights-section {
    padding: 40px 0;
  }

  .service-card,
  .project-card,
  .ongoing-project-card {
    padding: 20px;
    min-height: auto;
  }

  .service-icon,
  .project-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .project-content h3,
  .ongoing-project-card .project-content h3 {
    font-size: 1.2rem;
  }
  
  .project-content p,
  .ongoing-project-card .project-content p {
    font-size: 0.7rem;
  }
  
  .service-card h3{
    font-size: 1.2rem;
  }

  .service-card p{
    font-size: 0.7rem;
  }
  
  .feature-tag{
    font-size: 0.7rem;
  }

  .project-card,
  .ongoing-project-card{
    padding: 3px;
  }

  .highlights-grid{
    grid-template-columns: repeat(1, 1fr);
  }

  .highlight-image{
    height: 180px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.hover-scale {
  transition: transform 0.3s ease;
}

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

/* Focus States for Accessibility */
/* button:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
} */

/* Print Styles */
@media print {
  .header,
  .mobile-nav,
  .scroll-indicator {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }

  .service-card,
  .project-card,
  .ongoing-project-card {
    break-inside: avoid;
  }
}
