/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #262626;
  background-color: #FAFAFA;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Color Variables */
:root {
  --primary-50: #e6f0fa;
  --primary-100: #cce1f5;
  --primary-200: #99c3eb;
  --primary-300: #66a5e1;
  --primary-400: #3387d7;
  --primary-500: #0A2463;
  --primary-600: #091d4f;
  --primary-700: #07163b;
  --primary-800: #051028;
  --primary-900: #020814;
  
  --secondary-50: #fef2f1;
  --secondary-100: #fee5e2;
  --secondary-200: #fdcbc5;
  --secondary-300: #fcb1a8;
  --secondary-400: #F76C5E;
  --secondary-500: #f5574b;
  --secondary-600: #c4463c;
  --secondary-700: #93342d;
  --secondary-800: #62231e;
  --secondary-900: #31110f;
  
  --neutral-50: #FAFAFA;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
}

/* Utility Classes */
.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container-custom {
    padding: 0 2rem;
  }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  color: var(--primary-500);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--neutral-600);
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.text-white {
  color: white !important;
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.bg-neutral-50 {
  background-color: var(--neutral-50);
}

.bg-neutral-100 {
  background-color: var(--neutral-100);
}

.bg-primary-500 {
  background-color: var(--primary-500);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-500);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-600);
}

.btn-secondary {
  background-color: var(--secondary-400);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-500);
}

.btn-full {
  width: 100%;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: transparent;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  height: 2.5rem;
  width: 2.5rem;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
}

.header.scrolled .logo-text {
  color: var(--primary-500);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 500;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-400);
}

.header.scrolled .nav-link {
  color: var(--neutral-700);
}

.header.scrolled .nav-link:hover {
  color: var(--primary-500);
}

/* Language Selector */
.language-selector {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
}

.header.scrolled .language-btn {
  color: var(--neutral-700);
}

.language-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 12rem;
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transform-origin: top right;
  transition: all 0.2s ease;
}

.language-selector:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.language-option {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--neutral-700);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.language-option:hover {
  background-color: var(--neutral-100);
}

.language-option.active {
  background-color: var(--primary-50);
  color: var(--primary-500);
  font-weight: 500;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 60;
  position: relative;
}

.header.scrolled .mobile-menu-btn {
  color: var(--neutral-800);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-500);
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu .nav-link {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-menu .nav-link:hover {
  color: var(--secondary-400);
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.pexels.com/photos/1108101/pexels-photo-1108101.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.9), rgba(10, 36, 99, 0.7));
  z-index: -1;
}

.hero-content {
  max-width: 48rem;
  padding-top: 5rem;
}

.hero-title {
  font-size: 2.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* Founders Section (4-item grid) */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .founders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .founders-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.founder-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.founder-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.founder-image {
  height: 12rem;
  overflow: hidden;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

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

.founder-content {
  padding: 1.5rem;
  text-align: center;
}

.founder-title {
  font-size: 1.25rem;
  color: var(--primary-500);
  margin-bottom: 0.75rem;
}

.founder-description {
  color: var(--neutral-600);
}

/* Three Item Grid (for Industries and Manufacturing pages) */
.three-item-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .three-item-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.three-item-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.three-item-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.5rem);
}

.three-item-image {
  height: 16rem;
  overflow: hidden;
}

.three-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

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

.three-item-content {
  padding: 2rem;
  text-align: center;
}

.three-item-title {
  font-size: 1.5rem;
  color: var(--primary-500);
  margin-bottom: 1rem;
}

.three-item-description {
  color: var(--neutral-600);
  font-size: 1rem;
  line-height: 1.7;
}

/* History Gallery */
.history-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .history-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .history-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-text {
  color: white;
  text-align: center;
  margin-top: 1.5rem;
  padding: 0 2rem;
  max-width: 600px;
}

.lightbox-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lightbox-description {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease;
}

.lightbox-close:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Capabilities Section */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.capability-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  color: var(--neutral-800);
  transition: all 0.3s ease;
  text-align: center;
}

.capability-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.5rem);
}

.capability-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary-500);
}

.capability-title {
  font-size: 1.25rem;
  color: var(--primary-500);
  margin-bottom: 0.75rem;
}

.capability-description {
  color: var(--neutral-600);
}

/* Advantages Section */
.advantages-section {
  padding-top: 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.advantage-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
}

.advantage-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.advantage-description {
  color: rgba(255, 255, 255, 0.9);
}

.advantages-conclusion {
  font-size: 1.125rem;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

/* Contact Section */
.contact-container {
  max-width: 64rem;
  margin: 0 auto;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-content {
  padding: 2rem;
}

@media (min-width: 768px) {
  .contact-content {
    padding: 2.5rem;
  }
}

.contact-title {
  font-size: 1.875rem;
  color: var(--primary-500);
  margin-bottom: 0.5rem;
}

.contact-description {
  color: var(--neutral-600);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  margin-bottom: 0.25rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-300);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
}

.form-textarea {
  min-height: 7.5rem;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--neutral-900);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-left {
  flex: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 2.5rem;
  width: 2.5rem;
}

.footer-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
}

.footer-description {
  color: var(--neutral-400);
  max-width: 28rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-right {
    align-items: flex-end;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-link {
  color: var(--neutral-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-copyright {
  color: var(--neutral-500);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: right;
  }
}

/* Success/Error Messages */
.message {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Hide Google Translate default elements */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0px !important;
}

.goog-te-combo {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 767px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.875rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .contact-title {
    font-size: 1.5rem;
  }
}