/* Base Styles - モバイルファーストアプローチ */
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --accent-color: #1abc9c;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --white: #ffffff;
  --gray: #95a5a6;
  --light-gray: #f5f6fa;
  --transition: all 0.3s ease;
  --container-padding: 20px;
  --section-spacing: 60px;
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 30px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-padding {
  padding: var(--section-spacing) 0;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  font-weight: 700;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px var(--container-padding);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  padding: 10px var(--container-padding);
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}

.logo-link:hover,
.logo-link:focus {
  color: inherit;
  text-decoration: none;
}

.logo img {
  width: 50px;
  margin: 2px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 4px;
  margin-bottom: 0;
}

.menu-toggle {
  display: block;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  transition: var(--transition);
  border-radius: 1px;
}

.bar:nth-child(1) {
  margin-bottom: 5px;
}
.bar:nth-child(3) {
  margin-top: 5px;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  list-style: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.5s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding-top: 60px;
}

.nav-menu.active {
  right: 0;
}

.nav-menu li {
  margin: 15px 0;
  width: 100%;
  text-align: center;
}

.nav-link {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  padding: 10px 15px;
  display: block;
  width: 100%;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 50px;
}

.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown .nav-link i.fa-caret-down {
  margin-left: 5px;
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

@media screen and (min-width: 1200px) {
  .nav-menu li {
    margin: 0 10px;
  }

  .nav-item-dropdown .dropdown-menu {
    list-style: none;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius-sm);
    padding: 10px 0;
    z-index: 1001;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .nav-item-dropdown.dropdown-active > .nav-link i.fa-caret-down {
    transform: rotate(180deg);
  }

  .nav-item-dropdown.dropdown-active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item-dropdown .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
    width: 100%;
    text-align: left;
  }
  .nav-item-dropdown .dropdown-menu li a:hover,
  .nav-item-dropdown .dropdown-menu li a:focus {
    background-color: var(--light-gray);
    color: var(--primary-color);
  }
  .nav-item-dropdown .dropdown-menu li {
    margin: 0;
    width: 100%;
  }
}

@media screen and (max-width: 1199px) {
  .nav-menu li {
    margin: 15px 0;
  }

  .nav-menu.active .nav-item-dropdown .dropdown-menu {
    display: block;
    position: static;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    margin-left: 20px;
    min-width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 0;
    text-align: center;
  }
  .nav-menu.active .nav-item-dropdown .dropdown-menu li {
    margin: 5px 0;
    width: 100%;
  }
  .nav-menu.active .nav-item-dropdown .dropdown-menu li a {
    padding: 8px 10px;
    font-size: 0.9em;
    font-weight: normal;
  }
  .nav-menu.active .nav-item-dropdown .dropdown-menu li a:hover,
  .nav-menu.active .nav-item-dropdown .dropdown-menu li a:focus {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
  }
}

.contact-btn {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  margin-top: 10px;
  display: inline-block;
}

.contact-btn:hover,
.contact-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.hero {
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-image: url("/hero-img.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 0 var(--container-padding);
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(44, 62, 80, 0.5), rgba(52, 152, 219, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  padding: 20px;
}

.main-title {
  font-size: clamp(2.2rem, 8vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.sub-title {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  margin-bottom: 30px;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.cta-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  font-size: 1rem;
  width: 100%;
  max-width: 250px;
}

.cta-btn.primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.cta-btn.secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
}

.cta-btn.secondary:hover,
.cta-btn.secondary:focus {
  background-color: var(--white);
  color: var(--dark-color);
  transform: translateY(-3px);
}

.our-philosophy-journey {
  background-color: var(--light-gray);
}

.our-philosophy-journey .about-integration-wrapper,
.our-philosophy-journey .philosophy-integration-wrapper,
.our-philosophy-journey .ceo-message-integration-wrapper {
  margin-bottom: 60px;
}
.our-philosophy-journey .ceo-message-integration-wrapper {
  margin-bottom: 0;
}

.our-philosophy-journey .about-integration-wrapper .about-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-text {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
}

.about-highlight {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.about-highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
  justify-content: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--light-gray);
  padding: 10px 15px;
  border-radius: var(--border-radius-lg);
  font-weight: 500;
  flex: 1 1 auto;
  min-width: 120px;
  justify-content: center;
}

.feature-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.philosophy-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.philosophy-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.philosophy-card:hover,
.philosophy-card:focus-within {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.philosophy-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  height: 70px;
  width: 70px;
  line-height: 70px;
  border-radius: 50%;
  background-color: rgba(52, 152, 219, 0.1);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.philosophy-card:hover .philosophy-icon,
.philosophy-card:focus-within .philosophy-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotateY(360deg);
}

.philosophy-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--primary-color);
}

