* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;   
  font-family: 'Inter', Arial, sans-serif;
  background-color: #ffffff;
  scroll-behavior: smooth;
}

body {
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* CRITICAL FIX: Container now properly responsive at all sizes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =======================
   HEADER - FIXED POSITIONING CONTEXT
======================= */
header {
  background-color: transparent;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
  overflow: visible;
  height: 80px;
  width: 100%;
}

header:hover,
header.dropdown-open {
  background-color: rgba(42, 59, 124, 0.95);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  color: white;
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 70px;
  width: auto;
}

.logo-img.white {
  display: none;
}

header:hover .logo-img.blue {
  display: none;
}

header:hover .logo-img.white {
  display: block;
}

/* =======================
   HAMBURGER MENU STYLES
======================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-line {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =======================
   NAVIGATION STYLES
======================= */
.main-nav {
  display: block;
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: all 0.2s ease;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: white;
  border-bottom: 2px solid white;
}

.nav-links a.active {
  color: white;
  border-bottom: 2px solid white;
}

.dropdown {
  position: static;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: white;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle:hover {
  color: white;
  border-bottom: 2px solid white;
}

/* =======================
   FULL-WIDTH DROPDOWN MENU
======================= */
.dropdown-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  width: 100vw;
  height: auto;
  max-height: calc(100vh - 80px);
  overflow-y: auto !important;
  background-color: rgba(42, 59, 124, 0.95);
  padding: 40px 0 60px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 999;
  margin-top: 0;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-columns {
  display: flex;
  justify-content: center;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  padding: 0 60px;
  gap: 70px; /* BIG GAP for large screens */
}

/* FIXED: Columns are now fully size-adjustable */
.dropdown-column {
  flex: 1 1 0; /* Allows columns to grow and shrink equally */
  min-width: 120px; /* Minimum width to fit content */
  max-width: 250px; /* Maximum width on very large screens */
}

.dropdown-column h3 {
  color: white;
  font-size: 17px;
  margin-bottom: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.dropdown-column ul {
  list-style: none;
}

.dropdown-column li {
  margin-bottom: 10px;
}

.dropdown-column a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  display: block;
  padding: 3px 0;
  line-height: 1.4;
}

.dropdown-column a:hover {
  color: white;
  text-decoration: underline;
}

.close-menu {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-menu:hover {
  transform: translateX(-50%) rotate(90deg);
  transition: transform 0.2s;
}

/* =======================
   HERO SECTION - STOCKHOLM IMAGE + VISIBILITY FIX
======================= */
.hero {
  position: relative;
  min-height: 350px !important;
  width: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(0,0,0,0.3)),   url('../Images/Hero_CAG_Stockholm-2000x963_Grade.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0;
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1900px;
  padding: 0 15px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
  opacity: 0.95;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);

}

.btn-primary {
  background-color: #2a3b7c;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background-color: #002A5B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* =======================
   ABOUT SECTION
======================= */
.about-section {
  /*background-color: #FFF0E8;*/
  padding: 20px 0;
  width: 100%;
  box-sizing: border-box;
}

/*.about-section .container {
  max-width: 900px;
  margin: 0 auto;
}
*/
.about-section h2 {
  font-size: 32px;
  color: #2a3b7c;
  margin-bottom: 20px;
  text-align: center;
}

.about-section p {
  font-size: 18px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 0px;
  text-align: center;
}

.btn {
  background-color: #2a3b7c;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: #002A5B;
}

/* =======================
   PAGE CONTENT SECTION
======================= */

.page-content {
  padding: 60px 0;
  background-color: white;
  width: 100%;
}

.content-columns {
  display: grid;
  grid-template-columns: 250px 1fr; 
  /*gap: 30px;*/
  column-gap: 30px; 
  row-gap: 0;
  align-items: start; 
}

.content-columns > h2 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 28px;
  color: #2a3b7c;
  margin-bottom: 20px;
  line-height: 1.4;
  width: 100%;
}



/*.content-column h2 {
  display: none;
}

.content-column {
  min-width: 300px;
}

.content-column p {
  font-size: 17px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-left: 0;
}

.content-column ul {
  margin-left: 24px;
  margin-bottom: 20px;
}

.content-column li {
  margin-bottom: 10px;
  font-size: 17px;
  color: #444;
  line-height: 1.6;
}*/

/* NEW: Support for main-content layout */
.content-columns > .main-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.text-content h3 {
  font-size: 20px;
  color: #2a3b7c;
  margin: 25px 0 15px 0;
}

.text-content h3:first-child {
  margin-top:-80; 
}

.text-content p {
  font-size: 17px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-left: 0;
}

.text-content ul {
  margin-left: 24px;
  margin-bottom: 20px;
}

.text-content li {
  margin-bottom: 10px;
  font-size: 17px;
  color: #444;
  line-height: 1.6;
}

/* =======================
   SIDEBAR
======================= */
.sidebar {
  width: 250px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 0;
  position: relative;
}

.sidebar h3 {
  font-size: 20px;
  color: #2a3b7c;
  margin-bottom: 15px;
  border-bottom: none;
  padding-bottom: 0;
  text-align: left;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  display: block;
  color: #333;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 0;
  transition: all 0.2s ease;
  text-align: left;
}

.sidebar a:hover {
  background: #f0f8f8;
  color: #2a3b7c;
  text-decoration: underline;
  padding-left: 15px;
}

.sidebar a.active {
  background: #2a3b7c;
  color: white;
  font-weight: 500;
  padding-left: 15px;
}

/* =======================
   FEATURE BOXES
======================= */
.feature-box {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  width: 400px;
}

.feature-box h3 {
  font-size: 20px;
  color: #2a3b7c;
  margin-bottom: 15px;
  line-height: 1.4;
  text-align: center;
}

/* =======================
   CAPABILITY LEVELS
======================= */
.capability-levels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  margin-top: 30px;

}

.level {
  background: #f0f8f8;
  border: 1px solid #d0e0e0;
  border-radius: 8px;
  padding: 15px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-left: 4px solid #2a3b7c;
  width: 100%;
  transition: all 0.3s ease;
}

.level.managed {
  transform: translateY(20px);
  z-index: 3;
  width: 70%;
  align-self: flex-end;
  list-style-position: inside;
  padding-left: 20;
}

.level.performed {
  transform: translateY(10px);
  z-index: 2;
  width: 85%;
  align-self: flex-end;
  list-style-position: inside;
  padding-left: 20;
}

.level.incomplete {
  transform: translateY(0);
  z-index: 1;
  width: 100%;
  list-style-position: inside;
  padding-left: 20;
}

/* =======================
   CASE STUDIES
======================= */
.case-study {
  background: #f0f8f8;
  border: 1px solid #d0e0e0;
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

.case-study h4 {
  font-size: 16px;
  color: #2a3b7c;
  margin-bottom: 5px;
}

/* =======================
   COMPONENTS SECTION
======================= */
.components-section {
  /*padding: 60px 0;*/
  padding: 0px 0 20px 0;
  background-color: white;
  width: 100%;
}

.components-section .container {
  max-width: 1200px;
}

.components-section h2 {
  font-size: 32px;
  color: #2a3b7c;
  margin-bottom: 40px;
  text-align: center;
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  margin-top: 20px;
}

.component-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.component-card:hover {
  transform: translateY(-5px);
}

.card-header {
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  text-align: center;
}

.card-header h3 {
  margin: 10px 0 0 0;
  line-height: 1.3;
  font-size: 19px;
}

.card-icon {
  height: 40px;
  width: 40px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0f8f8;
  border-radius: 8px;
  color: #2a3b7c;
  font-size: 24px;
}

.component-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.component-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  text-align: left;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.component-links li {
  margin: 0;
  width: 100%;
}

.component-links a {
  display: block;
  background: #2a3b7c;
  color: white;
  padding: 9px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.component-links a:hover {
  background: #002A5B;
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.4);
}






















/* Main wrapper */
.main-content {
  padding: 60px 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}

/* Centered container */
.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Main page title */
.main-content h1 {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
  font-weight: 600;
 color: #2a3b7c;
}

.about-page {
  margin-bottom: 30px;
}


.about-page h2 {
  font-size: 28px;
  color: #2a3b7c;
  margin-bottom: 20px;
  line-height: 1.4;
}


.about-page p {
  font-size: 19px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-left: 0;
}



.about-page ul {
  margin: 20px 0 20px 25px;
   font-size: 19px;
}

.about-page li {
  margin-bottom: 10px;

}

/* Links */
.about-page a {
  color: #005a8d;
  text-decoration: none;
  transition: 0.2s ease;
}

.about-page a:hover {
  text-decoration: underline;
}

/* Images */
.about-page img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
}


.image-right {
  float: right;
  max-width: 600px; 
  width: 70%;       
  margin-left: 30px;
  margin-bottom: 20px; 
}



.image-placeholder {
  display: block;
  margin: 30px auto;
  max-width: 900px;
  width: 100%;
  clear: both;
}

.image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}



