
:root {
  --primary: #ff7a18;
  --dark: #10165c;
  --light: #fff;
  --gray: #666;
}

* { box-sizing: border-box; font-family: "Google Sans", sans-serif; }

body {
  margin: 0;
  /* background: var(--dark); */
  color: var(--dark);
}

/* HERO */
.deds{
  background-image: url(https://ecom.creativetechfactory.in/home%20bg.jpg);
  background-position: center;
  background-size: cover;
  padding-bottom: 4rem;
}
.hero {
  /* background: var(--dark); */
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}

.hero img{
  width: 240px;
  filter: brightness(0) invert(1);
}

.hero h1 {
  font-size: 34px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #ffffffa9;
}

.hero button {
  background: #fff;
  color: #ff0000;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
}


/* our works  */

/* ===== CTF MEDIA CARD UI ===== */
.ctf-media-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  font-family: Arial, sans-serif;
}

.ctf-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ctf-media-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.ctf-media-card:hover {
  transform: translateY(-6px);
}

.ctf-media-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.ctf-media-thumb img {
  width: 100%;
  display: block;
  height: 200px;
  object-fit: cover;
  object-position: top;

}

.ctf-media-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #fff;
  background: rgba(0,0,0,0.35);
}

.ctf-media-tag {
  display: inline-block;
  background: #f3e8ff;
  color: #7c3aed;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.ctf-media-title {
  font-size: 18px;
  margin: 8px 0;
}

.ctf-media-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Tablet */
@media (max-width: 900px) {
  .ctf-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .ctf-media-grid {
    grid-template-columns: 1fr;
  }
}


/* how we works */
.ctf-works {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  font-family: Arial, sans-serif;
}

.ctf-works h2 {
  font-size: 32px;
  margin-bottom: 50px;
  font-weight: 700;
}

.ctf-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  flex-wrap: wrap;
}

.ctf-steps::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 5%;
  right: 5%;
  border-top: 2px dashed #ccc;
  z-index: 0;
}

.ctf-step {
  width: 23%;
  background: #fff;
  padding: 20px;
  position: relative;
  z-index: 1;
  border: 1px solid var(--dark);
  border-radius: 12px;
}

.ctf-icon {
  width: 60px;
  height: 60px;
  background: #f2f2f2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 26px;
}

.ctf-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.ctf-step p {
  font-size: 14px;
  color: #000;
  line-height: 1.5;
}

.step1{
  background-image: url(./11a.jpg);
  background-position: center;
  background-size: cover;
}

.step2{
  background-image: url(./11a.jpg);
  background-position: center;
  background-size: cover;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .ctf-steps {
    flex-direction: column;
  }

  .ctf-steps::before {
    display: none;
  }

  .ctf-step {
    width: 100%;
    margin-bottom: 30px;
    background-color: #ffffffef;
  }
  .ctf-works {
  padding: 30px 20px;
  }
}

/* why ctf */
.why-section {
  padding: 60px 70px;
  margin: auto;
  text-align: center;
  background-color: var(--dark);
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #fff;
}

/* ===== WHAT WE DO – CTF ===== */
.ctf-whatwedo {
  padding: 70px 20px;
  margin: auto;
  text-align: center;
  font-family: Arial, sans-serif;
}

.ctf-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.ctf-subtitle {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #e6f9ef;
  font-size: 16px;
  line-height: 1.6;
}

.ctf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.ctf-card {
  padding: 25px 20px;
  border: 1px solid #d97706;
  border-radius: 8px;
  background-color:white ;
}

.ctf-icon {
  width: 80px;
  height: 80px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #3b82f6;
}

.ctf-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.ctf-card p {
  font-size: 14px;
  color: black;
  line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .ctf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ctf-grid {
    grid-template-columns: 1fr;
  }
  .why-section {
  padding: 30px 33px;
  }
  .ctf-media-section{
    padding: 30px 20px;
  }
}

/* FORM */
.form-box {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: auto;
}

