:root {
  --primary-color: #4A90E2; /* Dommio Blue */
  --secondary-color: #357ABD; /* Darker Blue */
  --text-color: #333; /* Dark Grey for text */
  --light-text-color: #666; /* Lighter Grey */
  --background-color: #ffffff; /* White background */
  --light-background: #f7f7f7; /* Very Light Grey */
  --footer-background: #2C3E50; /* Dark Blue-Grey */
  --white: #ffffff;
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

/* General Styles */
body {
  font-family: var(--body-font);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  padding-top: 80px; /* Adjust if header height changes */
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 700; /* Bolder headings */
  margin-bottom: 20px;
  line-height: 1.3; /* Adjusted line height */
  color: var(--text-color); /* Default heading color */
}

h1 {
  font-size: 48px;
  font-weight: 900; /* Extra bold for main headings */
  color: var(--white); /* Specific color for hero H1 */
}

h2 {
  font-size: 36px;
  text-align: center; /* Center section titles */
  margin-bottom: 15px;
}

h3 {
    font-size: 20px; /* Slightly larger H3 */
    margin-bottom: 10px;
}

.container {
  width: 90%; /* Wider container for better spacing */
  margin: 0 auto; /* Changed from margin: auto */
  max-width: 1200px;
  padding-left: 15px; /* Add padding for safety */
  padding-right: 15px;
}

a {
  color: var(--primary-color); /* Links use primary color */
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
  opacity: 0.8;
}

p {
  margin-bottom: 15px;
  color: var(--light-text-color);
}

/* Utility Class */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Button Styles */
.cta-button, .cta-primary, .contact-us button, .cta-btn {
  padding: 12px 28px; /* Slightly adjusted padding */
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 16px; /* Slightly smaller font */
  font-weight: 700; /* Bolder button text */
  font-family: var(--heading-font); /* Use heading font for buttons */
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.cta-button:hover, .cta-primary:hover, .contact-us button:hover, .cta-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced hover shadow */
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

header .logo {
  font-size: 26px; /* Slightly larger logo */
  font-weight: 900; /* Extra bold */
  font-family: var(--heading-font);
  color: var(--primary-color);
  display: flex;
  align-items: center; /* Vertically align words */
}

header .logo a {
  color: inherit; /* Inherit logo color */
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

header .logo a:hover {
  opacity: 0.8;
  color: var(--primary-color); /* Maintain logo color on hover */
}

header .logo .grey-word {
  color: #888; /* Slightly darker grey */
  font-weight: 700; /* Bold weight for secondary word */
  margin-left: 0; /* Remove space between words */
}

header nav ul {
  display: flex; /* Ensure items are in a single line */
  list-style-type: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap; /* Prevent wrapping */
}

header nav ul li {
  margin-left: 25px; /* Adjust spacing as needed */
}

header nav ul li a {
  color: var(--text-color); /* Use standard text color */
  text-decoration: none;
  font-size: 15px; /* Slightly larger nav links */
  font-weight: 600; /* Semi-bold */
  padding-bottom: 5px;
  position: relative;
}

header nav ul li a::after { /* Add underline hover effect */
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 100%;
}

/* Language Switcher Styles */
.language-switcher {
  display: flex;
  align-items: center;
}

.lang-option {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  padding: 5px 8px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.lang-option:hover {
  color: var(--primary-color);
}

.lang-option.active {
  color: var(--primary-color);
  font-weight: 700;
}

.lang-separator {
  margin: 0 5px;
  color: var(--light-text-color);
}

.lang-text {
  margin-right: 5px;
}

.flag {
  font-size: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 28px; /* Larger toggle icon */
  cursor: pointer;
}

/* Hero Section Styles */
.hero {
  position: relative;
  height: 95vh; /* Slightly shorter */
  overflow: hidden;
  background-color: #333; /* Fallback background */
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: 0; /* Video behind overlay */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55); /* Slightly darker overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-content h1 {
  font-size: 52px;
  margin-bottom: 25px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 22px;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  max-width: 800px;
  line-height: 1.5;
  color: var(--white);
}

.hero-content .cta-primary {
  margin-top: 20px;
  padding: 15px 35px; /* Larger primary CTA */
  font-size: 18px;
}

/* Tabs Section General */
.tabs-section {
  padding: 80px 0; /* Reduced top padding */
  background-color: var(--background-color);
  min-height: auto; /* Remove fixed min-height */
  display: block; /* Reset flex settings */
}

.what-we-do-title {
  text-align: center;
  margin-bottom: 50px;
}

.what-we-do-title h2 {
    margin-bottom: 15px;
}

.what-we-do-title p {
  font-size: 18px;
  color: var(--light-text-color);
  max-width: 750px; /* Wider description */
  margin: 0 auto;
}

/* Tabs Styling */
.tabs {
  text-align: center; /* Center tabs */
  margin-bottom: 40px;
}

.tabs .tab {
  display: inline-block;
  padding: 12px 25px; /* Adjusted padding */
  margin: 0 8px; /* Spacing between tabs */
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 30px; /* Pill shape */
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 16px;
}

.tabs .tab:hover,
.tabs .tab.active {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 3px 6px rgba(74, 144, 226, 0.3); /* Subtle shadow on active/hover */
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out; /* Add fade-in animation */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Service Boxes */
.service-boxes {
  display: grid; /* Use Grid for more control */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
  gap: 30px; /* Gap between boxes */
  margin-top: 20px;
}

.service-box {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px; /* Increased padding */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07); /* Slightly stronger shadow */
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee; /* Subtle border */
}

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

/* Updated Icon Styling */
.service-icon {
  font-size: 40px; /* Larger icons */
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block; /* Ensure icon is on its own line */
}

.service-box h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-color);
  font-weight: 700;
}

.service-box p {
  font-size: 15px; /* Slightly larger text */
  color: var(--light-text-color);
  line-height: 1.7;
}

/* Why Work With Us Section */
.why-work-with-us {
  padding: 100px 0;
  background-color: var(--light-background);
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.why-work-with-us-header {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Align items vertically */
  margin-bottom: 60px;
  gap: 40px; /* Add gap */
}

.why-work-with-us-title {
  flex: 1;
}

.dreambig { /* Specific styling for the "Dream Big" heading */
  font-size: 48px;
  color: var(--text-color);
  text-align: left;
  font-weight: 900; /* Use heading font bold */
  margin: 0; /* Remove default margins */
  line-height: 1.2;
}

.highlight { /* Styling for the highlighted word */
  color: var(--primary-color);
}

.why-work-with-us-description {
  flex: 1.2; /* Give slightly more space to description */
}

.why-work-with-us-description h3 {
  font-size: 18px; /* Smaller subtitle */
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px; /* Reduced margin */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.why-work-with-us-description p {
  font-size: 16px;
  line-height: 1.7; /* Increased line height */
  color: var(--light-text-color);
  margin-bottom: 25px; /* Spacing before button */
}

.why-work-with-us-description .cta-button {
  margin-top: 10px; /* Reduced margin */
}

/* Services Slider/Items */
.services-slider {
  overflow: hidden;
  margin-top: 40px; /* Add space above */
}

.services-slide {
  display: flex;
  justify-content: space-between;
  gap: 40px; /* Increased gap */
}

.service-item {
  flex: 1;
  text-align: center;
  padding: 25px; /* Increased padding */
  background-color: var(--white); /* Add background */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Add subtle shadow */
}

.icon-placeholder {
  width: 70px; /* Smaller placeholder */
  height: 70px;
  background-color: rgba(74, 144, 226, 0.1); /* Light blue background */
  border-radius: 50%;
  margin: 0 auto 25px; /* Adjusted margin */
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-large {
    font-size: 30px; /* Adjust icon size */
    color: var(--primary-color);
}

.service-item h3 {
  font-size: 16px; /* Adjusted size */
  font-weight: 700;
  color: var(--primary-color); /* Use primary color */
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--light-text-color);
}

/* Industries Section */
.industries {
  padding: 100px 0;
  background-color: var(--white);
  text-align: center;
}

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

.industries .section-title h2 {
  margin-bottom: 15px;
}

.industries .section-title p {
  font-size: 18px;
  color: var(--light-text-color);
  max-width: 700px;
  margin: 0 auto;
}

.process-steps {
  display: grid; /* Use Grid */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid */
  gap: 25px; /* Consistent gap */
  margin-top: 40px; /* Adjusted margin */
}

.process-step {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 30px 25px; /* Adjusted padding */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #f0f0f0;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.icon-container {
  width: 70px; /* Matched size */
  height: 70px;
  background-color: var(--light-background); /* Use light background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.process-step:hover .icon-container {
    background-color: rgba(74, 144, 226, 0.1); /* Light blue on hover */
}

.industry-icon {
  font-size: 32px; /* Adjust icon size */
  color: var(--primary-color);
}

.process-step h3 {
  font-size: 18px; /* Adjusted size */
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--light-text-color);
}

/* Our Platform Section */
.our-platform {
  background-color: var(--light-background);
  padding: 100px 0;
  /* Removed min-height and flex settings */
}

.our-platform .container {
  /* Removed specific width/max-width, relies on global container */
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  font-size: 18px;
  color: var(--light-text-color);
  max-width: 700px;
  margin: 0 auto;
}

.platform-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 20px;
}

.feature {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  position: relative;
}

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

.feature h3 {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.feature p {
  font-size: 15px;
  color: var(--light-text-color);
  line-height: 1.7;
  margin: 0;
}

/* Contact Us Section */
.contact-us {
  background-color: var(--white);
  padding: 100px 0;
  text-align: center;
  /* Removed min-height and flex settings */
}

.contact-us h2 {
  margin-bottom: 15px;
}

.contact-us p {
  font-size: 18px;
  color: var(--light-text-color);
  margin-bottom: 50px; /* Increased margin */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-us form {
  max-width: 650px; /* Slightly wider form */
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Make inputs full width */
}

.contact-us input,
.contact-us textarea {
  width: 100%; /* Use 100% width */
  box-sizing: border-box; /* Include padding in width */
  margin-bottom: 20px;
  padding: 15px 18px; /* Adjusted padding */
  border: 1px solid #ddd;
  border-radius: 5px; /* Standard border radius */
  font-size: 16px;
  font-family: var(--body-font);
  transition: border-color 0.3s ease;
}

.contact-us input:focus,
.contact-us textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2); /* Focus outline */
}

.contact-us textarea {
  min-height: 150px; /* Use min-height */
  resize: vertical; /* Allow vertical resize */
}

.contact-us button {
  width: auto; /* Let button size naturally */
  min-width: 180px; /* Minimum width */
  align-self: center; /* Center button */
  margin-top: 10px; /* Add margin */
}

/* Form response messages */
#formResponse {
  margin-top: 25px;
  min-height: 50px; /* Reserve space */
}

