/* Trans X Consultancy Styles */

/* Base Styles */
:root {
  --primary-color: #1a3a5f;
  --secondary-color: #4a90e2;
  --accent-color: #6c757d;
  --background-color: #f8f9fa;
  --text-color: #343a40;
  --light-color: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

h1, h2, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-color);
}
p {
  margin-bottom: 1rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--secondary-color);
  color: var(--light-color);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

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

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 1rem auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--light-color);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

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

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

/*
.logo img {
  height: 75px;
}
*/

.logo img {
  height: 65px;
  transition: var(--transition); /* Use your existing transition variable */
}

/* Mobile styles */
@media (max-width: 768px) {
  .logo img {
    height: 50px; /* Smaller size for mobile */
  }
  
  /* Optional: Adjust header padding to match */
  .header {
    padding: 0.5rem 0;
  }
}


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

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

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

.contact-btn {
  margin-left: 2rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url('hero_background.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--light-color);
  height: auto;
  padding: 100px 0;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px; /* Ensure padding on mobile */
}

.hero-title {
  font-size: clamp(2rem, 8vw, 3.5rem); /* Responsive size range */
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light-color);
  line-height: 1.2;
  word-wrap: break-word;
}

.hero-subtitle {
  font-size: clamp(1rem, 4vw, 1.5rem); /* Responsive size range */
  margin-bottom: 2rem;
  font-weight: 400;
}
*/

/* About Section */
.about {
  background-color: var(--light-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.markets-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.market-item {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Services Overview */
.services-overview {
  background-color: var(--background-color);
}

.services-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-category {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-category-header {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 1.5rem;
}

.service-category-body {
  padding: 1.5rem;
}

.service-category-footer {
  padding: 1rem 1.5rem;
  background-color: #f1f3f5;
  text-align: center;
}

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

.services-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid #dee2e6;
}

.services-tab {
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  font-weight: 600;
}

.services-tab.active {
  border-bottom-color: var(--secondary-color);
  color: var(--secondary-color);
}

.services-content {
  display: none;
}

.services-content.active {
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card-header {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 1.5rem;
}

.service-card-header h3 {
  color: var(--light-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  display: block;
}

.service-card-body {
  padding: 1.5rem;
}


.service-card-footer {
  margin-top: auto; /* Pushes button to bottom */
  padding: 1rem 1.5rem;
  background-color: #f1f3f5;
  text-align: center;
}

/* Testimonials */
.testimonials {
  background-color: var(--background-color);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
  content: '"';
  font-size: 2rem;
  color: var(--secondary-color);
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-position {
  color: var(--accent-color);
  font-size: 0.9rem;
}

/* Global Reach */
.global-reach {
  background-color: var(--light-color);
}

.global-map {
  text-align: center;
  margin-bottom: 3rem;
}

.global-map img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.global-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* Removed Success Stories. So reduced to 3 */
  gap: 3rem; /* Global Reach, So increased t0 3 */
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--accent-color);
}

/* Contact */
.contact {
  background-color: var(--background-color);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  margin-right: 1rem;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.contact-form {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-family: inherit;
  font-size: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-about {
  margin-bottom: 1.5rem;
}

.footer-heading {
  color: var(--light-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-link {
  margin-bottom: 0.8rem;
}

.footer-link a {
  color: #b3c5d7;
  transition: var(--transition);
}

.footer-link a:hover {
  color: var(--light-color);
}

.social-links {
  display: flex;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 0.8rem;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: #b3c5d7;
}

/* Responsive */
@media (max-width: 992px) {
  .about-content,
  .contact-container,
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .global-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-categories {
    grid-template-columns: 1fr;
  }
}

/* Mobile menu styles */
.nav-list {
  display: flex;
  list-style: none;
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  .nav-list.show {
    display: flex;
  }
  
  .nav-item {
    margin: 0;
    padding: 0.8rem 2rem;
    text-align: center;
  }
  
  .mobile-menu-btn {
    display: block;
    margin-left: 1rem;
  }
  
  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 576px) {
  .global-stats {
    grid-template-columns: 1fr;
  }
  
  .contact-btn {
    display: none;
  }
}