.form-box input, .form-box select {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.form-box button {
  width: 100%;
  background: linear-gradient(135deg, #ff6a00, #ff0000);
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
}

/* TRUST */
.trust {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}

/* FOOTER CTA */
.final-cta {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

/* MOBILE CTA */
.sticky-cta {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 420px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 16px 20px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  border-radius: 50px;

  background: linear-gradient(135deg, #ff6a00, #ff0000);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.45);
  z-index: 9999;

  animation: pulse 2s infinite, float 3s ease-in-out infinite;
}

/* Icon bounce */
.sticky-cta img {
  animation: bounce 1.5s infinite;
}

/* Hover / Tap feedback */
.sticky-cta:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 14px 40px rgba(255, 0, 0, 0.65);
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(255, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* Floating effect */
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

/* Icon bounce */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Desktop spacing */
@media (min-width: 768px) {
  .sticky-cta {
    bottom: 20px;
  }
}


.wo{
  background-color: var(--dark);
}


/* why choose us */
.section{
  max-width:1200px;
  margin:auto;
  padding:80px 20px;
  text-align:center;
}

/* BADGE */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  background:#ffffff0c;
  color:var(--dark);
  border-radius:999px;
  border: 1px solid rgb(137, 137, 137);
  font-weight:600;
  font-size:14px;
  margin-bottom:25px;
}

/* TITLE */
.section h1{
  font-size:40px;
  line-height:1.25;
  margin-bottom:50px;
  color: var(--dark);
}

.section h1 span{
  display:block;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

/* CARD */
.card{
  background:#ffffff;
  border-radius:18px;
  padding:28px;
  text-align:left;
  box-shadow:0 20px 40px rgba(0,0,0,0.08);
  transition:transform .3s ease;
  border: 1px solid var(--dark);
}

.card:hover{
  transform:translateY(-6px);
}

/* ICON */
.icon{
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  font-size:18px;
  font-weight:bold;
}

/* ICON COLORS */
.i-green{background:#e6f9ef;color:#16a34a;}
.i-blue{background:#e0ecff;color:#2563eb;}
.i-purple{background:#f3e8ff;color:#7c3aed;}
.i-orange{background:#fff1e6;color:#ea580c;}
.i-yellow{background:#fef3c7;color:#d97706;}
.i-red{background:#fee2e2;color:#dc2626;}

/* TEXT */
.card h3{
  font-size:18px;
  margin-bottom:8px;
}

.card p{
  font-size:14px;
  color:#6b7280;
  line-height:1.6;
}

/* RESPONSIVE */
@media(max-width:1024px){
  .grid{grid-template-columns:repeat(2,1fr);}
}

@media(max-width:600px){
  .section h1{font-size:26px;}
  .grid{grid-template-columns:1fr;}
  .section{padding: 30px 20px;}
}

/* hero section */
.h-img{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.h-img section{
  display: flex;
  justify-content: space-around;
  align-items:center;
  flex-direction: column;
  gap: 20px;
}

.h-img .heroimg1{
    border-radius: 14px;
    width: 500px;
}

.hero-pop{
  padding:10px;
  width: 100%;
  border-radius:12px;
  background-color: #dcdcdf0c;
  border: 1px solid rgba(245, 245, 245, 0.587);
  color:white;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

.hero-head{
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 0px;
}

.hero-des{
  font-size: 12px;
  margin: 0px;
  color: #ffffffab;
}

@media screen and (min-width:320px) and (max-width:768px){
  .hero{
    padding: 20px 30px;
  }
  .h-img{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap:30px;
  }
  .h-img .heroimg1{
    width: 100%;
  }
  .h-img section{
  }
}

/* stats */
.stats-section {
  padding: 60px 20px;
  background: #f9fafc;
}

.stats-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.stat-box {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  flex: 1;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-6px);
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  /* margin-bottom: 10px; */
}

.stat-number::after {
  content: "+";
}

.stat-text {
  font-size: 16px;
  color: #555;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .stat-box{
    width: 290px;
  }

  .stat-number {
    font-size: 36px;
  }
}

#leadform{
  text-align: center;
}

.card6{
  background-image: url(./7.png);
  background-position: top;
    background-size: cover;
}

.card5{
  background-image: url(./6.png);
  background-position: top;
    background-size: cover;
}

.card4{
  background-image: url(./3.png);
  background-position: top;
    background-size: cover;
}

.card3{
  background-image: url(./4.png);
  background-position: top;
    background-size: cover;
}

.card2{
  background-image: url(./5.png);
  background-position: top;
    background-size: cover;
}

.card1{
  background-image: url(./2.png);
  background-position: top;
    background-size: cover;
}

.desk{
  position: relative;
}

.rotate-circle {
  border-radius: 50%;
  animation: slowRotate 100s linear infinite;
  will-change: transform;
  width: 100%;
  position: absolute;
   bottom: -70px;
  z-index: -678;
  left: 0;
}

#r1{
  display: unset;
}
#r2{
  display: none;
}

@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media screen and (min-width:320px) and (max-width:768px){
  .rotate-circle{
    bottom: -10px;
  }
  #r1{
  display: none;
}
#r2{
  display: unset;
  width: 50%;
  left: 25%;
}
.hero h1{
  font-size: 26px;
  margin-top: 2rem;
}
.hero img{
  width: 190px;
}
.hero p{
  font-size: 14px;
}
.hero button{
  padding: 10px 20px;
}
.hero-head{
  font-size: 16px;
}
.stats-container {
  gap: 0px;
  align-items: stretch;
}
.stat-box{
  box-shadow: none;
  border-radius: unset;
}
.stat-number{
  margin:0px;
}
.stats-section{
  padding: 20px 20px;
}
.stat-text{
  font-size: 12px;
}
.section-title{
  font-size: 26px;
}
.ctf-works h2{
  font-size: 26px;
}
.final-cta p{
  margin-bottom: 3rem;
}
}
