/* =========================================================
    CONTAINER FIXES - ADD THIS AT THE TOP
    ========================================================= */

/* Main content container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Ensure all sections respect container */
section {
  width: 100%;
}

/* Section inner containers */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Main wrapper */
.wrapper.row3 {
  width: 100%;
  background-color: #fff;
}

/* Main content area */
.hoc.container.clear {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px;
}

/* Content wrapper */
#wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================================
    CAROUSEL - WITH CONTAINER CONSTRAINT
    ========================================================= */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 60vh;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slider-container button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  font-size: var(--fs-h3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.slider-container button:hover {
  background: rgba(255, 255, 255, 0.9);
}

.slider-container .prev {
  left: 15px;
}

.slider-container .next {
  right: 15px;
}

/* =========================================================
    SECTION STYLING WITH PROPER WIDTHS
    ========================================================= */
.nheading1 {
  font-size: var(--fs-h1);
  font-family: sans-serif;
  font-weight: bold;
  margin: 30px 0 20px;
  color: #2c3e50;
  text-align: center;
  width: 100%;
}

.c4i4-section {
  margin-bottom: 30px;
  padding: 0 15px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.c4i4-section h2 {
  font-family: sans-serif;
  font-size: var(--fs-h2);
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50;
  border-bottom: 2px solid #d35400;
  padding-bottom: 5px;
  width: 100%;
}

.c4i4-section p {
  font-family: sans-serif;
  font-size: var(--fs-body);
  text-align: justify;
  color: #333;
  line-height: 1.6;
  width: 100%;
}

.highlight {
  font-weight: bold;
  color: #d35400;
}

.feature-box {
  background: #f9f9f9;
  margin: 10px 0;
  padding: 12px;
  border-left: 4px solid #d35400;
  border-radius: 4px;
  width: 100%;
}

.visitor-list {
  list-style-type: none;
  padding-left: 0;
  width: 100%;
}

.visitor-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  width: 100%;
}

.visitor-list li:before {
  content: "●";
  color: #d35400;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.numbered-list {
  list-style-type: decimal;
  padding-left: 20px;
  width: 100%;
}

.numbered-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  width: 100%;
}

.program-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.program-card h3 {
  color: #2c3e50;
  margin-top: 0;
  width: 100%;
}

.registration-btn {
  display: inline-block;
  background: #d35400;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 20px 0;
  text-align: center;
  transition: background 0.3s ease;
  width: auto;
}

.registration-btn:hover {
  background: #e67e22;
  text-decoration: none;
  color: white;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.fee-table th,
.fee-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.fee-table th {
  background: #f2f2f2;
  font-weight: bold;
}

/* =========================================================
    EXPERIENCE SECTION WITH PROPER CONTAINMENT
    ========================================================= */
.experience-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 20px;
  width: 100%;
}

.experience-card {
  display: flex;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #d35400;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #d35400, #e67e22);
}

.experience-number {
  font-size: var(--fs-h2);
  font-weight: bold;
  color: #d35400;
  background: #fff;
  border: 2px solid #d35400;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.experience-content {
  flex: 1;
  width: 100%;
}

.experience-content h3 {
  color: #2c3e50;
  margin: 0 0 15px 0;
  font-size: var(--fs-h4);
  font-weight: bold;
  width: 100%;
}

/* Technology List Styles */
.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.tech-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  width: 100%;
}

.tech-icon {
  font-size: var(--fs-body);
  margin-right: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}

.tech-text {
  flex: 1;
  width: 100%;
}

/* Learning Features */
.learning-features {
  margin-top: 10px;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  width: 100%;
}

.feature-icon {
  font-size: var(--fs-h4);
  margin-right: 12px;
  flex-shrink: 0;
}

.audience-tags {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  flex-wrap: wrap;
  width: 100%;
}

.audience-tag {
  background: #e67e22;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: var(--fs-tiny);
  font-weight: bold;
}

/* Session Highlights */
.session-highlights {
  margin-bottom: 15px;
  width: 100%;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  width: 100%;
}

.highlight-bullet {
  color: #d35400;
  font-weight: bold;
  margin-right: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}

.participant-roles h4 {
  margin: 15px 0 8px 0;
  color: #2c3e50;
  font-size: var(--fs-small);
  width: 100%;
}

.role-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.role-chip {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: var(--fs-tiny);
  font-weight: bold;
}

.role-chip.executive {
  background: #3498db;
  color: white;
}

.role-chip.technical {
  background: #2ecc71;
  color: white;
}

.role-chip.operational {
  background: #9b59b6;
  color: white;
}

