/* General */
*{
    margin: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

img{
    pointer-events: none;;
}

/* Colors */
:root {
    --black:#000000;
    --white:#FFF;
    --sand:#F7F4F3;
    --dark-blue:#0D93C6;
    --light-blue:#66AFD2;
    --dark-red:#B83348;
    --light-red: #E11C25;
}


/* Fonts */
body{
    font-family: "Nunito Sans", sans-serif;
}

h1{
    font-size:2.625rem;
    font-weight:400;
    margin-bottom:10px;
}

h2{
    font-size:2rem;
    font-weight:400;
    margin-bottom:10px;
}

h3{
    font-size:1.375rem;
    font-weight:400;
    margin-bottom:10px;
}

h4{
    font-size:1rem;
    font-weight:400;
    margin-bottom:10px;
}


p{
    font-size:0.875rem;
    font-weight:100;
    line-height:1.6;
}

a{
    font-size:0.875rem;
    font-weight:200;
    text-decoration:none;
}

/* Wrap */
.page-wrap{
    max-width:1920px;
    margin:auto;

}

.mobile-only {
  display: none;
}

.section{
    padding:40px;
}

.dark{
    background-color:var(--black)!important;
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark p, .dark a{
    color:var(--white);
}
/* Buttons */
.button{
    padding:5px 5px 5px 16px;
    color:var(--white);
    border-radius:40px;
    margin-right:20px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content: space-between;;
}

.primary{
    background-color:var(--light-red);
}

.primary:hover{
    background-color:var(--dark-red)!important;
}

.secondary{
    border:0.5px solid rgba(255, 255, 255, 0.5);
}

.secondary:hover{
    background-color:var(--dark-blue);
}

.icon-wrap{
    display:flex;
    justify-content: center;
    align-items:center;
    border-radius:100px;
    width:30px;
    height:30px;
    margin-left:20px;
}

.primary .icon-wrap{
    background-color:var(--white);
}

.secondary .icon-wrap{
    background-color:none;
}

/* Hero */
.hero{
    background: url('../images/hero.jpg');
    background-repeat:no-repeat;
    background-size:cover;
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    align-items:flex-start;
    transition: background-image 0.5s ease-in-out;
}

.hero-rects {
  position: absolute;
  bottom:40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-rects .rect {
  width: 2px;      
  height: 32px;   
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-rects .rect.active {
  background: white;
}

.content{
    width:480px;
}

.hero .content .cta{
    margin-top:30px;
    display:flex;
    flex-direction:row;
    align-items: center;
    justify-content: flex-start;
}

/* Nav */

.navbar {
  width: 100%;
  position: relative;
  padding: 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;


}

ul li:hover{
    color:var(--dark-red);
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  backdrop-filter: blur(40px);
  background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.2)
  );   
  mask:
    radial-gradient(circle 90px at 50% 50%, transparent 0 60%, black 61%);
  -webkit-mask:
    radial-gradient(circle 90px at 50% 50%, transparent 0 60%, black 61%);

  z-index: 0;
}


.navbar > * {
  position: relative;
  z-index: 2;
}

.nav-logo {
  background: var(--black);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-logo img {
  height: 32px;
}


.navbar .button{
    margin-right:0;
    background-color:var(--black);
}

ul{
    list-style-type:none;
}

ul li{
    color:white;
    display:inline;
    margin-right:30px;
}

.nav-logo img {
  height: 32px;
}

/* Core Services */
.services{
    width:100%;
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    align-items:center;
    margin-top:40px;
    gap:40px;
}

.service-wrap{
    height:500px;
    width:50%;
    padding:40px 20px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content: flex-end;
    border-width: 1px;
    border-style: solid;
    border-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.2)
        ) 1;
    position:relative;
}

.service-wrap .content{
    width:300px;
}

.image-vector{
    position:absolute;
    right:20px;
    bottom:20px;
    height:94px;
}

.service-1{
    background-image:url('../images/service-1.jpg');
    background-repeat:no-repeat;
    background-size:cover;
    background-position:bottom;
}

.service-2{
    background-image:url('../images/service-2.jpg');
    background-repeat:no-repeat;
    background-size:cover;
    background-position:bottom;
}

/* NGL */

.ngl{
    background-image:url('../images/ngl.jpg');
    background-repeat:no-repeat;
    background-size:cover;
    width:100%;
    height:500px;
    margin-top:40px;
    position:relative;
    background-position:center;
}

.items{
    margin-top:40px;
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    align-items:flex-start;
}

.item{
    width:25%; 
    padding-left:20px;
}

.blue{
    border-left:2px solid var(--dark-blue);
}

.red{
    border-left:2px solid var(--light-red);
}

.black{
    border-left:2px solid var(--black);
}


#ngl .content{
    width:600px!important;
}
    