.success-message, .error-message {
  border-radius: 5px;
  padding: 15px 20px;
  text-align: center;
  font-weight: 600;
}

.success-message {
  color: #155724; /* Darker Green */
  background-color: #d4edda; /* Light Green */
  border: 1px solid #c3e6cb;
}

.error-message {
  color: #721c24; /* Darker Red */
  background-color: #f8d7da; /* Light Red */
  border: 1px solid #f5c6cb;
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-background); /* Use light background */
  padding: 80px 0;
  text-align: center;
}

.faq-section h2 {
  margin-bottom: 40px; /* Increased margin */
}

.faq-item {
  margin-bottom: 15px;
  text-align: left;
  background-color: var(--white); /* White background for items */
  border-radius: 8px;
  border: 1px solid #eee;
  overflow: hidden; /* Ensure smooth transition */
}

.faq-question {
  background: none;
  border: none;
  border-bottom: 1px solid #eee; /* Separator line */
  color: var(--text-color); /* Standard text color */
  text-align: left;
  width: 100%;
  padding: 18px 25px; /* Adjusted padding */
  font-size: 17px; /* Adjusted size */
  font-weight: 600; /* Semi-bold */
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex; /* Use flex for icon */
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: #f8f8f8; /* Slight hover background */
  color: var(--primary-color);
}

