/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap");
/* Cyber font */

:root {
  /* Color Palette - Cyber Dark Theme */
  --primary: #2446bd;
  --primary-hover: #1a3390;
  --secondary: #1163b4;
  /* Vivid Professional Blue */
  --accent: #ff0055;
  --dark-bg: #0a0a0a;
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-main: #e0e0e0;
  --text-muted: #b0b0b0;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --gradient-main: linear-gradient(135deg, #2446bd 0%, #3399ff 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Navigation - Merged from Inline */
/* =========================================
   HEADER & NAVBAR (PC + RESPONSIVE)
   ========================================= */

/* Navbar Container */
.navbar {
  padding: 1rem 0;
}

.navbar-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu li {
  display: inline-block;
}

.nav-menu a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a i {
  color: var(--secondary);
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary);
  box-shadow: 0 0 15px rgba(51, 153, 255, 0.3);
}

/* Header Main Body */
header {
  padding-top: 20px;
}

.maindiv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  flex-wrap: wrap;
}

.left {
  display: flex;
  flex-direction: column;
}

.left h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  font-family: "Orbitron", sans-serif;
  letter-spacing: 2px;
}

.left h1 {
  display: flex;
  align-items: center;
  font-size: 2.5rem;
  font-weight: 900;
  font-family: "Orbitron", sans-serif;
}

.left h1 p {
  margin: 0;
  color: var(--text-main);
}

.left h1 img {
  height: 80px;
  margin: 0 10px;
  /* Performance optimization for images */
  image-rendering: -webkit-optimize-contrast;
}

/* =========================================
   MOBILE RESPONSIVE (HIDE NAV LINKS)
   ========================================= */

@media (max-width: 768px) {
  /* 1. Navbar section (Verification, Tools, About) ko hide karna */
  .right {
    display: none !important;
  }

  /* 2. Logo section ko mobile screen par center karna */
  .maindiv {
    justify-content: center;
    text-align: center;
  }

  .left {
    align-items: center;
  }

  /* 3. Mobile par logo ka size manage karna taaki screen se bahar na jaye */
  .left h1 {
    font-size: 1.8rem;
  }

  .left h1 img {
    height: 55px;
    margin: 0 5px;
  }

  .left h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
}
/* addd */

/* =========================================
   HERO SECTION (main > .onediv) START
   Left Content, Right Image Layout using CSS Grid
   ========================================= */

main > .onediv {
  /* PC View Layout: Two Columns (Left Content, Right Image) */
  display: grid;
  grid-template-columns: 1fr minmax(1px, 300px);
  margin-top: -37px;
  margin-bottom: -59px;
  align-items: center; /* Vertical alignment center */

  /* Padding aur other properties aapke code se */
  padding: clamp(60px, 8vw, 120px) 5%; /* Fluid Padding */
  position: relative;
  overflow: hidden;
  /* text-align: center; ko remove kiya, Grid items ko alag se align karenge */
}

/* Content alignment (p, h1, button) ko left-aligned rakhte hain */
main > .onediv > p,
main > .onediv > h1,
main > .onediv > .btn {
  /* Saare content items ko Left Column (Column 1) mein rakhna */
  grid-column: 1 / 2;
  text-align: left;
}

/* H1 aur P elements ko ek doosre ke neeche align karne ke liye */
main > .onediv > p:nth-of-type(1) {
  /* First P tag */
  margin-top: 0;
  width: max-content;
}
main > .onediv > p:nth-of-type(2) {
  /* Second P tag */
  margin-bottom: 0;
  width: max-content;
}

main > .onediv > h1 {
  line-height: 1.1;
  margin-bottom: 0;
}

main > .onediv > h1:last-of-type {
  margin-bottom: clamp(1rem, 3vw, 0rem);
}

/* Fluid Typography (Responsive Fonts) */
main > .onediv > p {
  font-size: clamp(0rem, 2vw, 1.5rem);
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
}

main > .onediv > p var {
  color: var(--secondary);
  font-style: normal;
  font-weight: bold;
}

main > .onediv > h1 {
  font-size: clamp(3rem, 10vw, 5rem); /* Fluid H1 Size */
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Orbitron", sans-serif;
}

