@font-face {
  font-family: 'Montserrat';
  src: url('./fonts/MontserratAlternates-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('./fonts/MontserratAlternates-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  color: #212529;
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: #FF8000;
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #E07B00;
}

.btn-outline {
  background-color: white;
  color: #FF8000;
  border: 1px solid #FF8000;
}

.btn-outline:hover {
  /* background-color: #FFF3E0; */
  background-color: #ff8000;
  border-color: #ff8000;
  color: #fff;
}

.btn:focus-visible,
.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  color: #fff;
  background-color: #FF8000;
  border-color: #FF8000;
  box-shadow: 0 0 0 0.2rem rgba(255, 152, 0, 0.5);
}

.text-primary {
  color: #FF8000;
}

.bg-secondary {
  background-color: #FFF3E0;
}

.card {
  background: rgb(250, 250, 250);
  border-radius: 10px;
  padding: 48px;
  min-height: 270px;
  border:none;
}

/* Navigation Bar */
nav {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

@media (max-width: 767px) {
  nav {
    padding: 10px 20px;
  }
}

.mobile-base-dropdown .btn.show,
.mobile-base-dropdown .btn.active {
  color: #212529;  
}

.nav-container {
  max-width: 1160px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0;
}

.nav-container .nav-container-btn {
  height: 32px;
  line-height: 32px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  color: #ED7109;
  border: 1px solid #ED7109;
}

.nav-container .nav-container-btn:hover {
  background-color: #ED7109;
  color: white;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 32px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links a {
  text-decoration: none;
  color: #212529;
  transition: color 0.3s ease;
  width: auto;
}

.nav-links a:hover {
  color: #ED7109;
}

/* Footer */
footer {
  background-color: #212529;
  color: white;
  padding: 48px 0 0;
  border-bottom: 1px solid #212529;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-column ul {
  list-style: none;
  padding-left: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.footer-column ul li a {
  color: #BBBBBB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.copyright {
  text-align: center;
  color: #BBBBBB;
  font-size: 14px;
  height: 72px;
  line-height: 72px;
  border-top: 1px solid #333333;
}

@media (max-width: 767px) {
  .copyright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.5;
  }
}

@media (min-width: 768px) {
  .copyright {
    display: block;
    text-align: center;
    line-height: 72px;
  }
}

/* Bootstrap Dropdown Custom Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  display: none !important;
}

.dropdown-toggle {
  position: relative;
  padding-right: 20px !important;
}

.dropdown-toggle::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url('data:image/svg+xml,<svg width="32" height="32" viewBox="0 0 32 32" fill="%23999999" xmlns="http://www.w3.org/2000/svg"><path d="M16.0605 24L28.1211 11.9395L26 9.81836L16.0605 19.7578L6.12109 9.81836L4 11.9395L16.0605 24Z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.dropdown-toggle.show::before {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-toggle[aria-expanded="true"] {
  color: #ED7109;
}

.dropdown-toggle[aria-expanded="true"]::before,
.dropdown-toggle:hover::before {
  background-image: url('data:image/svg+xml,<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path fill="%23EF7109" d="M16.0605 24L28.1211 11.9395L26 9.81836L16.0605 19.7578L6.12109 9.81836L4 11.9395L16.0605 24Z"/></svg>');
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 8px;
}

.dropdown-item {
  padding: 0 12px;
  color: #212529;
  transition: all 0.2s ease;
  font-size: 14px;
  border: none;
  height: 32px;
  line-height: 32px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  width: fit-content;
}

.dropdown-item:hover, 
.dropdown-item:focus {
  background-color: rgba(0, 0, 0, 0.04);
  color: #212529;
  border-radius: 4px;
}

.nav-links a.dropdown-item:hover {
  color: #212529;
}

/* Hero Section */
.hero {
  text-align: center;
  background-image: url('../img/home-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero h1 {
  color: #212529;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-style: italic;
  font-weight: 600;
  line-height: normal;
}

.hero p {
  max-width: 700px;
  color: #666;
  font-size: 16px;
  line-height: 24px;
  margin: 0 auto 24px;
  margin-bottom: 52px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons button {
  height: 40px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-buttons button img {
  margin-left: 12px;
}

/* Features Section */
.features-section {
  margin-bottom: 80px;
}

.features-section .container {
  margin: 0 auto;
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  color: #212529;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 16px;
}

.section-title p {
  color: #666666;
  font-size: 16px;
  line-height: 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.feature-card h3 {
  margin: 24px 0 8px;
  font-size: 20px;
  line-height: 28px;
}

.feature-card p {
  color: #666666;
  font-size: 14px;
  line-height: 22px;
}

.feature-card .feature-icon-container {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFF3E0;
}

.feature-card .feature-icon-container .feature-icon {
  width: 56px;
  height: 56px;
}

/* Integration Section */
.integration-section {
  margin-bottom: 80px;
  display: grid;
}

.integration-content h2 {
  font-size: 35px;
  margin-bottom: 16px;
}

.integration-content p {
  color: #666666;
  margin-bottom: 18px;
  line-height: 2;
}

.integration-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.integration-icons div {
  width: 40px;
  height: 40px;
  background: #F1F5F9;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #212529;
}

.integration-center {
  width: 50px;
  height: 50px;
  background: #FF8000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  margin-left: 20px;
}

/* Collaboration Section */
.collab-section {
  margin-bottom: 80px;
}

.collab-content {
  max-width: 800px;
  margin: 0 auto 32px;
}

.collab-content h2 {
  font-size: 35px;
  margin-bottom: 16px;
}

.collab-content p {
  color: #666666;
  margin-bottom: 18px;
  line-height: 2;
}

/* AI Section */
.ai-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.ai-content h2 {
  font-size: 35px;
  margin-bottom: 16px;
}

.ai-content p {
  color: #666666;
  margin-bottom: 18px;
  line-height: 2;
}

.ai-stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.ai-stats div {
  text-align: center;
}

/* CTA Section */
.cta-section {
  background-image: url('../img/unified-issue-management-bg.png');
  background-size: 1160px 550px;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  border-radius: 12px;
  margin: 80px 120px;
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 700;
}

.cta-section p {
  margin: 24px auto 50px;
  font-size: 18px;
  line-height: 1.6;
}

.cta-section button {
  height: 64px;
  width: 200px;
  font-size: 16px;
}

/* Integration Section Layout */
.integration-section .container {
  display: flex;
  align-items: center;
  gap: 72px;
  max-width: 1200px;
  padding: 0 20px;
}

.integration-visual {
  height: 540px;
}

.integration-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* Collaboration Section Layout */
.collab-section .container {
  display: flex;
  align-items: center;
  gap: 72px;
  max-width: 1200px;
  padding: 0 20px;
}

.collab-visual {
  height: 540px;
}

.collab-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* AI Section Layout */
.ai-section .container {
  display: flex;
  align-items: center;
  gap: 72px;
  max-width: 1200px;
  padding: 0 20px;
}

.ai-visual {
  height: 540px;
}

.ai-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* Check List with Span Structure */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  line-height: 2;
}

.features-grid .check-list-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  height: 40px;
  line-height: 40px;
}

.features-grid .check-list-item .check-list-tick {
  margin-top: 0px;
}

.check-list-item:last-child {
  margin-bottom: 0;
}

.check-list-tick {
  width: 14px;
  height: 14px;
  margin-right: 12px;
  margin-top: 8px;
  flex-shrink: 0;
  background: rgb(80, 200, 130);
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

.check-list-text {
  flex: 1;
}

.integration-content,
.collab-content,
.ai-content {
  flex: 1;
  min-width: 548px;
}

/* Responsive Design */
/* Large Desktop (1024px+) */
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet and Desktop (768px+) */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large Desktop down to 1200px */
@media (max-width: 1200px) {
  .cta-section {
    background-size: 1000px auto;
    min-height: 500px;
  }
}

/* Desktop */
@media (max-width: 1024px) {
  .cta-section {
    background-size: 900px auto;
    min-height: 450px;
    padding: 60px 20px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .integration-section .container,
  .collab-section .container,
  .ai-section .container {
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }

  .integration-visual,
  .collab-visual,
  .ai-visual {
    width: 100%;
    max-width: 540px;
    height: auto;
    aspect-ratio: 1/1;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .cta-section {
    background-size: 800px auto;
    min-height: 400px;
    padding: 40px 20px;
    margin: 20px auto;
  }

  .cta-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .cta-section p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .integration-section .container,
  .collab-section .container,
  .ai-section .container {
    gap: 32px;
    padding: 0 16px;
  }

  .integration-visual,
  .collab-visual,
  .ai-visual {
    padding: 16px;
  }

  .check-list-item {
    margin-bottom: 10px;
  }

  .check-list-tick {
    width: 14px;
    height: 14px;
    margin-right: 10px;
  }
  
  .integration-content,
  .collab-content,
  .ai-content {
    min-width: 100%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .cta-section {
    background-size: 600px auto;
    min-height: 350px;
    padding: 30px 16px;
    margin: 40px auto;
  }

  .cta-section h2 {
    font-size: 22px;
  }

  .cta-section p {
    font-size: 15px;
  }
}