.faq-question::after { /* Add dropdown icon */
  content: "\f282"; /* Bootstrap Icons: chevron-down */
  font-family: 'bootstrap-icons';
  font-size: 16px;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.faq-answer {
  background-color: var(--white);
  margin: 0; /* Remove default margin */
  padding: 0 25px; /* Padding for content */
  max-height: 0; /* Start collapsed */
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smooth transition */
  border-radius: 0; /* Remove radius */
  box-shadow: none; /* Remove shadow */
  display: block; /* Override previous display:none */
}

.faq-answer[aria-hidden="false"] {
    /* padding applied via JS potentially */
    /* max-height applied via JS */
}

.faq-answer p {
  color: var(--light-text-color);
  font-size: 15px;
  line-height: 1.7;
  padding: 20px 0; /* Add internal padding */
  margin: 0; /* Reset margin */
}


/* Footer Styles */
footer {
  background-color: var(--footer-background);
  color: #bdc3c7; /* Lighter grey for footer text */
  padding: 60px 0 20px;
  font-family: var(--body-font); /* Use body font */
}

.footer-container {
  display: grid; /* Use Grid for better alignment */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px; /* Gap between sections */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  /* Removed flex settings */
}

.footer-section h3 {
  font-size: 18px; /* Slightly smaller footer headings */
  color: var(--white);
  margin-bottom: 20px;
  font-family: var(--heading-font);
  font-weight: 700;
}

.footer-section p,
.footer-section ul li {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px; /* Add spacing */
  color: #bdc3c7; /* Match footer text color */
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0; /* Remove default margin */
}

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

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-section .social a {
  display: inline-block;
  margin-right: 15px; /* Increased spacing */
  transition: transform 0.3s ease, color 0.3s ease;
  color: #bdc3c7; /* Icon color */
  font-size: 24px; /* Icon size */
}

.footer-section .social a:hover {
  transform: scale(1.1);
  color: var(--primary-color); /* Icon color on hover */
}

.footer-bottom {
  text-align: center;
  padding-top: 40px; /* Increased padding */
  margin-top: 40px; /* Add margin */
  border-top: 1px solid #34495E; /* Slightly darker border */
  font-size: 13px; /* Smaller font */
}

.footer-bottom p {
  margin: 0;
  color: #95a5a6; /* Lighter grey */
}

.footer-bottom a {
  color: #bdc3c7; /* Match footer link color */
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}


/* Responsive Styles */

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    width: 85%;
  }
}