/* Buttons (dono buttons ko column 1 mein rakhna hai) */
.hero-buttons {
  /* Do buttons ko ek hi line mein show karne ke liye flexbox use kiya */
  display: flex;
  flex-wrap: wrap; /* Agar screen choti ho to wrap ho jaayein */
  gap: 15px; /* Buttons ke beech space */
  grid-column: 1 / 2; /* Column 1 mein hi rahega */
  margin-bottom: 20px;
}

main > .onediv > .btn {
  width: 15rem;
  flex-shrink: 0;
  margin: 10px 0 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: bold;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(36, 70, 189, 0.4);
}

main > .onediv > .btn:hover {
  background: var(--secondary);
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(51, 153, 255, 0.4);
}

/* Image Styles - Right Side (Column 2) */
main > .onediv > img {
  max-width: clamp(150px, 41vw, 560px);
  grid-column: 3 / 3;
  grid-row: 1 / 10;
  align-self: flex-start;
  justify-self: center;
}

/* =========================================
   MEDIA QUERIES (MOBILE/TABLET)
   (Single Column Layout)
   ========================================= */
@media (max-width: 992px) {
  main > .onediv {
    /* Mobile View Layout: Single Column (Stacking) */
    grid-template-columns: 1fr;
    /* gap: 20px; */
    text-align: center;
  }

  /* Image ko Top par (ya content ke neeche, jaise aap chahe) */
  main > .onediv > img {
    order: 1;
    align-self: center;
    justify-self: center;
    width: clamp(100px, 30vw, 200px);
    display: none;
  }

  /* Saare content ko center align karna */
  main > .onediv > p,
  main > .onediv > h1,
  main > .onediv > .btn {
    grid-column: 1 / -1; /* Full width */
    text-align: center; /* Center align text on mobile */
  }

  /* Buttons ko center mein rakhna */
  .hero-buttons {
    justify-content: center;
  }

  main > .onediv > p {
    margin-left: auto;
    margin-right: auto;
    display: none;
  }
}

/* end css one div code */
/* =========================================
   4. SLIDING CARD SECTIONS START (Cover in Ethical Hacking)
   ========================================= */

main > .secodiv > h5,
.container .content h1,
.cybersecurityx h4 {
  font-family: "Orbitron", sans-serif;
}

main > .secodiv > h5 {
  /* Fluid Heading Font Size */
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin: 60px 0 40px;
  color: var(--text-main);
}

/* Slider / Cards Container (Horizontal Scroll Implementation) */
/* --- Desktop / Default Styles (Aapka purana code) --- */

.containerforslide {
  display: flex;
  overflow-x: auto; /* Enable Horizontal Scroll */
  gap: 20px;
  margin-left: 19px;
  padding: 20px var(--container-padding);
  scroll-behavior: smooth;
  flex-wrap: nowrap;

  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.containerforslide::-webkit-scrollbar {
  display: none;
}

.card,
.cardn {
  min-width: 300px; /* Desktop par bada size */
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-main);
}

.card:hover,
.cardn:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--secondary);
}

/* Tool Card (For images only) */
.card {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  height: 200px; /* Desktop height */
}

.card .titleone {
  background: white;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  border-radius: 0;
  margin-bottom: 0;
}

.cardn i,
.cardn svg {
  margin-bottom: 1rem;
}

.cardn h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 1rem;
  color: var(--secondary);
}

.cardn p {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  line-height: 1.6;
  color: var(--text-muted);
}

/* --------------------------------------------------------- */
/* --- MOBILE RESPONSIVE CODE (Naya code yahan hai) --- */
/* --------------------------------------------------------- */

@media screen and (max-width: 768px) {
  .containerforslide {
    gap: 15px;
    padding: 10px;
    margin-left: 10px;
  }

  .card,
  .cardn {
    min-width: 200px;
    padding: 1.2rem;
    border-radius: 15px;
  }

  .card {
    height: 140px;
  }

  .cardn h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .cardn p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .card:hover,
  .cardn:hover {
    transform: translateY(-5px);
  }
}
/* =========================================
   4. SLIDING CARD SECTIONS END code
   ========================================= */

/* start hare */
/* =========================================
   5. ENHANCE SKILLS SECTION (.container)
   ========================================= */

.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  /* Fluid Padding and Margin */
  padding: clamp(40px, 8vw, 80px) 5%;
  background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
  margin: 30px 0;
  border-radius: 0;
  gap: 40px;
}

