/* ===== MY IT WORLD OPTIMIZED PRODUCTION STYLES ===== */

/* === OPTIMIZED FONT LOADING === */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* === CSS VARIABLES === */
:root {
  /* Professional Bangkok Bank Navy Color Scheme */
  --primary-dark: #003366;
  --primary-navy: #004080;
  --secondary-blue: #0066cc;
  --accent-silver: #c0c0c0;
  --white: #ffffff;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-gray: rgba(0, 51, 102, 0.8);

  /* Fonts */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 2rem 0;
}

/* === GLOBAL RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--primary-dark);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  min-height: 60px;
}

.logo img {
  height: 50px;
  width: auto;
  margin-right: 1rem;
  transition: all 0.3s ease;
  max-width: 400px;
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-blue);
  background: rgba(0, 102, 204, 0.05);
  transform: translateY(-1px);
}

/* === BANNER/HERO SECTION === */
.banner {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-dark));
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  padding-top: 80px;
  width: 100%;
  overflow: hidden;
}

.banner-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.hero-section {
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 100%;
  font-size: 0.9rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
}

.title-primary {
  display: block;
  color: var(--white);
}

.title-gradient {
  display: block;
  background: linear-gradient(
    45deg,
    var(--secondary-blue),
    var(--accent-silver)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.subtitle-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.subtitle-icon {
  color: var(--secondary-blue);
  flex-shrink: 0;
}

.hero-description {
  margin-bottom: 2rem;
}

.description-text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-light);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  min-width: fit-content;
}

.btn-primary {
  background: var(--secondary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 1.5s forwards;
}

.stat-item {
  text-align: center;
  min-width: fit-content;
  opacity: 0;
  transform: translateY(20px);
}

.stat-item:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 2s forwards;
}

.stat-item:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 2.3s forwards;
}

.stat-item:nth-child(3) {
  animation: fadeInUp 0.8s ease-out 2.6s forwards;
}

.stat-item:nth-child(4) {
  animation: fadeInUp 0.8s ease-out 2.9s forwards;
}

.stat-number {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--secondary-blue);
  display: block;
  position: relative;
  overflow: hidden;
}

.stat-number::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 2s ease-in-out 3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.stat-label {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--text-light);
}

.badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.australian-badge {
  height: 60px;
  width: 60px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 8px;
}

.australian-badge:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* Responsive badge sizing for different sections */
.managed-stats .australian-badge,
.hero-stats .australian-badge {
  height: 55px;
  width: 55px;
}

/* === BANNER BACKGROUND EFFECTS === */
.banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.15)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 20s infinite linear;
}

.banner-gradient-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(30, 64, 175, 0.1),
    rgba(59, 130, 246, 0.1)
  );
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}

/* === COMPANY CARD === */
.company-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  color: var(--white);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.company-tagline {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--text-light);
  margin-top: 0.25rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  word-break: break-word;
}

.contact-icon {
  color: var(--secondary-blue);
  width: 16px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  word-break: break-word;
}

.card-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-text {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.cta-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.cta-link:hover {
  color: #fbbf24;
}

/* === INTRODUCTION SECTION === */
.intro-section {
  padding: var(--section-padding);
  background: #f8f9fa;
  width: 100%;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #64748b;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.intro-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
}

.company-name {
  color: var(--secondary-blue);
  display: block;
  margin-bottom: 1rem;
}

.intro-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #64748b;
  font-weight: 500;
}

.intro-description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-description,
.secondary-description {
  line-height: 1.7;
  color: var(--primary-dark);
  font-size: clamp(0.95rem, 1.5vw, 1rem);
}

.cta-text {
  color: var(--secondary-blue);
  font-weight: 600;
}

/* === SERVICES SECTION === */
.services-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--primary-dark);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--secondary-blue),
    var(--primary-navy)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.feature-content p {
  color: #64748b;
  line-height: 1.5;
}

.intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary-blue);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.intro-btn:hover {
  background: var(--primary-navy);
  transform: translateY(-2px);
}

/* === SERVICES SHOWCASE SECTION === */
.services-showcase-section {
  padding: var(--section-padding);
  background: var(--white);
  width: 100%;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-blue);
}

.service-card.featured {
  background: linear-gradient(
    135deg,
    var(--secondary-blue),
    var(--primary-navy)
  );
  color: var(--white);
  transform: scale(1.02);
}

.service-card.featured:hover {
  transform: scale(1.02) translateY(-10px);
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent-silver);
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  font-weight: 600;
  text-transform: uppercase;
}

.service-icon {
  text-align: center;
  margin-bottom: 2rem;
}

.big-service-icon {
  font-size: clamp(3rem, 6vw, 4rem);
  margin-bottom: 1rem;
  display: inline-block;
  animation: serviceIconFloat 3s ease-in-out infinite;
}

.service-card.featured .big-service-icon {
  filter: brightness(1.2);
}

@keyframes serviceIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.service-content h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  text-align: center;
  word-wrap: break-word;
}

.service-card.featured .service-content h3 {
  color: var(--white);
}

