#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/brayne/world_map.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease-out;
  overflow: hidden;
}

.loader-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.world-map-bg {
  position: absolute;
  width: 120%;
  height: 120%;
  opacity: 0.1;
  z-index: 1;
}

.logo-container {
  position: relative;
  z-index: 3;
}

.loader-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  animation: logoGlow 2s ease-in-out infinite alternate;
}

.company-name {
  margin-top: 20px;
  font-weight: bold;
  letter-spacing: 3px;
}

.brayne {
  display: block;
  font-size: 2.5rem;
  color: rgb(133, 133, 133);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: textGlow 2s ease-in-out infinite alternate;
}

.engineering {
  display: block;
  font-size: 1.2rem;
  color: #64b5f6;
  margin-top: 5px;
  font-weight: 300;
  letter-spacing: 8px;
}

.tagline {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #b0b0b0;
  font-style: italic;
  letter-spacing: 1px;
}

.loading-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border: 2px solid rgba(100, 181, 246, 0.3);
  border-radius: 50%;
  animation: pulse 3s ease-out infinite;
}

.pulse-ring.delay-1 {
  animation-delay: 1s;
  border-color: rgba(255, 255, 255, 0.2);
}

.pulse-ring.delay-2 {
  animation-delay: 2s;
  border-color: rgba(100, 181, 246, 0.1);
}

