
/* ===================================
   NILESCAPE - Basic Styles with Footer & Responsive
   ================================== */

/* Basic Reset */
*:hover, *:active, *:focus{
    outline: 0;
    text-decoration: none;
}
a:hover, a:active, a:focus{
    text-decoration: none;
}
*,h1,h2,h3,h4,h5,h6,div,a,img,ul,li,p{
    box-sizing: border-box;
    line-height: normal;
}
a{
    display:contents;
}
nav{
    overflow: none;
}
::-moz-selection { 
    background: rgba(51,51,51,1);
}
::selection {
    background: rgba(51,51,51,1);
}

h1,p,div{
  margin:0 ;
}

.A-full-width{
  display: flex;
  width: 100%;
}
.A-full-width-padding{
  display: flex;
  width: 100%;
  padding-left: 8%;
  padding-right: 8%;
}
.A-full-width-small-padding{
  display: flex;
  width: 100%;
  padding-left: 8%;
  padding-right: 5%;
  padding-top: 0;
  padding-bottom: 0;
}
.A-height-18{
  height: 18vh;
}
.A-2-part{
  display: flex;
  width: 50%;
}
.A-center-items{
  display: flex;
  width: 100%;
  justify-content: center;
}
.solid-bgc-light{
  background-color: rgba(250,250,255,1);
}
.NS-dragable:hover{
  cursor: grabbing;
}
.NS-hero-over{
  display: flex;
  align-items: center;
  padding-left: 7%;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(13, 71, 161,0.4) , rgba(13, 71, 161,0));
  z-index: 10;
}
.NS-hero-over2{
  display: flex;
  align-items: center;
  padding-left: 7%;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.NS-hero-text{
  font-family: "Barlow", sans-serif;
  color: rgba(255, 255, 255,1);
  margin: 0;
  font-weight: 600;
  font-size: 60px;
  letter-spacing: 2px;
  opacity: 1;
  text-transform: uppercase;
}
.hero-text2{
  font-size: 50px;
}
.hero-text3{
  margin-top: 20px;
  font-size: 20px;
}
.hero-text4{
  font-size: 24px;
}
.hero-text5{
  font-size: 20px;
}
.A-sec-header{
  font-family: "Barlow", sans-serif;
  color: rgba(13, 71, 161,0.7);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 30px;
  margin: 0;
}
.NS-color{
  color: rgba(13, 71, 161,1);
  font-weight: 500;
}
.NS-modal-header{
  font-family: "Barlow", sans-serif;
  text-transform: uppercase;
  color: rgba(13, 71, 161,1);
}
.NS-modal-btn{
  background-color: rgba(13, 71, 161,1);
  color: rgba(255, 255, 255, 1);
}
.NS-modal-btn:hover{
  background-color: rgba(13, 71, 161,0.9);
  color: rgba(255, 255, 255, 1);
}
.A-sec-start{
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 5px solid rgba(13, 71, 161,0.09);
  border-bottom: 5px solid rgba(13, 71, 161,0.09);
}
.test{
  display: flex;
  width: 80%;
  height: 100%;
}
.test-con{
  display: flex;
  height: auto;
  min-height: 500px;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.NS-slider-padding{
  margin: 10px;
}
.tet{
  opacity: 0;
}
.hover-test:hover .tet {
opacity: 1;
}
.zoom{
  background-image: url("Imgs/slider1.jpg"); 
  background-size: 100% 100%;
  transition: background-size 2s ease-out;
}
.zoom.loaded{
  background-size: 120% 120%;
}




/* ===================================
   MOBILE MENU STYLES
   ================================== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 71, 161, 0.2);
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: rgba(13, 71, 161, 0.8);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.mobile-menu-toggle:hover {
    background: rgba(13, 71, 161, 0.15);
    border-color: rgba(13, 71, 161, 0.3);
}

.mobile-menu-toggle:hover .hamburger-line {
    background-color: rgba(13, 71, 161, 1);
}

.mobile-menu-toggle.active {
    background: rgba(13, 71, 161, 0.2);
    border-color: rgba(13, 71, 161, 0.4);
}

/* Hamburger Animation - Better positioning */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(227, 242, 253, 0.98);
    z-index: 1000;
    padding-top: 100px;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(13, 71, 161, 0.1);
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    color: rgba(13, 71, 161, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    color: rgba(13, 71, 161, 1);
    background: rgba(13, 71, 161, 0.05);
}

/* Mobile Dropdown */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.5);
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li {
    border-bottom: 1px solid rgba(13, 71, 161, 0.05);
}

.mobile-dropdown-menu a {
    padding: 12px 40px;
    font-size: 1rem;
    color: rgba(13, 71, 161, 0.7);
}

.mobile-dropdown-menu a:hover {
    color: rgba(13, 71, 161, 1);
    background: rgba(13, 71, 161, 0.08);
}

/* Mobile dropdown: headers and divider */
.mobile-nav-header {
    padding: 8px 18px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a8a98;
    background: transparent;
}

.mobile-nav-divider {
    height: 1px;
    margin: 6px 0;
    background: rgba(0, 0, 0, 0.08);
}

/* Lightbox interactions with mobile menu */
/* Hide hamburger when lightbox open */
.mobile-lightbox-open #mobile-menu-toggle, .uk-modal-page #mobile-menu-toggle { display: none !important; }

/* ===================================
   UIkit Slideshow & Lightbox Dotnav Overrides
   - Lighter blue dots
   - Remove hover lift/animation
   - Apply globally (includes lightbox slideshows)
   ================================== */
.uk-dotnav > * > * {
    background-color: rgba(13, 71, 161, 0.25) !important; /* light blue matching theme */
    transition: none !important; /* remove hover animation */
    transform: none !important;  /* prevent any lift/move */
    box-shadow: none !important; /* keep flat look */
}

/* Hover/Focus: slightly darker but no movement */
.uk-dotnav > * > *:hover,
.uk-dotnav > * > *:focus {
    background-color: rgba(13, 71, 161, 0.35) !important;
    transform: none !important;
}

/* Active state a bit more visible but still light */
.uk-dotnav > .uk-active > * {
    background-color: rgba(13, 71, 161, 0.55) !important;
}

/* Ensure inside lightbox too (redundant but explicit) */
.uk-lightbox .uk-dotnav > * > * {
    background-color: rgba(13, 71, 161, 0.25) !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
}
.uk-lightbox .uk-dotnav > * > *:hover,
.uk-lightbox .uk-dotnav > * > *:focus {
    background-color: rgba(13, 71, 161, 0.35) !important;
    transform: none !important;
}
.uk-lightbox .uk-dotnav > .uk-active > * {
    background-color: rgba(13, 71, 161, 0.55) !important;
}

/* ===================================
   UIkit Slidenav (Prev/Next Arrows) Overrides
   - Lighter blue circular background
   - Remove hover move/scale
   - Apply globally and inside lightbox
   ================================== */
.uk-slidenav {
    background: rgba(13, 71, 161, 0.20) !important; /* much lighter blue */
    color: #fff !important; /* keep arrow visible */
    border-radius: 50% !important; /* keep circular shape */
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
}

.uk-slidenav:hover,
.uk-slidenav:focus,
.uk-slidenav:active {
    background: rgba(13, 71, 161, 0.30) !important; /* slightly darker on hover */
}

/* Ensure consistent style inside lightbox */
.uk-lightbox .uk-slidenav {
    background: rgba(13, 71, 161, 0.20) !important;
    color: #fff !important;
}
.uk-lightbox .uk-slidenav:hover,
.uk-lightbox .uk-slidenav:focus,
.uk-lightbox .uk-slidenav:active {
    background: rgba(13, 71, 161, 0.30) !important;
    transform: none !important;
}

/* Mobile dropdown headers in Solutions */
.mobile-dropdown-menu .mobile-header {
    padding: 12px 20px;
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    color: rgba(13, 71, 161, 0.8);
    background: rgba(13, 71, 161, 0.06);
}

/* Logo Centered Styles */
.logo-centered {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

/* Info bar positioning for mobile menu */
#NS-top-info {
    position: relative;
}

/* ID Section*/
#NS-top-info{
  display: flex;
  height: 9vh;
  border-bottom: 1px solid rgba(144, 202, 249,1);
}
#NS-top-info-l{
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  color: rgba(13, 71, 161,0.7);
}
#NS-top-info-r{
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: end;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  color: rgba(13, 71, 161,0.7);
}
#NS-logo-nav{
  display: flex;
  height: 18vh;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 5px solid rgba(13, 71, 161,0.09);
}
#NS-logo-sec{
  display: flex;
  height: 100%;
  align-items: center;
}
#NS-logo-part{
  display: flex;
  width: 25%;
  height: 80%;
  justify-content: center;
  align-items: center;
}
#NS-logo-part > img{
  width: 100%;
  height: 100%;
}
#NS-nav-sec{
  display: flex;
  justify-content: flex-end;
}