/* DMA Process */
.dma-process {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
  flex-wrap: wrap;
  width: 100%;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.step-number {
  background: #d35400;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 5px;
}

.step-text {
  font-size: var(--fs-tiny);
  text-align: center;
}

.process-arrow {
  color: #d35400;
  font-weight: bold;
  margin: 0 10px;
}

.benefits-box {
  background: #e67e22;
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  text-align: center;
  margin-top: 15px;
  font-size: var(--fs-small);
  width: 100%;
}

/* Opportunity Platform */
.opportunity-platform {
  margin-bottom: 15px;
  width: 100%;
}

.platform-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  width: 100%;
}

.platform-icon {
  font-size: var(--fs-h3);
  margin-right: 10px;
  flex-shrink: 0;
}

.user-groups {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
}

.user-group {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  flex: 1;
  min-width: 120px;
}

.group-icon {
  font-size: var(--fs-h3);
  margin-right: 10px;
  flex-shrink: 0;
}

.group-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.group-info strong {
  font-size: var(--fs-small);
}

.group-info small {
  color: #666;
  font-size: var(--fs-tiny);
}

.action-call {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-size: var(--fs-small);
  margin-top: 15px;
  width: 100%;
}

/* =========================================================
    GALLERY SECTION WITH PROPER CONTAINMENT
    ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  font-size: var(--fs-tiny);
  text-align: center;
}

.gallery-category {
  margin-top: 30px;
  width: 100%;
}

.gallery-category h3 {
  color: #2c3e50;
  border-left: 4px solid #d35400;
  padding-left: 10px;
  margin-bottom: 15px;
  width: 100%;
}

/* =========================================================
    CONTACT INFO WITH PROPER CONTAINMENT
    ========================================================= */
.contact-info {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 25px;
  border-radius: 10px;
  margin: 20px 0;
  width: 100%;
  max-width: 1200px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  width: 100%;
}

.contact-icon {
  font-size: var(--fs-h3);
  margin-right: 15px;
  color: #d35400;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}

/* =========================================================
    RESPONSIVE DESIGN WITH CONTAINER FIXES
    ========================================================= */
@media (max-width: 1200px) {
  .container,
  #wrapper,
  .c4i4-section,
  .slider-container,
  .contact-info {
    max-width: 95%;
    padding: 0 20px;
  }

  .hoc.container.clear {
    padding: 20px;
  }
}

@media (max-width: 992px) {
  .container,
  #wrapper,
  .c4i4-section,
  .slider-container,
  .contact-info {
    max-width: 100%;
    padding: 0 15px;
  }

  .slider-container {
    height: 50vh;
    border-radius: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 35vh;
  }

  .nheading1 {
    padding: 0 15px;
  }

  .c4i4-section {
    padding: 0 10px;
  }

  .c4i4-section h2 {
  }

  .slider-container button {
    padding: 8px;
    width: 35px;
    height: 35px;
  }

  .experience-card {
    flex-direction: column;
    padding: 20px;
  }

  .experience-number {
    margin-right: 0;
    margin-bottom: 15px;
    align-self: flex-start;
  }

  .dma-process {
    flex-direction: column;
    gap: 10px;
  }

  .process-arrow {
    transform: rotate(90deg);
    margin: 5px 0;
  }

  .user-groups {
    flex-direction: column;
  }

  .user-group {
    min-width: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .fee-table {
  }

  .fee-table th,
  .fee-table td {
    padding: 8px;
  }

  .contact-info {
    padding: 20px 15px;
  }
}

@media (max-width: 576px) {
  .container,
  #wrapper,
  .c4i4-section,
  .slider-container {
    padding: 0 10px;
  }

  .slider-container {
    height: 30vh;
  }

  .hoc.container.clear {
    padding: 15px 10px;
  }

  .nheading1 {
    margin: 20px 0 15px;
  }

  .c4i4-section h2 {
  }

  .c4i4-section p {
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .slider-container button {
    width: 30px;
    height: 30px;
    padding: 6px;
  }
}

/* =========================================================
    UTILITY CLASSES FOR CONSISTENT SPACING
    ========================================================= */
.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.w-100 {
  width: 100% !important;
}

.text-center {
  text-align: center !important;
}

/* =========================================================
    GLOBAL IMAGE FIXES
    ========================================================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
    SCROLL BEHAVIOR FOR SMOOTH NAVIGATION
    ========================================================= */
html {
  scroll-behavior: smooth;
}

/* =========================================================
    PRINT STYLES
    ========================================================= */
@media print {
  .slider-container,
  .slider-container button {
    display: none !important;
  }

  .container,
  #wrapper,
  .c4i4-section {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .experience-card,
  .program-card {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}