/* styles-ddg.css  (unique class/id names) */

/* ====== COLOR PALETTE (from provided image) ======
 primary red: #df2531
 deep black: #000000
 light white: #ffffff
 darker red tint opacities used for glass
================================================== */
:root{
  --ddg-red: #df2531;
  --ddg-black: #000000;
  --ddg-white: #ffffff;
  --ddg-glass: rgba(255,255,255,0.06);
  --ddg-glass-border: rgba(255,255,255,0.08);
  --ddg-radius: 14px;
  --ddg-gap: 20px;
  --ddg-maxwidth: 1200px;
}

/* Basic reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;
  width: 100%;
}
body{
  font-family: "inter";
  background: #000000;
  color: var(--ddg-white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;}

/* ===== NAVBAR (glassmorphism sticky) ===== */
#ddg-navbar{
  position:fixed; inset:0 0 auto 0;
  display:flex; align-items:center; justify-content:space-between;
  top: 12px;
  gap:10px; padding:14px 26px;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(26,8,8,0.55), rgba(20,6,6,0.25));
  border-bottom: 1px solid var(--ddg-glass-border);
  width:100%; z-index:1100;
}

/* brand */
.ddg-brandwrap{display:flex; align-items:center; gap:12px}
.ddg-logo{width:40px;height:40px;object-fit:cover;border-radius:8px}
.ddg-brandtext{display:flex;flex-direction:column}
.ddg-name{font-weight:500; letter-spacing:0.6px; font-size:12px}
.ddg-sub{font-size:0.78rem; opacity:0.8}

/* links */
.ddg-links{display:flex; gap:22px; align-items:center}
.ddg-links a{color:var(--ddg-white); text-decoration:none; font-weight:600; padding:6px 8px; border-radius:8px; transition:all .25s}
.ddg-links a:hover{color:var(--ddg-black);border-radius: 18px; background:var(--ddg-white); transform:translateY(-3px); box-shadow:0 6px 18px rgb(28, 27, 27); cursor: pointer;}

/* hamburger mobile */
.ddg-hambtn{display:none; width:44px;height:44px;border-radius:10px;background:transparent;border:0;; 
    filter: blur(2);cursor:pointer}
.ddg-hambtn span{display:block;height:2px;background:var(--ddg-white);margin:7px 10px;border-radius:10px;transition:all .25s}

/* mobile panel */
#ddg-mobile{position:fixed; right:-100%; top:70px; width:32%; max-width:320px; height:250px;
    border-radius: 3px;
 background: #000000b2;
 background: blur(8px); padding:24px; display:flex;flex-direction:column; gap:18px; z-index:1050; transition:top.36s}

/* mobile links */
#ddg-mobile a{color:var(--ddg-white); text-decoration:none; font-weight:500; padding:5px 10px; border-radius:10px; align-content: center;}
#ddg-mobile a:hover{background:rgba(255, 255, 255, 0.099)}

/* ===== HERO (video bg) ===== */
.ddg-section{padding:110px 20px 80px; position:relative}
.ddg-home{min-height:100vh; padding:0; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; z-index:-1}

/* video placed to cover the section and maintain 16:9 landscape */
.ddg-video{
  position:absolute; top:50%; left: 50%;
  transform:translate(-50%,-50%) rotate(2deg);
  aspect-ratio: 16/9;
  height:90vh; /* ensures cover after rotate */
  width:100%;
  pointer-events: none !important;
  z-index: 1 !important;
  object-fit:fill;
  filter: blur(2px);
}

/* overlay hero content */
.ddg-heroContent{position:relative; z-index:10; text-align:center; padding:3rem 1.25rem; max-width:1000px}
.ddg-heroTitle{
    display: inline-flex;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;

 }
.ddg-heroLead{font-size:16px;font-weight: 600; opacity:0.9; margin-bottom:20px;}

.cta-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    color: white;
    font-size: 14PX;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}


/* ===== ABOUT ===== */
.ddg-aboutInner{max-width:100%;  padding-left:48px;
    margin:0 auto;  display:grid; grid-template-columns:1fr 420px; gap: 20px; align-items:center;
backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(7, 6, 6, 0.55), rgba(0, 0, 0, 0.25));}
.ddg-aboutText h1{margin: top 2px bottom 0;
     font-size: 38px; 
     font-weight: 600;
     color: #fffffff4;
    
    }