/* UIkit Dropdown Positioning Fix */
.uk-navbar-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 1020 !important;
}
#NS-hero-sec{
  display: flex;
  width: 100%;
  height: 100vh;
}
#NS-about{
  display: flex;
  width: 100%;
  height: 82vh;
  padding-top: 6%;
  background-image: url(Imgs/Wave.svg);
  background-size: 100% 100%;
  align-items: center;
  flex-direction: column;
}
#NS-about-header{
  color: rgba(227, 242, 253,1);
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  text-transform: capitalize;
  margin-bottom: 2%;
}
/* Departments Section */
.departments-section {
  padding: 60px 8% 30px;
  background: #f7fbff;
  border-top: 5px solid rgba(13, 71, 161, 0.06);
  border-bottom: 5px solid rgba(13, 71, 161, 0.06);
}
.departments-header h2 {
  font-family: "Barlow", sans-serif;
  color: rgba(13, 71, 161, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.departments-header p {
  color: rgba(13, 71, 161, 0.65);
  margin-bottom: 25px;
}
.dept-card {
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.08);
  border-radius: 12px;
  padding: 18px 18px 12px;
  box-shadow: 0 6px 24px rgba(13, 71, 161, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dept-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.12);
}
.dept-head {
  display: flex; gap: 14px; align-items: center; margin-bottom: 10px;
}
.dept-sub { color: rgba(13, 71, 161, 0.6); font-size: 0.95rem; }
.dept-title { color: #0D47A1; margin: 12px 0 8px; }
/* Ensure department card headings (UIkit card titles) are dark blue */
.uk-card-title.uk-margin-remove { color: #0D47A1 !important; }
.dept-list { list-style: none; padding: 0; margin: 0; }
.dept-list li { padding: 6px 0; color: rgba(13, 71, 161, 0.85); display: flex; align-items: center; gap: 8px; }
.dept-list .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(13,71,161,.6); display: inline-block; }
.dept-list.cols-2 { columns: 2; column-gap: 30px; }

#NS-about-text{
  
  color: rgba(227, 242, 253,0.7);
  font-weight: 300;
  width: 60%;
  font-size: 16px;
  text-align:center;
  margin-bottom: 2%;
  text-transform: capitalize;
}
#NS-about-btn-sec{
  display: flex;
  width: 100%;
  justify-content: center;
  padding-top: 20px;
}
.about-btn{
  font-family: "Rubik", sans-serif;
  color: rgba(227, 242, 253,0.8);
}
.about-btn:hover{
  color: rgba(227, 242, 253,1);
}
#NS-Portfolio-sec{
  display: flex;
  width: 100%;
  height: 100vh;
  padding-right: 8%;
  padding-left: 8%;
  flex-direction: column;
  background-image: linear-gradient(to top rgba(255,255,255,1), rgba(239, 248, 249, 1));
}
#NS-Portfolio-header{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 18vh;
  border-bottom: 1px solid rgba(13, 71, 161,0.05);
}
#NS-Portfolio-h1{
  display: flex;
  width: 25%;
  border-right: 1px solid rgba(13, 71, 161,0.05);
}
#NS-Portfolio-h1 > h1{
  font-family: "Rubik", sans-serif;
  color: rgba(36, 68, 148,1);
  font-weight: 400;
}
#NS-Portfolio-p{
  display: flex;
  width: 60%;
}
#NS-Portfolio-p >p{
  font-family: "Barlow", sans-serif;
  color: rgba(51, 51, 51,0.7);
  font-weight: 400;
  text-transform: uppercase;
}
#NS-gallery-sec{
  display: flex;
  padding-top: 4%;
  width: 100%;
  height: 80vh;
}
.NS-glry-small-sec{
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100%;
  
}
.NS-glry-big-sec{
  display: flex;
  width: 50%;
  height: 100%;
  
}
.NS-glry-2{
  display: flex;
  
  width: 100%;
  height: 50%;
  
}
.NS-glry-img{
  display: flex;
  width: 48%;
  height: 95%;
  position: relative;
  border-radius: 5px;
}


