:root {
    --primary-color: #000; /* black */
    --accent-color: #c1001f; /* red */
    --dropdown-bg: #000;
}

/* Body */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    padding-top: 120px;
    background: #f8f8f8;
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1050;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a {
    color: #fff;
    text-decoration: none;
    margin-right: 15px;
}
.top-bar a:hover { color: var(--accent-color); }
.top-bar .divider {
    border-left: 1px solid rgba(255,255,255,0.4);
    margin: 0 10px;
    height: 16px;
}

/* Main Navbar */
.navbar-custom {
    background: #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    padding: 10px 15%;
    transition: all 0.3s ease;
}
.navbar-custom .navbar-brand img { height: 60px; }
.navbar-custom .nav-link {
    color: #000 !important;
    font-weight: 500;
    margin-right: 15px;
    position: relative;
    transition: 0.3s;
}
.navbar-custom .nav-link:hover { color: var(--accent-color) !important; }
.navbar-custom .btn-careers {
    background: var(--accent-color);
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}
.navbar-custom .btn-careers:hover { background: #000; }

/* Dropdown Styles */
.navbar .dropdown-menu {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: block;
    visibility: hidden;
    background: var(--dropdown-bg);
}
.navbar .dropdown-item {
    color: #fff;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
}
.navbar .dropdown-item:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateX(5px);
}

/* Dropdown animation */
.navbar .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0px);
    visibility: visible;
}

/* Triangle pointer for dropdown */
.navbar .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent var(--dropdown-bg) transparent;
}

/* Alignment for dropdowns */
.navbar .nav-item.dropdown:nth-child(1) .dropdown-menu { left: 0; }
.navbar .nav-item.dropdown:nth-child(3) .dropdown-menu { right: 0; }