.content {
  flex: 1 1 450px; /* Base width 450px, grow as needed */
  padding-right: clamp(0px, 5vw, 50px);
}

.content h1 {
  /* Fluid Font Size for Heading */
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: "Orbitron", sans-serif;
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.2;
}

.content p {
  /* Fluid Font Size for Paragraph */
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  color: #ccc;
  line-height: 1.6;
}

.content ul {
  list-style: none;
  margin-bottom: 2.5rem;
}

.content ul li {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  color: #e0e0e0;
  transition: transform 0.3s ease;
}

.content ul li:hover {
  transform: translateX(10px);
  color: var(--secondary);
}

.content ul li i {
  color: var(--secondary);
  margin-right: 15px;
  background: rgba(51, 153, 255, 0.1);
  padding: 10px;
  border-radius: 50%;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(51, 153, 255, 0.2);
}

/* Buttons Container */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.buttons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.start-learning {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 5px 20px rgba(36, 70, 189, 0.4);
  border: none;
}

.start-learning:hover {
  box-shadow: 0 8px 30px rgba(51, 153, 255, 0.5);
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.contact-us {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.contact-us:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-3px);
}

/* Right Image Styling */
.image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.image img {
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  /* Techy shadow effect */
  box-shadow: -20px 20px 0 rgba(36, 70, 189, 0.3),
    0 10px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
  object-fit: cover;
}

.image img:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: -10px 10px 0 var(--secondary), 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* =========================================
   RESPONSIVE ADJUSTMENTS (Mobile/Tablet)
   ========================================= */

@media (max-width: 992px) {
  .container {
    flex-direction: column; /* Stack vertically */
    text-align: center;
  }

  .content {
    order: 2; /* Content goes bottom */
    padding-right: 0;
  }

  .image {
    order: 1; /* Image goes top */
    margin-bottom: 30px;
  }

  .content ul li {
    justify-content: center; /* Center list items on mobile */
  }

  .buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 40px 20px;
  }

  .image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* Smaller shadow for mobile */
  }
}
/* end code */
/* code for Expertise in Cybersecurity Solutions*/

/* 1. Container Fix - Horizontal Scroll Force Karega */
.cybersecurityx {
  display: flex !important;
  flex-wrap: nowrap !important; /* Ye sabse zaroori hai scroll ke liye */
  overflow-x: auto !important;
  gap: 20px;
  padding: 30px 5%;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* Mobile smooth scroll */
}

/* 2. Card Width Fix - Size thoda kam kiya gaya hai */
.cybersecurityx .cardn {
  flex: 0 0 320px !important; /* Width 320px fix kar di */
  width: 320px !important;
  min-width: 320px !important;
  scroll-snap-align: start;

  /* Aapka design */
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

/* 3. Hide Scrollbar */
.cybersecurityx::-webkit-scrollbar {
  display: none;
}
.cybersecurityx {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 4. Icon spacing fix */
.ttitleone {
  display: block;
  margin-bottom: 15px;
}
/* end code for Expertise in Cybersecurity Solutions*/

/* insitute img code start */
/* =========================================
   7. GALLERY SECTION - FAST LOADING FIX
   ========================================= */

.gallery-section {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 25px;
  padding: 30px 5%;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;

  /* Performance optimization: Browser ko batata hai ki content ready rakhe */
  content-visibility: auto;
  contain-intrinsic-size: 500px 350px;
}

.gallery-section::-webkit-scrollbar {
  display: none;
}

.gallery-section .cardn {
  flex: 0 0 500px !important;
  width: 500px !important;
  min-width: 500px !important;
  height: 350px !important;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: #111; /* Loading ke waqt black background dikhega flickering nahi hogi */
  padding: 0 !important;

  /* Isse hover animation smooth hogi bina GPU load ke */
  will-change: transform;
}

.gallery-section .cardn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* Initial loading par koi animation nahi (Transition sirf hover ke liye hai) */
  transition: transform 0.4s ease-out;

  /* Performance boost: browser background mein image decode karega */
  image-rendering: -webkit-optimize-contrast;
}

/* Hover effect ko fast rakhne ke liye sirf scale use kiya */
.gallery-section .cardn:hover img {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .gallery-section .cardn {
    flex: 0 0 85vw !important;
    width: 85vw !important;
    min-width: 85vw !important;
    height: 250px !important;
  }
}

/* Scroll Buttons Style */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn:hover {
  background: var(--secondary);
  box-shadow: 0 0 15px var(--secondary);
}

.left-btn { left: 10px; }
.right-btn { right: 10px; }

/* =========================================
   PRELOADER STYLES (Updated)
   ========================================= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner-box {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--secondary);
  border-right: 3px solid var(--secondary);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  box-shadow: 0 0 10px rgba(17, 99, 180, 0.3);
  will-change: transform; /* Hint to browser for optimization */
  transform: translateZ(0); /* Hardware acceleration hack */
}