#Miv{
  margin-right: 4%;
  background-size: 100% 100%;
  background-image: url("Imgs/projects/Mivvida.png");
}
#uptown{
  margin-right: 4%;
  background-size: 100% 100%;
  background-image: url("Imgs/projects/Owest.png");
}
#maraasi{
  margin-right: 4%;
  background-size: 100% 100%;
  background-image: url("Imgs/projects/Marassi.webp");
}
#newgiza{
  margin-right: 4%;
  background-image: url("Imgs/NG.jpg");
  background-size: 100% 100%;
}
.margin-top-2{
  margin-top: 2%;
}
.NS-glry-txt-sec{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: rgba(31,31,31,0.8);
  font-weight: 600;
  font-family: "Barlow", sans-serif;
  letter-spacing: 1px;
  font-size: 20px;
  width: 100%;
  height: 20%;
  background-image: linear-gradient(to top, rgba(255,255,255,1) , rgba(255,255,255,0));
  position: absolute;
  bottom: 0;
}
.NS-glry-over{
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 0%;
  height: 100%;
  background-color: rgba(227, 242, 253,0.7);
  transition: ease-in-out 0.3s;
  overflow: hidden;
}

.NS-l-box{
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  color: rgba(13, 71, 161,1);
  font-weight: 600;
}
.NS-glry-big-bg{
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("Imgs/projects/uptownc.jpg");
  background-size: 100% 100%;
  border-radius: 2%;
}
.NS-glry-img:hover .NS-glry-over{
  width: 100%;
}
.NS-glry-big-bg:hover .NS-glry-over{
  width: 100%;
}

/* Service Card Styles */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: white;
  margin: 10px;
  height: auto;
  min-height: 420px;
  border: 1px solid rgba(13, 71, 161, 0.05);
}