/* Mobile adjustments */
@media(max-width: 991px){
    .navbar-custom { padding: 10px 5%; }
    .navbar .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        background: var(--primary-color) !important;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .navbar .dropdown-item { padding-left: 30px; }
    .navbar .dropdown-menu::before { display: none; }
    .navbar-toggler { border: none; }
    .navbar-toggler-icon i { font-size: 24px; color: #000; }
}

@media (max-width: 991px) {

    /* BODY FIX */
    body {
        padding-top: 0;
    }

    /* TOP BAR FIX */
    .top-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 8px 10px;
        gap: 6px;
    }

    .top-bar .d-flex {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }

    .top-bar a,
    .top-bar i {
        white-space: nowrap;
    }

    /* NAVBAR FIX */
    .navbar-custom {
        padding: 8px 12px;
        border-radius: 0;
        width: 100%;
    }

    .navbar-collapse {
        width: 100%;
        background: #fff;
        padding: 10px 0;
        margin-top: 8px;
        border-radius: 12px;
        overflow-x: hidden;
    }

    /* DROPDOWN RESET (NO SLIDE AT ALL) */
    .navbar .dropdown-menu {
        position: static !important;
        display: none;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        background: #000 !important;
        width: 100%;
        margin: 0;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .navbar .dropdown.show .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-item {
        padding: 12px 20px;
        transform: none !important;
    }

    .navbar .dropdown-menu::before {
        display: none;
    }
}








/* ===== GLOBAL ===== */
body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.text-red { color: #e60023; }

.section-title { font-weight: 800; font-size: 36px; }

/* ===== HERO ===== */
.mobile-hero {
  background:#000;
  padding:160px 0 120px;
  position:relative;
  overflow:hidden;
}

@media (max-width:576px) {
  .hero-glow { width: 300px; height: 300px; top: -80px; right: -120px; }
  .glow-ring { width: 300px; height: 300px; }
}

.hero-overlay {
  position:absolute; top:0; left:0;
  width:100%; height:100%;
  background:linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  backdrop-filter:blur(6px);
}

.hero-glow {
  position:absolute; top:-120px; right:-180px;
  width:480px; height:480px;
  background:radial-gradient(circle, rgba(255,0,64,0.45), transparent 60%);
  filter:blur(50px);
  z-index:0;
}

.text-gradient {
  background: linear-gradient(45deg,#ff003d,#ff4f00);
  -webkit-background-clip: text;
  color: transparent;
  font-weight:900;
}


.hero-title {
  font-size:56px;
  line-height:1.2;
  letter-spacing:-0.5px;
}

.hero-desc {
  opacity:0.85;
  font-size:18px;
  margin-top:10px;
  max-width:520px;
}

.hero-btn {
  display:inline-block;
  color:#fff;
  font-size:18px;
  padding:14px 36px;
  border-radius:50px;
  background:linear-gradient(90deg,#e6002c,#ff6200);
  box-shadow:0 0 22px rgba(255,0,40,0.35);
  text-decoration:none;
  transition:0.35s;
}
.hero-btn:hover {
  transform:translateY(-4px);
  box-shadow:0 0 35px rgba(255,0,40,0.6);
}

.device-wrapper { position:relative; display:inline-block; }

.hero-img {
  max-width:420px;
  animation:float 4s infinite ease-in-out;
  position:relative;
  z-index:2;
}

.glow-ring {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:450px; height:450px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,0,70,0.45), rgba(255,0,70,0) 70%);
  filter:blur(40px);
  z-index:1;
}

@keyframes float {
  0% {transform:translateY(0);}
  50% {transform:translateY(-18px);}
  100% {transform:translateY(0);}
}

.hero-bottom-wave {
  position:absolute; bottom:-1px; left:0;
  width:100%; height:120px;
  background:url('https://i.ibb.co/j81bM8F/wave-bottom.svg') no-repeat center/cover;
  opacity:0.9;
}

/* ===== ABOUT ===== */
.about-section { padding:100px 0; background:#fff; }

.about-image-card { border-radius:18px; overflow:hidden; background:#f7f7f7; padding:16px; box-shadow:0 8px 32px rgba(0,0,0,0.08); transition:0.4s ease; }
.about-image-card:hover { transform:translateY(-6px); box-shadow:0 12px 40px rgba(0,0,0,0.12); }
.about-image-card img { border-radius:14px; width:100%; transition:0.3s ease; }

.about-title { font-size:34px; font-weight:700; color:#111; line-height:1.3; }
.about-title .highlight { color:#d72229; }
.about-para { font-size:17px; color:#555; margin-bottom:14px; line-height:1.7; }

.about-list { list-style:none; padding:0; margin:20px 0 0; }
.about-list li { font-size:16px; margin-bottom:10px; color:#333; display:flex; align-items:center; }
.about-list i { color:#d72229; margin-right:10px; font-size:18px; }

/* ===== TECH STACK ===== */
.tech-stack-section { background:#f4f5f7; padding:100px 0; }
.tech-title { font-size:34px; font-weight:700; color:#111; letter-spacing:-0.5px; text-align:center; margin-bottom:50px; }
.tech-card { background:#fff; border-radius:18px; padding:32px 15px; text-align:center; box-shadow:0 5px 16px rgba(0,0,0,0.06); transition:0.35s ease; border:1px solid rgba(0,0,0,0.05); }
.tech-card:hover { transform:translateY(-7px); box-shadow:0 18px 36px rgba(0,0,0,0.12); border:1px solid rgba(215,34,41,0.45); }
.icon-wrap { width:68px; height:68px; margin:0 auto 12px; border-radius:50%; background:linear-gradient(145deg,#fff,#f1f1f1); box-shadow:inset 0 3px 6px rgba(0,0,0,0.08),0 4px 12px rgba(0,0,0,0.06); display:flex; justify-content:center; align-items:center; transition:0.3s ease; }
.tech-card:hover .icon-wrap { background:#d72229; color:#fff; transform:scale(1.08); }
.icon-wrap i { font-size:30px; color:#d72229; transition:0.3s ease; }
.tech-card:hover i { color:#fff; }
.tech-card p { margin-top:10px; font-size:17px; font-weight:600; color:#333; }

/* ===== PLATFORM CARDS ===== */
.upgraded-card { background:#fff; padding:40px 28px; border-radius:20px; text-align:center; transition:.35s ease-in-out; box-shadow:0 10px 25px rgba(0,0,0,0.06); border:1px solid #eee; position:relative; overflow:hidden; }
.upgraded-card:hover { transform:translateY(-10px); box-shadow:0 18px 40px rgba(0,0,0,0.1); border-color:transparent; background:linear-gradient(135deg,#fff 0%,#f9f9f9 100%); }
.platform-icon { width:85px; transition:.3s ease; filter:drop-shadow(0 4px 10px rgba(0,0,0,0.1)); }
.upgraded-card:hover .platform-icon { transform:scale(1.07); }

/* ===== OPTIMIZATION ===== */
.updated-optimization { padding:100px 25px; background:linear-gradient(160deg,#111,#1b1b1b,#0d0d0d); color:#fff; text-align:center; }
.updated-optimization p { max-width:720px; margin:0 auto; opacity:.85 !important; font-size:1.1rem; }

/* ===== SUPPORT ===== */
.support-section { padding:100px 15px; background:#fdfdfd; }
.support-section h2 { font-size:38px; color:#111; margin-bottom:25px; letter-spacing:0.5px; }
.support-cards { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:25px; margin-top:20px; }
.support-card { background:#fff; border-radius:20px; padding:25px 20px; box-shadow:0 12px 30px rgba(0,0,0,0.08); transition:0.4s ease; text-align:center; position:relative; overflow:hidden; }
.support-card:hover { transform:translateY(-10px); box-shadow:0 18px 40px rgba(0,0,0,0.12); }
.card-icon { width:60px; height:60px; margin:0 auto 15px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#ff003c,#ff3366); border-radius:50%; color:#fff; font-size:28px; transition:0.3s; }
.support-card:hover .card-icon { transform:scale(1.15) rotate(5deg); box-shadow:0 6px 18px rgba(255,0,60,0.4); }
.support-card h5 { font-weight:700; margin-bottom:10px; }
.support-card p { font-size:14px; color:#555; line-height:1.5; }
.support-img { border-radius:30px; transition:transform 0.4s ease, box-shadow 0.4s ease; box-shadow:0 12px 35px rgba(0,0,0,0.08); }
.support-img:hover { transform:scale(1.03); box-shadow:0 18px 45px rgba(0,0,0,0.12); }

/* ===== SECURITY ===== */
.security-section { padding:100px 0; background:#0a0a0a; position:relative; }
.security-section:before { content:""; position:absolute; inset:0; background:radial-gradient(rgba(255,0,0,0.08),transparent 70%); opacity:0.4; }
.sec-container { position:relative; z-index:10; text-align:center; max-width:1200px; margin:0 auto; padding:0 20px; }
.sec-title { font-size:42px; font-weight:900; color:#fff; text-transform:uppercase; }
.sec-title span { color:#ff003c; }
.sec-subtitle { color:#cfcfcf; max-width:700px; margin:0 auto 50px; }
.sec-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; justify-items:center; }
.sec-card { background:linear-gradient(145deg,rgba(20,20,20,0.85),rgba(10,10,10,0.65)); border:1px solid rgba(255,0,0,0.18); padding:35px 30px; border-radius:20px; backdrop-filter:blur(12px); box-shadow:0 0 25px rgba(255,0,0,0.08); transition:0.35s ease; position:relative; overflow:hidden; }
.sec-card i { font-size:42px; color:#ff003c; margin-bottom:18px; }
.sec-card h3 { color:#fff; font-size:22px; margin-bottom:12px; font-weight:700; }
.sec-card p { color:#c9c9c9; font-size:15px; line-height:1.6; }

@media (max-width:992px){ .sec-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:576px){ .sec-grid{ grid-template-columns:1fr; } }

/* ===== FRAMEWORKS SLIDER ===== */
.frameworks-slider { background:#111; color:#fff; padding:60px 20px; overflow:hidden; }
.frameworks-slider h2 { color:#fff; margin-bottom:40px; font-size:32px; font-weight:700; text-align:center; }
.slider-wrapper { overflow:hidden; position:relative; }
.slider-track { display:flex; gap:60px; align-items:center; animation:slide-left 30s linear infinite; }
.slide-item { flex:0 0 auto; }
.fw-icon { width:80px; filter:grayscale(100%); transition:filter 0.3s ease, transform 0.3s ease; }
.slide-item:hover .fw-icon { filter:grayscale(0); transform:scale(1.15); }
@keyframes slide-left { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }

/* RESPONSIVE HERO IMAGE */
@media (max-width:992px){ .hero-title{ font-size:42px; } .hero-desc{ font-size:16px; } .hero-img{ max-width:320px; } }
@media (max-width:576px){ .hero-title{ font-size:32px; } .hero-desc{ font-size:14px; } .hero-img{ max-width:260px; } }





/* OVERLAY */
.consult-popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  backdrop-filter:blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:.4s ease;
  z-index:9999;
}

.consult-popup-overlay.active{
  opacity:1;
  visibility:visible;
}

/* POPUP BOX */
.consult-popup-box{
  width:900px;
  max-width:95%;
  background:#fff;
  display:flex;
  border-radius:14px;
  overflow:hidden;
  transform:scale(.85);
  transition:.4s ease;
  position:relative;
}

.consult-popup-overlay.active .consult-popup-box{
  transform:scale(1);
}

/* CLOSE BUTTON */
.consult-popup-close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  background:#e60012;
  color:#fff;
  border:none;
  border-radius:50%;
  font-size:20px;
  cursor:pointer;
  z-index:10;
  box-shadow:0 6px 20px #00000040;
  transition:all .3s ease;
}

.consult-popup-close:hover{
  background:#ff2c3d;
  transform:rotate(90deg) scale(1.1);
}

/* LEFT IMAGE */
.consult-popup-image{
  width:45%;
  position:relative;
  overflow:hidden;
}

.consult-popup-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  animation:imageZoom 8s linear infinite;
}

@keyframes imageZoom{
  from{transform:scale(1)}
  to{transform:scale(1.1)}
}

.consult-popup-image::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,#00000060,#00000090);
}

.consult-popup-image-text{
  position:absolute;
  bottom:30px;
  left:30px;
  color:#fff;
  z-index:2;
}

.consult-popup-image-text h2{
  font-size:26px;
  margin-bottom:8px;
}

/* RIGHT FORM */
.consult-popup-form{
  width:55%;
  padding:45px 40px;
  background:#f7f7f7;
}

.consult-popup-form h3{
  margin-bottom:20px;
  font-size:22px;
  color:#333;
}

.consult-popup-form input,
.consult-popup-form select,
.consult-popup-form textarea{
  width:100%;
  margin-bottom:14px;
  padding:12px 14px;
  border-radius:6px;
  border:1px solid #ccc;
  font-size:14px;
}

.consult-popup-form input:focus,
.consult-popup-form select:focus,
.consult-popup-form textarea:focus{
  outline:none;
  border-color:#e60012;
}

/* SUBMIT BUTTON */
.consult-popup-form button{
  width:100%;
  background:#e60012;
  color:#fff;
  border:none;
  padding:14px;
  font-size:15px;
  border-radius:30px;
  cursor:pointer;
  transition:.3s ease;
}

.consult-popup-form button:hover{
  background:#ff2c3d;
}

/* CANCEL LINK */
.consult-cancel{
  margin-top:14px;
  text-align:center;
  font-size:14px;
  color:#666;
  cursor:pointer;
}

.consult-cancel:hover{
  color:#e60012;
  text-decoration:underline;
}

/* RESPONSIVE */
@media(max-width:768px){
  .consult-popup-box{
    flex-direction:column;
  }
  .consult-popup-image{
    width:100%;
    height:220px;
  }
  .consult-popup-form{
    width:100%;
  }
}





.footer{
  background:linear-gradient(180deg,#4b4b4b,#3b3b3b);
  color:#dcdcdc;
  padding:70px 20px 0;
  font-family:Arial, sans-serif;
  position:relative;
  overflow:hidden;
}

/* soft glow */
.footer::before{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top,#ffffff12,transparent 60%);
  pointer-events:none;
}

.footer-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}

/* COLUMNS */
.footer-column{
  flex:1 1 250px;
  min-width:220px;
  animation:footerFade .9s ease forwards;
  opacity:0;
  transform:translateY(30px);
}

.footer-column:nth-child(1){animation-delay:.1s}
.footer-column:nth-child(2){animation-delay:.25s}
.footer-column:nth-child(3){animation-delay:.4s}
.footer-column:nth-child(4){animation-delay:.55s}

@keyframes footerFade{
  to{opacity:1;transform:translateY(0);}
}

/* HEADINGS */
.footer-column h3{
  font-size:18px;
  margin-bottom:18px;
  color:#fff;
  position:relative;
}

.footer-column h3::after{
  content:'';
  width:40px;
  height:2px;
  background:#e60012;
  position:absolute;
  left:0;
  bottom:-8px;
  transition:width .4s ease;
}

.footer-column:hover h3::after{
  width:70px;
}

/* LINKS */
.footer-column ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-column ul li{
  margin-bottom:10px;
}

.footer-column ul li a{
  text-decoration:none;
  color:#dcdcdc;
  font-size:14px;
  position:relative;
  padding-left:0;
  transition:all .35s ease;
}

.footer-column ul li a::before{
  content:'›';
  position:absolute;
  left:-12px;
  opacity:0;
  color:#e60012;
  transition:all .35s ease;
}

.footer-column ul li a:hover{
  color:#fff;
  padding-left:12px;
}

.footer-column ul li a:hover::before{
  opacity:1;
  left:0;
}

/* SOCIAL */
.social-icons{
  display:flex;
  gap:14px;
  margin-top:14px;
  flex-wrap:wrap;
}

.social-icons img{
  width:38px;
  height:38px;
  background:#ffffff20;
  padding:8px;
  border-radius:8px;
  transition:all .4s ease;
}

.social-icons img:hover{
  background:#e60012;
  transform:translateY(-6px) scale(1.05);
  box-shadow:0 10px 25px #e6001240;
}

/* BUTTON */
.contact-btn{
  display:inline-block;
  margin-top:20px;
  background:linear-gradient(135deg,#e60012,#ff2c3d);
  color:#fff;
  padding:13px 30px;
  text-decoration:none;
  border-radius:30px;
  font-size:14px;
  letter-spacing:.5px;
  transition:all .4s ease;
  box-shadow:0 10px 30px #e6001233;
}

.contact-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px #e6001260;
  color:#fff;
}

/* BOTTOM BAR */
.footer-bottom{
  text-align:center;
  font-size:13px;
  color:#c0c0c0;
  margin-top:60px;
  background:#2f2f2f;
  padding:16px 10px;
  position:relative;
}

.footer-bottom::before{
  content:'';
  position:absolute;
  top:0;
  left:50%;
  width:0;
  height:2px;
  background:#e60012;
  transform:translateX(-50%);
  animation:bottomLine 1.2s ease forwards;
}

@keyframes bottomLine{
  to{width:120px;}
}

/* RESPONSIVE */
@media(max-width:992px){
  .footer-container{gap:30px;}
}

@media(max-width:600px){
  .footer{
    padding:50px 15px 0;
    text-align:center;
  }
  .footer-column h3::after{
    left:50%;
    transform:translateX(-50%);
  }
  .social-icons{
    justify-content:center;
  }
}