.integrated-network .top{
    width:100%;
    display:flex;
    justify-content: space-between;
    align-items:flex-start;
}

.integrated-network .top p{
    width:600px;
}

.integrated-network .top h2{
    width:400px;
}

/* Accordion */
.accordion{
    margin-top:100px;
}
.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding:30px 0;
}

.accordion-item:last-child{
    border-bottom:none;
}

.accordion-header {
  width: 100%;
  background: transparent;
  color: white;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.accordion-header .arrow {
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s ease;
}

.accordion-header .arrow::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -40%) rotate(45deg);
}

.accordion-item.open .arrow::after {
  border-right: 2px solid white;
  border-bottom: 2px solid white;
}

.accordion-item.open .arrow {
  background: var(--light-red);
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-right: 40px;
}

/* Services */
.services-accordion {
  position: relative;
  margin-top:40px;
  height: 500px;
  display: flex;
  cursor: default;
  overflow: hidden;      
}

.services-panel {
  position: relative;
  flex: 1;
  transition: flex 0.8s cubic-bezier(0.25,0.8,0.25,1);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  z-index: 2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-panel.active {
  flex: 7;
}

.services-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--panel-bg, #000);
  transition: opacity 0.6s ease;
}


.services-panel.active::before {
  opacity: 0 !important;   
}

.services-content {
  position: relative;
  padding: 20px;
  width:100%;
  z-index: 3;
  color:white;
}

.services-panel h3 {
  opacity: 100%;
  transform: rotate(-90deg);
  margin-bottom:60px;
}

.services-panel .image-vector{
   opacity:0;
}

.services-panel p {
  display:none;
}

/* Active = expanded + text visible */
.services-panel.active h3,
.services-panel.active p,
.services-panel.active .image-vector{
  opacity: 1;
  display:flex;
}

.services-panel.active h3{
  margin-bottom:10px;
}

/* Default state – first panel expanded */
.services-panel:nth-child(2) { flex: 1; }  /* because .services-bg is child 1 */
.services-panel.active h3,
.services-panel.active p { opacity: 1; transform: translateY(0); max-width:480px;}

.excellence{
    background-color:var(--sand);
    position:relative;
    height:600px;
    justify-content: center;
}

.excellence-image{
    background-image:url('../images/excellence.jpg');
    background-size:cover;
    background-repeat:no-repeat;
    width:50%;
    height:100%;
    position:absolute;
    right:0;
    top:0;
}

.cx{
    background-color:#141517;
    display:flex;
    align-items:center;
    justify-content: space-between;
    color:white;
}

.quote{
    display:flex;
    align-items: center;
    justify-content: center;
    width:800px;
}

.quote h4{
    font-style: italic;
    font-weight:200;
}

.quote img{
    width:68px;
    margin-right:24px;
}

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

.footer img{
    height:32px;
}

.secondary-section{
    height:480px;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
}

#careers{
    background-image:url(../images/careers.jpg);
    background-repeat:no-repeat;
    background-size:cover;
}

.sub .content{
    width:800px;
}

.sub .button, .sub a{
    width:180px;
    margin-top:40px;
    margin-bottom:100px;
}

#contact{
    background-image:url(../images/contact.jpg);
    background-repeat:no-repeat;
    background-size:cover;
    background-position:bottom;
}

/* Form */

.contact-form {
  margin-top:40px;
  width: 600px;
  background:var(--black);
  padding:20px;
  position: relative;
  display:flex;
  justify-content: space-between;
  flex-direction:column;
  min-height:500px;
}

.form-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group.full {
  margin-top: 30px;
  flex: 1 1 100%;
}

label {
  font-size: 12px;
  color: #747680;
  margin-bottom: 4px;
}

input,
textarea {
  width: 100%;
  padding: 4px 0;
  font-size: 0.875rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  outline: none;
  height:30px;
}

input::placeholder,
textarea::placeholder {
  color: #747680;
  opacity: 0.6;
}

textarea {
  min-height: 0px;
  resize: vertical;
  font-family: "Nunito Sans", sans-serif;
}

#submit{
    width:200px;
    margin-bottom:20px;
    background:none;
    border:none;
    padding:0;
}

#submit .button{
    margin:0;
}

.faq{
    background-color:var(--sand);
}

.faq h3, .faq p{
    color:var(--black);
}

.faq .accordion{
    margin-top:0;
}

.faq .arrow{
    background-color:var(--black);
}

.faq .accordion-header .arrow::after{
    border-right:2px solid white;
    border-bottom:2px solid white;
}