.service-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Service Overlay Styles */
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.95), rgba(13, 71, 161, 0.85));
  color: white;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.overlay-content {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.overlay-content h4 {
  font-family: "Barlow", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.overlay-content p {
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 15px 0;
  color: rgba(255, 255, 255, 0.9);
}

.overlay-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.overlay-content li {
  font-family: "Rubik", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin: 5px 0;
  padding-left: 5px;
}

.service-info {
  padding: 25px 15px;
  text-align: center;
  background: white;
  border-top: 3px solid rgba(13, 71, 161, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translateY(0);
  opacity: 1;
}

.service-icon {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon svg {
  color: rgba(13, 71, 161, 0.7);
  transition: all 0.3s ease;
}

.service-name {
  margin: 0;
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(13, 71, 161, 1) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Hover Effects - disabled lift */
.service-card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(13, 71, 161, 0.1);
}

/* Keep overlay behavior if needed, but no movement */
.service-card:hover .service-overlay {
  opacity: 1;
  visibility: visible;
}

.service-card:hover .overlay-content {
  transform: none;
}

.service-card:hover .service-info {
  transform: none;
  opacity: 1;
}

.service-card:hover .service-image img {
  transform: none;
}

/* Smooth slider transitions */
.uk-slider-items {
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.uk-slider-container {
  overflow: hidden;
}

/* Enhanced smooth sliding */
.uk-slider {
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Additional smoothness for service cards during slide */
.service-card {
  transition: all 0.4s ease, transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth navigation arrows */
.uk-slidenav {
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* Fix slider navigation - no movement on hover */
.uk-slidenav {
  transition: opacity 0.3s ease;
}

.uk-slidenav:hover {
  opacity: 0.8;
}
#NS-work-process{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 95vh;
  padding-right: 8%;
  padding-left: 8%;
  background-image: url("Imgs/Wave.svg");
  background-size: 100% 100%;
  padding-top: 5%;
}
.just-cnt-c{
  display: flex;
  width: 100%;
  justify-content: center;
}
.just-cnt-c > h1{
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  color: rgba(227, 242, 253,0.9);
}
.just-cnt-c > p{
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: 22px;
  color: rgba(227, 242, 253,0.9);
}
.color-bg{
  display: flex;
  width: 100%;
  height: 8vh;
  background-image: linear-gradient(to top rgba(227, 242, 253,1),rgba(227, 242, 253,0));
}
.work-sec-cont{
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
}

.work-sec-element{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 22%;
  height: 75%;
  margin: 1%;
  padding-top: 25px;
  border: 2px solid rgba(173, 216, 230, 0.4);
  border-radius: 15px;
  background: rgba(227, 242, 253,0.8);
  position: relative;
  transition: all 0.3s ease;
  overflow: visible;
}

.work-sec-element:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 200, 200, 0.6);
  box-shadow: 0 8px 20px rgba(180, 180, 180, 0.3);
  background: rgba(248, 248, 248, 0.9);
}

.work-step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.step-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #87ceeb, #add8e6);
  color: #2c5282;
  border-radius: 50%;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 3px 8px rgba(173, 216, 230, 0.4);
  transition: all 0.3s ease;
  border: 2px solid white;
}

.work-sec-element:hover .step-circle {
  transform: scale(1.1);
  background: linear-gradient(135deg, #d3d3d3, #e0e0e0);
  box-shadow: 0 4px 12px rgba(180, 180, 180, 0.4);
}

.work-step-icon {
  width: 60px;
  height: 60px;
  margin: 15px 0 15px 0;
  color: #4682b4;
  transition: all 0.3s ease;
}

.work-step-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(173, 216, 230, 0.3));
}

.work-sec-element:hover .work-step-icon {
  color: #808080;
  transform: scale(1.05);
}

.work-sec-element > h1 {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #4682b4;
  margin: 10px 0;
  text-align: center;
  transition: all 0.3s ease;
}

.work-sec-element > p {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #666;
  text-align: center;
  padding: 0 15px;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.work-sec-element:hover > h1 {
  color: #696969;
}

.work-sec-element:hover > p {
  color: #777;
}

.work-arrow {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  color: #87ceeb;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 5;
}

.work-arrow svg {
  width: 100%;
  height: 100%;
}

.work-sec-element:hover .work-arrow {
  opacity: 1;
  color: #a0a0a0;
}

.work-sec-element:last-child .work-arrow {
  display: none;
}

/* Staggered animation on page load */
.work-sec-element {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.6s ease forwards;
}

.work-sec-element:nth-child(1) { animation-delay: 0.1s; }
.work-sec-element:nth-child(2) { animation-delay: 0.2s; }
.work-sec-element:nth-child(3) { animation-delay: 0.3s; }
.work-sec-element:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===================================
   PROJECTS TIMELINE SECTION
   ================================== */

.NS-projects {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fcff 0%, #f0f8ff 50%, #e8f4fd 100%);
    padding: 80px 0;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.NS-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(13,71,161,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.projects-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-header h2 {
    font-family: "Barlow", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(13, 71, 161, 0.9);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.projects-header p {
    font-family: "Barlow", sans-serif;
    font-size: 1.2rem;
    color: rgba(13, 71, 161, 0.7);
    margin: 0;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, #4fc3f7, #29b6f6, #03a9f4, #0288d1, #0277bd);
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(3, 169, 244, 0.3);
}

/* Timeline Steps */
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    flex: 1;
    max-width: 200px;
}

.timeline-step:nth-child(even) {
    flex-direction: column-reverse;
}

.timeline-step:nth-child(even) .timeline-content {
    margin-bottom: 30px;
    margin-top: 0;
}

.timeline-step:nth-child(odd) .timeline-content {
    margin-top: 30px;
    margin-bottom: 0;
}

/* Timeline Nodes */
.timeline-node {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-step[data-step="1"] .timeline-node {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    box-shadow: 0 4px 20px rgba(79, 195, 247, 0.4);
}

.timeline-step[data-step="2"] .timeline-node {
    background: linear-gradient(135deg, #29b6f6, #03a9f4);
    box-shadow: 0 4px 20px rgba(41, 182, 246, 0.4);
}

.timeline-step[data-step="3"] .timeline-node {
    background: linear-gradient(135deg, #03a9f4, #0288d1);
    box-shadow: 0 4px 20px rgba(3, 169, 244, 0.4);
}

.timeline-step[data-step="4"] .timeline-node {
    background: linear-gradient(135deg, #0288d1, #0277bd);
    box-shadow: 0 4px 20px rgba(2, 136, 209, 0.4);
}

.timeline-step[data-step="5"] .timeline-node {
    background: linear-gradient(135deg, #0277bd, #01579b);
    box-shadow: 0 4px 20px rgba(2, 119, 189, 0.4);
}

.timeline-node:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(3, 169, 244, 0.6);
}

.node-icon {
    width: 40px;
    height: 40px;
    color: white;
}

.node-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Timeline Content */
.timeline-content {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid rgba(3, 169, 244, 0.2);
    transition: all 0.3s ease;
    min-width: 180px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: rgba(3, 169, 244, 0.4);
}

.timeline-content h3 {
    font-family: "Barlow", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(13, 71, 161, 0.9);
    margin: 0 0 10px 0;
}

.timeline-content p {
    font-family: "Barlow", sans-serif;
    font-size: 0.95rem;
    color: rgba(13, 71, 161, 0.7);
    margin: 0;
    line-height: 1.4;
}

/* Projects CTA */
.projects-cta {
    text-align: center;
    margin-top: 60px;
}

#NS-projects-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-family: "Barlow", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #0288d1, #0277bd);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(2, 136, 209, 0.3);
    position: relative;
    overflow: hidden;
}

#NS-projects-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

#NS-projects-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(2, 136, 209, 0.4);
    text-decoration: none;
    color: white;
}

#NS-projects-btn:hover::before {
    left: 100%;
}
.social-links{
  display: flex;
  width: 100%;
}
.socal-icons{
  display: flex;
  width: 15%;
}
.socal-icons-image{
  display: flex;
  width: 60%;
}

/* Timeline Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(3, 169, 244, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(3, 169, 244, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(3, 169, 244, 0.4);
    }
}

.timeline-step {
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-step:nth-child(2) {
    animation-delay: 0.1s;
}

.timeline-step:nth-child(3) {
    animation-delay: 0.2s;
}

.timeline-step:nth-child(4) {
    animation-delay: 0.3s;
}

.timeline-step:nth-child(5) {
    animation-delay: 0.4s;
}

.timeline-step:nth-child(6) {
    animation-delay: 0.5s;
}

.timeline-node {
    animation: pulse 2s infinite;
}

.timeline-line {
    animation: slideInLeft 1s ease 0.5s forwards;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
}

@keyframes slideInLeft {
    to {
        transform: translateY(-50%) scaleX(1);
    }
}

/* Active Timeline Step */
.timeline-step.active .timeline-node {
    transform: scale(1.15);
    box-shadow: 0 8px 35px rgba(3, 169, 244, 0.7);
    animation: pulse 1s infinite;
}

.timeline-step.active .timeline-content {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(3, 169, 244, 0.6);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.timeline-step.active .timeline-content h3 {
    color: rgba(3, 169, 244, 1);
}

/* Remove Timeline Step Numbers */
.NS-Team{
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 80vh;
  align-items: center;
  background-color: rgba(248, 250, 252, 1);
  padding: 80px 20px;
}

#team-header{
  display: flex;
  color: rgba(31,51,51,1);
  font-family: "Barlow", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 60px;
  text-align: center;
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.team-member{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(230, 240, 250, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e3f2fd, #bbdefb, #90caf9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover::before {
  opacity: 1;
}

.team-member:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: #e9ecef;
  background: #f8f9fa;
}

.team-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: #4682b4;
  transition: all 0.3s ease;
  border: 3px solid rgba(173, 216, 230, 0.3);
}

.team-member:hover .team-icon {
  background: #e9ecef;
  color: #6c757d;
  transform: scale(1.05);
  border-color: #dee2e6;
}

.team-icon svg {
  width: 40px;
  height: 40px;
}

.team-info {
  text-align: center;
}

.team-info h3 {
  font-family: "Barlow", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(31, 51, 51, 0.9);
  margin: 0 0 8px 0;
  transition: color 0.3s ease;
}

.team-info p {
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(31, 51, 51, 0.6);
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.team-member:hover .team-info h3 {
  color: #495057;
}

.team-member:hover .team-info p {
  color: #6c757d;
}

/* Clickable Team Member Styles */
.clickable-member {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.clickable-member .click-indicator {
  display: none; /* Hide the tooltip */
}

/* Hover Overlay */
.clickable-member::after {
  content: 'Show Profile';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.clickable-member:hover::after {
  opacity: 1;
}

.clickable-member:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Team Modal Styles */
.team-modal .uk-modal-dialog {
  background: #ffffff;
}

.team-modal-image {
  background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.team-modal-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.team-modal-content {
  background: white;
  max-height: 100vh;
  overflow-y: auto;
}

.team-modal-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(70, 130, 180, 0.1);
}

.team-modal-header h1 {
  font-family: "Barlow", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(31, 51, 51, 0.9);
  margin: 0 0 10px 0;
}

.team-modal-header h2 {
  font-family: "Barlow", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #4682b4;
  margin: 0;
}

.team-modal-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-section h3 {
  font-family: "Barlow", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(31, 51, 51, 0.9);
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(70, 130, 180, 0.2);
}

.info-section p {
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(31, 51, 51, 0.7);
  margin: 0;
}

.info-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-section ul li {
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(31, 51, 51, 0.7);
  margin: 0 0 8px 0;
  padding-left: 20px;
  position: relative;
}

.info-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #4682b4;
  font-weight: bold;
}

.info-section ul li strong {
  color: rgba(31, 51, 51, 0.9);
  font-weight: 600;
}

/* Mobile Responsive for Team Modals */
@media (max-width: 768px) {
  .team-modal .uk-grid-collapse {
    flex-direction: column;
  }
  
  .team-modal-image {
    padding: 20px;
    min-height: 300px;
  }
  
  .team-modal-image img {
    max-width: 250px;
  }
  
  .team-modal-content {
    padding: 20px !important;
  }
  
  .team-modal-header h1 {
    font-size: 2rem;
  }
  
  .team-modal-header h2 {
    font-size: 1.1rem;
  }
  
  .info-section h3 {
    font-size: 1.2rem;
  }
  #NS-hero-sec{
  
  height: 80vh;
}
}

/* ===================================
   CLICKABLE PROJECTS STYLES
   ================================== */

/* Clickable Project Styles */
.clickable-project {
  cursor: pointer;
}

/* ===================================
   PROJECT MODAL STYLES
   ================================== */

/* Project Modal Styles */
.project-modal .uk-modal-dialog {
  background: #ffffff;
}

.project-modal-slideshow {
  background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 100vh;
}

.project-modal-slideshow .uk-slideshow-items {
  height: 60vh;
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.project-modal-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal-content {
  background: white;
  max-height: 100vh;
  overflow-y: auto;
}

.project-modal-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(70, 130, 180, 0.1);
}

.project-modal-header h1 {
  font-family: "Barlow", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(31, 51, 51, 0.9);
  margin: 0 0 10px 0;
}

.project-modal-header h2 {
  font-family: "Barlow", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #4682b4;
  margin: 0;
}

.project-modal-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Mobile Responsive for Project Modals */
@media (max-width: 768px) {
  .project-modal .uk-grid-collapse {
    flex-direction: column;
  }
  
  .project-modal-slideshow {
    padding: 10px;
    min-height: 40vh;
  }
  
  .project-modal-slideshow .uk-slideshow-items {
    height: 35vh;
    max-width: 100%;
  }
  
  .project-modal-content {
    padding: 20px !important;
  }
  
  .project-modal-header h1 {
    font-size: 2rem;
  }
  
  .project-modal-header h2 {
    font-size: 1.1rem;
  }
   #NS-hero-sec{
    height: 80vh;
}
}

/* ===================================
   FOOTER SECTION
   ================================== */

.footer {
    background-image: url("Imgs/Wave.svg");
    background-size: 100% 100%;
    color: white;
    padding: 60px 0 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: rgba(227, 242, 253, 1);
}

.footer-section p {
    font-family: "Rubik", sans-serif;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    font-family: "Rubik", sans-serif;
    font-weight: 300;
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-family: "Rubik", sans-serif;
    font-weight: 300;
    opacity: 0.6;
    margin: 0;
}

/* ===================================
   RESPONSIVE DESIGN
   ================================== */

/* Tablet Styles */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
    }

    /* Adjust padding for mobile */
    .A-full-width-padding {
        padding-left: 5%;
        padding-right: 5%;
    }

    .A-full-width-small-padding {
        padding-left: 5%;
        padding-right: 3%;
    }

    /* Header adjustments */
    #NS-top-info {
        height: auto;
        min-height: 8vh;
        flex-direction: column;
        text-align: center;
        padding: 15px 0;
        position: relative;
    }

    #NS-top-info-l, #NS-top-info-r {
        width: 100%;
        justify-content: center;
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

    #NS-logo-nav {
        height: auto;
        min-height: 12vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px 0;
    }

    /* Center the logo on mobile */
    .logo-centered {
        width: 100%;
        justify-content: center;
    }

    #NS-logo-sec {
        width: 100%;
        justify-content: center;
        margin-bottom: 0;
    }

    #NS-logo-part {
        width: 180px;
        height: 60px;
    }
     #NS-hero-sec{
  
      height: 80vh;
    }

    /* Hide desktop navigation container on mobile */
    .desktop-nav-container {
        display: none !important;
    }

    /* Hide desktop navigation on mobile */
    .desktop-nav {
        display: none !important;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
        position: fixed;
        top: 16px;
        right: 16px;
        transform: none;
        z-index: 1100;
    }

    /* Disable hover effects for slider arrows in Services on small screens */
    #NS-services .uk-slidenav:hover {
        opacity: 1 !important;
        transition: none !important;
    }

    /* Hero text adjustments */
    .NS-hero-text {
        font-size: 10px;
        letter-spacing: 2px;
        color: red;
    }

    .NS-hero-over {
        padding-left: 5%;
    }

    /* Section header adjustments */
    .A-sec-header {
        font-size: 24px;
        text-align: center;
    }

    /* About section adjustments */
    #NS-about {
        height: auto;
        min-height: 70vh;
        padding: 8% 5%;
    }

    #NS-about-text {
        width: 90%;
        font-size: 16px;
    }

    /* Portfolio adjustments */
    #NS-Portfolio-sec {
        height: auto;
        min-height: 100vh;
        padding: 5%;
    }

    #NS-Portfolio-header {
        height: auto;
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }

    #NS-Portfolio-h1 {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(13, 71, 161,0.05);
        padding-bottom: 15px;
        margin-bottom: 15px;
        justify-content: center;
    }

    #NS-Portfolio-p {
        width: 100%;
        padding-left: 0;
        justify-content: center;
    }

    /* Gallery adjustments */
    #NS-gallery-sec {
        height: auto;
        flex-direction: column;
        gap: 20px;
    }

    .NS-glry-small-sec {
        width: 100%;
        height: auto;
    }

    .NS-glry-big-sec {
        width: 100%;
        height: 300px;
    }

    .NS-glry-2 {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }

    .NS-glry-img {
        width: 100%;
        height: 200px;
        margin-right: 0;
    }

    .NS-glry-big-bg {
        height: 300px;
    }

    /* Work process adjustments */
    #NS-work-process {
        height: auto;
        min-height: 80vh;
        padding: 8% 5%;
        background-image: none;
        background-color: rgba(255, 255, 255, 0.9);
  
    }

    .work-sec-cont {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }
    .just-cnt-c{
        display: flex;
        width: 100%;
        justify-content: center;
    }
