.egs-tech-marquee-section{
padding:90px 0;
background:#f7f9ff;
overflow:hidden;
}

.egs-tech-heading{
text-align:center;
max-width:700px;
margin:auto auto 60px;
padding:0 20px;
}

.egs-tech-heading h5{
color:#e91e63;
letter-spacing:2px;
margin-bottom:15px;
}

.egs-tech-heading h2{
font-size:2.3erm;
color:#1b2850;
margin-bottom:20px;
}

.egs-tech-heading p{
font-size:18px;
color:#667;
line-height:1.8;
}


/* MARQUEE */
.egs-logo-marquee{
overflow:hidden;
position:relative;
width:100%;
}

.egs-logo-track{
display:flex;
gap:30px;
width:max-content;

animation:scrollLogos 30s linear infinite;
}

@keyframes scrollLogos{
from{
transform:translateX(0);
}

to{
transform:translateX(-50%);
}
}


/* Logo Cards */
.egs-logo-item{
min-width:180px;

background:#fff;
border-radius:20px;

padding:30px 25px;

display:flex;
flex-direction:column;
align-items:center;

box-shadow:0 8px 20px rgba(0,0,0,.05);

transition:.4s;
}

.egs-logo-item:hover{
transform:translateY(-8px);
}

.egs-logo-item img{
height:55px;
margin-bottom:15px;
}

.egs-logo-item span{
font-weight:600;
color:#273455;
}


/* pause on hover */
.egs-logo-marquee:hover .egs-logo-track{
animation-play-state:paused;
}


/* mobile */
@media(max-width:767px){

.egs-tech-heading h2{
font-size:34px;
}

.egs-tech-heading p{
font-size:17px;
}

.egs-logo-item{
min-width:130px;
padding:20px 15px;
}

.egs-logo-item img{
height:38px;
}

}

/* index process SECTION */
.index-process-section{
    padding:80px 20px;
    text-align:center;
}

.index-process-subtitle{
    color:#ff2e63;
    letter-spacing:2px;
    margin-bottom:10px;
}

.index-process-title{
    font-size:36px;
    margin-bottom:15px;
    color:#0a1f44;
}

.index-process-desc{
    color:#666;
    max-width:600px;
    margin:auto;
}