.philosophy-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.philosophy-desc {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex-grow: 1;
}

.values-list {
  list-style: none;
  text-align: left;
}

.values-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
}

.values-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.5rem;
  line-height: 1;
}

.values-list li span {
  font-weight: 700;
  color: var(--dark-color);
}

.our-philosophy-journey .ceo-message-integration-wrapper .ceo-message {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.ceo-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  position: relative;
}

.ceo-message::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 6rem;
  color: rgba(52, 152, 219, 0.1);
  font-family: serif;
  line-height: 1;
}

.ceo-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-image: url("/ceo-img.png");
  background-size: cover;
  background-position: center;
  border: 4px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ceo-content {
  width: 100%;
}

.ceo-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.ceo-content h3::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  bottom: -5px;
  left: 0;
}

.ceo-quote {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-style: italic;
}

.ceo-content p {
  line-height: 1.7;
  margin-bottom: 10px;
}

.ceo-name {
  font-weight: 700;
  text-align: center;
  font-style: italic;
  margin-top: 15px;
  color: var(--dark-color);
}

.subsection-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  color: var(--dark-color);
  position: relative;
  font-weight: 600;
}
.subsection-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Services and Details Section (Combined) */
.services-details {
  background-color: var(--light-gray);
}

.services-details .subsection-wrapper {
  margin-bottom: 60px;
}
.services-details .subsection-wrapper:last-child {
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 15px;
  flex-grow: 1;
}

.service-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 204, 113, 0.95);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  opacity: 0;
  transition: var(--transition);
  transform: translateY(20px);
}

.service-card:hover .service-hover,
.service-card:focus-within .service-hover {
  opacity: 1;
  transform: translateY(0);
}

.service-hover h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.service-hover ul {
  text-align: left;
  list-style-position: inside;
  padding-left: 5px;
}

.service-hover li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.download-btn {
  display: inline-block;
  padding: 12px 25px;
  margin-top: auto;
  background-color: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--border-radius-lg);
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
  align-self: center;
  width: fit-content;
  max-width: 90%;
}

.download-btn i {
  margin-right: 8px;
}

.download-btn:hover,
.download-btn:focus {
  background-color: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.4);
}

.strengths {
  background-color: var(--white);
}
.strengths-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.strength-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.strength-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46, 204, 113, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.strength-item:hover .strength-icon,
.strength-item:focus-within .strength-icon {
  transform: rotateY(180deg);
  color: var(--primary-color);
  background-color: rgba(52, 152, 219, 0.1);
}

.strength-content {
  width: 100%;
}

.strength-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.strength-content p {
  color: var(--gray);
  line-height: 1.8;
}

.company-profile {
  background-color: var(--light-gray);
}

.company-profile-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 30px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  overflow-x: auto;
}

.company-profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.company-profile-table td {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.7;
  vertical-align: top;
}

.company-profile-table td:first-child {
  font-weight: 500;
  background-color: var(--light-gray);
  width: 30%;
  color: var(--dark-color);
  white-space: nowrap;
}

.company-profile-table ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 20px;
  margin: 0;
}

.company-profile-table ul li {
  margin-bottom: 5px;
}

.company-profile-table ul li:last-child {
  margin-bottom: 0;
}

.cases {
  background-color: var(--white);
}

.news {
  background-color: var(--light-gray);
}

.cases-content,
.news-content {
  text-align: center;
  position: relative;
}

.coming-soon {
  background-color: var(--white);
  padding: 40px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 2;
}

.coming-soon h3 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.pattern-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--light-color) 2px, transparent 2px);
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: 1;
}

footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.footer-info h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-info p {
  margin-bottom: 10px;
  color: #bdc3c7;
}

.footer-info p i {
  margin-right: 10px;
  color: var(--primary-color);
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition);
  padding: 5px;
  display: inline-block;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  justify-content: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover,
.social-icons a:focus {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-icons a.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #bdc3c7;
  font-size: 0.9rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}

.fade-in:nth-child(2) {
  animation-delay: 0.3s;
}