@media (max-width: 768px) {
  .main-content {
    padding: 20px 10px; 
  }

/*  .image-right, 
  .image-placeholder {
    float: none;
    display: block;
    width: 100vw;      
    max-width: 100vw;    
    margin: 20px -10px; 
    text-align: center;
  }
*/

.image-right, 
.image-placeholder {
  float: none;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 20px 0;
}

  .image-right img,
  .image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
  }
}


.benefits-flowchart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.flow-box {
  background-color: #f2ffff;
  border-radius: 8px;
  padding: 25px 40px;
  width: 100%;
  max-width: 800px;
  /*box-shadow: 0 4px 6px rgba(0,0,0,0.1);*/
    box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.1), 
    inset 0 0 15px rgba(0, 0, 0, 0.2); 
}

.flow-box h3 {
  color: #333;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.flow-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flow-box li {
  color: #555;
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
}

/* The Arrow */
.flow-arrow {
  width: 0; 
  height: 0; 
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 25px solid #333;
  margin: 10px 0;
}

/* Mobile Compatibility */
@media (max-width: 768px) {
  .flow-box {
    padding: 20px;
    width: 95%;
  }
  
  .flow-box h3 {
    font-size: 18px;
  }
  
  .flow-box li {
    font-size: 15px;
  }
}

























