@import url("./Fonts/WEB/css/pilcrow-rounded.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PilcrowRounded-Regular", 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: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

/* 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 Navigation Styles */
.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 #111827;
  color: #111827;
  font-size: 1.1rem;
  background-color: #ffffff;
  color: #111827;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-nav-bottom .button:hover {
  background-color: #fbbf24;
  color: white;
  border-color: #fbbf24;
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Main Content */
main {
  background: #111827;
  width: 100%;
  position: relative;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Hero Section */
.hero-section {
  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: 160px 0 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tabs Section */
.tabs-section {
  background: #111827;
  color: white;
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
  justify-content: center;
}

.tab-btn:hover {
  background: #e0f2fe;
  border-color: #2196f3;
  color: #0a2540;
  transform: translateY(-2px);
}

.tab-btn.active {
  background-color: none;
  color: black;
  border-color: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tab-btn i {
  font-size: 1.2rem;
}

/* Content Section */
.content-section {
  width: 100%;
  padding: 60px 0;
  background: #111827;
  color: white;
}

.content-section.hidden {
  display: none;
}

.content-wrapper {
  max-width: 100%;
  margin: 0 auto;
}

.section-block {
  background: #111827;
  color: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 50px;
  border: 1px solid #e2e8f0;
}

.section-block h2 {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-block h2 i {
  color: #b1b1b1;
  font-size: 2rem;
}

.last-updated {
  color: #b1b1b1;
  font-size: 0.95rem;
  margin-bottom: 40px;
  font-style: italic;
}

.content-block {
  margin-bottom: 40px;
  padding: 30px;
  background: #fff;
  color: white;
  border-radius: 15px;
  border-left: 4px solid #b1b1b1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-block:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(177, 177, 177, 0.15);
}

.content-block h3 {
  font-size: 1.2rem;
  color: #111827;
  margin-bottom: 20px;
  font-weight: 600;
}

.content-block p {
  color: #111827;
  line-height: 1.7;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.content-block ul {
  margin-left: 20px;
  margin-top: 15px;
}

.content-block ul li {
  color: #111827;
  line-height: 1.6;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.content-block ul li::before {
  content: "•";
    color: #b1b1b1;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.contact-info {
  background: #111827;
  color: white;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-top: 20px;
}

.contact-info p {
  margin-bottom: 8px;
  color: #b1b1b1;
}

.contact-info p strong {
  color: #b1b1b1;
  font-weight: 600;
}

/* Footer Styles */
.footer {
  width: 100%;
  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 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: #b1b1b1;
}

.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: #b1b1b1;
  color: #fff;
}

.social-icon {
  font-family: "FontAwesome", "Arial", sans-serif;
  font-style: normal;
  font-weight: normal;
  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;
}

.footer-bottom a {
  color: #b1b1b1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #b1b1b1;
}

/* Floating Action Buttons */
.floating-button {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111827;
  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);
}

.whatsapp-button {
  background-color: #25d366;
  bottom: 20px;
  color: white;
  right: 20px;
}

.call-button {
  bottom: 20px;
  left: 20px;
}

.ph {
  z-index: 2000;
  color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .header {
    padding: 16px 32px;
  }

  .container {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 1150px) {
  .header .nav-menu li a {
    font-size: 0.9rem;
  }

  .header .button {
    padding: 10px 40px;
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-block h2 {
    font-size: 1.8rem;
  }

  .section-block {
    padding: 40px;
  }

  .content-block {
    padding: 25px;
  }
}

@media (max-width: 950px) {
  .header .nav-menu {
    gap: 16px;
  }
  .header .nav-menu li a {
    font-size: 1rem;
  }

  .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-block h2 {
    font-size: 1.8rem;
  }

  .content-block {
    padding: 22px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 20px 20px;
  }

  .header .button {
    padding: 10px 30px;
    font-size: 0.8rem;
  }

  .header .nav-menu {
    display: none;
  }

  .header .bars {
    display: block;
  }

  .container {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-block {
    padding: 30px 20px;
  }

  .section-block h2 {
    font-size: 1.6rem;
  }

  .content-block {
    padding: 20px;
  }

  .tabs-nav {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-container {
    padding: 0 20px;
    gap: 24px;
  }
}

@media (max-width: 570px) {
  .header .logo h2 {
    font-size: 1rem;
  }

  .header .button {
    padding: 8px 20px;
    font-size: 0.8rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-block h2 {
    font-size: 1.5rem;
  }

  .content-block h3 {
    font-size: 1.1rem;
  }

  .floating-button {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }

  .footer-container {
    max-width: 900px;
    gap: 40px;
  }

  .footer-logo h2 {
    font-size: 1rem;
  }

  .footer-description {
    font-size: 0.9rem;
    width: fit-content;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .container {
    padding: 0 10px;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .section-block h2 {
    font-size: 1.3rem;
  }

  .content-block h3 {
    font-size: 1rem;
  }

  .section-block {
    padding: 20px 15px;
  }

  .content-block {
    padding: 15px;
  }

  .footer-about {
    flex: 1 1 0px;
    min-width: 150px;
    overflow-x: hidden;
  }

  .footer-description {
    font-size: 0.8rem;
    overflow: hidden;
    display: block;
    width: 100%;
    /* max-width: 300px; */
  }

  .footer-bottom {
    padding: 14px 0;
    font-size: 0.95rem;
  }
}

@media (max-width: 380px) {
  .header .nav-menu {
    gap: 10px;
  }
  .header .nav-menu li a {
    font-size: 0.95rem;
  }

  .hero-content h1 {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 0.7rem;
  }

  .section-block h2 {
    font-size: 1.2rem;
  }

  .content-block h3 {
    font-size: 0.9rem;
  }

  .floating-button {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }
}

/* Animation for content blocks */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-block {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions for tab switching */
.content-section {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-section.hidden {
  opacity: 0;
  transform: translateY(20px);
}

/* Enhanced hover effects */
.content-block:hover {
  transform: translateX(5px) translateY(-2px);
  box-shadow: 0 12px 30px rgba(33, 150, 243, 0.2);
}

.tab-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.2);
}

/* Loading animation for content */
.content-wrapper {
  animation: fadeInUp 0.8s ease-out;
}

/* Enhanced typography */
.content-block p {
  text-align: justify;
  hyphens: auto;
}

.content-block ul li {
  text-align: left;
}

/* Professional color scheme */
:root {
  --primary-color: #2196f3;
  --secondary-color: #0a2540;
  --accent-color: #1976d2;
  --text-color: #555;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;
}