#status{
    margin-bottom:20px;
}
@media only screen and (max-width: 768px) {
    
    h1{
        font-size:1.75rem;
    }

    h2{
        font-size:1.75rem;
    }

    h3{
        font-size: 1.125rem;
    }

    .section{
        padding:22px;
    }

    .content{
        width:auto;
    }

    .hero .content .cta{
        flex-direction:column;
        align-items:flex-start;
    }


    .hero .content .cta a{
        width:100%;
    }

    .cta{
        gap:14px;
    }
    
    .content h1{
        width:90%;
    }

    .hero-rects{
        position:inherit;
        flex-direction:row;
        margin-top:40px;
    }

    .hero-rects .rect{
        width:32px;
        height:2px;
    }
    
    .hero{
        background-size:150%;
        background-position: top center;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }
    
    .burger {
        flex-direction: column;
        justify-content: space-between;
        width: 16px;
        height: 14px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .burger span {
        height: 2px;
        width: 100%;
        background: white;
        border-radius: 2px;
    }

    .login-icon img {
        height: 20px;
        width: 20px;
    }

    .navbar {
        padding: 14px 20px;
    }

    .navbar::before {
        mask:
            radial-gradient(circle 75px at 50% 50%, transparent 0 60%, black 61%);
        -webkit-mask:
            radial-gradient(circle 75px at 50% 50%, transparent 0 60%, black 61%);

        z-index: 0;
    }

    .nav-logo {
        width: 70px;
        height: 70px;
    }

    /* FULLSCREEN MENU OVERLAY */
    .mobile-menu {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        z-index: 9999; 
    }

    .mobile-menu.open {
        transform: translateY(0);
    }

    /* Close button */
    .close-menu {
        position: absolute;
        top: 36px;
        left: 36px;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* Menu links */
    .mobile-menu ul {
        list-style: none;
        text-align: left;
        padding: 0;
        margin: 0;
        width:100%;
        padding:22px;
        display:grid;
    }

    .mobile-menu ul li {
        margin: 15px 0;
    }

    .mobile-menu ul li a {
        color: white;
        font-size: 1.75rem;
        text-decoration: none;
        font-weight: 400;
    }

    .services{
        flex-direction:column;
        align-items:flex-start;
        gap:22px;
    }

    .service-wrap{
        width:100%;
        height:350px;
    }

    .service-wrap .content{
        width:250px;
    }

    .ngl{
        height:350px;
        background-position:center;
    }

    .items{
        flex-direction:column;
        gap:40px;
    }

    .item{
        width:100%;
    }

    #ngl .content{
        width:auto!important;
    }

    .image-vector{
        height:60px;
    }

    .integrated-network .top{
        flex-direction:column;
    }

    .integrated-network .top h2, .integrated-network .top p{
        width:auto
    }

    .faq.accordion-item{
        border-bottom:1px solid rgba(0,0,0,0.05);
    }

    /* Services & Functions */
    .services-accordion {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        height:350px;
    }

    .services-panel {
        flex: 0 0 90%;             
        min-width: 90%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    /* Force full content visible – no collapsed state on mobile */
    .services-panel h3,
    .services-panel p {
        opacity: 1 !important;
        transform: none !important;
    }

    .services-panel h3{
          margin-bottom:10px;
    }

    .services-panel p {
        display: block !important;
    }

    /* Remove the vertical/rotated title on mobile */
    .services-panel:not(.active) h3 {
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }

    /* Optional: small gap between cards */
    .services-panel + .services-panel {
        margin-left: 14px;
    }

    .services-panel::before{
        background:inherit;
    }

    .excellence-image{
        width:100%;
        position:inherit;
        margin-top:40px;
        height:300px;
    }

    .excellence{
        height:100%;
    }
    
    .cx{
        align-items:flex-start;
    }

    .quote{
        flex-direction:column;
        align-items:flex-start;
        width:100%;
    }

    .quote img{
        margin-bottom:60px;
    }

    .footer{
        flex-direction:column;
        align-items:flex-start;
    }

    .footer ul{
        padding:0;
        display:grid;
    }

    .footer ul a{
        margin:10px 0;
    }

    .footer img{
        margin-bottom:80px;
    }

    #careers{
        background-position:65%;
    }

    .sub .content{
        width:auto;
    }

    .sub .button, .sub a{
        margin-bottom:0;
    }

    .contact-form{
        width:auto;
    }

    .form-row{
        flex-direction:column;
    }

    .faq h3, .faq p{
        text-align:left;
    }

    .faq h3{
        width:86%;
     }

    .faq .accordion-header{
        align-items:flex-start;
    }

    #transportation{
        background-position:80%;
    }

    .services-content{
        padding:40px 20px;
    }

    .services-panel .image-vector{
        opacity:100%;
    }

    .services-content p{
        width:90%;
    }
}