.fade-in:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-active {
  opacity: 1;
  transform: translate(0);
}

@media screen and (min-width: 576px) {
  :root {
    --section-spacing: 80px;
    --container-padding: 30px;
  }

  .section-title {
    margin-bottom: 50px;
  }

  .section-title::after {
    width: 80px;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .cta-btn {
    width: auto;
  }

  .coming-soon {
    padding: 50px 30px;
  }

  .philosophy-content {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
  }
  .service-card {
    height: 100%;
  }

  .ceo-message {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .ceo-name {
    text-align: right;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .about-features {
    justify-content: flex-start;
  }

  .feature-item {
    flex: 0 0 auto;
  }

  .company-profile-content {
    padding: 40px 30px;
  }
}

@media screen and (min-width: 768px) {
  .logo h1 {
    font-size: 1.6rem;
  }

  .strength-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .about-text {
    padding: 40px;
  }

  .about-highlight {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 1.05rem;
  }

  .ceo-message {
    padding: 40px;
  }

  .ceo-quote {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 600px) {
  .company-profile-table td {
    font-size: 0.9rem;
    padding: 10px 8px;
  }
  .company-profile-table td:first-child {
    width: 35%;
    white-space: normal;
  }
  .company-profile-content {
    padding: 20px 15px;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 17px;
  }

  .navbar {
    padding: 20px 0;
  }

  .navbar.scrolled {
    padding: 15px 0.5%;
  }

  .logo h1 {
    font-size: 1.7rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    flex-direction: row;
    box-shadow: none;
    justify-content: flex-end;
    align-items: center;
    padding-top: 0;
    right: 0;
  }

  .nav-link {
    padding: 8px 15px;
    display: inline-block;
    width: auto;
    white-space: nowrap;
  }

  .nav-link::after {
    bottom: 0;
    left: 0;
    transform: none;
  }

  .nav-link:hover::after,
  .nav-link:focus::after {
    width: 100%;
  }

  .philosophy-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-details .applications-subsection .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 800px;
    margin: 0 auto;
  }

  .service-card {
    min-height: 320px;
    padding: 40px 30px;
  }

  .philosophy-card {
    padding: 40px 30px;
  }

  .about-text {
    margin-right: 0;
  }

  .ceo-message::before {
    font-size: 8rem;
  }
}

@media (hover: none) {
  .service-hover {
    opacity: 1;
    transform: translateY(0);
    position: static;
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--dark-color);
    padding: 15px;
    margin-top: 20px;
    border-radius: var(--border-radius-sm);
  }

  .service-hover h4 {
    color: var(--secondary-color);
  }

  .service-card {
    height: auto;
  }

  .service-card:hover {
    transform: none;
    box-shadow: var(--box-shadow);
  }

  .philosophy-card:hover {
    transform: none;
    box-shadow: var(--box-shadow);
  }
}

@media print {
  :root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --dark-color: #000000;
  }
  .navbar,
  .cta-buttons,
  .footer-social,
  .menu-toggle,
  .hero-overlay,
  .reveal-left,
  .reveal-right,
  .reveal-bottom,
  .fade-in,
  .pattern-background,
  .nav-item-dropdown .dropdown-menu {
    display: none !important;
  }

  .section-padding {
    padding: 20px 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    background-color: var(--white) !important;
    color: var(--dark-color) !important;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
  }

  a {
    text-decoration: none;
    color: var(--dark-color) !important;
  }
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }

  .company-profile-table td,
  .company-profile-table td:first-child {
    border: 1px solid #666 !important;
    background-color: var(--white) !important;
    color: var(--dark-color) !important;
  }
  .company-profile-table ul {
    padding-left: 0;
    list-style-type: none;
  }
  .company-profile-table ul li::before {
    content: "- ";
  }

  .hero {
    height: auto;
    color: var(--dark-color);
    background: none !important;
    padding-top: 0 !important;
  }
  .hero-content {
    padding-top: 20px;
  }

  .main-title,
  .sub-title {
    color: var(--dark-color) !important;
  }

  .section-title::after,
  .subsection-title::after {
    background: var(--dark-color) !important;
  }

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

  .values-list li:before {
    color: var(--dark-color) !important;
  }

  .download-btn {
    border: 1px solid var(--dark-color);
    padding: 5px 10px;
    background-color: var(--white) !important;
    color: var(--dark-color) !important;
  }
  .download-btn i {
    display: none;
  }
}