.preloader-logo {
  width: 65px; /* Adjust size to fit inside circle */
  height: auto;
  z-index: 2;
  animation: logo-blink 2s ease-in-out infinite;
  /* Optional: Drop shadow for depth */
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes logo-blink {
  0% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.5; transform: scale(0.9); }
}

/* Class to hide the preloader */
body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important; /* Added display:none to be sure */
}

/* Hide buttons on mobile touch devices if preferred, but user asked for them */
@media (max-width: 768px) {
  .scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
  }

  .left-btn {
    left: 5px;
  }

  .right-btn {
    right: 5px;
  }
}
/* insitute img code end */

/* =========================================
   8. FEATURES SECTION (.forthone) - SCROLL FIX
   ========================================= */

.forthone {
  display: flex !important; /* Grid se Flex kiya scroll ke liye */
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 25px;
  padding: 40px 5%;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  /* Scrollbar Hide (Standard) */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Center cards on large screens where scrolling isn't needed */
@media (min-width: 1550px) {
  .forthone {
    justify-content: center;
  }
}

/* Chrome/Safari ke liye Scrollbar Hide */
.forthone::-webkit-scrollbar {
  display: none;
}

/* Fix for last card sticking to right edge on scroll */
.forthone .fortowdiv:last-child {
  margin-right: 30px;
}

.fortowdiv {
  flex: 0 0 350px !important; /* Card width 350px */
  min-width: 350px !important;
  scroll-snap-align: center;
}

.fortowdiv .box {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Hover Effect: Border Glow aur Scale */
.fortowdiv .box:hover {
  transform: translateY(-12px);
  border-color: var(--secondary);
  box-shadow: 0 15px 40px rgba(51, 153, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.fortowdiv .box i {
  font-size: 3.5rem;
  margin-bottom: 25px;
  /* Icon ko subtle glow dena */
  filter: drop-shadow(0 0 10px rgba(30, 61, 174, 0.3));
}

.fortowdiv .box h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 1px;
}

.fortowdiv .box p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  .fortowdiv {
    flex: 0 0 300px !important; /* Mobile par card thoda chota */
    min-width: 300px !important;
  }
}

/* information end code */

/* footer start  */
footer {
  background: #050505;
  color: #fff;
  padding: 30px 5% 20px;
  border-top: 2px solid var(--secondary);
}

footer .maindivoffooter {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* Har column ki width control karne ke liye */
footer .maindivoffooter > div {
  flex: 1 1 114px; /* Minimum 250px space lega */
}

footer h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

footer h3 {
  color: var(--secondary);
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* New Links Style */
.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.footer-links-group a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

/* Social Icons Style */
.footerlogo {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footerlogo a i {
  font-size: 1.4rem;
  color: #fff;
  transition: 0.3s;
}

.footerlogo a:hover i {
  color: var(--secondary);
  transform: scale(1.2);
}

/* Address & Contact */
.lastsecondspan p {
  color: #ccc;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.lastsecondspan a[href*="maps"] {
  color: var(--secondary);
  text-decoration: underline;
  font-size: 0.9rem;
}

#cp {
  text-align: center;
  color: #555;
  font-size: 0.85rem;
  margin-top: 20px;
}

footer hr {
  border: 0;
  border-top: 1px solid #222;
  margin-top: 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  footer .maindivoffooter {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }
  .footer-links-group a,
  .lastsecondspan p {
    justify-content: flex-start;
  }
  .footerlogo {
    justify-content: flex-start;
  }
}

/* def */
/* =========================================
/* =========================================
   CERTIFICATE VERIFICATION 
   ========================================= */

/* Main Layout */
.verification-page {
  background: radial-gradient(circle at top, #0f172a 0%, #050505 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Header Fix */
.verification-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 12px 5%;
  z-index: 1000;
  border-bottom: 2px solid var(--primary);
}

.verification-header .navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Verification Card */
.verification-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  margin-top: 120px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* --- BUTTON CSS (Fixed & Enhanced) --- */
.bttn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #193185, #18518a);
  border: none;
  border-radius: 12px;
  width: max-content;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(51, 153, 255, 0.3);
  font-family: "Orbitron", sans-serif;
  display: block;
  text-align: center;
}

.bttn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(18, 83, 148, 0.6);
  filter: brightness(1.1);
}

.bttn:active {
  transform: translateY(1px);
}

.bttn:disabled {
  background: #444;
  cursor: not-allowed;
  box-shadow: none;
}

/* Input Styles */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: #3399ff;
  font-weight: bold;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  transition: 0.3s;
}

.form-input:focus {
  border-color: #0855a1;
  outline: none;
  box-shadow: 0 0 10px rgba(51, 153, 255, 0.2);
}

/* Results Box */
.result {
  margin-top: 30px;
  padding: 20px;
  border-radius: 15px;
  border-left: 5px solid transparent;
  display: none;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}

.result.error {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  text-align: center;
}

/* Badges */
.badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 900;
}

.badge.verified {
  background: #10b981;
  color: #000;
}
.badge.not-found {
  background: #ef4444;
  color: #fff;
}

/* Info Text */
.cert-info p {
  margin: 12px 0;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 5px;
}

.cert-info strong {
  color: #a0a0a0;
  font-weight: 400;
}

/* Mobile */
@media (max-width: 480px) {
  .verification-container {
    padding: 25px;
    margin-top: 100px;
  }
  .verification-header span {
    font-size: 0.9rem;
  }
}
/* =========================================
/* =========================================
/* tools code start */

/* Hero & Warning Banner */
.tools-hero {
  text-align: center;
  padding: 60px 20px;
}

.tools-hero h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 20px;
}