.just-cnt-c > h1, .just-cnt-c > p{
        
        color: rgba(13, 71, 161, 0.95);
    }
    
    .work-sec-element {
        width: 100%;
        height: 140px;
        margin: 0;
        border-radius: 15px;
        position: relative;
        padding-top: 30px;
    }

    .work-sec-element:hover {
        transform: translateY(-3px);
    }

    .work-step-number {
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .work-step-icon {
        width: 45px;
        height: 45px;
        margin: 1px 0 1px 0;
    }

    .work-sec-element > h1 {
        font-size: 20px;
        margin: 5px 0;
    }

    .work-sec-element > p {
        font-size: 13px;
        padding: 0 10px;
    }

    .work-arrow {
        display: none;
    }

    /* Mobile: Show connecting line instead of arrows */
    .work-sec-element:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 20px;
        background: linear-gradient(to bottom, #87ceeb, #add8e6);
        border-radius: 1px;
    }

    /* Timeline Responsive Styles */
    .NS-projects {
        padding: 60px 0;
        height: auto;
        min-height: auto;
    }

    .projects-container {
        padding: 0 20px;
    }

    .projects-header h2 {
        font-size: 2rem;
    }

    .projects-header p {
        font-size: 1rem;
    }

    .timeline-container {
        flex-direction: column;
        align-items: stretch;
        margin: 40px 0;
        padding: 0;
    }

    .timeline-line {
        display: none;
    }

    .timeline-step {
        flex-direction: row !important;
        align-items: center;
        margin-bottom: 30px;
        max-width: none;
        position: relative;
    }

    .timeline-step:nth-child(even),
    .timeline-step:nth-child(odd) {
        flex-direction: row !important;
    }

    .timeline-step:nth-child(even) .timeline-content,
    .timeline-step:nth-child(odd) .timeline-content {
        margin: 0 0 0 20px;
    }

    .timeline-node {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .node-icon {
        width: 30px;
        height: 30px;
    }

    .timeline-content {
        text-align: left;
        padding: 15px;
        min-width: auto;
        flex: 1;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    #NS-projects-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Team Section Mobile */
    .NS-Team {
        padding: 60px 15px;
        min-height: auto;
    }

    #team-header {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0;
    }

    .team-member {
        padding: 30px 25px;
    }

    .team-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .team-icon svg {
        width: 35px;
        height: 35px;
    }

    .team-info h3 {
        font-size: 1.2rem;
    }

    .team-info p {
        font-size: 0.95rem;
    }

    /* Team adjustments */
    .NS-Team {
        height: auto;
        min-height: 60vh;
        padding: 8% 5%;
    }

    #team-header {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* Services Section Mobile Responsive */
    .test-con {
        min-height: auto;
        padding: 40px 0;
        overflow: hidden;
    }
    
    .test {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .uk-slider-container {
        padding: 0 20px;
        margin: 0;
    }
    
    .uk-slider-items {
        margin: 0;
        padding: 0;
    }
    
    .service-card {
        margin: 0 8px;
        min-height: 380px;
        max-width: none;
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    
    .service-image {
        height: 240px;
        border-radius: 16px 16px 0 0;
    }
    
    .service-info {
        padding: 25px 15px;
        min-height: 120px;
        border-radius: 0 0 16px 16px;
    }
    
    .service-name {
        font-size: 15px;
        line-height: 1.3;
        font-weight: 600;
    }
    
    /* Service Overlay Mobile Adjustments */
    .service-overlay {
        padding: 20px;
        border-radius: 16px 16px 0 0;
    }
    
    .overlay-content {
        max-height: 200px;
        overflow-y: auto;
    }
    
    .overlay-content h4 {
        font-size: 19px;
        margin-bottom: 12px;
        font-weight: 700;
    }
    
    .overlay-content p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
        opacity: 0.95;
    }
    
    .overlay-content ul {
        max-height: 100px;
        overflow-y: auto;
    }
    
    .overlay-content li {
        font-size: 12px;
        margin: 4px 0;
        opacity: 0.9;
    }
    
    /* Navigation arrows mobile positioning */
    .uk-slidenav {
        width: 40px;
        height: 40px;
        background: rgba(13, 71, 161, 0.9);
        color: white;
        border-radius: 50%;
    }
    
    .uk-slidenav:hover {
        background: rgba(13, 71, 161, 1);
    }

    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .social-links{
      justify-content: center;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Further mobile adjustments */
    .NS-hero-text {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .A-sec-header {
        font-size: 20px;
    }

    #NS-about-text {
        font-size: 14px;
        width: 95%;
    }
     #NS-hero-sec{
  
  height: 80vh;
}

    .NS-glry-txt-sec {
        font-size: 16px;
        padding: 15px;
    }

    .just-cnt-c > h1 {
        font-size: 24px;
    }

    .just-cnt-c > p {
        font-size: 18px;
    }

    /* Mobile Timeline Styles */
    .NS-projects {
        padding: 40px 0;
    }

    .projects-container {
        padding: 0 15px;
    }

    .projects-header {
        margin-bottom: 40px;
    }

    .projects-header h2 {
        font-size: 1.8rem;
    }
    
    /* Services Section Extra Small Mobile */
    .test-con {
        padding: 30px 0;
        overflow: hidden;
    }
    
    .uk-slider-container {
        padding: 0 15px;
    }
    
    .service-card {
        margin: 0 6px;
        min-height: 360px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    .service-image {
        height: 220px;
        border-radius: 12px 12px 0 0;
    }
    
    .service-info {
        padding: 20px 12px;
        min-height: 110px;
        border-radius: 0 0 12px 12px;
    }
    
    .service-name {
        font-size: 14px;
        line-height: 1.2;
        font-weight: 600;
    }
    
    /* Service Overlay Extra Small Mobile */
    .service-overlay {
        padding: 15px;
        border-radius: 12px 12px 0 0;
    }
    
    .overlay-content {
        max-height: 180px;
        overflow-y: auto;
    }
    
    .overlay-content h4 {
        font-size: 17px;
        margin-bottom: 10px;
        font-weight: 700;
    }
    
    .overlay-content p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 10px;
        opacity: 0.95;
    }
    
    .overlay-content ul {
        max-height: 80px;
        overflow-y: auto;
    }
    
    .overlay-content li {
        font-size: 11px;
        margin: 3px 0;
        opacity: 0.9;
    }
    
    /* Navigation arrows extra small mobile */
    .uk-slidenav {
        width: 35px;
        height: 35px;
    }

    .projects-header p {
        font-size: 0.95rem;
    }

    .timeline-container {
        margin: 30px 0;
    }

    .timeline-step {
        margin-bottom: 25px;
        position: relative;
    }

    .timeline-step:nth-child(even) .timeline-content,
    .timeline-step:nth-child(odd) .timeline-content {
        margin: 0 0 0 15px;
    }

    .timeline-node {
        width: 50px;
        height: 50px;
    }

    .node-icon {
        width: 25px;
        height: 25px;
    }

    .timeline-content {
        padding: 12px;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .projects-cta {
        margin-top: 40px;
    }

    #NS-projects-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    #team-header {
        font-size: 20px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 0.9rem;
    }

    /* Mobile menu adjustments for small screens */
    .mobile-menu {
        padding-top: 70px;
    }

    .mobile-nav a {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .mobile-dropdown-menu a {
        padding: 10px 30px;
        font-size: 0.9rem;
    }

    #NS-logo-part {
        width: 150px;
        height: 50px;
    }

    /* Adjust mobile menu toggle position for small screens */
    .mobile-menu-toggle {
        right: 15px;
        width: 45px;
        height: 45px;
        padding: 8px;
    }

    .hamburger-line {
        width: 24px;
        height: 2.5px;
        margin: 2.5px 0;
    }

    /* Adjust mobile menu padding for small screens */
    .mobile-menu {
        padding-top: 90px;
    }
    .NS-hero-text {
        font-size: 16px;
        letter-spacing: 1px;
    }
}

/* Desktop Styles - Show desktop nav, hide mobile menu */
@media (min-width: 769px) {
    .desktop-nav {
        display: flex !important;
    }

    .desktop-nav-container {
        display: flex !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }

    #NS-top-info {
        flex-direction: row;
        text-align: left;
        min-height: 9vh;
        /* Restore original padding from A-full-width-padding class */
        padding-left: 8%;
        padding-right: 8%;
    }

    #NS-top-info-l, #NS-top-info-r {
        width: 50%;
        margin-bottom: 0;
        font-size: 1rem;
    }

    #NS-top-info-l {
        justify-content: flex-start;
    }

    #NS-top-info-r {
        justify-content: flex-end;
    }

    #NS-logo-nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 18vh;
        min-height: auto;
        /* Restore original padding from A-full-width-padding class */
        padding-left: 8%;
        padding-right: 8%;
    }

    /* Restore original desktop layout */
    .logo-centered {
        width: 50%;
        justify-content: flex-start;
    }

    #NS-logo-sec {
        width: 50%;
        justify-content: flex-start;
        /* Restore original styles */
        display: flex;
        height: 100%;
        align-items: center;
    }

    #NS-nav-sec {
        width: 50%;
        justify-content: flex-end;
        /* Restore original styles */
        display: flex;
    }

    #NS-logo-part {
        /* Restore original styles */
        display: flex;
        width: 25%;
        height: 80%;
        justify-content: center;
        align-items: center;
    }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

   

    .A-sec-header {
        font-size: 36px;
    }

    #team-header {
        font-size: 36px;
    }
}

/* Landscape Mobile Styles */
@media (max-width: 768px) and (orientation: landscape) {
    #NS-top-info {
        height: auto;
        padding: 5px 0;
    }

    #NS-logo-nav {
        height: auto;
        min-height: 10vh;
    }

    .NS-hero-text {
        font-size: 36px;
    }
}

/* Print Styles */
@media print {
    .NS-projects,
    #NS-about {
        background: white !important;
        color: black !important;
    }

    .NS-hero-over {
        display: none;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .NS-hero-over {
        background: rgba(0, 0, 0, 0.8);
    }

    .NS-glry-over {
        background-color: rgba(255, 255, 255, 0.95);
    }
}

/* About Modal Enhancements */
.ns-modal-image-wrap {
  padding: 16px; /* add breathing room */
}
.ns-modal-image {
  border-radius: 10px; /* subtle rounding */
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); /* soft shadow */
}

/* Small screen tweaks */
@media (max-width: 640px) {
  #modal-full .uk-padding-large {
    padding: 20px !important; /* reduce right column padding */
  }
  .ns-modal-image-wrap {
    padding: 8px; /* tighter on small screens */
  }
}