/* Medium Screen Navigation Fix */
@media (max-width: 1100px) {
  header nav ul li {
    margin-left: 15px; /* Reduce spacing between nav items */
  }
  
  header nav ul li a {
    font-size: 14px; /* Slightly smaller nav links */
  }
  
  .header-actions {
    gap: 15px; /* Reduce gap in header actions */
  }
  
  .lang-option {
    padding: 5px 6px; /* Reduce language switcher padding */
  }
}

/* Tablet Styles */
@media (max-width: 992px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .hero-content p { font-size: 20px; line-height: 1.6; }
  .dreambig { font-size: 40px; }
  
  /* Hide navigation and show mobile menu at tablet size */
  .mobile-menu-toggle {
    display: block;
    order: 3;
  }
  
  header .logo {
    flex-grow: 1;
    font-size: 24px;
  }
  
  header .cta-btn {
    order: 2;
    margin-left: 15px;
    padding: 8px 16px;
    font-size: 14px;
  }
  
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    width: 100%;
    z-index: 999;
  }
  
  header nav.active {
    display: block;
    animation: slideDown 0.3s ease forwards;
  }
  
  header nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  header nav ul li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }
  
  header nav ul li a {
    padding: 12px 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
    font-size: 16px;
  }
  
  header nav ul li:last-child a {
    border-bottom: none;
  }
  
  header nav ul li a::after {
    display: none;
  }
  
  .service-boxes {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust for better tablet fit */
  }

  .why-work-with-us-header {
    flex-direction: column;
    align-items: flex-start; /* Align left */
    text-align: left; /* Align text left */
  }

  .why-work-with-us-title h1 {
      text-align: left; /* Ensure heading is left aligned */
  }

  .why-work-with-us-description {
    padding-left: 0;
    margin-top: 30px;
    text-align: left; /* Align text left */
  }

  .platform-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-container {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Adjust grid */
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  body {
    padding-top: 70px; /* Adjust for potentially smaller header */
  }

  header {
    padding: 10px 0;
  }

  header .container {
    flex-wrap: wrap;
    position: relative; /* Needed for absolute positioning of nav */
  }

  header .logo {
    font-size: 22px; /* Slightly smaller on mobile */
  }

  header .cta-btn {
    padding: 6px 12px; /* Even smaller padding on mobile */
    font-size: 13px; /* Smaller font on mobile */
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero { 
    height: 85vh; /* Adjust hero height on mobile */
  } 
  
  .hero-content h1 { 
    font-size: 34px; 
    margin-bottom: 20px;
  }
  
  .hero-content p { 
    font-size: 18px; 
    padding: 0 15px;
    margin-bottom: 30px;
  }
  
  .hero-content .cta-primary {
    padding: 12px 25px;
    font-size: 16px;
  }
  
  .dreambig { font-size: 36px; }

  .service-boxes, .process-steps {
    grid-template-columns: 1fr; /* Single column */
    gap: 25px; /* Reduced gap */
  }
  
  .services-slide {
    flex-direction: column;
    gap: 25px;
  }
  
  .service-item {
    width: 100%;
    margin-bottom: 20px;
    padding: 25px 15px; /* Better mobile padding */
    min-height: auto; /* Allow natural height */
    height: auto; /* Ensure no height constraints */
    overflow: visible; /* Ensure text isn't clipped */
    box-sizing: border-box; /* Include padding in width calculation */
  }
  
  .service-item h3 {
    font-size: 15px !important; /* Force smaller title on mobile */
    line-height: 1.4 !important; /* Better line height */
    margin-bottom: 12px !important; /* More space below title */
    word-wrap: break-word; /* Prevent text overflow */
    white-space: normal; /* Allow text wrapping */
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
  
  .service-item p {
    font-size: 13px !important; /* Force smaller text on mobile */
    line-height: 1.6 !important; /* Better readability */
    margin: 0 !important; /* Remove default margins */
    word-wrap: break-word; /* Prevent text overflow */
    white-space: normal; /* Allow text wrapping */
    overflow: visible; /* Ensure text isn't clipped */
    max-width: 100%; /* Ensure text stays within container */
  }
  
  .icon-placeholder {
    width: 50px !important; /* Smaller icon container on mobile */
    height: 50px !important;
    margin: 0 auto 15px auto !important; /* Adjust spacing */
  }
  
  .service-icon-large {
    font-size: 20px !important; /* Smaller icon on mobile */
  }

  .why-work-with-us {
    padding: 60px 0; /* Reduced padding */
  }
  
  .why-work-with-us-header {
    gap: 20px;
    margin-bottom: 40px;
  }

  .platform-features-grid {
    gap: 25px;
  }
  
  .industries, .our-platform, .contact-us {
    padding: 60px 0; /* Reduced padding */
  }

  .footer-container {
    grid-template-columns: 1fr; /* Single column */
    text-align: center;
    gap: 30px; /* Reduced gap */
  }
  
  .footer-section h3 {
    margin-bottom: 15px;
  }
  
  .footer-section.social a {
    margin: 0 10px;
  }
  
  .footer-bottom p {
    font-size: 12px;
  }

  .tabs .tab {
    padding: 10px 20px;
    font-size: 14px;
    margin: 5px 3px; /* Adjusted margins */
    width: calc(50% - 10px); /* Make tabs take up roughly half width */
    box-sizing: border-box;
  }
  
  .tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-actions {
    gap: 10px;
  }
  
  .language-switcher {
    margin-right: 0;
  }
  
  .lang-text {
    display: none;
  }
  
  .flag {
    margin: 0;
  }
}

/* Very Small Screens */
@media (max-width: 480px) {
  .container { width: 95%; }
  h1 { font-size: 28px; }
  h2 { font-size: 26px; }
  
  header .logo {
    font-size: 20px; /* Even smaller on very small screens */
  }
  
  .hero-content p { 
    font-size: 16px;
    padding: 0 10px;
  }
  
  .hero-content .cta-primary {
    padding: 10px 20px;
    font-size: 14px;
    width: 80%; /* Wider button on small screens */
  }

  .what-we-do-title p,
  .section-header p,
  .contact-us p {
    font-size: 15px;
    line-height: 1.5;
  }
  
  .service-box {
    padding: 20px; /* Reduced padding */
  }
  
  .service-item {
    padding: 20px 12px !important; /* Even more compact on very small screens */
  }
  
  .service-item h3 {
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  
  .service-item p {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
  
  .icon-placeholder {
    width: 45px !important;
    height: 45px !important;
    margin-bottom: 12px !important;
  }
  
  .service-icon-large {
    font-size: 18px !important;
  }
  
  .process-step {
    padding: 20px 15px; /* Reduced padding */
  }

  .contact-us input,
  .contact-us textarea { 
    padding: 12px 15px;
    font-size: 14px; 
  }
  
  .contact-us button { 
    min-width: 100%;
    padding: 12px;
  }

  .faq-question { 
    font-size: 15px;
    padding: 15px 20px;
  }
  
  .faq-answer p { 
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Print Styles */
@media print {
  header, .hero video, .hero-overlay, .mobile-menu-toggle, .cta-btn, .cta-button, .contact-us form, footer, .faq-question::after {
    display: none;
  }
  body { padding-top: 0; }
  section { padding: 30px 0; }
  .container { width: 100%; max-width: none; padding: 0 1cm; }
  h1, h2, h3, p, li { color: #000 !important; text-shadow: none !important; }
  a { color: #000; text-decoration: underline; }
  .service-box, .process-step { box-shadow: none; border: 1px solid #ccc; }
  .service-boxes, .process-steps { display: block; } /* Stack elements */
  .service-box, .process-step { margin-bottom: 15px; }
}