/* =======================
   FOOTER - MOBILE RESPONSIVE FORM FIXES
======================= */
footer {
  background-color: #2a3b7c;
  color: white;
  padding: 40px 0 20px;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  text-align: left;
}

.footer-logo .logo {
  color: white;
  font-size: 28px;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}

.footer-logo p {
  margin: 10px 0;
  font-size: 16px;
  opacity: 0.8;
}

.footer-logo .version {
  font-size: 14px;
  opacity: 0.7;
}

.footer-contact {
  text-align: right;
}

.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: white;
  text-align: right;
}

/* CRITICAL FOOTER FORM FIXES */
.footer-contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  max-width: 400px;
  margin-left: auto;
  width: 100%;
}

.form-group {
  width: 100%;
}

.footer-contact input {
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  width: 100%;
  text-align: left;
}

.footer-contact input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.footer-contact button {
  background: white;
  color: #2a3b7c;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer-contact button:hover {
  background: #e6e6e6;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* =======================
   DROPDOWN COLUMN SIZE ADJUSTMENTS - FULLY RESPONSIVE
======================= */

/* Large screens (1400px+) - BIG spacing between columns */
@media (min-width: 1400px) {
  .dropdown-columns {
    gap: 80px;
    padding: 0 80px;
  }
  
  .dropdown-column {
    max-width: 280px;
  }
}

/* Medium-large screens (1200px-1400px) */
@media (max-width: 1400px) {
  .dropdown-columns {
    gap: 60px;
    padding: 0 50px;
  }
  
  .dropdown-column {
    max-width: 240px;
  }
}

/* Medium screens (1100px-1200px) */
@media (max-width: 1200px) {
  .dropdown-columns {
    gap: 45px;
    padding: 0 40px;
  }
  
  .dropdown-column {
    min-width: 130px;
    max-width: 200px;
  }
  
  .dropdown-column h3 {
    font-size: 16px;
  }
  
  .dropdown-column a {
    font-size: 13px;
  }
}

/* Small-medium screens (1000px-1100px) */
@media (max-width: 1100px) {
  .dropdown-columns {
    gap: 30px;
    padding: 0 30px;
  }
  
  .dropdown-column {
    min-width: 115px;
    max-width: 180px;
  }
  
  .dropdown-column h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .dropdown-column a {
    font-size: 13px;
  }
  
  .dropdown-column li {
    margin-bottom: 8px;
  }
}

/* Small screens (900px-1000px) - Minimum before hamburger */
@media (max-width: 1000px) {
  .dropdown-columns {
    gap: 20px;
    padding: 0 20px;
  }
  
  .dropdown-column {
    min-width: 100px;
    max-width: 160px;
  }
  
  .dropdown-column h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .dropdown-column a {
    font-size: 12px;
    padding: 2px 0;
  }
  
  .dropdown-column li {
    margin-bottom: 6px;
  }
  
  .dropdown-menu {
    padding: 25px 0 35px;
  }
}

/* =======================
   MOBILE RESPONSIVE - COMPLETE FOOTER FORM FIX
======================= */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 15px;
    transform: none;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background-color: rgba(0, 61, 133, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 25px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    overflow-y: auto;
  }
  
  .main-nav.open {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  
  .nav-links li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  
  .nav-links a,
  .dropdown-toggle {
    color: white;
    font-size: 18px;
    padding: 8px 0;
    border-bottom: none;
    width: 100%;
    text-align: left;
    display: block;
  }
  
  .dropdown {
    width: 100%;
    position: relative;
  }
  
  .dropdown-toggle {
    justify-content: space-between;
    padding: 12px 0;
    font-size: 18px;
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    padding: 20px 0 0 0;
    background: transparent;
    box-shadow: none;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  
  .dropdown.open .dropdown-menu {
    display: block;
    max-height: 500px;
  }
  
  .dropdown-columns {
    flex-direction: column;
    gap: 25px;
    padding: 0;
    max-width: 100%;
  }
  
  .dropdown-column {
    min-width: auto;
    width: 100%;
    max-width: none;
  }
  
  .dropdown-column h3 {
    font-size: 17px;
    margin-bottom: 12px;
    color: #4DB6AC;
  }
  
  .dropdown-column a {
    font-size: 16px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.85);
  }
  
  .close-menu {
    display: none;
  }
  
  .arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
  }
  
  .dropdown.open .arrow {
    transform: rotate(180deg);
  }
  
  .hero {
    height: 400px;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .about-section h2 {
    font-size: 28px;
  }
  
  .components-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .component-card {
    min-height: 460px;
  }
  
  /* FOOTER MOBILE FIXES - CRITICAL FORM ADJUSTMENTS */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-contact {
    text-align: center;
    margin-top: 20px;
  }

  .footer-contact h4 {
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-contact form {
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }

  .footer-contact input {
    text-align: left;
    padding-left: 15px;
  }

  .footer-contact input::placeholder {
    text-align: left;
  }

  .footer-contact button {
    width: 100%;
    max-width: none;
    margin-top: 5px;
  }
}

@media (max-width: 768px) {
  .components-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .component-card {
    min-height: 440px;
  }
  
  .card-header {
    height: 100px;
  }
}

@media (max-width: 600px) {
  .components-grid {
    grid-template-columns: 1fr;
  }
  
  .component-card {
    min-height: auto;
    padding: 20px;
  }
  
  .card-header {
    height: auto;
    min-height: 90px;
    margin-bottom: 12px;
  }
  
  .card-icon {
    height: 36px;
    width: 36px;
  }
  
  .component-links {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  
  .hero {
    height: 350px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .logo-img {
    height: 60px;
  }
  
  /* FOOTER: Ensure form stays full-width */
  .footer-contact form {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }
  
  .about-section h2 {
    font-size: 26px;
  }
  
  .components-section h2 {
    font-size: 28px;
  }
  
  .logo-img {
    height: 50px;
  }
  
  .hamburger {
    top: 10px;
  }
  
  /* FOOTER: FINAL MOBILE OPTIMIZATIONS */
  .footer-contact h4 {
    font-size: 17px;
    margin-bottom: 15px;
  }
  
  .footer-contact input {
    padding: 10px 12px;
    font-size: 15px;
  }
  
  .footer-contact button {
    padding: 10px;
    font-size: 15px;
  }
  
  .page-content {
    padding: 40px 0;
  }
  
  .hero {
    height: 320px !important;
    margin-top: 0 !important;
    padding-top: 80px !important;
  }
}

/* =======================
   CONTENT SECTION RESPONSIVE FIXES
======================= */
@media (min-width: 900px) {
  .content-columns {
    grid-template-columns: 250px 1fr;
  }
  .feature-box {
    width: auto;
  }
}

@media (max-width: 899px) {
  .content-columns {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }
  
  .sidebar,
  .content-column,
  .feature-box,
  .main-content {
    width: 100% !important;
    min-width: auto !important;
    max-width: 100%;
  }
  
  .sidebar {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  
  .sidebar a {
    padding: 10px 15px !important;
    border-radius: 4px;
  }
  
  .capability-levels {
    margin-top: 25px !important;
    gap: 18px !important;
  }
  
  .level.managed {
    width: 75% !important;
    transform: translateY(18px) !important;
    padding: 14px !important;
  }
  
  .level.performed {
    width: 88% !important;
    transform: translateY(9px) !important;
    padding: 14px !important;
  }
  
  .level.incomplete {
    width: 100% !important;
    padding: 14px !important;
  }
  
/*  .content-column h2 {
    font-size: 26px;
  }
  
  .content-column p,
  .content-column li {
    font-size: 16px;
  }
  */
  .feature-box {
    padding: 20px !important;
  }
}

/*@media (max-width: 768px) {
  .content-column h2 {
    font-size: 24px;
  }*/
  .sidebar h3 {
    font-size: 19px;
  }
  
  .level.managed {
    width: 78% !important;
    transform: translateY(16px) !important;
  }
  
  .level.performed {
    width: 90% !important;
    transform: translateY(8px) !important;
  }
}

@media (max-width: 600px) {
  .capability-levels {
    gap: 15px !important;
    margin-top: 20px !important;
  }
  
  .level.managed {
    width: 82% !important;
    transform: translateY(14px) !important;
    padding: 12px !important;
  }
  
  .level.performed {
    width: 92% !important;
    transform: translateY(7px) !important;
    padding: 12px !important;
  }
  
  .level.incomplete {
    padding: 12px !important;
  }
  
  .level h4 {
    font-size: 17px !important;
  }
  
  .level p {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px !important;
  }
  
 /* .content-column h2 {
    font-size: 22px;
  }
  
  .content-column h3 {
    font-size: 20px;
  }
  
  .content-column p,
  .content-column li {
    font-size: 15px;
    line-height: 1.5;
  }*/
  
  .feature-box h3 {
    font-size: 19px;
  }
  
  .capability-levels {
    gap: 12px !important;
  }
  
  .level.managed {
    width: 88% !important;
    transform: translateY(11px) !important;
    padding: 10px !important;
  }
  
  .level.performed {
    width: 95% !important;
    transform: translateY(5px) !important;
    padding: 10px !important;
  }
  
  .level.incomplete {
    padding: 10px !important;
  }
  
  .level h4 {
    font-size: 16px !important;
  }
  
  .level p {
    font-size: 13px !important;
  }
  
  .page-content {
    padding: 30px 0 !important;
  }
  
  .hero {
    height: 280px !important;
    margin-top: 0 !important;
    padding-top: 80px !important;
  }
  
  .hero-content h1 {
    font-size: 26px !important;
    padding: 0 5px;
  }
  
  /* FOOTER: ULTRA-MOBILE OPTIMIZATIONS */
  .footer-contact form {
    max-width: 100% !important;
    padding: 0 5px;
  }
  
  .footer-contact input {
    padding: 8px 10px !important;
    font-size: 14px !important;
  }
  
  .footer-contact button {
    padding: 8px !important;
    font-size: 14px !important;
  }
}

/* ========================================
   ✅ CRITICAL SPACING FIXES - PAGE TITLE TO CONTENT
   ======================================== */

/* FIX 1: Remove top padding from .main-content when it's inside .content-columns */
.content-columns > .main-content {
  padding-top: 0 !important;
}

/* FIX 2: Remove ALL top margin from first h3 in text-content */
.content-columns > .main-content .text-content > h3:first-child {
  margin-top: 0 !important;
}

/* FIX 3: Reduce gap between capability levels and content above */
.text-content > ul:last-of-type {
  margin-bottom: 8px !important;
}

.capability-levels {
  margin-top: 12px !important;
}