.warning-banner {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid #ff4d4d;
  color: #ff4d4d;
  padding: 20px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tools Grid Layout */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.tool-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(51, 153, 255, 0.2);
}

.tool-content {
  padding: 25px;
  text-align: center;
}

.tool-content img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.tool-content h2 {
  font-family: "Orbitron", sans-serif;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.tool-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Glass Form Styling */
.glass-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  backdrop-filter: blur(15px);
}

.glass-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary);
  font-weight: 600;
}

.glass-form input,
.glass-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: #fff;
  outline: none;
}

.glass-form input:focus {
  border-color: var(--secondary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--secondary);
  color: #000;
  box-shadow: 0 0 20px rgba(51, 153, 255, 0.4);
}

/* Navbar & Footer */
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: var(--secondary);
}

@media (max-width: 768px) {
  .tools-hero h1 {
    font-size: 2rem;
  }
  .glass-form {
    margin: 20px;
    padding: 20px;
  }
}

/* tools code end */

/* Couresdiscription all  */

/* =========================================
   WEB DEV, ethical,adca,python COURSE
   ========================================= */

/* Main Layout */
.course-detail-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
}

.detail-image {
  flex: 1;
  min-width: 320px;
}

.detail-image img {
  width: 100%;
  border-radius: 25px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Content Card with Glassmorphism */
.detail-content {
  flex: 1;
  min-width: 320px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 45px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.detail-content h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: whitesmoke;
}

.detail-price {
  font-size: 2rem;
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.detail-meta {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.detail-meta li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-muted);
}

.detail-meta i {
  width: 20px;
  text-align: center;
}

/* Enhanced Join Button */
.btun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(36, 70, 189, 0.3);
}

.btun:hover {
  background: var(--secondary);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(51, 153, 255, 0.5);
}

/* Syllabus Grid Enhancement */
.course-syllabus {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.syllabus-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
}

.syllabus-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: 0.3s ease;
}

.syllabus-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--secondary);
  transform: translateX(8px);
  box-shadow: var(--glow);
}

.syllabus-item i {
  font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 768px) {
  .detail-content {
    padding: 30px;
  }
  .detail-content h1 {
    font-size: 1.8rem;
  }
  .course-detail-container {
    margin-top: 20px;
  }
}

/* =========================================
   FAQ SECTION - MODERN ACCORDION DESIGN
   ========================================= */

.faq-section {
  padding: clamp(60px, 10vw, 100px) 5%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