/* GRID */
.index-process-grid{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

/* CARD */
.index-process-card{
    background:#fff;
    border-radius:15px;
    padding:30px 20px;
    position:relative;
    overflow:hidden;
    transition:0.4s;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transform:translateY(40px);
    opacity:0;
    animation:index-process-fadeUp 1s forwards;
}

.index-process-card:nth-child(1){ animation-delay:0.2s; }
.index-process-card:nth-child(2){ animation-delay:0.4s; }
.index-process-card:nth-child(3){ animation-delay:0.6s; }
.index-process-card:nth-child(4){ animation-delay:0.8s; }

@keyframes index-process-fadeUp{
    to{
        transform:translateY(0);
        opacity:1;
    }
}

/* HOVER */
.index-process-card:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* NUMBER */
.index-process-number{
    font-size:40px;
    font-weight:700;
    color:#ff2e63;
}

/* TITLE */
.index-process-card-title{
    margin:10px 0;
    color:#0a1f44;
}

/* TEXT */
.index-process-card-text{
    font-size:14px;
    color:#666;
}

/* BG EFFECT */
.index-process-card::before{
    content:"";
    position:absolute;
    width:120px;
    height:120px;
    background:linear-gradient(45deg,#ff2e63,#ff8a00);
    top:-40px;
    right:-40px;
    border-radius:50%;
    opacity:0.1;
    transition:0.4s;
}

.index-process-card:hover::before{
    transform:scale(1.3);
    opacity:0.2;
}

/* IMAGE */
.index-process-image{
    margin-top:50px;
}

.index-process-image img{
    width:100%;
    max-width:600px;
    border-radius:15px;
    box-shadow:0 20px 40px rgba(0,0,0,0.1);
    animation:index-process-zoomIn 1.2s ease;
}

@keyframes index-process-zoomIn{
    from{
        transform:scale(0.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

/* MOBILE */
@media(max-width:768px){
    .index-process-title{
        font-size:26px;
    }
}
/* WRAPPER (IMPORTANT FIX) */
.index-process-wrapper{
    display:grid;
    grid-template-columns: 2fr 1fr;
    gap:40px;
    align-items:center;
    margin-top:50px;
}

/* IMAGE FIX */
.index-process-image{
    width:100%;
}

.index-process-image img{
    width:100%;
    border-radius:15px;
    object-fit:cover;
}

/* GRID INSIDE LEFT */
.index-process-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

/* MOBILE FIX */
@media(max-width:992px){

    .index-process-wrapper{
        grid-template-columns:1fr;
    }

    .index-process-grid{
        grid-template-columns:1fr;
    }

    .index-process-image{
        margin-top:20px;
    }
}

/* ===== Director Profile Wrapper ===== */

.director-profile-section{
background:#071d4d;
color:#fff;
overflow:hidden;
position:relative;
}

/* Background effects */

.director-profile-section:before{
content:"";
position:absolute;
inset:0;
background:
radial-gradient(circle at 20% 30%,rgba(0,119,255,.15),transparent 35%),
radial-gradient(circle at 80% 50%,rgba(0,255,255,.12),transparent 30%),
linear-gradient(135deg,#0a2e73,#08193c);
z-index:0;
}

.director-profile-section:after{
content:"";
position:absolute;
inset:0;
background-image:
linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
background-size:60px 60px;
animation:director-profile-gridmove 20s linear infinite;
z-index:0;
}

@keyframes director-profile-gridmove{
from{transform:translateY(0);}
to{transform:translateY(-60px);}
}


/* HERO */

.director-profile-hero{
min-height:100vh;
display:flex;
align-items:center;
justify-content:space-between;
padding:80px 8%;
gap:60px;
position:relative;
z-index:2;
}

.director-profile-left{
flex:1;
animation:director-profile-fadeleft 1.2s ease;
}

.director-profile-tag{
display:inline-block;
background:rgba(255,255,255,.08);
padding:14px 28px;
border-radius:50px;
margin-bottom:30px;
backdrop-filter:blur(10px);
border:1px solid rgba(255,255,255,.15);
}

.director-profile-heading{
font-size:68px;
line-height:1.15;
font-weight:800;
margin-bottom:25px;
color:#ffd54d;
}

.director-profile-gradient{


color:#ffffff;
}

.director-profile-text{
font-size:20px;
line-height:1.9;
color:#ffffff;
max-width:700px;
margin-bottom:25px;
}

.director-profile-highlight{
color:#ffd54d;
font-weight:600;
}

.director-profile-buttons{
display:flex;
gap:20px;
flex-wrap:wrap;
margin-top:30px;
}

.director-profile-btn{
padding:18px 35px;
border-radius:50px;
text-decoration:none;
font-weight:600;
transition:.4s;
}

.director-profile-btn-primary{
background:linear-gradient(90deg,#0db7ff,#27f2ff);
color:#07204e;
}

.director-profile-btn-primary:hover{
transform:translateY(-5px);
box-shadow:0 12px 30px rgba(0,255,255,.25);
}

.director-profile-btn-outline{
border:2px solid #43d7ff;
color:#fff;
}

.director-profile-btn-outline:hover{
background:#163e8d;
}



/* RIGHT IMAGE */

.director-profile-right{
flex:1;
display:flex;
justify-content:center;
position:relative;
animation:director-profile-faderight 1.4s ease;
}

.director-profile-image{
width:520px;
max-width:100%;
border-radius:30px;
box-shadow:0 25px 70px rgba(0,0,0,.45);
animation:director-profile-float 5s ease-in-out infinite;
}

/* Floating cards */

.director-profile-floating-card{
position:absolute;
background:rgba(255,255,255,.08);
backdrop-filter:blur(14px);
padding:18px 25px;
border-radius:20px;
border:1px solid rgba(255,255,255,.12);
box-shadow:0 12px 30px rgba(0,0,0,.25);
font-weight:600;
}

.director-profile-card1{
top:10%;
left:-40px;
animation:director-profile-float 4s ease infinite;
}

.director-profile-card2{
bottom:18%;
right:-30px;
animation:director-profile-float 6s ease infinite;
}

.director-profile-card3{
bottom:8%;
left:40px;
animation:director-profile-float 5s ease infinite;
}


/* Stats */

.director-profile-stats{
padding:70px 8%;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
position:relative;
z-index:2;
}

.director-profile-stat-box{
background:rgba(255,255,255,.07);
padding:45px;
border-radius:30px;
text-align:center;
border:1px solid rgba(255,255,255,.08);
transition:.4s;
}

.director-profile-stat-box:hover{
transform:translateY(-10px);
}

.director-profile-number{
font-size:56px;
font-weight:800;
background:linear-gradient(90deg,#ffd54d,#ffd54d);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.director-profile-label{
margin-top:12px;
font-size:18px;
color:#dce6ff;
}


/* Domains */

.director-profile-domain{
padding:90px 8%;
position:relative;
z-index:2;
}

.director-profile-title{
text-align:center;
font-size:52px;
margin-bottom:60px;
color:#ffffff;
}

.director-profile-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.director-profile-service{
background:linear-gradient(145deg,#123777,#0b2354);
padding:35px;
border-radius:30px;
transform:translateY(60px);

transition:.6s;
}

.director-profile-service.show{
transform:translateY(0);
opacity:1;
}

.director-profile-service:hover{
transform:translateY(-10px);
}

.director-profile-service h3{
font-size:28px;
margin-bottom:15px;
color:#ffd54d;
}

.director-profile-service p{
line-height:1.8;
color:#d8e1ff;
}


/* Animations */

@keyframes director-profile-fadeleft{
from{
opacity:0;
transform:translateX(-80px);
}
to{
opacity:1;
transform:none;
}
}

@keyframes director-profile-faderight{
from{
opacity:0;
transform:translateX(80px);
}
to{
opacity:1;
transform:none;
}
}

@keyframes director-profile-float{
50%{
transform:translateY(-15px);
}
}


/* Responsive */

@media(max-width:980px){

.director-profile-hero{
flex-direction:column;
text-align:center;
}

.director-profile-heading{
font-size:48px;
color:#ffd54d;
}

.director-profile-buttons{
justify-content:center;
}

.director-profile-card1,
.director-profile-card2,
.director-profile-card3{
display:none;
}

}


.image-card {
    position: relative;
    width: 350px;
    border-radius: 25px;
    overflow: hidden;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: 0.4s;
}

.image-card img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* Glow border */
.image-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 25px;
    background: linear-gradient(45deg, #ff416c, #3b82f6, #00f2fe);
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: 0.4s;
}

.image-card:hover::before {
    opacity: 1;
}

.image-card:hover {
    transform: translateY(-10px) scale(1.02);
}



.web-design-wrapper{
    font-family:Poppins,sans-serif;
    background:#f3f5f9;
    padding:40px;
}

.web-design-container{
    display:grid;
    grid-template-columns:55% 45%;
    gap:40px;
    max-width:1200px;
    margin:auto;
}

/* LEFT */
.web-design-badge{
    background:#ffe4ec;
    color:#e11d48;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    display:inline-block;
    margin-bottom:15px;
}

.web-design-title{
    font-size:42px;
}
.web-design-title span{
    color:#e11d48;
}

.web-design-sub{
    color:#6b7280;
    margin:15px 0;
}

.web-design-btn{
    display:inline-block;
    padding:12px 20px;
    background:linear-gradient(45deg,#e11d48,#2563eb);
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    margin-bottom:20px;
}

.web-design-heading{
    margin-top:20px;
}

.web-design-list li{
    margin:10px 0;
}

.web-design-tags span{
    background:#e0e7ff;
    padding:6px 10px;
    border-radius:6px;
    margin:5px;
    display:inline-block;
}

/* RIGHT */
.web-design-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    background:#fff;
    padding:20px;
    border-radius:15px;
}

.web-design-stat{
    text-align:center;
}

.web-design-icon{
    width:50px;
    height:50px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    margin-bottom:10px;
}

.web-design-icon.pink{background:#ffe4ec;}
.web-design-icon.blue{background:#e0ecff;}
.web-design-icon.purple{background:#ede9fe;}

.web-design-stat h2{
    color:#1e3a8a;
}

/* WHAT WE DO */
.web-design-what{
    margin-top:20px;
}

.web-design-cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:15px;
}

.web-design-card{
    background:#fff;
    padding:15px;
    border-radius:12px;
    display:flex;
    gap:10px;
}

/* BOTTOM */
.web-design-bottom{
    margin-top:30px;
    background:linear-gradient(45deg,#0f172a,#1e3a8a);
    color:#fff;
    padding:20px;
    display:flex;
    justify-content:space-around;
    border-radius:10px;
}

/* RESPONSIVE */
@media(max-width:768px){
    .web-design-container{
        grid-template-columns:100%;
    }
    .web-design-stats{
        grid-template-columns:repeat(2,1fr);
    }
    .web-design-cards{
        grid-template-columns:100%;
    }
    .web-design-bottom{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }
}


.web-design-extra{
    margin-top:25px;
}

.web-design-extra-cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:15px;
}

/* responsive */
@media(max-width:768px){
    .web-design-extra-cards{
        grid-template-columns:100%;
    }
}

/* SECTION */
.web-design-extra{
    margin-top:30px;
}

/* SUB TEXT */
.web-design-extra-sub{
    color:#6b7280;
    margin-top:10px;
}

/* GRID */
.web-design-extra-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:20px;
}

/* ITEM */
.web-design-extra-item{
    display:flex;
    gap:15px;
    align-items:flex-start;
    background:#fff;
    padding:18px;
    border-radius:12px;
}

/* ICON FIX */
.web-design-extra-item .web-design-icon{
    min-width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* TEXT */
.web-design-extra-item h4{
    margin:0;
}

.web-design-extra-item p{
    margin-top:5px;
    color:#6b7280;
}

/* RESPONSIVE */
@media(max-width:768px){
    .web-design-extra-grid{
        grid-template-columns:100%;
    }
}
.oval-img {
    width: 400px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* POPUP */
.img-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.img-popup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}


@media(max-width:1023px){
  .has-mega .mega-menu{display:none}
  .has-mega.is-open-sub .mega-menu{display:flex}
}
@media (max-width: 1023px) {
  /* Fix nav panel to slide from right, above everything */
  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(85%, 320px);
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 80px 20px 30px;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  /* Overlay covers entire screen */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  /* Hamburger button above overlay */
  .nav-toggle {
    position: relative;
    z-index: 1001;
  }

  /* Nav list stacked vertically */
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0;
    margin: 0;
  }

  .primary-nav ul li a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Services submenu hidden by default */
  .has-mega .mega-menu {
    display: none;
    flex-direction: column;
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    grid-template-columns: 1fr;
  }

  .has-mega.is-open-sub .mega-menu {
    display: flex;
  }

  .mega-menu a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  /* CTA button */
  .nav-cta-li {
    margin-top: 12px;
  }

  .nav-cta {
    display: block;
    text-align: center;
    width: 100%;
  }
}
@media (max-width: 1023px) {
  .has-mega .mega-menu {
    display: none !important;
    flex-direction: column !important;
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 8px 0 8px 12px !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    grid-template-columns: 1fr !important;
  }

  .has-mega.is-open-sub .mega-menu {
    display: flex !important;
  }
}