.loading-text {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.loading-dots {
  color: var(--footer);
  font-size: 1rem;
  letter-spacing: 2px;
  animation: loadingDots 1.5s infinite;
}

/* Animations */
@keyframes worldRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 30px rgba(182, 222, 255, 0.411));
  }
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
  100% {
    text-shadow: 0 0 20px rgba(164, 214, 255, 0.496);
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes loadingDots {
  0%,
  20% {
    content: "Loading";
  }
  40% {
    content: "Loading.";
  }
  60% {
    content: "Loading..";
  }
  80%,
  100% {
    content: "Loading...";
  }
}

.loading-dots::after {
  content: "";
  animation: loadingDotsContent 1.5s infinite;
}

@keyframes loadingDotsContent {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .loader-logo {
    width: 80px;
    height: 80px;
  }

  .brayne {
    font-size: 2rem;
  }

  .engineering {
    font-size: 1rem;
    letter-spacing: 4px;
  }

  .tagline {
    font-size: 0.8rem;
  }

  .pulse-ring {
    width: 150px;
    height: 150px;
  }
}



.solutions-text {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-size: 14px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.svg {
  background-image: url("../assets/icons/brayne_logo.png");
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-main-content {
  position: relative;
  flex: 1;
  place-items: flex-end;
  padding: 60px;
  overflow: hidden;
  max-width: 100%;
}

.about-main-title {
  width: 85%;
  font-size: 78px;
  font-weight: 600;
  color: #111;
  margin-bottom: 40px;
  line-height: 1.2;
}

.about-main-formula {
  width: 85%;
  font-size: 32px;
  display: flex;
  color: #28a745;
  margin-bottom: 40px;
}

.about-main-formula p {
  width: 80%;
}
.about-main-formula p:last-of-type {
  font-size: 20px;
}

.about-main-formula span {
  margin: 0 10px;
  color: #28a745;
}

.about-main-description {
  max-width: 800px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
}

.about-main-label {
  position: absolute;
  width: 10%;
  text-align: right;
  left: 5%;
  top: 50%;
  border-bottom: 1px solid black;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .about-main-content {
    padding: 30px;
  }

  .about-main-title {
    font-size: 36px;
  }

  .about-main-formula {
    font-size: 24px;
  }
}

/* About Section */
.about-section {
  padding: 100px 0;
  position: relative;
}

.about-section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00ffff, #4b9cd3);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.about-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.5s;
}

.about-image-container:hover .about-image {
  transform: scale(1);
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  text-align: center;
}

.stat-item {
  background: rgb(200, 233, 255);;
  padding: 30px;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 72, 124, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.stat-title {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Mission Section */
.mission-section {
  padding: 100px 0;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00ffff, #4b9cd3);
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.mission-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(180deg, #00ffff, #4b9cd3);
  transition: height 0.5s;
}

.mission-card:hover {
  transform: translateY(-15px);
}

.mission-card:hover::before {
  height: 100%;
}

.mission-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #0072ce;
}

.mission-card p {
  font-size: 1rem;
  line-height: 1.6;
}

.mission-icon {
  font-size: 3rem;
  color: #0e004c;
  margin-bottom: 20px;
}

.offshore_page {
  position: relative;
  background-color: #0d1117;
  color: white;
  padding: 40px;
  overflow: hidden;
}

.offshore_wrapper {
  max-width: 80%;
  margin: 0 auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.offshore_media_gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offshore_image {
  width: 100%;
  height: 500px;
  border-radius: 4px;
}

.offshore_content_area {
  padding: 20px 0;
}

.offshore_icon_container {
  margin-bottom: 20px;
}

.offshore_icon {
  width: 40px;
  height: 40px;
  fill: white;
}

.offshore_heading {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.2;
}

.offshore_description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #e6e6e6;
}

.offshore_navigation {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.offshore_nav_button {
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.offshore_nav_button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.offshore_arrow_icon {
  margin-left: 10px;
  width: 20px;
  height: 20px;
}

.offshore_content_section {
  margin-bottom: 80px;
}

@media (max-width: 1024px) {
  .offshore_wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .offshore_page {
    padding: 20px;
  }

  .offshore_heading {
    font-size: 36px;
  }
}

.line-overlay {
  position: absolute;
  width: 100%;
  text-align: right;
  left: 5%;
  top: 50%;
  border-bottom: 1px solid rgb(255, 255, 255);
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  z-index: 20;
}

.impact_page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.53)),
    url("../assets/brayne/assets/DimCon1.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.impact_container {
  max-width: 100%;
  margin: 0 auto;
  color: white;
  padding: 40px;
}

.impact_logo {
  width: 20px;
  height: 80px;
  display: none;
  margin-bottom: 40px;
}

.impact_title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 30px;
  max-width: 80%;
}

.impact_description {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 700px;
  opacity: 0.9;
}

.impact_cta_button {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.impact_cta_button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.impact_arrow_icon {
  margin-left: 10px;
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .impact_container {
    padding: 20px;
  }

  .impact_title {
    font-size: 36px;
  }

  .impact_description {
    font-size: 18px;
  }

  .impact_logo {
    width: 60px;
    height: 60px;
  }
}

/* Large Screens (up to 1200px) */
@media screen and (max-width: 1200px) {
  .about-main-title {
    font-size: 60px;
    width: 90%;
  }

  .about-main-formula {
    width: 90%;
    font-size: 28px;
  }

  .impact_title {
    font-size: 22px;
    margin-bottom: 10px;
    max-width: 80%;
  }

  .impact_description {
    font-size: 18px;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
  }
}

/* Medium Screens (up to 992px) */
@media screen and (max-width: 992px) {
  .about-main-content {
    padding: 40px;
  }

  .about-main-title {
    font-size: 48px;
    width: 100%;
  }

  .about-main-formula {
    width: 100%;
    font-size: 24px;
    flex-direction: column;
  }

  .about-main-formula p {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Tablets (up to 768px) */
@media screen and (max-width: 768px) {
  .about-main-content {
    padding: 30px;
  }

  .about-main-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .about-main-formula {
    font-size: 20px;
  }

  .about-main-formula p:last-of-type {
    font-size: 18px;
  }

  .about-main-label {
    font-size: 0.75rem;
    width: 15%;
    left: 2%;
  }
}

/* Mobile Phones (up to 576px) */
@media screen and (max-width: 576px) {
  .about-main-content {
    padding: 20px;
  }

  .about-main-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .about-main-formula {
    font-size: 18px;
  }

  .about-main-formula p:last-of-type {
    font-size: 16px;
  }

  .about-main-description {
    font-size: 16px;
    line-height: 1.5;
  }

  .about-main-label {
    display: none; /* Optional: hide the rotated label on mobile */
    /* Or keep it with adjusted size:
      font-size: 0.7rem;
      width: 20%;
      left: 0;
      */
  }
}

/* Very Small Devices (up to 400px) */
@media screen and (max-width: 400px) {
  .about-main-content {
    padding: 15px;
  }

  .about-main-title {
    font-size: 28px;
  }

  .about-main-formula {
    font-size: 16px;
  }

  .about-main-formula p:last-of-type {
    font-size: 14px;
  }
}

/* Media Queries */
@media screen and (max-width: 990px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image-container {
    max-height: 400px;
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
  }

  .mission-cards {
    grid-template-columns: 1fr;
  }
}