.service-content p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.service-card.featured .service-content p {
  color: var(--text-light);
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--primary-dark);
  font-weight: 500;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  word-wrap: break-word;
}

.service-card.featured .service-features li {
  color: var(--white);
}

.service-features i {
  color: var(--secondary-blue);
  width: 16px;
  flex-shrink: 0;
}

.service-card.featured .service-features i {
  color: var(--accent-silver);
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary-blue);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.service-btn:hover {
  background: var(--primary-navy);
  transform: translateY(-2px);
}

.service-btn.primary {
  background: var(--white);
  color: var(--secondary-blue);
  border: 2px solid var(--white);
}

.service-btn.primary:hover {
  background: var(--accent-silver);
  color: var(--primary-dark);
}

/* === THREE COLUMN SECTION === */
.three-column-section {
  padding: var(--section-padding);
  background: #f8f9fa;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.column {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.column:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.column-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--secondary-blue),
    var(--primary-navy)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--white);
  font-size: 2rem;
}

.column h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.column p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.column-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.column-link:hover {
  color: var(--primary-navy);
  transform: translateX(5px);
}

/* === MANAGED IT SECTION === */
.managed-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-dark));
  color: var(--white);
}

.managed-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.managed-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--white);
}

.managed-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.managed-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.managed-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.managed-feature i {
  color: var(--accent-silver);
  font-size: 1.5rem;
  width: 30px;
  text-align: center;
}

.managed-feature h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.managed-feature p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.managed-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.managed-stats .stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.managed-stats .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-silver);
  display: block;
  margin-bottom: 0.5rem;
}

.managed-stats .stat-label {
  color: var(--text-light);
  font-weight: 500;
}

/* === FOOTER === */
.footer {
  background: var(--primary-navy);
  color: var(--white);
  padding: 2rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-silver);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}

.contact-item i {
  color: var(--accent-silver);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-light);
  margin: 0;
}

.footer-logo img {
  height: 55px;
  margin-bottom: 1rem;
  max-width: 350px;
  width: auto;
}

.footer-section p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* === RESPONSIVE DESIGN === */