.ddg-aboutText p{opacity:14px; margin-bottom:10px; font-size: 16px; font-weight: 500 ; gap:3px}
.ddg-feats{list-style:none; display:flex; flex-direction:column; gap:10px; margin-top:10px; 
    margin-bottom: 10px;
    font-size:16px}
.ddg-paletteImg{width:100%;
    height: 300px;
    object-fit:cover;
margin-bottom: 20px;}

/* strip */
.ddg-stripWrap{width:100%; overflow:hidden;background-color: #df2531d4; margin-top:0; padding:12px 0;rotate: -4deg; border-top:1px solid rgb(223, 2, 2); border-bottom:1px solid rgba(238, 11, 11, 0.741);border-style:var(--ddg-glass);}
.ddg-stripTrack{display:flex; gap:20px; white-space:nowrap; font-weight:800; text-transform:uppercase; letter-spacing:1px; font-size: 16px; font-style: italic;}
.ddg-stripTrack span{opacity:0.95}

/*st2*/
.ddg-stripWrap2{width:100%; overflow:hidden;background-color: #fffffff1;color: #cb1010; margin-top:10px; padding:12px 0;rotate: 5deg; border-top:1px solid rgb(223, 2, 2); border-bottom:1px solid rgba(238, 11, 11, 0.741);border-style:var(--ddg-glass);}
.ddg-stripTrack2{display:flex; gap:20px; white-space:nowrap; font-weight:800; text-transform:uppercase; letter-spacing:1px; font-size: 18px; font-style: italic;margin-bottom: 0;}
.ddg-stripTrack2 span{opacity:0.95}
   
/*services*/
.dd-servivces-wrapper{
  width: 100%;
  min-height: 100vh;  /* FULL SCREEN */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;}

.dd-services-inner-block {
  width: 100%;
  height: 400px;       /* natural height */ /* takes most of the screen */
  padding: 30px;
  border-radius: 30px;
  backdrop-filter: blur(25px);
  background: rgb(0, 0, 0);
  border: 2px solid rgba(18, 17, 17, 0.253);
  transition: background 0.3s ease;
}

.dd-services-inner-block :last-child{
    border-bottom: none;
}

.dd-services-title-heading{
    padding-left: 40px;
    margin-bottom: 20px;
    position: relative;
    align-items: center;
    font-size: 38px;
    color: #ffffff;
}
.dd-service-item-box {
    width: 100%;
    height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 10px;
  border-bottom: 1px solid rgba(24, 20, 20, 0.642);
  cursor: pointer;
  position : relative;
  background-color: #ffffff13;
  transition: 0.4s ease;
}


.dd-service-left-num {
  font-size: 32px;
  font-weight: 800;
  position: relative;
 padding-left: 40px;
  color: #fefefe;
  width: 100px;
  transition: 0.35s ease;
}

.dd-service-right-info {
  width: calc(100% - 90px);
}

.dd-service-main-head {
  font-size: 24x;
  font-weight: 600;
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
  color: #ffffff;
  transition: 0.35s ease;
}

.dd-service-expand-text {
  font-size: 18px;
  line-height: 25px;
  font-weight: 500;
  padding-left: 10px;
  color: #ddd;
  padding-left:1%;
  max-height: 0;
  overflow: hidden;
  opacity: 1.5;
  transition: max-height 0.5s ease, opacity 0.8s ease;
}

/* Hover Effects */
.dd-service-item-box:hover .dd-service-left-num {
  transform: scale(0.8);
  color: #ff0606;
}

.dd-service-item-box:hover .dd-service-main-head {
  transform: translateX(12px);
  color: #f6f4f4;
}

.dd-service-item-box:hover .dd-service-expand-text {
  max-height: 250px;
  opacity: 1;
}

/* Neon Hover Glow Effect */
.dd-service-item-box::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0b0a0a,#fa0d0d,#0b0a0a);
  opacity: 0;
  filter: blur(20px);
  transition: 0.4s ease;
}

.dd-service-item-box:hover::before {
  width: 80%;
  opacity: 0.4;
}

/* Responsive */
@media(max-width: 768px) {
  .dd-services-title-heading {
    font-size: 24px;
  }

  .dd-service-left-num {
    font-size: 20px;
    width: 60px;
  }

  .dd-service-main-head {
    font-size: 22px;
  }
}

/* Dark Neon Theme */
.cyberSectionWrap {
  width: 100%;
  padding: 10px 5%;
  margin-top: 250px;
 background: radial-gradient(circle at 60% 0%, #000000 40%, #00000046 60%, #000000 100%); 
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-bottom: 30px;

}

/* Neon Heading */
.cyberMainHead {
  font-size: 38px;
  margin-bottom: 20px;
  margin-top: 20px;
}
.cyberp{
    font-size: 16px;
    margin-bottom: 20px;
}
/* Noise Grain Overlay */
.cyberNoiseLayer {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 2;
}
/* Horizontal Loop Belt */
.loopProjectBelt {
  overflow: hidden;
  width: 200%;
  height: 200px;
  margin-bottom: px;
  background-color: #1913134c;
    animation: scrollLoop 18s linear infinite;
}
.loopProjectTrack {
  display: flex;
  gap: 30px;
}
.loopProjectItem img {
    padding-top: 20px;
    padding-bottom: 10px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.8);
  transition: 0.4s ease;
}
.loopProjectItem img:hover {
  filter: brightness(1) drop-shadow(0 0 10px #1e151556);
  transform: scale(1.8) rotate3d(1, 1, 0, 6deg);
}
/**/
.loopProjectBelt2 {
  overflow: hidden;
  width: 120%;
  height: 200px;
  margin-bottom: 10px;
  background-color: #2f2e2e5a;
    animation: scrollLoop 18s linear infinite;
}
.loopProjectTrack2 {
  display: flex;
  gap: 0px;

}
.loopProjectItem2 img {
    padding-top: 20px;
    padding-bottom: 10px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.8);
  transition: 0.4s ease;
  flex-shrink: 0;
}

.loopProjectItem2 img:hover {
  filter: brightness(1) drop-shadow(0 0 10px #120f0fbf);
  transform: scale(1.8) rotate3d(1, 1, 0, 6deg);
}


/* Magnetic Cursor */
.cyberCursorDot {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  filter: blur(2px);
}

/* responsive */
@media (max-width: 1000px){
  .ddg-aboutInner{grid-template-columns:1fr; padding:0 18px}
  .ddg-worksGrid{grid-template-columns:repeat(2,1fr)}
  .ddg-heroTitle{font-size:2rem}
  .ddg-links{display: none;} /* hide desktop links */
  .ddg-hambtn{display:block}
}

@media (max-width: 640px){
  .ddg-worksGrid{grid-template-columns:1fr}
  .ddg-heroTitle{font-size:1.4rem}
  .ddg-cta{padding:10px 12px}
  #ddg-navbar{padding:10px 14px}
}

@media (max-width: 768px) {
   .ddg-video{
        min-width: 100%;
        min-height: 100%;
        object-fit: fill;
        position: center;
    }
}

/* ===== FOOTER ===== */
.ddg-footer{background:linear-gradient(180deg, rgba(10, 10, 10, 0.738), rgba(106, 1, 1, 0.585)); padding:60px; margin-bottom: 0;}
.ddg-footerInner{width: 100%;height: 200px; margin:0 0; display:flex; gap:20px; justify-content:space-between; align-items:center; flex-wrap:wrap}
.dgx-social-block {
    display: flex;
    gap: 16px;
    margin-top: 35px;
}

.dgx-social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f2f2f2;
    color: #111;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dgx-social-icon svg {
    width: 22px;
    height: 22px;
}

.dgx-social-icon:hover {
    background: #111;
    color: #fff;
    transform: translateY(-4px);
}
.ddg-legal{
    display: flex;
    font-size: 18px;
    position: relative;
    align-items: center;
    padding-left: 10px;
    margin-top: 45px;
    margin-bottom: 0;
    gap: 5px;
}
.ddg-footerLogo
{
    display: flexbox;
    width: 50px;
    height: 60px;
}


/* small visual niceties */
.ddg-section{scroll-margin-top:90px} /* so heading isn't hidden behind sticky nav */