/* Extra Large Screens (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Large Screens (992px to 1199px) */
@media (max-width: 1199px) {
  .container {
    max-width: 992px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-card.featured {
    transform: none;
    grid-column: span 2;
  }
}

/* Medium Screens (768px to 991px) */
@media (max-width: 991px) {
  .container {
    padding: 0 1.5rem;
  }

  .banner-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .company-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-card.featured {
    grid-column: span 2;
  }

  .columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .managed-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Small Screens and Tablets (481px to 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .banner {
    padding-top: 70px;
    min-height: auto;
    padding-bottom: 2rem;
  }

  .banner-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .hero-badge {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-modern {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .australian-badge {
    height: 50px;
    width: 50px;
  }

  .managed-stats .australian-badge,
  .hero-stats .australian-badge {
    height: 45px;
    width: 45px;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2rem);
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card.featured {
    grid-column: span 1;
    transform: none;
  }

  .service-card {
    padding: 1.5rem;
  }

  .columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .managed-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .company-card {
    padding: 1.5rem;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Extra Small Screens (320px to 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .banner {
    padding-top: 75px;
  }

  .hero-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
  }

  .hero-subtitle {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }

  .subtitle-line {
    font-size: 0.9rem;
  }

  .hero-description {
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .btn-modern {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-item {
    min-width: auto;
  }

  .australian-badge {
    height: 45px;
    width: 45px;
  }

  .managed-stats .australian-badge,
  .hero-stats .australian-badge {
    height: 40px;
    width: 40px;
  }

  .company-card {
    padding: 1.25rem;
    border-radius: 15px;
  }

  .contact-row {
    font-size: 0.85rem;
  }

  .expertise-item {
    font-size: 0.8rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-features li {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-section h4 {
    font-size: 1.1rem;
  }

  .footer-links li {
    margin-bottom: 0.5rem;
  }

  .contact-item {
    font-size: 0.9rem;
  }
}

/* Ultra Small Screens (below 320px) */
@media (max-width: 319px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .company-card {
    padding: 1rem;
  }

  .service-card {
    padding: 1rem;
  }

  .btn-modern {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* === MOBILE MENU SYSTEM === */
.mobile-menu {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-left: auto;
}

.menu-toggle:hover {
  background-color: rgba(0, 102, 204, 0.1);
  transform: scale(1.05);
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background: var(--primary-dark);
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Mobile Dropdown Menu */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav-content {
    padding: 0.5rem 0;
    min-height: 55px;
    justify-content: center;
    position: relative;
  }

  .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .logo img {
    height: 45px;
    margin-right: 0;
    max-width: 320px;
    width: auto;
    display: block;
    margin: 0 auto;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
  }

  .banner {
    padding-top: 80px;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 51, 102, 0.95);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 400px;
  }

  .mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
  }

  .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-links li {
    margin: 1.5rem 0;
  }

  .mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .mobile-nav-links a:hover {
    background: var(--secondary-blue);
    border-color: var(--accent-silver);
    transform: translateY(-2px);
  }

  /* Hamburger Animation */
  .menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Body scroll prevention */
.no-scroll {
  overflow: hidden;
}

/* === UTILITY CLASSES === */

/* Text utilities */
.text-responsive {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

/* Spacing utilities */
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.p-1 {
  padding: 0.5rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}
.p-4 {
  padding: 2rem;
}

/* Display utilities */
.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}

/* Responsive display utilities */
@media (max-width: 767px) {
  .d-sm-none {
    display: none;
  }
  .d-sm-block {
    display: block;
  }
  .d-sm-flex {
    display: flex;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none;
  }
  .d-md-block {
    display: block;
  }
  .d-md-flex {
    display: flex;
  }
}

/* Responsive width utilities */
.w-100 {
  width: 100%;
}
.w-75 {
  width: 75%;
}
.w-50 {
  width: 50%;
}
.w-25 {
  width: 25%;
}

/* Flex utilities */
.flex-column {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}

/* Grid utilities */
.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.grid-1 {
  grid-template-columns: 1fr;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Gap utilities */
.gap-1 {
  gap: 0.5rem;
}
.gap-2 {
  gap: 1rem;
}
.gap-3 {
  gap: 1.5rem;
}
.gap-4 {
  gap: 2rem;
}

/* Overflow utilities */
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}

/* Word break utilities */
.word-break {
  word-break: break-word;
}
.word-wrap {
  overflow-wrap: break-word;
}

/* Container max-width utilities */
.container-sm {
  max-width: 576px;
  margin: 0 auto;
}
.container-md {
  max-width: 768px;
  margin: 0 auto;
}
.container-lg {
  max-width: 992px;
  margin: 0 auto;
}
.container-xl {
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive image utility */
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Aspect ratio utilities */
.aspect-16-9 {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.aspect-square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* === TABLET RESPONSIVENESS === */
@media (max-width: 992px) and (min-width: 769px) {
  .nav {
    gap: 1.5rem;
  }

  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
  }

  .nav-content {
    padding: 1.2rem 0;
  }

  .logo img {
    height: 65px;
    max-width: 320px;
  }
}

/* === LARGE DESKTOP RESPONSIVENESS === */
@media (min-width: 1200px) {
  .nav {
    gap: 3rem;
  }

  .nav-link {
    padding: 0.6rem 1.2rem;
    font-size: 1.05rem;
  }

  .nav-content {
    padding: 1.8rem 0;
  }

  .logo img {
    height: 80px;
    max-width: 420px;
  }
}

/* Mobile Styles - Adjusted for clarity and organization */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav-content {
    padding: 0.5rem 0;
    min-height: 55px;
    justify-content: center;
    position: relative;
  }

  .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .logo img {
    height: 45px;
    margin-right: 0;
    max-width: 320px;
    width: auto;
    display: block;
    margin: 0 auto;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
  }

  .banner {
    padding-top: 80px;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 51, 102, 0.95);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 400px;
  }

  .mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
  }

  .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-links li {
    margin: 1.5rem 0;
  }

  .mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .mobile-nav-links a:hover {
    background: var(--secondary-blue);
    border-color: var(--accent-silver);
    transform: translateY(-2px);
  }

  /* Hamburger Animation */
  .menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Body scroll prevention */
.no-scroll {
  overflow: hidden;
}

/* === UTILITY CLASSES === */

/* Text utilities */
.text-responsive {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

/* Spacing utilities */
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.p-1 {
  padding: 0.5rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}
.p-4 {
  padding: 2rem;
}

/* Display utilities */
.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}

/* Responsive display utilities */
@media (max-width: 767px) {
  .d-sm-none {
    display: none;
  }
  .d-sm-block {
    display: block;
  }
  .d-sm-flex {
    display: flex;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none;
  }
  .d-md-block {
    display: block;
  }
  .d-md-flex {
    display: flex;
  }
}

/* Responsive width utilities */
.w-100 {
  width: 100%;
}
.w-75 {
  width: 75%;
}
.w-50 {
  width: 50%;
}
.w-25 {
  width: 25%;
}

/* Flex utilities */
.flex-column {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}

/* Grid utilities */
.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.grid-1 {
  grid-template-columns: 1fr;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Gap utilities */
.gap-1 {
  gap: 0.5rem;
}
.gap-2 {
  gap: 1rem;
}
.gap-3 {
  gap: 1.5rem;
}
.gap-4 {
  gap: 2rem;
}

/* Overflow utilities */
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}

/* Word break utilities */
.word-break {
  word-break: break-word;
}
.word-wrap {
  overflow-wrap: break-word;
}

/* Container max-width utilities */
.container-sm {
  max-width: 576px;
  margin: 0 auto;
}
.container-md {
  max-width: 768px;
  margin: 0 auto;
}
.container-lg {
  max-width: 992px;
  margin: 0 auto;
}
.container-xl {
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive image utility */
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Aspect ratio utilities */
.aspect-16-9 {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.aspect-square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
