/*

TemplateMo 569 Edu Meeting

https://templatemo.com/tm-569-edu-meeting

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@600&display=swap");

/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
div pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
figure,
header,
nav,
section,
article,
aside,
footer,
figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header,
nav,
section,
article,
aside,
footer,
hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  background-color: #fff;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
  color: #fc3;
}

a:hover {
  color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 25px;
  color: #2a2a2a;
}

img {
  width: 100%;
  overflow: hidden;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
html,
body {
  background: #fff;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: #f5a425;
  color: #fff;
}

::-moz-selection {
  background: #f5a425;
  color: #fff;
}

@media (max-width: 991px) {

  html,
  body {
    overflow-x: hidden;
  }

  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }

  .mobile-bottom-fix {
    margin-bottom: 30px;
  }

  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

.main-button-red a {
  font-size: 13px;
  color: #fff;
  background-color: #1b3058;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s;
}

.main-button-red a:hover {
  opacity: 0.9;
}

.main-button-yellow a {
  font-size: 13px;
  color: #fff;
  background-color: #f5a425;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s;
}

.main-button-yellow a:hover {
  opacity: 0.9;
}

.section-heading h2 {
  line-height: 40px;
  margin-top: 0px;
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(250, 250, 250, 0.15);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

/* 
---------------------------------------------
header
--------------------------------------------- 
*/

.sub-header {
  background-color: #1b3058;
  position: relative;
  z-index: 1111;
}

.sub-header .left-content p {
  color: #fff;
  padding: 8px 0px;
  font-size: 13px;
}

.sub-header .right-icons {
  text-align: right;
  padding: 8px 0px;
}

.sub-header .right-icons ul li {
  display: inline-block;
  margin-left: 15px;
}

.sub-header .right-icons ul li a {
  color: #fff;
  font-size: 14px;
  transition: all 0.3s;
}

.sub-header .right-icons ul li a:hover {
  color: #f5a425;
}

.sub-header .left-content p em {
  font-style: normal;
  color: #f5a425;
}

.background-header {
  background-color: #fff !important;
  height: 80px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15) !important;
}

.background-header .main-nav .nav li a {
  color: #1e1e1e !important;
}

.background-header .logo,
.background-header .main-nav .nav li a {
  color: #1e1e1e !important;
}

.background-header .main-nav .nav li:hover a {
  color: #fb5849 !important;
}

.background-header .nav li a.active {
  color: #fb5849 !important;
}

/**  Header Area ***/

.header-area {
  background-color: rgba(250, 250, 250, 0.15);
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 100;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.header-area .main-nav {
  min-height: 80px;
  background: transparent;
}

.header-area .main-nav .logo {
  line-height: 100px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  float: left;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.background-header .main-nav .logo {
  line-height: 75px;
}

.background-header .nav {
  margin-top: 20px !important;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 30px;
  margin-right: 0px;
  background-color: transparent;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li {
  padding-left: 12px;
  padding-right: 11px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  height: 40px;
  line-height: 40px;
  border: transparent;
  letter-spacing: 1px;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: #f5a425 !important;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: #f5a425 !important;
  opacity: 1;
}

.header-area .main-nav .nav li.has-sub {
  position: relative;
  padding-right: 15px;
}

.header-area .main-nav .nav li.has-sub:after {
  font-family: FontAwesome;
  content: "\f107";
  font-size: 12px;
  color: #fff;
  position: absolute;
  right: 5px;
  top: 12px;
}

.background-header .main-nav .nav li.has-sub:after {
  color: #1e1e1e;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu {
  position: absolute;
  width: 320px;
  box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  top: 40px;
  opacity: 0;
  transition: all 0.3s;
  transform: translateY(+2em);
  visibility: hidden;
  z-index: -1;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li {
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li a {
  opacity: 1;
  display: block;
  background: #f7f7f7;
  color: #2a2a2a !important;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid #eee;
}

.header-area .main-nav .nav li.has-sub ul li a:hover {
  background: #fff;
  color: #f5a425 !important;
  padding-left: 25px;
}

.header-area .main-nav .nav li.has-sub ul li a:hover:before {
  width: 3px;
}

.header-area .main-nav .nav li.has-sub:hover ul.sub-menu {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0%);
  transition-delay: 0s, 0s, 0.3s;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 23px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #1e1e1e;
}

.header-area.header-sticky {
  min-height: 80px;

}

.header-area .nav {
  width: 83%;
  margin-top: 30px;

}

.header-area.header-sticky .nav li a.active {
  color: #f5a425;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 7px;
    padding-right: 7px;
  }

  .header-area .main-nav:before {
    display: none;
  }
}

@media (max-width: 1200px) and (min-width: 766px) {
  .header-area .main-nav .nav {
    display: flex !important;
    flex-direction: row;

    align-items: center;

    justify-content: flex-start;

    flex-wrap: nowrap;

    float: none !important;

    width: auto !important;

  }

  .header-area .main-nav .nav li {
    padding: 0 7px;
    display: inline-flex;

    white-space: nowrap;
    /* Prevent text wrapping */
    margin-top: 27px;
    margin-left: 2%;
  }
}

@media (max-width: 767px) {
  .header-area .main-nav .logo {
    color: #1e1e1e;
  }

  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    color: #f5a425 !important;
    opacity: 1;
  }

  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
  }

  .header-area {
    background-color: #f7f7f7;
    padding: 0px 15px;
    height: 100px;
    box-shadow: none;
    text-align: center;
  }

  .header-area .container {
    padding: 0px;
  }

  .header-area .logo {
    margin-left: 30px;
  }

  .header-area .menu-trigger {
    display: block !important;
  }

  .header-area .main-nav {
    overflow: hidden;
  }

  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }

  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }

  .header-area.header-sticky .nav {
    margin-top: 100px !important;
  }

  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0px !important;
    border: none !important;
    background: #f7f7f7 !important;
    color: #191a20 !important;
  }

  .header-area .main-nav .nav li a:hover {
    background: #eee !important;
    color: #f5a425 !important;
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    position: relative;
    visibility: inherit;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    top: 0px;
    width: 100%;
    box-shadow: none;
    height: 0px;
    transition: all 0s;
  }

  .header-area .main-nav .nav li.submenu ul li a {
    font-size: 12px;
    font-weight: 400;
  }

  .header-area .main-nav .nav li.submenu ul li a:hover:before {
    width: 0px;
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    height: auto;
  }

  .header-area .main-nav .nav li.has-sub:after {
    color: #3b566e;
    right: 30px;
    font-size: 14px;
    top: 15px;
  }

  .header-area .main-nav .nav li.submenu:hover ul,
  .header-area .main-nav .nav li.submenu:focus ul {
    height: 0px;
  }
}

@media (min-width: 767px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}








/* ----------------- User Profile ----------------- */
.profile-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.profile-row li {
  list-style: none;
}

.profile-row a {
  padding: 6px 10px;
  border-radius: 5px;
  background: #f1f1f1;
  font-size: 13px;
  text-decoration: none;
  color: #333;
}

.profile-row a:hover {
  background: #e2e2e2;
}


/*==============================
Teacher dhasboard
==============================*/





/* âœ… Desktop: show text on hover */
@media (min-width: 768px) {
  .teacher-dashboard-btn:hover .dashboard-text {
    max-width: 200px;
    opacity: 1;
  }

}

/* âœ… Mobile: always show text & center */
@media (max-width: 767px) {
  #teacher-dashboard-btn {
    text-align: center;
  }

  .teacher-dashboard-btn {
    width: 80%;
    justify-content: center;
    font-size: 16px;
    padding: 14px;
  }

  .teacher-dashboard-btn .dashboard-text {
    max-width: 200px;
    opacity: 1;
  }
}

/* 
---------------------------------------------
banner
--------------------------------------------- 
*/

.main-banner {
  position: relative;
  max-height: 100%;
  overflow: hidden;
  margin-bottom: -7px;
}

#bg-video {
  min-width: 100%;
  min-height: 100vh;
  max-width: 100%;
  max-height: 100vh;
  object-fit: cover;
  z-index: -1;
}

#bg-video::-webkit-media-controls {
  display: none !important;
}

.video-overlay {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.18);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
}

.main-banner .caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.main-banner .caption h6 {
  margin-top: 0px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.main-banner .caption h2 {
  margin-top: -200px;
  margin-bottom: 20px;
  font-size: 40px;
  font-weight: 900;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  color: #fff;
  letter-spacing: 2px;
  margin-left: -5%;

  /* Yellow to Red gradient */
  -webkit-background-clip: text;
  background-clip: text;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

.main-banner .caption h2:hover {
  transform: scale(1.05);
}

.main-banner .caption p {
  margin-bottom: 20px;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

#changing-text {
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

.main-banner .caption .main-button-red {
  margin-top: 30px;
}

@media screen and (max-width: 767px) {
  .main-banner .caption h6 {
    font-weight: 500;
  }

  .main-banner .caption h2 {
    font-size: 36px;
  }
}

/*
---------------------------------------------
services
---------------------------------------------
*/

.services {
  margin-top: -3%;
  position: absolute;
  width: 100%;
  background-color: #f4f4f4;
  padding-top: 2%;
  padding-bottom: 2%;
}

.services .item {
  /*background-image: url(../images/baby-blue-color-solid-background-1920x1080\ \(1\).png);*/

  background-color: #1b3058;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  padding: 40px;
  height: 50vh;
}

.services .item .icon img {
  width: 48%;
  margin: 0 auto;
  border: 2px solid WHITE;
  border-radius: 50%;
  height: 17vh;
  cursor: pointer;
}

.services .item h4 {
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.services .item h2 {
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 25px;
  font-weight: 300;
}

.services .item p {
  color: #fff;
  font-size: 12px;
}

.services .owl-nav {
  display: inline-block !important;
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-25px);
}

.services .owl-nav .owl-prev {
  margin-right: 10px;
  outline: none;
  position: absolute;
  left: -80px;
}

.services .owl-nav .owl-prev span,
.services .owl-nav .owl-next span {
  opacity: 0;
}

.services .owl-nav .owl-prev:before {
  display: inline-block;
  font-family: "FontAwesome";
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  content: "\f104";
  background-color: #1b3058;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}

.services .owl-nav .owl-prev {
  opacity: 1;
  transition: all 0.5s;
}

.services .owl-nav .owl-prev:hover {
  opacity: 0.9;
}

.services .owl-nav .owl-next {
  opacity: 1;
  transition: all 0.5s;
}

.services .owl-nav .owl-next:hover {
  opacity: 0.9;
}

.services .owl-nav .owl-next {
  margin-left: 10px;
  outline: none;
  position: absolute;
  right: -85px;
}

.services .owl-nav .owl-next:before {
  display: inline-block;
  font-family: "FontAwesome";
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  content: "\f105";
  background-color: #1b3058;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}

/*
---------------------------------------------
upcoming meetings
---------------------------------------------
*/

section.upcoming-meetings {
  background-image: url(../images/meetings-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 110px;
}

section.upcoming-meetings .section-heading {
  text-align: center;
}

section.upcoming-meetings .categories {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
  margin-right: 45px;
}

section.upcoming-meetings .categories h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1f272b;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

section.upcoming-meetings .categories ul li {
  display: inline-block;
  margin-bottom: 15px;
}

section.upcoming-meetings .categories ul li a {
  font-size: 15px;
  color: #1f272b;
  font-weight: 500;
  transition: all 0.3s;
}

section.upcoming-meetings .categories ul li a:hover {
  color: #a12c2f;
}

section.upcoming-meetings .categories .main-button-red {
  border-top: 1px solid #eee;
  padding-top: 30px;
  margin-top: 15px;
}

section.upcoming-meetings .categories .main-button-red a {
  width: 100%;
  text-align: center;
}

.meeting-item {
  margin-bottom: 30px;
}

.meeting-item .thumb {
  position: relative;
}

.meeting-item .thumb img {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.meeting-item .thumb .price {
  position: absolute;
  left: 20px;
  top: 20px;
}

.meeting-item .thumb .price span {
  font-size: 16px;
  color: #1f272b;
  font-weight: 600;
  background-color: rgba(250, 250, 250, 0.9);
  padding: 7px 12px;
  border-radius: 10px;
}

.meeting-item .down-content {
  background-color: #fff;
  padding: 30px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.meeting-item .down-content .date {
  float: left;
  text-align: center;
  display: inline-block;
  margin-right: 20px;
}

.meeting-item .down-content .date h6 {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  color: #a12c2f;
}

.meeting-item .down-content .date span {
  display: block;
  color: #1f272b;
  font-size: 22px;
  margin-top: 7px;
}

.meeting-item .down-content h4 {
  font-size: 18px;
  color: #1f272b;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.meeting-item .down-content p {
  margin-left: 50px;
  color: #1f272b;
  font-size: 14px;
}

/*
---------------------------------------------
apply now
---------------------------------------------
*/

section.apply-now {
  background-image: url(../images/apply-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0px;
}

section.apply-now .item {
  background-color: rgba(250, 250, 250, 0.15);
  padding: 40px;
  margin-bottom: 30px;
}

section.apply-now .item h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

section.apply-now .item p {
  color: #fff;
  margin-bottom: 20px;
}

.accordions {
  border-radius: 20px;
  padding: 40px;
  background-color: #fff;
  margin-left: 45px;
}

.accordions .accordion {
  border-bottom: 1px solid #eee;
}

.accordions .last-accordion {
  border-bottom: none;
}

.accordion-head {
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #1f272b;
  cursor: pointer;
  transition: color 200ms ease-in-out;
  border-bottom: 1px solid #fff;
}

@media screen and (min-width: 768px) {
  .accordion-head {
    padding: 1rem;
    font-size: 1.2rem;
  }
}

.accordion-head .icon {
  float: right;
  transition: transform 200ms ease-in-out;
}

.accordion-head.is-open {
  color: #f5a425;
  border-bottom: none;
}

.accordion-head.is-open .icon {
  transform: rotate(45deg);
}

.accordion-body {
  overflow: hidden;
  height: 0;
  transition: height 300ms ease-in-out;
  border-bottom: 1px solid #fff;
}

.accordion-body>.content {
  padding: 20px;
  padding-top: 0;
}

/* 
---------------------------------------------
courses
--------------------------------------------- 
*/

section.our-courses {
  background-image: url(../images/meetings-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 140px;
  padding-bottom: 130px;
}

.our-courses .item .down-content {
  background-color: #fff;
}

.our-courses .item .down-content h4 {
  padding: 25px;
  font-size: 18px;
  color: #1f272b;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.our-courses .item .down-content .info {
  padding: 25px;
}

.our-courses .item .down-content .info ul li {
  display: inline-block;
  margin-right: 1px;
}

.our-courses .item .down-content .info ul li i {
  color: #f5a425;
  font-size: 14px;
}

.our-courses .item .down-content .info span {
  color: #a12c2f;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  display: inline-block;
  width: 100%;
}

.our-courses .owl-nav {
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-45px);
}

.our-courses .owl-dots {
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-top: 40px;
}

.our-courses .owl-dots .owl-dot {
  transition: all 0.5s;
  width: 7px;
  height: 7px;
  background-color: #fff;
  margin: 0px 5px;
  border-radius: 50%;
  outline: none;
}

.our-courses .owl-dots .active {
  width: 24px;
  height: 8px;
  border-radius: 4px;
}

.our-courses .owl-nav .owl-prev {
  margin-right: 10px;
  outline: none;
  position: absolute;
  left: -80px;
}

.our-courses .owl-nav .owl-prev span,
.our-courses .owl-nav .owl-next span {
  opacity: 0;
}

.our-courses .owl-nav .owl-prev:before {
  display: inline-block;
  font-family: "FontAwesome";
  color: #1e1e1e;
  font-size: 25px;
  font-weight: 700;
  content: "\f104";
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}

.our-courses .owl-nav .owl-prev {
  opacity: 1;
  transition: all 0.5s;
}

.our-courses .owl-nav .owl-prev:hover {
  opacity: 0.9;
}

.our-courses .owl-nav .owl-next {
  opacity: 1;
  transition: all 0.5s;
}

.our-courses .owl-nav .owl-next:hover {
  opacity: 0.9;
}

.our-courses .owl-nav .owl-next {
  margin-left: 10px;
  outline: none;
  position: absolute;
  right: -85px;
}

.our-courses .owl-nav .owl-next:before {
  display: inline-block;
  font-family: "FontAwesome";
  color: #1e1e1e;
  font-size: 25px;
  font-weight: 700;
  content: "\f105";
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}

/*
---------------------------------------------
our facts
---------------------------------------------
*/

section.our-facts {
  background-image: url(../images/facts-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0px 125px 0px;
}

section.our-facts h2 {
  font-size: 38px;
  color: #fff;
  line-height: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 50px;
}

.count-area-content {
  text-align: center;
  background-color: rgba(250, 250, 250, 0.15);
  border-radius: 20px;
  padding: 25px 30px 35px 30px;
  margin: 15px 0px;
}

.percentage .count-digit:after {
  content: "%";
  margin-left: 3px;
}

.count-digit {
  margin: 5px 0px;
  color: #f5a425;
  font-weight: 700;
  font-size: 36px;
}

.count-title {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.5px;
}

.new-students {
  margin-top: 45px;
}

section.our-facts .video {
  text-align: center;
  margin-left: 70px;
  background-image: url(../images/video-item-bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 20px;
}

section.our-facts .video img {
  padding: 170px 0px;
  max-width: 56px;
}

/* 
---------------------------------------------
contact us
--------------------------------------------- 
*/

section.contact-us {
  background-image: url(../images/meetings-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0px 0px 0px;
}

section.contact-us #contact {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
}

section.contact-us #contact h2 {
  text-transform: uppercase;
  color: #1f272b;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
  padding-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
}

section.contact-us #contact input {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  background-color: #f7f7f7;
  outline: none;
  border: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  color: #7a7a7a;
  padding: 0px 15px;
  margin-bottom: 30px;
}

section.contact-us #contact textarea {
  width: 100%;
  min-height: 140px;
  max-height: 180px;
  border-radius: 20px;
  background-color: #f7f7f7;
  outline: none;
  border: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  color: #7a7a7a;
  padding: 15px;
  margin-bottom: 30px;
}

section.contact-us #contact button {
  font-size: 13px;
  color: #fff;
  background-color: #a12c2f;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  outline: none;
}

section.contact-us #contact button:hover {
  opacity: 0.9;
}

section.contact-us .right-info {
  background-color: #a12c2f;
  border-radius: 20px;
  padding: 40px;
}

section.contact-us .right-info ul li {
  display: inline-block;
  border-bottom: 1px solid rgba(250, 250, 250, 0.15);
  margin-bottom: 30px;
  padding-bottom: 30px;
}

section.contact-us .right-info ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

section.contact-us .right-info ul li h6 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

section.contact-us .right-info ul li span {
  display: block;
  font-size: 18px;
  color: #fff;
  font-weight: 700;
}


/*
---------------------------------------------
heading page
---------------------------------------------
*/

section.heading-page {
  background-image: url(../images/heading-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 110px;
  text-align: center;
}

section.heading-page h6 {
  margin-top: 16px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

section.heading-page h2 {
  margin-top: 1px;
  margin-bottom: 20px;
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

/*
---------------------------------------------
upcoming meetings page
---------------------------------------------
*/

section.meetings-page {
  background-image: url(../images/meetings-page-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 140px;
  padding-bottom: 0px;
}

section.meetings-page .filters {
  text-align: center;
  margin-bottom: 60px;
}

section.meetings-page .filters li {
  font-size: 13px;
  color: #a12c2f;
  background-color: #fff;
  padding: 11px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
  margin: 0px 3px;
}

section.meetings-page .filters ul li.active,
section.meetings-page .filters ul li:hover {
  background-color: #a12c2f;
  color: #fff;
}

section.meetings-page .pagination {
  text-align: center;
  width: 100%;
  margin-top: 30px;
  display: inline-block;
}

section.meetings-page .pagination ul li {
  display: inline-block;
}

section.meetings-page .pagination ul li a {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 10px;
  color: #1f272b;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
}

section.meetings-page .main-button-red {
  text-align: center;
}

section.meetings-page .main-button-red a {
  padding: 12px 60px;
  text-align: center;
  margin-top: 30px;
}

section.meetings-page .pagination ul li.active a,
section.meetings-page .pagination ul li a:hover {
  background-color: #a12c2f;
  color: #fff;
}

.meeting-single-item .thumb {
  position: relative;
}

.meeting-single-item .thumb img {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.meeting-single-item .thumb .price {
  position: absolute;
  left: 20px;
  top: 20px;
}

.meeting-single-item .thumb .price span {
  font-size: 16px;
  color: #1f272b;
  font-weight: 600;
  background-color: rgba(250, 250, 250, 0.9);
  padding: 7px 12px;
  border-radius: 10px;
}

.meeting-single-item .down-content {
  background-color: #fff;
  padding: 40px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.meeting-single-item .thumb .date {
  position: absolute;
  background-color: rgba(250, 250, 250, 0.9);
  width: 80px;
  height: 80px;
  text-align: center;
  padding: 15px 0px;
  border-radius: 10px;
  right: 20px;
  top: 20px;
}

.meeting-single-item .thumb .date h6 {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  color: #a12c2f;
}

.meeting-single-item .thumb .date span {
  display: block;
  color: #1f272b;
  font-size: 22px;
  margin-top: 7px;
}

.meeting-single-item .down-content h4 {
  font-size: 22px;
  color: #1f272b;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.meeting-single-item .down-content h5 {
  font-size: 18px;
  color: #1f272b;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
}

.meeting-single-item .down-content p {
  color: #1f272b;
  font-size: 14px;
}

.meeting-single-item .down-content p.description {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #eee;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.meeting-single-item .down-content .share {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.meeting-single-item .down-content .share h5 {
  float: left;
  margin-right: 10px;
  margin-bottom: 0px;
}

.meeting-single-item .down-content .share ul li {
  display: inline;
}

.meeting-single-item .down-content .share ul li a {
  font-size: 14px;
  color: #1f272b;
  transition: all 0.3s;
}

.meeting-single-item .down-content .share ul li a:hover {
  color: #f5a425;
}

/* Meeting item column */
.templatemo-item-col {
  width: 31%;
}

@media (max-width: 992px) {
  .templatemo-item-col {
    width: 45%;
  }
}

@media (max-width: 767px) {
  .templatemo-item-col {
    width: 100%;
  }
}

/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/

@media (max-width: 1300px) {
  .services .owl-nav .owl-next {
    right: -30px;
  }

  .services .owl-nav .owl-prev {
    left: -25px;
  }

  .our-courses .owl-nav .owl-next {
    right: -30px;
  }

  .our-courses .owl-nav .owl-prev {
    left: -25px;
  }
}

@media (max-width: 1200px) {
  .services .owl-nav .owl-next {
    right: -70px;
  }

  .services .owl-nav .owl-prev {
    left: -65px;
  }

  .our-courses .owl-nav .owl-next {
    right: -70px;
  }

  .our-courses .owl-nav .owl-prev {
    left: -65px;
  }
}

@media (max-width: 1085px) {
  .services .owl-nav .owl-next {
    right: -30px;
  }

  .services .owl-nav .owl-prev {
    left: -25px;
  }

  .our-courses .owl-nav .owl-next {
    right: -30px;
  }

  .our-courses .owl-nav .owl-prev {
    left: -25px;
  }
}

@media (max-width: 1005px) {
  .services .owl-nav .owl-next {
    display: none;
  }

  .services .owl-nav .owl-prev {
    display: none;
  }

  .our-courses .owl-nav .owl-next {
    display: none;
  }

  .our-courses .owl-nav .owl-prev {
    display: none;
  }
}

@media (max-width: 992px) {
  .main-banner .caption {
    top: 60%;
  }

  .main-banner .caption h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 22px;
    width: 55%;
  }

  .main-banner .caption .main-button-red {
    margin-top: 15px;
  }

  .services {
    margin-top: -3%;

    padding-top: 3%;
    padding-bottom: 3%;
  }

  section.upcoming-meetings {
    padding-top: 400px;
  }

  section.upcoming-meetings .categories {
    margin-right: 0px;
    margin-bottom: 30px;
  }

  .accordions {
    margin-left: 0px;
  }

  .new-students {
    margin-top: 15px;
  }

  section.our-facts .video {
    margin-left: 0px;
    margin-top: 15px;
  }

  section.contact-us #contact {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .sub-header .left-content p {
    display: none;
  }

  .sub-header .right-icons {
    text-align: center;
  }

  .main-nav .nav .sub-menu {
    display: none;
  }

  .header-area .main-nav .nav li ul.sub-menu li a {
    color: #1f272b;
  }
}

/*******Coding section**/
section.codingpage {
  position: relative;
  background-image: url(../images/freelance-software-engineer.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 1px;
  text-align: center;
}

section.codingpage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust opacity as needed */
  z-index: 1;
}

.codingpage .container {
  position: relative;
  z-index: 2;
  /* Ensures text remains unaffected */
  color: white;
  /* Adjust text color if necessary */
}

.codingpage h1 {
  font-weight: 900 !important;
}

.coding-problem-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.coding-container {
  background: rgba(255, 255, 255, 0.9);
  width: 80%;
  max-width: 900px;
  border-radius: 8px;
  border: 1px solid rgb(201, 199, 199);
  padding: 20px;
}

.coding-container .label {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}

.coding-container textarea {
  width: 100%;
  min-height: 150px;
  max-height: 300px;
  resize: vertical;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.coding-problem-section .coding-container .language {
  width: 100%;
  display: inline;
}

.coding-problem-section .coding-container .language label {
  margin-bottom: 3%;
  margin-right: 2%;
}

.coding-problem-section .coding-container .language input {
  width: 30%;
  margin-right: 2%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.solve-code-btn {
  font-size: 13px;
  color: #fff;
  background-color: #1b3058;
  padding: 12px 30px;
  display: inline-block;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s;
}

.solve-code-btn:hover {
  background-color: white;
  color: #1b3058;
}

/******************************/
.coding-search-results {
  background-color: #f4f6f8;
  width: 90%;
  margin: auto;
  border: 1px solid #ddd;
  padding: 3%;
}

.coding-search-results .problem-list .problem-card {
  color: #1b3058;
}

.coding-search-results .problem-title {
  margin-top: 2%;
  font-size: 18px;
}

.coding-search-results .problem-title:hover {
  color: #1b3058;
  font-weight: 600;
}

/******************************/
/* Responsive adjustments */
@media screen and (max-width: 570px) {
  .coding-problem-section .coding-container .language {
    flex-direction: column;
    align-items: flex-start;
  }

  .coding-problem-section .coding-container .language input {
    width: 100%;
    /* Makes inputs full width on smaller screens */
    margin-bottom: 10px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .coding-container {
    width: 90%;
    padding: 15px;
  }

  .coding-container .label {
    font-size: 16px;
  }

  .coding-container textarea {
    font-size: 14px;
  }

  .coding-container .output-button button {
    font-size: 12px;
    padding: 8px 20px;
  }
}

@media (max-width: 480px) {
  .coding-container {
    width: 95%;
    padding: 10px;
  }

  .coding-container .label {
    font-size: 14px;
  }

  .coding-container textarea {
    min-height: 100px;
    font-size: 12px;
  }

  .coding-search-results h3 {
    font-size: 22px;
  }

  .coding-search-results .problem-title {
    font-size: 15px;
  }
}

/**view full code in coding.php***/
/* Code area styling */
/* Styling for the code area */
.coding-code-area {
  background-color: #fafafa;
  /* Light gray background for the code area */
  color: #333;
  /* Dark text color for readability */
  font-family: "Courier New", Courier, monospace;
  /* Monospace font for code */
  padding: 20px;
  /* Padding around the code */
  border-radius: 8px;
  /* Rounded corners for the code block */
  white-space: pre-wrap;
  /* Maintain the whitespace formatting */
  word-wrap: break-word;
  /* Break long lines of code */
  font-size: 14px;
  /* Clear, readable font size */
  line-height: 1.6;
  /* Add space between lines for better readability */
  overflow: auto;
  /* Add scrollbars if the code is too long */
  border: 1px solid #ddd;
  /* Light border around the code block */
  margin-top: 20px;
  /* Add space above the code block */
}

/* Optional: Hover effect to highlight the code block */
.coding-code-area:hover {
  background-color: #f0f0f0;
  /* Slightly darken the background when hovered */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Subtle shadow effect on hover */
}

/* Syntax highlighting colors */
.token.comment {
  color: #6a9955;
  /* Green color for comments */
}

.token.punctuation {
  color: #333;
  /* Dark color for punctuation like semicolons */
}

.token.selector {
  color: #1e1e1e;
  /* Dark color for selectors (e.g., function names) */
}

.token.property,
.token.function {
  color: #0000ff;
  /* Blue for properties and function names */
}

.token.keyword {
  color: #d73a49;
  /* Red for keywords (e.g., if, else, while) */
}

.token.string {
  color: #50a14f;
  /* Green for strings */
}

.token.number {
  color: #005cc5;
  /* Blue for numbers */
}

.token.operator {
  color: #333;
  /* Dark color for operators like +, -, *, etc. */
}

.token.variable {
  color: #e5a300;
  /* Yellow for variables */
}

.token.class-name {
  color: #e5a300;
  /* Orange color for class names */
}

/* =====================================================
   CODEWORD — ALL CODING PROBLEMS
   Scoped styling to avoid changing other website sections
   ===================================================== */

.All-coding-header,
.show-all-coding,
.pagination-container {
  --allcoding-navy: #192f57;
  --allcoding-dark: #101b33;
  --allcoding-blue: #2858d8;
  --allcoding-orange: #ff7a1a;
  --allcoding-text: #1b2940;
  --allcoding-muted: #66758b;
  --allcoding-border: #dce4ef;
  --allcoding-bg: #f4f7fc;
  --allcoding-white: #ffffff;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

/* Main page heading */

.All-coding-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  width: min(1200px, 92%);
  margin: 32px auto 24px;
  padding: 22px 25px;

  background: linear-gradient(120deg,
      var(--allcoding-dark),
      var(--allcoding-navy));
  border-radius: 14px;
  box-shadow: 0 9px 24px rgba(16, 27, 51, 0.14);
  overflow: hidden;
}

.All-coding-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,
      var(--allcoding-orange),
      #ffb15e);
}

.All-coding-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  letter-spacing: -0.5px;
}

/* Back button */

.All-coding-header .back-button {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;

  font-size: 22px;
  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.All-coding-header .back-button:hover {
  background: var(--allcoding-orange);
  border-color: var(--allcoding-orange);
}

/* =====================================================
   RESPONSIVE CODING CARD GRID
   Overrides the existing inline flex styling.
   ===================================================== */

.show-all-coding {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px !important;
  width: min(1200px, 101%);
  margin: 0 auto;
  padding: 0 0 27px;
}

/* Individual card */

.show-all-coding .coding-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;

  background: var(--allcoding-white);
  border: 1px solid var(--allcoding-border);
  border-radius: 15px;
  overflow: hidden;

  box-shadow: 0 5px 18px rgba(16, 27, 51, 0.055);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.show-all-coding .coding-card::before {
  content: "";
  display: block;
  flex: 0 0 4px;
  height: 4px;

  background: linear-gradient(90deg,
      var(--allcoding-blue),
      var(--allcoding-orange));
}

.show-all-coding .coding-card:hover {
  transform: translateY(-5px);
  border-color: #c2d2f4;
  box-shadow: 0 15px 32px rgba(16, 27, 51, 0.11);
}

/* Card content */

.show-all-coding .coding-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: stretch;

  min-width: 0;
  padding: 22px;
  text-align: left !important;
}

/* Date and time */

.show-all-coding .coding-date {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;

  max-width: 100%;
  margin: 0 0 16px;
  padding: 6px 10px;

  color: var(--allcoding-navy);
  background: #edf3ff;
  border: 1px solid #dce7ff;
  border-radius: 7px;

  font-size: 11px;
  font-weight: 650;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Language */

.show-all-coding h2.coding-category {
  margin: 0 0 10px;

  color: var(--allcoding-blue);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Topic/title */

.show-all-coding h3.coding-topic {
  margin: 0 0 15px;
  padding-bottom: 13px;

  color: var(--allcoding-dark);
  border-bottom: 1px solid #e9eef5;

  font-size: 18px;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Problem statement and card paragraphs */

.show-all-coding .coding-card-content>p:not(.coding-date) {
  margin: 0 0 14px;
  color: var(--allcoding-muted);
  font-size: 12px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.show-all-coding .coding-card-content>p strong {
  color: var(--allcoding-text);
  font-weight: 750;
}

/* Extracted code preview */

.show-all-coding .coding-card-content pre {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;

  margin: 9px 0 18px !important;
  padding: 14px !important;

  color: #e7edf9;
  background: #111d32 !important;
  border: 1px solid #293954;
  border-left: 3px solid var(--allcoding-orange);
  border-radius: 9px !important;

  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  line-height: 1.8;

  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow: hidden;
}

/* View full code button */

.show-all-coding .coding-card-content a.read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 11px 15px;

  color: #ffffff !important;
  background: var(--allcoding-navy);
  border: 1px solid var(--allcoding-navy);
  border-radius: 9px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.show-all-coding .coding-card-content a.read-more::after {
  content: "→";
  font-size: 17px;
  line-height: 1;
}

.show-all-coding .coding-card-content a.read-more:hover {
  color: #ffffff !important;
  background: var(--allcoding-orange);
  border-color: var(--allcoding-orange);
  transform: translateY(-1px);
}

/* =====================================================
   PAGINATION
   ===================================================== */

.pagination-container {
  width: 100%;
  margin: 12px 0 45px !important;
  padding: 0 16px;
  text-align: center !important;
}

.pagination-container .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;

  width: 100%;
  margin: 0 auto;
}

.pagination-container .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 42px;
  padding: 0 13px;

  color: var(--allcoding-navy);
  background: #ffffff;
  border: 1px solid var(--allcoding-border);
  border-radius: 9px;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;

  box-shadow: 0 3px 9px rgba(16, 27, 51, 0.035);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.pagination-container .page-link:hover {
  color: #ffffff;
  background: var(--allcoding-blue);
  border-color: var(--allcoding-blue);
  transform: translateY(-2px);
}

/* Active page */

.pagination-container .page-link.active-page {
  color: #ffffff;
  background: var(--allcoding-navy);
  border-color: var(--allcoding-navy);
  box-shadow: 0 5px 12px rgba(25, 47, 87, 0.2);
}

.pagination-container .page-link.active-page:hover {
  background: var(--allcoding-orange);
  border-color: var(--allcoding-orange);
}

/* =====================================================
   TABLET — TWO CARDS PER ROW
   ===================================================== */

@media (max-width: 1024px) {
  .show-all-coding {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px !important;
  }

  .All-coding-header,
  .show-all-coding {
    width: 92%;
  }
}

/* =====================================================
   MOBILE — ONE CARD PER ROW
   ===================================================== */

@media (max-width: 600px) {
  .All-coding-header {
    width: calc(100% - 28px);
    margin: 22px auto 20px;
    padding: 19px 48px;
    border-radius: 12px;
  }

  .All-coding-header h2 {
    font-size: 22px;
  }

  .All-coding-header .back-button {
    left: 10px;
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .show-all-coding {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px !important;
    width: calc(100% - 28px);
  }

  .show-all-coding .coding-card-content {
    padding: 19px;
  }

  .show-all-coding h3.coding-topic {
    font-size: 17px;
  }

  .show-all-coding .coding-card-content pre {
    font-size: 11px;
  }

  .pagination-container {
    margin-top: 8px !important;
    margin-bottom: 30px !important;
  }

  .pagination-container .pagination {
    gap: 7px;
  }

  .pagination-container .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {

  .show-all-coding .coding-card,
  .show-all-coding .coding-card-content a.read-more,
  .pagination-container .page-link,
  .All-coding-header .back-button {
    transition: none;
  }

  .show-all-coding .coding-card:hover,
  .show-all-coding .coding-card-content a.read-more:hover,
  .pagination-container .page-link:hover {
    transform: none;
  }
}



/************Student project Section*******/
section.student-project {
  position: relative;
  background-image: url(../images/Student-software-project.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 1px;
  text-align: center;
}





section.about-us {
  position: relative;
  background-image: url(../images/about-us.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;
}

.coding-problem-section {
  background-image: url(../images/meetings-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 95px;
  padding-bottom: 110px;
}


section.pdf-reader {
  position: relative;
  background-image: url(../images/pdf-reader.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;
}


section.online-compiler {
  position: relative;
  background-image: url(../images/online-compiler.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;
}

section.complete-asked-question-data {
  position: relative;
  background-image: url(../images/ask-question.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;
}

/******BLOG IMAGE*************/

section.blog-image-banner {
  position: relative;
  background-image: url(../images/Blog-banner-image.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 1px;
  text-align: center;
}

.blog-slider-section .blog-slider img {
  height: 15vh;
  border-radius: 50%;
  display: block;
  width: 150%;
  margin-left: -17%;
}

.blog-banner-image {
  background-image: url(../images/meetings-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 110px;
}

.blog-banner-image h1 {
  color: white;
  width: 65%;
  text-align: center;
  /* Center text properly */
  margin: 15% auto 1%;
  /* Adjust margins for responsiveness */
  border-bottom: 1px solid rgb(141, 141, 141);
  padding-bottom: 1%;
}

.blog-slider-section {
  margin-top: 0%;
  padding-top: 3%;
  background-color: #f4f6f8;
  /*background: url(../images/meetings-bg.jpg);*/
}

/* Make it more responsive for smaller screens */
@media (max-width: 768px) {
  .blog-banner-image h1 {
    width: 90%;
    /* Adjust width for smaller screens */
    font-size: 1.8rem;
    /* Reduce font size for better readability */
    margin-top: 90%;
  }

  .blog-banner-image .blog-section {
    width: 90%;
    padding: 15px;
    margin-top: 0%;
  }
}

@media (max-width: 480px) {
  .blog-banner-image h1 {
    width: 95%;
    font-size: 1.5rem;
    margin-top: 100%;
  }
}

.blog-section .blog-form {
  margin-top: 5%;
}

.coding-problem-section .output-button {
  text-align: center;
  margin-top: 20px;
}

.coding-problem-section .output-button button {
  font-size: 14px;
  color: #a12c2f;
  background-color: #fff;
  padding: 10px 25px;
  border-radius: 22px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid #a12c2f;
}

.coding-problem-section .output-button button:hover {
  background-color: #a12c2f;
  color: #fff;
}

/*********Discussion board************/

section.discussion-board {
  position: relative;
  background-image: url(../images/discussion-board.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;
}

section.hackathon-banner {
  position: relative;
  background-image: url(../images/hackathon-banner-image.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;

}


section.hackathon-blog {
  position: relative;
  background-image: url(../images/hackathon-blog-image.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;

}


section.hackathon-codeword {
  position: relative;
  background-image: url(../images/codeword.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;

}

section.announcements {
  position: relative;
  background-image: url(../images/announcements.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;

}

/*********Admission section************/

section.admission {
  position: relative;
  background-image: url(../images/admission.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 1px;
  text-align: center;
}

/*********Carrer section************/

section.carrer {
  position: relative;
  background-image: url(../images/Carrer.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 1px;
  text-align: center;
}

/*********Contact us section************/

section.contactus {
  position: relative;
  background-image: url(../images/contactus.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 1px;
  text-align: center;
}

/*****************Professional Section ****************************/

section.professional-section {
  position: relative;
  background-image: url(../images/professional-image.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 110px;
  text-align: center;
}

.professional-form textarea {
  width: 100%;
  min-height: 150px;
  max-height: 300px;
  resize: vertical;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/*****************Latest Innovation***************************/

section.latest-innovation {
  position: relative;
  background-image: url(../images/all_blog.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 89px;
  padding-bottom: -15px;
  text-align: center;
}

/*************BLog Container**************/

/*.blog-container-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  margin-top: 3%;
} */

.blog-container .blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* transition: transform 0.3s ease; */
  cursor: pointer;
  /* flex: 2; */
  flex: 0 0 75%;
  /* Fixed to 75% width */
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.blog-content {
  padding: 15px;
}

.blog-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.blog-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  padding: 1% 2% 2%;
}

.blog-date {
  font-size: 14px;
  color: #999;
  margin-top: 10px;
  padding-left: 3%;
}

.blog-content h3:hover {
  background-position: -200% center;
  background-image: linear-gradient(90deg, grey, white, rgb(95, 94, 94));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.5s ease-in-out;
  /* Slower effect */
}

.label {
  font-weight: bold;
  color: #333;
}

.code-box {
  background: #1e1e1e;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  font-family: "Courier New", monospace;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

textarea,
input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

/*************All blog section********************************/
section.all-blog {
  position: relative;
  background-image: url(../images/all_blog.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 110px;
  text-align: center;
}

.blog-container {
  display: flex;
  flex-wrap: row;
  /* Allows wrapping on smaller screens */
  gap: 20px;
  background-color: #f4f6f8;
  padding: 2%;
  border-bottom: 1px solid rgb(238, 236, 236);
  margin-top: -3%;
}

.blog-container h2 {
  cursor: pointer;
  font-weight: 600;
  padding-left: 3%;
  margin-top: 2%;
}

.blog-container h3 {
  padding-left: 3%;

  font-size: 1.5rem;

  color: rgb(80, 79, 79);

  margin-top: 3%;
}

.blog-container h2:hover {
  background-position: -200% center;
  background-image: linear-gradient(90deg, grey, white, rgb(95, 94, 94));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.5s ease-in-out;
  /* Slower effect */
}

/* Featured Blog Section */
/* Featured Blog */
.featured-section {
  background: white;
  padding: 15px;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.wrap-img {
  float: left;
  /* allow text to wrap */
  margin: 0 20px 20px 0;
  /* spacing around image */
}

.wrap-img img {
  display: block;
  max-width: 500px;
  /* shrink image to max 250px */
  height: auto;
  /* maintain aspect ratio */
  border-radius: 8px;
  /* rounded corners for better look */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* soft shadow */
}

/* Fullscreen modal */
#imageModal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

#imageModal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  /* fit full image in modal */
  border-radius: 10px;
}

#imageModal span {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

/* Blog links container */
.blog-links-box {
  flex: 0 0 25%;
  min-width: 250px;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  scrollbar-width: thin;
  scrollbar-color: #1b3058 #eee;
}

/* Title styling */
.blog-links-box h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1b3058;
  border-bottom: 2px solid #1b3058;
  padding-bottom: 5px;
}

/* Blog links */
.blog-links-box a {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
  text-transform: lowercase;
}

/* Hover effect */
.blog-links-box a:hover {
  color: #f5a425;
  text-decoration: underline;
  padding-left: 5px;
  border-bottom: 2px solid #f5a425;
}

/* Custom scrollbar for WebKit (Chrome, Safari) */
.blog-links-box::-webkit-scrollbar {
  width: 6px;
}

.blog-links-box::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 10px;
}

.blog-links-box::-webkit-scrollbar-thumb {
  background-color: #a12c2f;
  border-radius: 10px;
}

/**Responsive of the log_link */
/* On smaller screens stack them */
@media (max-width: 1024px) {
  .blog-container {
    flex-direction: column;
  }

  .blog-container .blog-card,
  .blog-links-box {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .blog-container {
    padding: 3% 2%;
    margin: 4%;
    border: 1px solid #ddd;
  }

  .blog-content h3 {
    font-size: 16px;
  }

  .blog-links-box a {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .blog-content p {
    font-size: 14px;
  }

  .blog-container {
    margin-top: -25%;
  }

  .blog-links-box h2 {
    font-size: 18px;
  }

  .blog-links-box a {
    font-size: 14px;
  }
}

/* Sidebar (Search Section) */
/* Sidebar Styling */

/* Container to hold sidebar and blog links horizontally */

/* Main layout container */

.search-layout-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px auto;
  padding: 20px;
  max-width: 1200px;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 30%;
  margin-bottom: 1%;
  /* background-color:#f4f6f8; */
  /* background-color: rgb(251, 245, 245); */
}

/* Sidebar container */
.sidebar {
  flex: 1 1 65%;
  border: 1px solid #ddd;
  padding: 20px;
  padding-top: 3%;
  padding-bottom: 3%;
  background-color: whitesmoke;
}

/* Header row */
.sidebar .search-header {
  display: flex;
  /*justify-content: space-between; */
  align-items: center;
  margin-bottom: 20px;
}

.sidebar .search-header h4 {
  margin: 2px;
  font-size: 22px;
  color: #111;
  margin-left: 5%;
}

.sidebar .search-header h5 {
  margin: 0;
}

.sidebar .search-header h2 {
  margin-right: 10px;
  /* Add space to the right of "Search Blog" */
}

.sidebar .search-header a {
  margin-left: 15px;
  /* Optional: add space before "All Blog" */
}

.sidebar .search-header h5 a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 22px;
  background-color: #1b3058;
  padding: 10px 10px 10px;
}

.sidebar .search-header h5 a:hover {
  color: #fff;
  text-decoration: underline;
  background-color: #eb7e00;
}

/* Form layout */
.sidebar form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
}

/* Input groups */
.sidebar .blog-category,
.sidebar .blog-topic {
  display: flex;
  flex-direction: column;
  flex: 1 1 78px;
}

.sidebar label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.sidebar select {
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  transition: 0.3s;
  width: 100%;
}

.sidebar select:hover,
.sidebar select:focus {
  border-color: #1b3058;
  background-color: #fff;
  outline: none;
}

/* Search button */
.sidebar button {
  padding: 10px 20px;
  background-color: #1b3058;
  color: white;
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

.sidebar button:hover {
  background-color: #eb7e00;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */

@media (max-width: 1300px) {
  .search-layout-container {
    margin-top: 40%;
  }
}

@media (max-width: 1098px) {
  .search-layout-container {
    margin-top: 45%;
  }
}

@media (max-width: 1024px) {
  .search-layout-container {
    flex-direction: column;
    align-items: stretch;
  }

  .sidebar {
    width: 100%;
  }

  .blog-links-box {
    max-width: 100%;
    margin-top: 20px;
  }

  .sidebar form {
    flex-direction: column;
    align-items: stretch;
  }

  .sidebar .blog-category,
  .sidebar .blog-topic {
    width: 100%;
  }

  .sidebar button {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .search-layout-container {
    margin-top: 38%;
  }
}

@media (max-width: 480px) {
  .search-layout-container {
    margin-top: 80%;
  }

  .sidebar {
    padding: 15px;
  }

  .sidebar select,
  .sidebar button {
    font-size: 14px;
    padding: 8px;
  }

  .sidebar label {
    font-size: 14px;
  }

  .sidebar .search-header h4,
  .sidebar .search-header h5 a {
    font-size: 16px;
  }
}

/**********Coding section *******************/
section.display-coding {
  position: relative;
  background-image: url(../images/coding-background.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;
}

/* Background Styling */
.coding-display-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* Space between coding problems & search bar */
  align-items: flex-start;
  padding: 30px;
  background: #f4f6f8;
  /* Light background */
}

/* Coding List Container (Left Side) */
.coding-list-section {
  flex: 2;
  width: 75%;
  max-width: 1200px;
  background: #ffffff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  color: #333;
  margin: auto;
  margin-right: 2%;
}

/* Header */
.coding-list-section h2 {
  text-align: center;
  color: #a12c2f;
  margin-bottom: 15px;
  font-size: 20px;
}

/* Horizontal layout for Language and Topic */
.coding-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.meta-item {
  flex: 1;
  min-width: 120px;
  font-weight: 500;
  color: #444;
}

/* Code area styling */
.code-content,
.coding-code-area {
  background-color: #1e1e1e;
  color: #dcdcdc;
  padding: 15px;
  border-radius: 6px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  /* overflow-x: auto; */
  /* max-height: 300px; */
  /* limits height */
  white-space: pre;
}

/* Scrollbar styling */
.code-content::-webkit-scrollbar,
.coding-code-area::-webkit-scrollbar {
  height: 8px;
}

.code-content::-webkit-scrollbar-thumb,
.coding-code-area::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 4px;
}

.problem-statement-box {
  /* background-color: #f4f8ff; */
  border-left: 5px solid #f5a425;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  /* display: flex; */
  width: 100%;
}

.problem-statement-box h3 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 18px;
  margin-bottom: 10px;
  margin-left: 3%;
}

.problem-statement-box p {
  color: #333;
  font-size: 18px;
  margin-left: 8%;
  text-transform: uppercase;
}

/* Search Bar (Right Side) */

/* General styling for the search bar */
.search-layout-container-coding {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px auto;
  padding: 20px;
  max-width: 1200px;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 3%;
  margin-bottom: -3%;
}

/* Sidebar container */
.search-bar {
  flex: 1 1 65%;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 5px;
  background-color: #f4f6f8;
  padding-top: 3%;
  padding-bottom: 3%;
}

/* Header row */
.search-bar .search-header {
  display: flex;
  /*justify-content: space-between; */
  align-items: center;
  margin-bottom: 20px;
}

.search-bar .search-header h4 {
  margin: 2px;
  font-size: 22px;
  color: #111;
  margin-left: 5%;
}

.search-bar .search-header h5 {
  margin: 0;
}

.search-bar .search-header h2 {
  margin-right: 10px;
  /* Add space to the right of "Search Blog" */
}

.search-bar .search-header a {
  margin-left: 15px;
  /* Optional: add space before "All Blog" */
}

.search-bar .search-header h5 a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 22px;
  background-color: #1b3058;
  padding: 10px 10px 10px;
}

.search-bar .search-header h5 a:hover {
  background-color: #f5a425;
  text-decoration: underline;
}

/* Form layout */
.search-bar form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
}

/* Input groups */
.search-bar .coding-category,
.search-bar .coding-topic {
  display: flex;
  flex-direction: column;
  flex: 1 1 78px;
}

.search-bar label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.search-bar select {
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  transition: 0.3s;
  width: 100%;
}

.search-bar select:hover,
.search-bar select:focus {
  border-color: #1b3058;
  background-color: #fff;
  outline: none;
}

/* Search button */
.search-bar button {
  padding: 10px 20px;
  background-color: #1b3058;
  color: white;
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

.search-bar button:hover {
  background-color: #f5a425;
}

/* Add a little margin to the bottom */
.coding-display-section button {
  margin-top: 15px;
}

/* Adjustments for mobile screens */

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (max-width: 1098px) {
  .search-layout-container-coding {
    margin-top: 35%;
  }
}

@media (max-width: 1024px) {
  .search-layout-container-coding {
    flex-direction: column;
    align-items: stretch;
    margin-top: 5%;
  }

  .search-bar {
    width: 100%;
  }

  .blog-links-box {
    max-width: 100%;
    margin-top: 20px;
  }

  .search-bar form {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar .blog-category,
  .search-bar .blog-topic {
    width: 100%;
  }

  .search-bar button {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .search-layout-container-coding {
    margin-top: 3%;
  }
}

@media (max-width: 480px) {
  .search-layout-container-coding {
    margin-top: 9%;
  }

  .search-bar {
    padding: 15px;
  }

  .search-bar select,
  .search-bar button {
    font-size: 14px;
    padding: 8px;
  }

  .search-bar label {
    font-size: 14px;
  }

  .search-bar .search-header h4,
  .search-bar .search-header h5 a {
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  .search-header {
    width: 100%;
    display: flex;
  }

  .search-header h5 {
    width: 111%;
  }

  .search-header h5 a {
    font-size: 10px;
  }
}

/* all coding section css ***/
/* all coding section CSS */
.show-all-coding {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
  background-color: #f4f6f8;
}

.show-all-coding .coding-card {
  width: 357px;
  /* Fixed width */
  background: #fff;
  border-radius: 12px;
  box-shadow: 1 2px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease-in-out;
  margin: 10px;
}

.show-all-coding .coding-card:hover {
  transform: scale(1.05);
}

.show-all-coding .coding-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.show-all-coding .coding-date {
  font-size: 14px;
  color: #888;
}

.show-all-coding .coding-category {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.show-all-coding .coding-topic {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.show-all-coding .coding-card p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

.show-all-coding pre {
  background-color: #f4f4f4;
  padding: 15px;
  font-family: "Courier New", monospace;
  border-radius: 5px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.show-all-coding .read-more {
  margin-top: 5px;
  display: inline-block;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid #000;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  transition: background 0.3s ease;
}

.show-all-coding .read-more:hover {
  background: #f5a425;
  color: #fff;
  border: 2px solid #f5a425;
}

/*******************************/
/* Responsive Design */
@media (max-width: 1024px) {
  .coding-card {
    width: 48%;
    /* Two cards per row */
  }
}

@media (max-width: 768px) {
  .coding-card {
    width: 48%;
    /* Two cards per row */
  }

  .show-all-coding {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .coding-card {
    width: 100%;
    /* One card per row */
  }
}

/* Pagination controls */
.pagination-container {
  text-align: center;
  margin-top: 20px;
}

.pagination {
  display: inline-block;
  padding: 0;
}

.page-link {
  margin: 0 5px;
  font-size: 16px;
  color: #007bff;
  text-decoration: none;
}

.page-link:hover {
  text-decoration: underline;
}

.active-page {
  font-weight: bold;
  color: #333;
}

/* Section Header (Next Coding Problem) */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  border-radius: 5px;
  font-size: 14px;
  color: #a12c2f;
  font-weight: bold;
}

/* "Next" Badge */
.next-badge {
  background: #a12c2f;
  color: white;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Coding Box (Card Style) */
.coding-box {
  background: #ffffff;
  border-left: 4px solid #1b3058;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 15px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.coding-box .io-box {
  width: 100%;
  /* Fixed width container */
  max-width: 845px;
  /* You can adjust this */
  white-space: pre-wrap;
  /* âœ… Wrap long lines */
  word-wrap: break-word;
  /* âœ… Break words if needed */
  overflow-x: hidden;
  /* Hide horizontal scrollbar */
  overflow-y: auto;
  /* Add vertical scrollbar if content is long */
  background: #f7f7f7;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: monospace;
}

.coding-box:hover {
  transform: translateY(-3px);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}

/* Labels */
.label {
  font-weight: bold;
  color: #a12c2f;
  margin-top: 8px;
  font-size: 13px;
}

/* Code Content */
.code-content {
  background-color: #f4f4f4;
  color: black;
  padding: 10px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  /* overflow-x: auto; */
  white-space: pre-wrap;
  word-wrap: break-word;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .coding-display-section {
    flex-direction: column;
    align-items: center;
    width: 97%;
    margin: auto;
  }

  .coding-list-section {
    width: 97%;
    margin: auto;
  }
}

@media (max-width: 768px) {
  .coding-display-section {
    flex-direction: column;
    padding: 15px;
  }

  .coding-list-section {
    max-width: 100%;
    padding: 10px;
  }

  .section-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .next-badge {
    margin-top: 5px;
  }
}

@media (max-width: 480px) {
  .coding-box {
    padding: 8px;
  }

  .code-content {
    font-size: 12px;
  }

  .coding-list-section h2 {
    font-size: 18px;
  }

  .problem-statement-box h3 {
    font-size: 15px;
  }
}

/********LOGIN REGISTER FORM *****************/
section.login-register {
  position: relative;
  background-image: url(../images/register-now.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;
}

/*********Discussion  BOARD*************************/
/* Container */
.discussion-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: #f9fafb;
  overflow-x: hidden;
  /* <-- Add this */
  box-sizing: border-box;
  /* <-- Ensure padding is included in width */
}


/* Sidebar */
.discussion-sidebar {
  flex: 0 0 250px;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 20px;
}

.discussion-sidebar h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  color: #1b3058;
}

.discussion-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.discussion-sidebar ul li {
  margin-bottom: 10px;
}

.discussion-sidebar ul li a {
  text-decoration: none;
  color: #1b3058;
  font-weight: 500;
  display: block;
  padding: 8px 12px;
  transition: 0.3s;
}

.discussion-sidebar ul li a:hover {
  background: #e8f0fe;
  color: #1b3058;
  border-bottom: 1px solid #1b3058;
}

/* Main Content */
.discussion-main {
  flex: 1;
}

/* Each Question Card */
.discussion-board {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
  transition: transform 0.2s;
}


/* Question Box */
.question-box a {
  font-size: 30px;
  margin: 0 0 10px;
  color: #1b3058;
  font-weight: 700;
}

.question-box a:hover {
  color: #eb7e00;
}

.question-details {
  background: #f1f3f4;
  width: 100%;
  /* <-- Change from 90% */
  padding: 12px;
  border-left: 4px solid #1b3058;
  border-radius: 6px;
  margin: 12px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: #333;
}


.attempt {
  background: #e8f5e9;
  padding: 10px;
  border-left: 4px solid #1b3058;
  border-radius: 6px;
  font-style: italic;
  margin-bottom: 15px;
}

/* Code Blocks */
.ql-syntax {
  background-color: #f5f7fa;
  border: 1px solid #d1d5db;
  padding: 12px;
  margin-top: 15px;
  border-radius: 6px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  overflow-x: auto;
  max-height: 300px;
}

/* Images in Questions */
.discussion-board p img {
  max-width: 100%;
  border-radius: 8px;
  margin: 12px 0;
  display: block;
  height: auto;
}

/* Asked By Section */
.asked-by {
  margin-top: 15px;
  padding: 12px 16px;
  background: #f1f3f4;
  border-left: 4px solid #1b3058;
  border-radius: 8px;
  font-size: 14px;
  color: #555;
  font-style: italic;
}

.asked-by strong {
  color: #1b3058;
  font-style: normal;
}

.asked-by .tag {
  display: inline-block;
  background-color: #ddeaff;
  color: #1b3058;
  padding: 4px 10px;
  margin: 5px 6px 0 0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.asked-by .tag:hover {
  background-color: #d2e3fc;
}

/* Answer Box */
.answer-box {
  background: #f8f9fa;
  border: 1px solid #d1d5db;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}

.answer-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.answer-box textarea {
  width: 100%;
  min-height: 150px;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: monospace;
  font-size: 14px;
  resize: vertical;
}

.answer-box button {
  margin-top: 10px;
  padding: 10px 16px;
  background-color: #1b3058;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.answer-box button:hover {
  background-color: #1b3058;
}

/* Responsive */
@media (max-width: 768px) {
  .discussion-container {
    flex-direction: column;
  }

  .discussion-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 20px;
  }
}



/*****all blog.php  file css *******/
.show-all-blog {
  display: flex;
  flex-direction: column;
  /* Stack children vertically */
  align-items: center;
  /* Center items horizontally */
  padding: 20px;
  gap: 40px;
  /* Add spacing between blog cards and pagination */
}

.show-all-blog .blog-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.show-all-blog .blog-card:hover {
  transform: scale(1.02);
}

.show-all-blog .blog-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.show-all-blog .blog-card-content {
  padding: 15px;
}

.show-all-blog .blog-card-content h2 {
  margin: 10px 0 5px;
}

.show-all-blog .blog-card-content p {
  margin: 5px 0;
  color: #555;
}

.show-all-blog .blog-date {
  font-size: 0.9rem;
  color: #888;
}

.show-all-blog .read-more {
  margin-top: 15px;
  display: inline-block;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid #000;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  transition: background 0.3s ease;
}

.show-all-blog .read-more:hover {
  background: #f5a425;
  color: #fff;
  border: 2px solid #f5a425;
}

.show-all-blog .show-all-blog-heading {
  margin-top: 5%;
  font-size: 3rem;
}

/*****pagination *************/
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
}

.pagination {
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.page-link {
  padding: 8px 14px;
  border-radius: 6px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-link:hover {
  background-color: #f5a425;
  color: #fff;
}

.active-page {
  background-color: #f5a425;
  color: #fff;
}

@media (max-width: 768px) {
  .show-all-blog .blog-card {
    max-width: 100%;
  }
}

@media (min-width: 748px) and (max-width: 1064px) {
  .show-all-blog .show-all-blog-heading {
    font-size: 2rem;
  }
}

@media (min-width: 320px) and (max-width: 750px) {
  .show-all-blog .show-all-blog-heading {
    font-size: 2rem;
  }
}

.field-error {
  color: #e53935;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}



/*****login sucess message box********/
/* Your existing styling for the message box */
#login-success-message-box {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeInOverlay 0.3s ease forwards;
}

/* Fade in animation for overlay */
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* The alert box container */
#login-success-message-box>div {
  background: #fff;
  padding: 25px 35px;
  border-radius: 12px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25),
    0 0 15px rgba(255, 255, 255, 0.2) inset;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  animation: slideDown 0.3s ease forwards;
}

/* Fade and slide down animation for alert box */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alert message text */
#login-success-message-box-message {
  font-size: 18px;
  color: #333;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Styled OK button */
#login-success-message-box-ok-btn {
  padding: 10px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #f5a425, rgb(247, 178, 68));
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(54, 105, 217, 0.4);
  transition: background 0.3s ease;
}

/* Button hover effect */
#login-success-message-box-ok-btn:hover {
  background: linear-gradient(135deg, #f5a425, rgb(247, 178, 68));
}

/* Button focus outline */
#login-success-message-box-ok-btn:focus {
  outline: 2px solid #f5a425;
  outline-offset: 2px;
}

/* =========================================================
   CODEWORD FEATURE SECTION
   PDF card uses fully unique cw-pdf-home-* class names
========================================================= */

#cw-features.cw-feature-section,
#cw-features.cw-feature-section * {
  box-sizing: border-box;
}

#cw-features.cw-feature-section {
  --cw-blue: #2563eb;
  --cw-orange: #f97316;
  --cw-purple: #7c3aed;
  --cw-green: #059669;
  --cw-teal: #0f766e;

  position: relative;
  isolation: isolate;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 55px 22px 70px;
  overflow: visible;
  background:
    radial-gradient(circle at 8% 10%, rgba(37, 99, 235, .07), transparent 27%),
    radial-gradient(circle at 95% 85%, rgba(124, 58, 237, .06), transparent 28%),
    #f8fafc;
  font-family: 'Poppins', sans-serif;
}

#cw-features .cw-feature-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 1320px;
  height: auto;
  min-height: 0;
  margin: 0 auto;
}

/* ---------- Shared cards: PDF card is excluded ---------- */
#cw-features .cw-feature-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 36px;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 36px 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 27px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, .045);
  transition: box-shadow .3s ease, transform .3s ease;
}

#cw-features .cw-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .075);
}

#cw-features .cw-hackathon-card {
  background: linear-gradient(115deg, #f0f5ff, #f7f9ff 55%, #e8efff);
}

#cw-features .cw-blog-card {
  background: linear-gradient(115deg, #f5f0ff, #faf8ff 55%, #eee8ff);
}

#cw-features .cw-code-card {
  background: linear-gradient(115deg, #eafaf2, #f5fcf8 55%, #e1f7ec);
}

#cw-features .cw-teacher-card {
  background: linear-gradient(115deg, #e8f8f6, #f5fcfb 55%, #dff4f0);
}

/* ---------- Decorations for shared cards ---------- */
#cw-features .cw-feature-decoration {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

#cw-features .cw-decoration-one {
  top: -105px;
  right: -35px;
  width: 190px;
  height: 190px;
  border: 27px solid rgba(37, 99, 235, .07);
}

#cw-features .cw-decoration-two {
  bottom: -95px;
  left: 24%;
  width: 145px;
  height: 145px;
  background: rgba(255, 255, 255, .38);
}

#cw-features .cw-blog-card .cw-decoration-one {
  border-color: rgba(124, 58, 237, .10);
}

#cw-features .cw-code-card .cw-decoration-one {
  border-color: rgba(16, 185, 129, .11);
}

#cw-features .cw-teacher-card .cw-decoration-one {
  border-color: rgba(15, 118, 110, .12);
}

/* ---------- Shared content ---------- */
#cw-features .cw-feature-content {
  position: relative;
  z-index: 2;
  display: block;
  align-self: center;
  width: 100%;
  min-width: 0;
  height: auto;
  max-height: none;
  margin: 0;
  overflow-wrap: break-word;
}

#cw-features .cw-feature-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 100%;
  margin: 0 0 17px;
  padding: 8px 14px;
  color: #1d4ed8;
  background: rgba(219, 234, 254, .85);
  border: 1px solid rgba(191, 219, 254, .9);
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 1px;
}

#cw-features .cw-label-icon {
  font-size: 15px;
  line-height: 1;
}

#cw-features .cw-feature-card h2 {
  margin: 0 0 15px;
  color: #101828;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  overflow-wrap: normal;
}

#cw-features .cw-feature-card h2 span {
  color: var(--cw-blue);
}

#cw-features .cw-blog-card h2 span {
  color: var(--cw-purple);
}

#cw-features .cw-code-card h2 span {
  color: var(--cw-green);
}

#cw-features .cw-teacher-card h2 span {
  color: var(--cw-teal);
}

#cw-features .cw-blog-card .cw-feature-label {
  color: #6d28d9;
  background: #ede9fe;
  border-color: #ddd6fe;
}

#cw-features .cw-code-card .cw-feature-label {
  color: #047857;
  background: #d1fae5;
  border-color: #a7f3d0;
}

#cw-features .cw-teacher-card .cw-feature-label {
  color: #115e59;
  background: #ccfbf1;
  border-color: #99f6e4;
}

#cw-features .cw-feature-card p {
  margin: 0 0 18px;
  padding: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}

/* ---------- Shared tags ---------- */
#cw-features .cw-feature-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
}

#cw-features .cw-feature-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 8px 12px;
  color: #334155;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* ---------- Shared buttons ---------- */
#cw-features .cw-feature-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  min-height: 45px;
  margin: 0;
  padding: 12px 22px;
  color: #fff !important;
  border: 0;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none !important;
  box-shadow: 0 6px 15px rgba(15, 23, 42, .10);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

#cw-features .cw-feature-btn span {
  display: inline-block;
  font-size: 19px;
  line-height: 1;
  transition: transform .25s ease;
}

#cw-features .cw-feature-btn:hover {
  color: #fff !important;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 23px rgba(15, 23, 42, .15);
}

#cw-features .cw-feature-btn:hover span {
  transform: translateX(4px);
}

#cw-features .cw-btn-blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

#cw-features .cw-btn-purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

#cw-features .cw-btn-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

#cw-features .cw-btn-teacher {
  background: linear-gradient(135deg, #0f766e, #115e59);
}

/* ---------- Shared images ---------- */
#cw-features .cw-feature-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 8px;
  overflow: visible;
}

#cw-features .cw-image-frame {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  min-width: 0;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, .96);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
}

#cw-features .cw-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 15px;
  transform: none;
  transition: transform .35s ease;
}

#cw-features .cw-feature-card:hover .cw-image-frame img {
  transform: scale(1.015);
}

/* ---------- Shared floating icons ---------- */
#cw-features .cw-floating-icon {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: #fff;
  background: var(--cw-blue);
  border: 2px solid rgba(255, 255, 255, .95);
  border-radius: 14px;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .15);
  animation: cwFeatureFloat 4s ease-in-out infinite;
  pointer-events: none;
}

#cw-features .cw-float-top {
  top: 0;
  left: -2px;
}

#cw-features .cw-float-bottom {
  right: -2px;
  bottom: 0;
  background: #f59e0b;
  animation-delay: -2s;
}

#cw-features .cw-blog-card .cw-floating-icon {
  background: var(--cw-purple);
}

#cw-features .cw-blog-card .cw-float-bottom {
  background: #6d28d9;
}

#cw-features .cw-code-card .cw-floating-icon {
  background: var(--cw-green);
}

#cw-features .cw-code-card .cw-float-bottom {
  background: #10b981;
}

#cw-features .cw-teacher-card .cw-floating-icon {
  background: var(--cw-teal);
}

#cw-features .cw-teacher-card .cw-float-bottom {
  background: #14b8a6;
}

@keyframes cwFeatureFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* =========================================================
   PDF CARD — ALL CLASSES UNIQUE
   No shared cw-feature-* selectors inside this card
========================================================= */
#cw-features .cw-pdf-home-card,
#cw-features .cw-pdf-home-card * {
  box-sizing: border-box;
}

#cw-features .cw-pdf-home-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 36px 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 27px;
  background: linear-gradient(115deg, #fff6e9, #fffaf3 55%, #ffeed9);
  box-shadow: 0 10px 35px rgba(15, 23, 42, .045);
  transition: box-shadow .3s ease, transform .3s ease;
}

#cw-features .cw-pdf-home-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .075);
}

#cw-features .cw-pdf-home-decoration {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

#cw-features .cw-pdf-home-decoration-one {
  top: -105px;
  right: -35px;
  width: 190px;
  height: 190px;
  border: 27px solid rgba(249, 115, 22, .11);
}

#cw-features .cw-pdf-home-decoration-two {
  bottom: -95px;
  left: 24%;
  width: 145px;
  height: 145px;
  background: rgba(255, 255, 255, .38);
}

#cw-features .cw-pdf-home-content {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  order: 2;
  align-self: center;
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  max-height: none;
  margin: 0;
  overflow-wrap: break-word;
}

#cw-features .cw-pdf-home-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 100%;
  margin: 0 0 17px;
  padding: 8px 14px;
  color: #c2410c;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 1px;
}

#cw-features .cw-pdf-home-label-icon {
  font-size: 15px;
  line-height: 1;
}

#cw-features .cw-pdf-home-content h2 {
  margin: 0 0 15px;
  color: #101828;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

#cw-features .cw-pdf-home-content h2 span {
  color: #ea580c;
}

#cw-features .cw-pdf-home-content p {
  margin: 0 0 18px;
  padding: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}

#cw-features .cw-pdf-home-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
}

#cw-features .cw-pdf-home-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 8px 12px;
  color: #334155;
  background: rgba(255, 255, 255, .86);
  border: 1px solid #f1e5d6;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#cw-features .cw-pdf-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  min-height: 45px;
  margin: 0;
  padding: 12px 22px;
  color: #fff !important;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border: 0;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none !important;
  box-shadow: 0 6px 15px rgba(234, 88, 12, .17);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

#cw-features .cw-pdf-home-btn span {
  display: inline-block;
  font-size: 19px;
  line-height: 1;
  transition: transform .25s ease;
}

#cw-features .cw-pdf-home-btn:hover {
  color: #fff !important;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 23px rgba(234, 88, 12, .2);
}

#cw-features .cw-pdf-home-btn:hover span {
  transform: translateX(4px);
}

#cw-features .cw-pdf-home-visual {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 8px;
  overflow: visible;
}

#cw-features .cw-pdf-home-image-frame {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  min-width: 0;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, .96);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
}

#cw-features .cw-pdf-home-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 15px;
  transform: none;
  transition: none;
}

#cw-features .cw-pdf-home-card:hover .cw-pdf-home-image-frame img {
  transform: none;
}

#cw-features .cw-pdf-home-floating-icon {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: #fff;
  background: #f97316;
  border: 2px solid rgba(255, 255, 255, .95);
  border-radius: 14px;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .15);
  animation: cwPdfHomeFloat 4s ease-in-out infinite;
  pointer-events: none;
}

#cw-features .cw-pdf-home-float-top {
  top: 0;
  left: -2px;
}

#cw-features .cw-pdf-home-float-bottom {
  right: -2px;
  bottom: 0;
  background: #ea580c;
  animation-delay: -2s;
}

@keyframes cwPdfHomeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* ---------- Alternating layout: solved code image left ---------- */
#cw-features .cw-code-card .cw-feature-visual {
  grid-column: 1;
  grid-row: 1;
  order: 1;
}

#cw-features .cw-code-card .cw-feature-content {
  grid-column: 2;
  grid-row: 1;
  order: 2;
}

/* ---------- Tablet ---------- */
@media (max-width: 992px) {
  #cw-features.cw-feature-section {
    padding: 40px 18px 55px;
  }

  #cw-features .cw-feature-wrapper {
    gap: 20px;
  }

  #cw-features .cw-feature-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 24px;
    padding: 28px;
    border-radius: 22px;
  }

  #cw-features .cw-feature-card h2 {
    font-size: clamp(25px, 3vw, 32px);
  }

  #cw-features .cw-feature-card p {
    font-size: 13px;
    line-height: 1.8;
  }

  #cw-features .cw-feature-tags {
    gap: 7px;
  }

  #cw-features .cw-feature-tags span {
    padding: 7px 10px;
    font-size: 10px;
  }

  #cw-features .cw-image-frame {
    aspect-ratio: 4 / 3;
  }

  #cw-features .cw-floating-icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  #cw-features .cw-pdf-home-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    padding: 28px;
    border-radius: 22px;
  }

  #cw-features .cw-pdf-home-content h2 {
    font-size: clamp(25px, 3vw, 32px);
  }

  #cw-features .cw-pdf-home-content p {
    font-size: 13px;
    line-height: 1.8;
  }

  #cw-features .cw-pdf-home-tags {
    gap: 7px;
  }

  #cw-features .cw-pdf-home-tags span {
    padding: 7px 10px;
    font-size: 10px;
  }

  #cw-features .cw-pdf-home-floating-icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  #cw-features.cw-feature-section {
    padding: 28px 14px 40px;
  }

  #cw-features .cw-feature-card,
  #cw-features .cw-pdf-home-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 22px;
    border-radius: 20px;
  }

  #cw-features .cw-feature-card .cw-feature-content {
    grid-column: 1;
    grid-row: 1;
    order: 1;
  }

  #cw-features .cw-feature-card .cw-feature-visual {
    grid-column: 1;
    grid-row: 2;
    order: 2;
  }

  #cw-features .cw-feature-card h2 {
    font-size: clamp(26px, 6vw, 33px);
    letter-spacing: -.7px;
  }

  #cw-features .cw-feature-card p {
    font-size: 13px;
    line-height: 1.8;
  }

  #cw-features .cw-feature-label {
    margin-bottom: 14px;
    font-size: 9px;
  }

  #cw-features .cw-feature-visual {
    padding: 5px;
  }

  #cw-features .cw-image-frame {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 17px;
  }

  #cw-features .cw-image-frame img {
    object-fit: contain;
  }

  #cw-features .cw-feature-tags {
    gap: 7px;
    margin-bottom: 18px;
  }

  #cw-features .cw-feature-tags span {
    padding: 7px 10px;
    font-size: 10px;
  }

  #cw-features .cw-feature-btn {
    min-height: 43px;
    padding: 11px 18px;
    font-size: 12px;
  }

  /* PDF card mobile ordering: image first, content underneath */
  #cw-features .cw-pdf-home-visual {
    grid-column: 1;
    grid-row: 1;
    order: 1;
    padding: 5px;
  }

  #cw-features .cw-pdf-home-content {
    grid-column: 1;
    grid-row: 2;
    order: 2;
  }

  #cw-features .cw-pdf-home-image-frame {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 17px;
  }

  #cw-features .cw-pdf-home-content h2 {
    font-size: clamp(26px, 6vw, 33px);
    letter-spacing: -.7px;
  }

  #cw-features .cw-pdf-home-content p {
    font-size: 13px;
    line-height: 1.8;
  }

  #cw-features .cw-pdf-home-label {
    margin-bottom: 14px;
    font-size: 9px;
  }

  #cw-features .cw-pdf-home-tags {
    gap: 7px;
    margin-bottom: 18px;
  }

  #cw-features .cw-pdf-home-tags span {
    padding: 7px 10px;
    font-size: 10px;
  }

  #cw-features .cw-pdf-home-btn {
    min-height: 43px;
    padding: 11px 18px;
    font-size: 12px;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 380px) {
  #cw-features.cw-feature-section {
    padding-right: 10px;
    padding-left: 10px;
  }

  #cw-features .cw-feature-card,
  #cw-features .cw-pdf-home-card {
    padding: 17px;
    gap: 18px;
  }

  #cw-features .cw-feature-card h2,
  #cw-features .cw-pdf-home-content h2 {
    font-size: 25px;
  }

  #cw-features .cw-feature-card p,
  #cw-features .cw-pdf-home-content p {
    font-size: 12px;
  }

  #cw-features .cw-feature-tags span,
  #cw-features .cw-pdf-home-tags span {
    font-size: 9px;
  }

  #cw-features .cw-feature-btn,
  #cw-features .cw-pdf-home-btn {
    gap: 10px;
    padding: 10px 14px;
    font-size: 11px;
  }
}

/* ---------- Accessibility ---------- */
#cw-features .cw-feature-btn:focus-visible,
#cw-features .cw-pdf-home-btn:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  #cw-features .cw-feature-card,
  #cw-features .cw-image-frame img,
  #cw-features .cw-feature-btn,
  #cw-features .cw-feature-btn span,
  #cw-features .cw-floating-icon,
  #cw-features .cw-pdf-home-card,
  #cw-features .cw-pdf-home-floating-icon,
  #cw-features .cw-pdf-home-btn,
  #cw-features .cw-pdf-home-btn span,
  #cw-features .cw-pdf-home-image-frame img {
    animation: none !important;
    transition: none !important;
  }

  #cw-features .cw-feature-card:hover,
  #cw-features .cw-feature-card:hover .cw-image-frame img,
  #cw-features .cw-pdf-home-card:hover,
  #cw-features .cw-pdf-home-card:hover .cw-pdf-home-image-frame img {
    transform: none;
  }
}


/********Home page slider working ****************/
.home-page-slider {
  position: relative;
  /* ensures slider stays in flow */
  z-index: 1;
  margin-bottom: -40px;
}

/* ==============================
   ðŸ“‚ PDF Library Scoped Styles
   ============================== */

/*******Coding section**/
section.pdfpage {
  position: relative;
  background-image: url(../images/pdf-image.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 65px;
  padding-bottom: 1px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5) !important;
}

section.pdfpage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust opacity as needed */
  z-index: 1;
}

.pdfpage .container {
  position: relative;
  z-index: 2;
  /* Ensures text remains unaffected */
  color: white;
  /* Adjust text color if necessary */
}

/* Scope all styles under .pdf-library-wrapper */
.pdf-library-wrapper {
  padding: 40px 20px;
  background: #f4f4f4;
  /* theme light background */
  border-radius: 12px;
}

.pdf-library-wrapper h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #1b3058;
  /* theme dark */
  margin-bottom: 20px;
  text-align: center;
}

.pdf-library-wrapper .search-box {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.pdf-library-wrapper .search-box select,
.pdf-library-wrapper .search-box button {
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  min-width: 150px;
}

.pdf-library-wrapper .search-box select:focus {
  outline: none;
  border-color: #1b3058;
  box-shadow: 0px 0px 6px rgba(27, 48, 88, 0.4);
}

.pdf-library-wrapper .search-box button {
  background-color: #1b3058;
  color: white;
  border: none;
  cursor: pointer;
}

.pdf-library-wrapper .search-box button:hover {
  background-color: #14223e;
}

/* ðŸ“„ PDF Card */
.pdf-library-wrapper .pdf-card {
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 20px;
  margin: 15px auto;
  max-width: 700px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pdf-library-wrapper .pdf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
}

.pdf-library-wrapper .pdf-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1b3058;
}

.pdf-library-wrapper .pdf-card p {
  font-size: 14px;
  margin: 5px 0;
  color: #555;
}

.pdf-library-wrapper .pdf-card a {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  text-decoration: none;
  background: #1b3058;
  color: white !important;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 13px;
  transition: background 0.3s;
}

.pdf-library-wrapper .pdf-card a:hover {
  background: #14223e;
}

/* ==============================
   ðŸ“± Responsive Design
   ============================== */

/* Tablets */
@media (max-width: 992px) {
  .pdf-library-wrapper {
    padding: 30px 15px;
  }

  .pdf-library-wrapper h1 {
    font-size: 1.8rem;
  }

  .pdf-library-wrapper .pdf-card {
    max-width: 90%;
  }
}

/* Mobiles */
@media (max-width: 600px) {
  .pdf-library-wrapper h1 {
    font-size: 1.5rem;
  }

  .pdf-library-wrapper .search-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .pdf-library-wrapper .search-box select,
  .pdf-library-wrapper .search-box button {
    width: 100%;
  }

  .pdf-library-wrapper .pdf-card {
    padding: 15px;
    margin: 10px auto;
  }

  .pdf-library-wrapper .pdf-card h2 {
    font-size: 18px;
  }

  .pdf-library-wrapper .pdf-card p {
    font-size: 13px;
  }

  .pdf-library-wrapper .pdf-card a {
    display: block;
    width: 100%;
    text-align: center;
    margin: 8px 0;
  }
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 4px;
  display: block;
}

/**===run code css=========*/
.runcode-button a {
  padding: 10px 20px;
  background-color: #1b3058;
  color: white;
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin-left: 25%;

}



/* ===== Custom Popup ===== */
.custom-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-box {
  background: #fff;
  padding: 25px 35px;
  border-radius: 10px;
  text-align: center;
  min-width: 280px;
  animation: scaleIn 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.popup-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.popup-box h3 {
  margin: 5px 0;
  color: #1b3058;
}

.popup-box p {
  font-size: 15px;
  color: #444;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-icon i {
  font-size: 42px;
  color: #22c55e;
  /* nice green */
}

.container .col-lg-12 {

  padding-bottom: 10%;
}


.pdf-counter {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: white;
}

.view-link,
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

@media (max-width: 500px) {

  .pdf-counter {
    font-size: 12px;
    padding: 2px 6px;
  }

  .view-link,
  .download-link {
    width: 100%;
    margin-bottom: 8px;
  }

}



/* ============================================
   CODEWORD SERVICES - CONTINUOUS CARD MARQUEE
   Theme: White + Deep Navy + Electric Blue
============================================ */

.cw-services-section,
.cw-services-section * {
  box-sizing: border-box;
}

.cw-services-section {
  --cw-navy: #111827;
  --cw-blue: #2563eb;
  --cw-blue-dark: #1d4ed8;
  --cw-muted: #64748b;
  --cw-border: #e2e8f0;

  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 85px 0 65px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 15%,
      rgba(37, 99, 235, 0.09),
      transparent 35%),
    radial-gradient(ellipse at 92% 75%,
      rgba(96, 165, 250, 0.12),
      transparent 32%),
    linear-gradient(135deg, #f8faff 0%, #ffffff 48%, #f2f6ff 100%);
}

/* Subtle decorative grid */

.cw-services-bg-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom,
      transparent,
      black 15%,
      black 80%,
      transparent);
}

/* Decorative floating shapes */

.cw-services-bg-shape {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(2px);
}

.cw-shape-one {
  width: 240px;
  height: 240px;
  top: 50px;
  left: -145px;
  border: 35px solid rgba(37, 99, 235, 0.08);
}

.cw-shape-two {
  width: 300px;
  height: 300px;
  right: -190px;
  bottom: 5px;
  border: 45px solid rgba(96, 165, 250, 0.09);
}

/* Container */

.cw-services-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* Heading */

.cw-services-heading {
  max-width: 780px;
  margin: 0 auto 45px;
  padding: 0 22px;
  text-align: center;
}

.cw-section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 19px;
  padding: 9px 16px;
  color: #1d4ed8;
  background: #eaf1ff;
  border: 1px solid #d7e4ff;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.cw-badge-dot {
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.cw-services-heading h2 {
  margin: 0 0 17px;
  color: #111827;
  font-size: clamp(29px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.3px;
}

.cw-services-heading h2 span {
  color: #2563eb;
  position: relative;
  display: inline-block;
}

.cw-services-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: #64748b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
}

.cw-heading-line {
  width: 65px;
  height: 4px;
  margin: 25px auto 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #1d4ed8, #60a5fa);
}

/* Scrolling viewport */

.cw-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 15px 0 28px;
  -webkit-mask-image: linear-gradient(90deg,
      transparent 0%,
      #000 3%,
      #000 97%,
      transparent 100%);
  mask-image: linear-gradient(90deg,
      transparent 0%,
      #000 3%,
      #000 97%,
      transparent 100%);
}

/* Seamless animation */

.cw-marquee-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 24px;
  animation: cw-services-scroll 55s linear infinite;
  will-change: transform;
}

@keyframes cw-services-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Pause on hover or keyboard interaction */

.cw-marquee:hover .cw-marquee-track,
.cw-marquee:focus-within .cw-marquee-track {
  animation-play-state: paused;
}

/* Individual card */

.cw-service-card {
  flex: 0 0 315px;
  width: 315px;
  min-width: 0;
  align-self: stretch;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5eaf3;
  border-radius: 20px;
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.055),
    0 2px 5px rgba(15, 23, 42, 0.025);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.cw-service-card:hover {
  transform: translateY(-8px);
  border-color: #b7cdfc;
  box-shadow:
    0 22px 45px rgba(37, 99, 235, 0.12),
    0 5px 12px rgba(15, 23, 42, 0.04);
}

.cw-service-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* Image */

.cw-card-image {
  position: relative;
  height: 190px;
  min-height: 190px;
  overflow: hidden;
  background: #eaf0fb;
}

.cw-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(17, 24, 39, 0.02) 35%,
      rgba(17, 24, 39, 0.35) 100%);
  pointer-events: none;
}

.cw-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cw-service-card:hover .cw-card-image img {
  transform: scale(1.08);
}

/* Number and icon */

.cw-card-number {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 37px;
  height: 29px;
  padding: 0 9px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  backdrop-filter: blur(8px);
}

.cw-card-icon {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 13px;
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.15);
}

/* Card content */

.cw-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 23px 21px;
}

.cw-card-category {
  display: inline-block;
  margin-bottom: 11px;
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.cw-card-content h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -0.45px;
  transition: color 0.25s ease;
}

.cw-service-card:hover .cw-card-content h3 {
  color: #1d4ed8;
}

.cw-card-content p {
  margin: 0 0 23px;
  color: #64748b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
}

.cw-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  color: #1d4ed8;
  border-top: 1px solid #edf0f6;
  width: 100%;
  font-size: 13px;
  font-weight: 750;
  transition: color 0.25s ease;
}

.cw-card-cta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  color: #1d4ed8;
  background: #edf3ff;
  border-radius: 50%;
  font-size: 17px;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.cw-service-card:hover .cw-card-cta span {
  color: #ffffff;
  background: #2563eb;
  transform: translate(3px, -2px);
}

/* Footer note */

.cw-services-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 14px;
  padding: 0 18px;
  color: #52637b;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.2px;
}

.cw-footer-indicator {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: #2563eb;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.10);
}

/* Tablet */

@media (max-width: 768px) {
  .cw-services-section {
    padding: 65px 0 48px;
  }

  .cw-services-heading {
    margin-bottom: 28px;
  }

  .cw-services-heading h2 {
    letter-spacing: -0.8px;
  }

  .cw-services-heading p {
    font-size: 14px;
    line-height: 1.8;
  }

  .cw-service-card {
    flex-basis: 285px;
    width: 285px;
    border-radius: 17px;
  }

  .cw-card-image {
    height: 175px;
    min-height: 175px;
  }

  .cw-card-content {
    padding: 20px;
  }

  .cw-card-content h3 {
    font-size: 19px;
  }

  .cw-marquee-track {
    gap: 18px;
    animation-duration: 48s;
  }
}

/* Mobile */

@media (max-width: 480px) {
  .cw-services-section {
    padding: 48px 0 38px;
  }

  .cw-services-heading {
    padding: 0 20px;
    margin-bottom: 22px;
  }

  .cw-section-badge {
    margin-bottom: 15px;
    padding: 8px 12px;
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .cw-services-heading h2 {
    font-size: 29px;
    line-height: 1.3;
  }

  .cw-services-heading p {
    font-size: 13px;
  }

  .cw-heading-line {
    margin-top: 18px;
  }

  .cw-service-card {
    flex-basis: 270px;
    width: 270px;
    border-radius: 16px;
  }

  .cw-card-image {
    height: 165px;
    min-height: 165px;
  }

  .cw-card-content {
    padding: 18px;
  }

  .cw-card-content h3 {
    font-size: 18px;
  }

  .cw-card-content p {
    font-size: 12px;
    line-height: 1.8;
  }

  .cw-marquee-track {
    gap: 15px;
    animation-duration: 42s;
  }

  .cw-services-footer {
    padding: 0 20px;
    font-size: 11px;
  }
}

/* Respect reduced-motion accessibility preferences */

@media (prefers-reduced-motion: reduce) {
  .cw-marquee-track {
    animation: none;
    transform: none;
  }

  .cw-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .cw-marquee-track {
    width: max-content;
  }

  .cw-service-card,
  .cw-card-image img,
  .cw-card-cta span {
    transition: none;
  }
}

.pdf-reader p {
  color: white;
}

/********=========HOME PAGE BANNER VIDEO CSS ****================//

/* ==========================================
   CODEWORD HERO BANNER REDESIGN
========================================== */

.cw-hero {
  position: relative;
  min-height: 640px;
  height: 88vh;
  max-height: 850px;
  overflow: hidden;
  isolation: isolate;
  background: #101b32;
  margin-bottom: 0;
}

.cw-hero #bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  z-index: -2;
}


.cw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(7, 17, 39, 0.48) 0%,
      rgba(12, 26, 53, 0.32) 48%,
      rgba(7, 17, 39, 0.18) 100%);
  z-index: -1;
}


/* MAIN CONTENT */

.cw-hero-content {
  position: absolute;
  top: 50%;
  left: clamp(95px, 10%, 160px);
  right: clamp(95px, 10%, 160px);
  transform: translateY(-50%);
  z-index: 3;
  max-width: 900px;
  padding: 25px 0;
  color: #fff;
}

.cw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50px;
  background: rgba(255, 255, 255, .10);
  color: #ffd08a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  backdrop-filter: blur(10px);
}

.cw-live-dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ff9d36;
  box-shadow: 0 0 12px #ff9d36;
  animation: cwDotPulse 1.5s infinite;
}

.cw-hero-content h1 {
  margin: 0 0 18px;
  max-width: 850px;
  color: #fff;
  font-size: clamp(38px, 4.3vw, 66px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.8px;
}

.cw-hero-content h1 span {
  color: #ffad42;
  background: linear-gradient(90deg, #ffcf78, #ff8b42);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cw-hero-content h2 {
  display: block;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.35;
}

.cw-hero-content #changing-text {
  opacity: 1;
  transition: opacity .35s ease;
}

.cw-hero-description {
  max-width: 730px;
  margin: 0 0 22px;
  color: #edf2fc;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}

.cw-hero-features {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.cw-hero-features span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.cw-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cw-primary-btn,
.cw-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cw-primary-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #ff9d35, #ff694c);
  box-shadow: 0 8px 24px rgba(255, 116, 54, .30);
}

.cw-secondary-btn {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(8px);
}

.cw-primary-btn:hover,
.cw-secondary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
  color: #fff !important;
}

.cw-primary-btn span {
  font-size: 19px;
}

.cw-hero-bottom-note {
  margin-top: 25px;
  color: #e2e8f5;
  font-size: 12px;
  letter-spacing: .3px;
}

.cw-hero-bottom-note span {
  color: #ffb04b;
  font-size: 18px;
  margin-right: 5px;
}

/* ==========================================
   LEFT & RIGHT VERTICAL TABS
========================================== */

.cw-side-tab {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 56px;
  min-height: 230px;
  padding: 17px 9px;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 17px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: width .3s ease, transform .3s ease;
}

.cw-left-tab {
  left: 14px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #6256ed, #273f9f);
}

.cw-right-tab {
  right: 14px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #ff9d35, #f05270);
}

.cw-left-tab:hover {
  width: 64px;
  transform: translateY(-50%) scale(1.03);
}

.cw-right-tab:hover {
  width: 64px;
  transform: translateY(-50%) scale(1.03);
}

.cw-tab-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .20);
  font-size: 20px;
}

.cw-tab-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  white-space: nowrap;
}

.cw-tab-arrow {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .20);
  font-size: 23px;
  line-height: 1;
}

/* ==========================================
   SLIDE-OUT PANELS
========================================== */

.cw-side-panel {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: min(365px, calc(100vw - 36px));
  max-height: min(530px, 80%);
  overflow-y: auto;
  padding: 28px 23px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 20px;
  color: #fff;
  background: rgba(12, 25, 51, .97);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .40);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}

.cw-left-panel {
  left: 80px;
  transform: translate(-15px, -50%);
}

.cw-right-panel {
  right: 80px;
  transform: translate(15px, -50%);
}

.cw-side-panel.cw-panel-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.cw-panel-close {
  position: absolute;
  top: 10px;
  right: 13px;
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 23px;
  cursor: pointer;
}

.cw-panel-kicker {
  display: block;
  margin-bottom: 10px;
  color: #ffb34f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.cw-side-panel h3 {
  margin: 0 30px 10px 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}

.cw-side-panel>p {
  margin: 0 0 20px;
  color: #cbd5e8;
  font-size: 12px;
  line-height: 1.7;
}

.cw-side-panel>a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 10px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  color: #fff !important;
  background: rgba(255, 255, 255, .05);
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.cw-side-panel>a:hover {
  background: rgba(255, 165, 60, .15);
  transform: translateX(4px);
}

.cw-side-panel>a>span {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border-radius: 10px;
  color: #ffbd66;
  background: rgba(255, 255, 255, .10);
  font-size: 16px;
  font-weight: 800;
}

.cw-side-panel>a strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 12px;
}

.cw-side-panel>a small {
  display: block;
  color: #c6d0e2;
  font-size: 10px;
  line-height: 1.5;
}

/* ANIMATIONS */

@keyframes cwDotPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 157, 54, .5);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(255, 157, 54, 0);
  }
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1050px) {
  .cw-hero-content {
    left: 95px;
    right: 95px;
  }

  .cw-hero-description {
    max-width: 600px;
    font-size: 14px;
  }

  .cw-hero-content h1 {
    font-size: clamp(34px, 5vw, 52px);
  }

  .cw-side-tab {
    width: 46px;
    min-height: 195px;
    padding: 12px 6px;
  }

  .cw-left-panel {
    left: 65px;
  }

  .cw-right-panel {
    right: 65px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {
  .cw-hero {
    height: auto;
    min-height: 690px;
    max-height: none;
  }

  .cw-hero #bg-video {
    min-height: 100%;
  }

  .cw-hero-content {
    top: 50%;
    left: 58px;
    right: 58px;
    padding: 25px 0;
  }

  .cw-hero-badge {
    gap: 7px;
    padding: 8px 10px;
    font-size: 8px;
    letter-spacing: .5px;
  }

  .cw-hero-content h1 {
    font-size: clamp(29px, 8vw, 39px);
    letter-spacing: -.8px;
  }

  .cw-hero-content h2 {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .cw-hero-description {
    font-size: 12px;
    line-height: 1.8;
  }

  .cw-hero-features {
    gap: 7px;
  }

  .cw-hero-features span {
    padding: 7px 9px;
    font-size: 10px;
  }

  .cw-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .cw-primary-btn,
  .cw-secondary-btn {
    width: 100%;
    min-height: 45px;
    padding: 11px 14px;
    font-size: 11px;
  }

  .cw-hero-bottom-note {
    font-size: 10px;
    line-height: 1.8;
  }

  .cw-side-tab {
    width: 38px;
    min-height: 160px;
    gap: 10px;
    padding: 10px 4px;
    border-radius: 12px;
  }

  .cw-left-tab {
    left: 5px;
  }

  .cw-right-tab {
    right: 5px;
  }

  .cw-tab-icon {
    width: 27px;
    height: 27px;
    font-size: 15px;
  }

  .cw-tab-label {
    font-size: 8px;
    letter-spacing: .8px;
  }

  .cw-tab-arrow {
    width: 20px;
    height: 20px;
    font-size: 18px;
  }

  .cw-left-panel {
    left: 48px;
  }

  .cw-right-panel {
    right: 48px;
  }

  .cw-side-panel {
    width: min(330px, calc(100vw - 65px));
    max-height: 82%;
    padding: 24px 15px;
  }

  .cw-side-panel h3 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-live-dot {
    animation: none;
  }

  .cw-side-tab,
  .cw-side-panel,
  .cw-side-panel>a {
    transition: none;
  }
}

/* =====================================================
   CODEWORD PREMIUM IMAGE GALLERY
   Blue + Orange | Smooth Scrolling | Interactive Hover
===================================================== */

.cw-gallery-section {
    --cw-gallery-blue: #1d4ed8;
    --cw-gallery-orange: #f5a425;
    --cw-gallery-dark: #101b35;

    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 100px 0 85px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 5% 15%,
            rgba(37, 99, 235, 0.12), transparent 34%),
        radial-gradient(ellipse at 95% 85%,
            rgba(245, 164, 37, 0.12), transparent 32%),
        linear-gradient(145deg, #ffffff 0%, #f3f6ff 50%, #fffaf1 100%);
    font-family: "Poppins", sans-serif;
}

.cw-gallery-section *,
.cw-gallery-section *::before,
.cw-gallery-section *::after {
    box-sizing: border-box;
}

.cw-gallery-container {
    width: min(1500px, 100%);
    margin: 0 auto;
}

/* Subtle decorative background glow */

.cw-gallery-section::before,
.cw-gallery-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.22;
    pointer-events: none;
    animation: cw-gallery-orb 9s ease-in-out infinite alternate;
}

.cw-gallery-section::before {
    top: 15%;
    left: -150px;
    background: #3b82f6;
}

.cw-gallery-section::after {
    right: -150px;
    bottom: 5%;
    background: #f5a425;
    animation-delay: -4s;
}

@keyframes cw-gallery-orb {
    from {
        transform: translate3d(0, 0, 0) scale(0.9);
    }
    to {
        transform: translate3d(30px, -25px, 0) scale(1.15);
    }
}

/* ================= HEADING ================= */

.cw-gallery-heading {
    max-width: 780px;
    margin: 0 auto 48px;
    padding: 0 22px;
    text-align: center;
}

.cw-gallery-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 11px 19px;
    border: 1px solid rgba(37, 99, 235, 0.17);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 20px rgba(29, 78, 216, 0.07);
    color: var(--cw-gallery-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    transition: 0.3s ease;
}

.cw-gallery-badge:hover {
    border-color: var(--cw-gallery-orange);
    box-shadow: 0 8px 24px rgba(245, 164, 37, 0.18);
    transform: translateY(-3px);
}

.cw-gallery-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--cw-gallery-orange);
    box-shadow: 0 0 0 5px rgba(245, 164, 37, 0.14);
    animation: cw-gallery-pulse 2s ease-in-out infinite;
}

@keyframes cw-gallery-pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(245, 164, 37, 0.13);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 164, 37, 0.04);
    }
}

.cw-gallery-heading h2 {
    margin: 0 0 18px;
    color: var(--cw-gallery-dark);
    font-size: clamp(34px, 4.6vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.6px;
}

.cw-gallery-heading h2 span {
    display: inline-block;
    color: var(--cw-gallery-blue);
    background: linear-gradient(
        100deg,
        #1d4ed8,
        #3984ff 55%,
        #f5a425 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: filter 0.3s ease;
}

.cw-gallery-heading h2 span:hover {
    filter: drop-shadow(0 5px 12px rgba(37, 99, 235, 0.2));
}

.cw-gallery-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: #64748b;
    font-size: 15px;
    line-height: 1.9;
}

.cw-gallery-heading-line {
    width: 75px;
    height: 4px;
    margin: 25px auto 0;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #1d4ed8,
        #60a5fa,
        #f5a425
    );
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.17);
    transition: width 0.4s ease;
}

.cw-gallery-heading:hover .cw-gallery-heading-line {
    width: 125px;
}

/* ================= SCROLL VIEWPORT ================= */

.cw-gallery-row {
    position: relative;
    width: 100%;
    margin: 0 0 22px;
    padding: 15px 0 22px;
    overflow: hidden;

    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 5%,
        #000 95%,
        transparent 100%
    );

    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 5%,
        #000 95%,
        transparent 100%
    );
}

.cw-gallery-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    will-change: transform;
    transform: translateZ(0);
}

/* Seamless repeated groups */

.cw-gallery-group {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    gap: 24px;
    padding-right: 24px;
}

/* First row: LEFT TO RIGHT */

.cw-gallery-track-left {
    animation: cw-gallery-left 42s linear infinite;
}

/* Second row: RIGHT TO LEFT */

.cw-gallery-track-right {
    animation: cw-gallery-right 48s linear infinite;
}

@keyframes cw-gallery-left {
    from {
        transform: translate3d(-50%, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes cw-gallery-right {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Pause when visitor hovers over the gallery */

.cw-gallery-row:hover .cw-gallery-track,
.cw-gallery-row:focus-within .cw-gallery-track {
    animation-play-state: paused;
}

/* ================= PREMIUM IMAGE CARDS ================= */

.cw-gallery-card {
    position: relative;
    flex: 0 0 300px;
    width: 300px;
    height: 225px;
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    background: #eaf1ff;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.07),
        0 2px 6px rgba(15, 23, 42, 0.035);

    cursor: pointer;

    transition:
        transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.35s ease,
        box-shadow 0.4s ease;
}

/* Animated gradient border glow */

.cw-gallery-card::before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        #60a5fa,
        transparent 35%,
        #f5a425 70%,
        #2563eb
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cw-gallery-card:hover {
    transform: translateY(-9px) scale(1.015);
    border-color: rgba(37, 99, 235, 0.45);

    box-shadow:
        0 22px 45px rgba(29, 78, 216, 0.16),
        0 8px 20px rgba(245, 164, 37, 0.09);
}

.cw-gallery-card:hover::before {
    opacity: 1;
}

/* Image zoom and subtle movement */

.cw-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition:
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.5s ease;
}

.cw-gallery-card:hover img {
    transform: scale(1.13);
    filter: saturate(1.15) contrast(1.025);
}

/* Animated image shine */

.cw-gallery-card::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -60%;
    left: -100%;
    width: 55%;
    height: 220%;
    transform: rotate(22deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    pointer-events: none;
    transition: left 0.75s ease;
}

.cw-gallery-card:hover::after {
    left: 150%;
}

/* ================= IMAGE CAPTIONS ================= */

.cw-gallery-card figcaption {
    position: absolute;
    z-index: 2;
    right: 13px;
    bottom: 13px;
    left: 13px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 13px;

    background: rgba(12, 25, 52, 0.58);
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transform: translateY(5px);
    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

.cw-gallery-card:hover figcaption {
    transform: translateY(0);
    background: rgba(21, 55, 120, 0.78);
}

.cw-gallery-card figcaption span {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 31px;
    padding: 0 6px;
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.cw-gallery-card:hover figcaption span {
    background: var(--cw-gallery-orange);
    border-color: var(--cw-gallery-orange);
    color: #14213d;
}

.cw-gallery-card figcaption strong {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

/* ================= GALLERY FOOTER ================= */

.cw-gallery-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding: 0 15px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
}

.cw-gallery-footer-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cw-gallery-orange);
    box-shadow: 0 0 0 5px rgba(245, 164, 37, 0.13);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 767px) {
    .cw-gallery-section {
        padding: 65px 0 50px;
    }

    .cw-gallery-heading {
        margin-bottom: 27px;
    }

    .cw-gallery-heading h2 {
        font-size: clamp(30px, 8vw, 38px);
        letter-spacing: -0.8px;
    }

    .cw-gallery-heading p {
        font-size: 13px;
        line-height: 1.8;
    }

    .cw-gallery-row {
        margin-bottom: 10px;
        padding: 12px 0 17px;
    }

    .cw-gallery-group {
        gap: 15px;
        padding-right: 15px;
    }

    .cw-gallery-card {
        flex-basis: 245px;
        width: 245px;
        height: 185px;
        border-radius: 17px;
    }

    .cw-gallery-track-left {
        animation-duration: 34s;
    }

    .cw-gallery-track-right {
        animation-duration: 38s;
    }

    .cw-gallery-card figcaption {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 9px;
    }

    .cw-gallery-card figcaption strong {
        font-size: 11px;
    }

    .cw-gallery-footer {
        font-size: 9px;
        letter-spacing: 1px;
    }

    /* Touchscreens don't have a conventional hover */
    .cw-gallery-card:hover {
        transform: none;
    }
}

/* ================= ACCESSIBILITY ================= */

@media (prefers-reduced-motion: reduce) {
    .cw-gallery-section::before,
    .cw-gallery-section::after,
    .cw-gallery-dot,
    .cw-gallery-track {
        animation: none !important;
    }

    .cw-gallery-track {
        transform: none !important;
    }

    .cw-gallery-card,
    .cw-gallery-card img,
    .cw-gallery-card figcaption {
        transition: none !important;
    }
}



/* =========================================================
   HACKATHON WINNERS 2026
   Isolated class names: hackathon-winner-*
   Theme: Navy Blue, Orange and White
========================================================= */

.hackathon-winner-section,
.hackathon-winner-section * {
    box-sizing: border-box;
}

.hackathon-winner-section {
    --winner-navy: #172b4d;
    --winner-blue: #244779;
    --winner-orange: #f5a425;
    --winner-text: #243047;
    --winner-muted: #68758a;
    --winner-white: #ffffff;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    padding: 95px 24px 85px;

    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(245, 164, 37, 0.10),
            transparent 23%
        ),
        radial-gradient(
            circle at 92% 80%,
            rgba(36, 71, 121, 0.10),
            transparent 27%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5f8fd 52%,
            #ffffff 100%
        );

    font-family: "Poppins", sans-serif;
}

/* Background grid pattern */

.hackathon-winner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;

    background-image:
        linear-gradient(
            rgba(36, 71, 121, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(36, 71, 121, 0.045) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 15%,
        #000 85%,
        transparent
    );
}

/* Decorative background shapes */

.hackathon-winner-section .hackathon-winner-bg-shape {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.hackathon-winner-section .hackathon-winner-shape-one {
    width: 260px;
    height: 260px;
    top: 100px;
    left: -150px;
    border: 35px solid rgba(245, 164, 37, 0.10);
    animation: hackathonWinnerFloat 8s ease-in-out infinite;
}

.hackathon-winner-section .hackathon-winner-shape-two {
    width: 340px;
    height: 340px;
    right: -190px;
    bottom: 80px;
    border: 45px solid rgba(36, 71, 121, 0.08);
    animation: hackathonWinnerFloat 10s ease-in-out infinite reverse;
}

/* Main container */

.hackathon-winner-section .hackathon-winner-container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* =========================================================
   SECTION HEADING
========================================================= */

.hackathon-winner-section .hackathon-winner-heading {
    max-width: 780px;
    margin: 0 auto 62px;
    text-align: center;
}

.hackathon-winner-section .hackathon-winner-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-bottom: 20px;
    padding: 10px 20px;

    border: 1px solid rgba(245, 164, 37, 0.45);
    border-radius: 50px;

    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 24px rgba(23, 43, 77, 0.07);

    color: var(--winner-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.hackathon-winner-section .hackathon-winner-eyebrow i {
    color: var(--winner-orange);
    font-size: 17px;
}

.hackathon-winner-section .hackathon-winner-heading h2 {
    margin: 0 0 18px;
    color: var(--winner-navy);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.4px;
}

.hackathon-winner-section .hackathon-winner-heading h2 span {
    display: inline-block;
    color: var(--winner-orange);
}

.hackathon-winner-section .hackathon-winner-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--winner-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}

.hackathon-winner-section .hackathon-winner-heading-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-top: 25px;
}

.hackathon-winner-section .hackathon-winner-heading-line span {
    width: 65px;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--winner-orange)
    );
}

.hackathon-winner-section .hackathon-winner-heading-line span:last-child {
    transform: rotate(180deg);
}

.hackathon-winner-section .hackathon-winner-heading-line i {
    color: var(--winner-orange);
    font-size: 17px;
}

/* =========================================================
   WINNER GRID
========================================================= */

.hackathon-winner-section .hackathon-winner-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

/* =========================================================
   WINNER CARDS
========================================================= */

.hackathon-winner-section .hackathon-winner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;

    padding: 18px 18px 0;

    border: 1px solid rgba(36, 71, 121, 0.12);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 12px 30px rgba(23, 43, 77, 0.08),
        0 3px 7px rgba(23, 43, 77, 0.035);

    transform: translateY(0);
    transform-style: preserve-3d;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;

    animation: hackathonWinnerCardAppear 0.7s ease both;
}

.hackathon-winner-section .hackathon-winner-card:nth-child(2) {
    animation-delay: 0.1s;
}

.hackathon-winner-section .hackathon-winner-card:nth-child(3) {
    animation-delay: 0.2s;
}

.hackathon-winner-section .hackathon-winner-card:nth-child(4) {
    animation-delay: 0.3s;
}

.hackathon-winner-section .hackathon-winner-card:hover {
    z-index: 2;
    transform: translateY(-12px) perspective(1000px) rotateX(2deg);

    border-color: rgba(245, 164, 37, 0.55);

    box-shadow:
        0 26px 55px rgba(23, 43, 77, 0.15),
        0 10px 20px rgba(245, 164, 37, 0.08);
}

/* Champion card */

.hackathon-winner-section .hackathon-winner-champion {
    border: 1px solid rgba(245, 164, 37, 0.55);

    background: linear-gradient(
        160deg,
        rgba(255, 248, 228, 0.75),
        #ffffff 38%
    );

    box-shadow:
        0 18px 38px rgba(180, 125, 24, 0.12),
        0 4px 10px rgba(23, 43, 77, 0.05);
}

.hackathon-winner-section .hackathon-winner-champion:hover {
    box-shadow:
        0 28px 60px rgba(180, 125, 24, 0.19),
        0 10px 24px rgba(23, 43, 77, 0.08);
}

/* Rank number */

.hackathon-winner-section .hackathon-winner-rank {
    position: absolute;
    top: 15px;
    right: 16px;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    border: 1px solid rgba(36, 71, 121, 0.10);
    border-radius: 14px;

    background: #f0f4fa;
    color: var(--winner-navy);

    font-size: 15px;
    font-weight: 800;

    box-shadow: 0 5px 12px rgba(23, 43, 77, 0.07);
}

.hackathon-winner-section .hackathon-winner-gold .hackathon-winner-rank {
    border-color: #f3cc72;
    background: linear-gradient(145deg, #ffe8a3, #f5b52f);
    color: #573a05;
}

.hackathon-winner-section .hackathon-winner-silver .hackathon-winner-rank {
    background: linear-gradient(145deg, #f6f8fc, #cbd5e1);
    color: #374151;
}

.hackathon-winner-section .hackathon-winner-bronze .hackathon-winner-rank {
    background: linear-gradient(145deg, #ffe0c4, #d99a65);
    color: #653b20;
}

/* Crown */

.hackathon-winner-section .hackathon-winner-crown {
    position: absolute;
    top: -17px;
    left: 50%;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 3px solid #ffffff;
    border-radius: 50%;

    background: linear-gradient(145deg, #ffdb73, #efa51a);
    color: #704907;

    box-shadow: 0 6px 18px rgba(190, 131, 18, 0.3);

    transform: translateX(-50%);
    animation: hackathonWinnerCrown 2.5s ease-in-out infinite;
}

.hackathon-winner-section .hackathon-winner-crown i {
    font-size: 18px;
}

/* Medal icon area */

.hackathon-winner-section .hackathon-winner-podium-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 9px 0 14px;
}

.hackathon-winner-section .hackathon-winner-medal {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    border: 5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;

    background: linear-gradient(145deg, #e6edf8, #cdd9eb);
    color: var(--winner-navy);

    box-shadow:
        0 7px 15px rgba(23, 43, 77, 0.13),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);

    transition: transform 0.35s ease;
}

.hackathon-winner-section .hackathon-winner-medal i {
    font-size: 22px;
}

.hackathon-winner-section .hackathon-winner-card:hover .hackathon-winner-medal {
    transform: rotateY(180deg) scale(1.08);
}

.hackathon-winner-section .hackathon-winner-gold .hackathon-winner-medal {
    background: linear-gradient(145deg, #ffe8a3, #e8aa22);
    color: #77500b;
}

.hackathon-winner-section .hackathon-winner-silver .hackathon-winner-medal {
    background: linear-gradient(145deg, #f8fafc, #bac6d7);
    color: #46546a;
}

.hackathon-winner-section .hackathon-winner-bronze .hackathon-winner-medal {
    background: linear-gradient(145deg, #ffe0c4, #cd8954);
    color: #704326;
}

/* =========================================================
   TEAM PHOTOS
========================================================= */

.hackathon-winner-section .hackathon-winner-photo {
    position: relative;
    overflow: hidden;

    width: 100%;
    height: 205px;
    flex-shrink: 0;

    border-radius: 17px;
    background: #e9eef6;

    box-shadow: 0 8px 20px rgba(23, 43, 77, 0.10);
}

.hackathon-winner-section .hackathon-winner-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
        to top,
        rgba(10, 24, 46, 0.48),
        transparent 48%
    );
}

.hackathon-winner-section .hackathon-winner-photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;

    transition: transform 0.65s ease;
}

.hackathon-winner-section .hackathon-winner-card:hover .hackathon-winner-photo img {
    transform: scale(1.08);
}

/* Photo labels */

.hackathon-winner-section .hackathon-winner-photo-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    max-width: calc(100% - 24px);
    padding: 8px 12px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;

    background: rgba(23, 43, 77, 0.88);
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    line-height: 1.4;

    backdrop-filter: blur(8px);
}

.hackathon-winner-section .hackathon-winner-gold .hackathon-winner-photo-tag {
    background: rgba(155, 102, 8, 0.92);
}

/* =========================================================
   CARD CONTENT
========================================================= */

.hackathon-winner-section .hackathon-winner-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;

    padding: 23px 5px 24px;
    text-align: center;
}

/* Achievement label */

.hackathon-winner-section .hackathon-winner-achievement {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;

    border: 1px solid rgba(36, 71, 121, 0.10);
    border-radius: 50px;

    background: #f0f4fa;
    color: var(--winner-blue);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.5;
}

.hackathon-winner-section .hackathon-winner-gold .hackathon-winner-achievement {
    border-color: rgba(224, 165, 39, 0.3);
    background: #fff1c9;
    color: #855a08;
}

.hackathon-winner-section .hackathon-winner-silver .hackathon-winner-achievement {
    background: #edf1f6;
    color: #4c5a6d;
}

.hackathon-winner-section .hackathon-winner-bronze .hackathon-winner-achievement {
    background: #fff0e2;
    color: #8a5029;
}

/* Team name */

.hackathon-winner-section .hackathon-winner-card-content h3 {
    width: 100%;
    margin: 0 0 15px;

    color: var(--winner-navy);

    font-size: clamp(19px, 1.6vw, 23px);
    font-weight: 800;
    line-height: 1.35;

    overflow-wrap: anywhere;
    transition: color 0.3s ease;
}

.hackathon-winner-section .hackathon-winner-card:hover .hackathon-winner-card-content h3 {
    color: #bd7910;
}

/* College name */

.hackathon-winner-section .hackathon-winner-college {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;

    width: 100%;
    margin-top: auto;
    padding-top: 14px;

    border-top: 1px solid rgba(36, 71, 121, 0.10);

    color: var(--winner-muted);
    text-align: left;
}

.hackathon-winner-section .hackathon-winner-college i {
    flex: 0 0 auto;
    margin-top: 3px;

    color: var(--winner-orange);
    font-size: 15px;
}

.hackathon-winner-section .hackathon-winner-college span {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* =========================================================
   PODIUM BASE
========================================================= */

.hackathon-winner-section .hackathon-winner-podium-base {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;
    margin: 0 -18px;

    border-radius: 0 0 23px 23px;

    background: linear-gradient(135deg, #eaf0f8, #dce5f1);
    color: var(--winner-navy);

    box-shadow: inset 0 3px 7px rgba(23, 43, 77, 0.05);
}

.hackathon-winner-section .hackathon-winner-podium-base span {
    font-size: 17px;
    font-weight: 900;
}

.hackathon-winner-section .hackathon-winner-gold .hackathon-winner-podium-base {
    background: linear-gradient(135deg, #ffe8a3, #efb42d);
    color: #694809;
}

.hackathon-winner-section .hackathon-winner-silver .hackathon-winner-podium-base {
    background: linear-gradient(135deg, #f0f3f8, #c5cfdd);
    color: #46546a;
}

.hackathon-winner-section .hackathon-winner-bronze .hackathon-winner-podium-base {
    background: linear-gradient(135deg, #ffe2c9, #d59a69);
    color: #704326;
}

.hackathon-winner-section .hackathon-winner-additional .hackathon-winner-podium-base span i {
    font-size: 15px;
}

/* =========================================================
   FOOTER MESSAGE
========================================================= */

.hackathon-winner-section .hackathon-winner-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    max-width: 1000px;
    margin: 60px auto 0;
    padding: 28px 35px;

    border: 1px solid rgba(245, 164, 37, 0.35);
    border-radius: 22px;

    background: linear-gradient(
        110deg,
        rgba(255, 248, 230, 0.95),
        rgba(255, 255, 255, 0.98) 50%,
        rgba(237, 243, 252, 0.95)
    );

    box-shadow: 0 12px 32px rgba(23, 43, 77, 0.07);
    text-align: center;
}

.hackathon-winner-section .hackathon-winner-footer-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border: 1px solid rgba(245, 164, 37, 0.35);
    border-radius: 17px;

    background: #ffffff;
    color: var(--winner-orange);

    box-shadow: 0 6px 18px rgba(23, 43, 77, 0.08);

    transform: rotate(-5deg);
}

.hackathon-winner-section .hackathon-winner-footer-icon:last-child {
    transform: rotate(5deg);
}

.hackathon-winner-section .hackathon-winner-footer-icon i {
    font-size: 24px;
}

.hackathon-winner-section .hackathon-winner-footer-content {
    min-width: 0;
}

.hackathon-winner-section .hackathon-winner-footer h3 {
    margin: 0 0 8px;

    color: var(--winner-navy);
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 800;
    line-height: 1.4;
}

.hackathon-winner-section .hackathon-winner-footer p {
    max-width: 650px;
    margin: 0 auto;

    color: var(--winner-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes hackathonWinnerFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(8deg);
    }
}

@keyframes hackathonWinnerCardAppear {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hackathonWinnerCrown {
    0%,
    100% {
        transform: translateX(-50%) translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateX(-50%) translateY(-5px) rotate(4deg);
    }
}

/* =========================================================
   LAPTOPS AND MEDIUM SCREENS
========================================================= */

@media (max-width: 1250px) {
    .hackathon-winner-section {
        padding: 80px 24px;
    }

    .hackathon-winner-section .hackathon-winner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        max-width: 850px;
        margin: 0 auto;
    }

    .hackathon-winner-section .hackathon-winner-photo {
        height: 250px;
    }

    .hackathon-winner-section .hackathon-winner-card-content h3 {
        font-size: 23px;
    }

    .hackathon-winner-section .hackathon-winner-college span {
        font-size: 12px;
    }
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 767px) {
    .hackathon-winner-section {
        padding: 65px 18px;
    }

    .hackathon-winner-section .hackathon-winner-heading {
        margin-bottom: 42px;
    }

    .hackathon-winner-section .hackathon-winner-eyebrow {
        gap: 8px;
        padding: 9px 14px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .hackathon-winner-section .hackathon-winner-heading h2 {
        font-size: clamp(31px, 7vw, 42px);
        letter-spacing: -0.8px;
    }

    .hackathon-winner-section .hackathon-winner-heading p {
        font-size: 13px;
        line-height: 1.8;
    }

    .hackathon-winner-section .hackathon-winner-grid {
        gap: 22px;
    }

    .hackathon-winner-section .hackathon-winner-card {
        padding: 16px 16px 0;
        border-radius: 21px;
    }

    .hackathon-winner-section .hackathon-winner-photo {
        height: 220px;
    }

    .hackathon-winner-section .hackathon-winner-card-content {
        padding: 21px 4px;
    }

    .hackathon-winner-section .hackathon-winner-card-content h3 {
        font-size: 21px;
    }

    .hackathon-winner-section .hackathon-winner-podium-base {
        margin: 0 -16px;
        border-radius: 0 0 20px 20px;
    }

    .hackathon-winner-section .hackathon-winner-footer {
        gap: 15px;
        margin-top: 42px;
        padding: 24px 18px;
    }

    .hackathon-winner-section .hackathon-winner-footer-icon {
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }

    .hackathon-winner-section .hackathon-winner-footer-icon i {
        font-size: 19px;
    }
}

/* =========================================================
   MOBILE PHONES
========================================================= */

@media (max-width: 520px) {
    .hackathon-winner-section {
        padding: 55px 16px;
    }

    .hackathon-winner-section .hackathon-winner-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        max-width: 380px;
        margin: 0 auto;
    }

    .hackathon-winner-section .hackathon-winner-card {
        padding: 17px 17px 0;
        border-radius: 23px;
    }

    .hackathon-winner-section .hackathon-winner-photo {
        height: 235px;
    }

    .hackathon-winner-section .hackathon-winner-podium-icon {
        min-height: 70px;
    }

    .hackathon-winner-section .hackathon-winner-card-content {
        padding: 23px 5px;
    }

    .hackathon-winner-section .hackathon-winner-card-content h3 {
        font-size: 23px;
    }

    .hackathon-winner-section .hackathon-winner-college {
        max-width: 310px;
        justify-content: flex-start;
        margin: 0 auto;
    }

    .hackathon-winner-section .hackathon-winner-college span {
        font-size: 12px;
    }

    .hackathon-winner-section .hackathon-winner-podium-base {
        min-height: 45px;
        margin: 0 -17px;
        border-radius: 0 0 22px 22px;
    }

    .hackathon-winner-section .hackathon-winner-footer {
        flex-direction: column;
        gap: 15px;
        margin-top: 38px;
        padding: 25px 18px;
        border-radius: 19px;
    }

    .hackathon-winner-section .hackathon-winner-footer h3 {
        font-size: 19px;
    }

    .hackathon-winner-section .hackathon-winner-footer p {
        font-size: 12px;
    }

    .hackathon-winner-section .hackathon-winner-footer-icon:last-child {
        display: none;
    }

    .hackathon-winner-section .hackathon-winner-shape-one {
        width: 180px;
        height: 180px;
    }

    .hackathon-winner-section .hackathon-winner-shape-two {
        width: 220px;
        height: 220px;
    }
}

/* =========================================================
   EXTRA SMALL PHONES
========================================================= */

@media (max-width: 360px) {
    .hackathon-winner-section {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hackathon-winner-section .hackathon-winner-eyebrow {
        font-size: 9px;
        letter-spacing: 0.6px;
    }

    .hackathon-winner-section .hackathon-winner-photo {
        height: 200px;
    }

    .hackathon-winner-section .hackathon-winner-rank {
        width: 37px;
        height: 37px;
        font-size: 13px;
    }

    .hackathon-winner-section .hackathon-winner-card-content h3 {
        font-size: 20px;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .hackathon-winner-section *,
    .hackathon-winner-section *::before,
    .hackathon-winner-section *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}






/* ================================
   HACKATHON WINNER SECTION HEADING
================================ */

.hackathon-winner-section .hackathon-winner-container h2 {
    margin: 0 0 18px !important;
    color: var(--cw-gallery-dark, #172b4d) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(34px, 4.6vw, 52px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -1.6px !important;
    text-align: center !important;
    text-transform: none !important;
    font-style: normal !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Gradient styling for "winners" */

.hackathon-winner-section
.hackathon-winner-container h2 span {
    display: inline-block !important;

    color: var(--cw-gallery-blue, #1d4ed8) !important;

    background: linear-gradient(
        100deg,
        #1d4ed8 0%,
        #3984ff 55%,
        #f5a425 100%
    ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;

    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;

    border: none !important;
    box-shadow: none !important;

    transition: filter 0.3s ease !important;
}

/* Hover effect on gradient text */

.hackathon-winner-section
.hackathon-winner-container h2 span:hover {
    filter: drop-shadow(
        0 5px 12px rgba(37, 99, 235, 0.2)
    ) !important;
}

/* ================================
   HACKATHON WINNER DESCRIPTION
================================ */

.hackathon-winner-section
.hackathon-winner-container p.hackathon-winner-paragraph {
    max-width: 650px !important;
    width: 100% !important;

    margin: 0 auto 35px !important;
    padding: 0 12px !important;

    color: #64748b !important;

    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;

    text-align: center !important;
    text-transform: none !important;
    font-style: normal !important;
    text-decoration: none !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 767px) {
    .hackathon-winner-section
    .hackathon-winner-container h2 {
        font-size: clamp(30px, 6vw, 40px) !important;
        letter-spacing: -1px !important;
        line-height: 1.25 !important;
        margin-bottom: 14px !important;
    }

    .hackathon-winner-section
    .hackathon-winner-container p.hackathon-winner-paragraph {
        max-width: 540px !important;
        font-size: 14px !important;
        line-height: 1.8 !important;
        margin-bottom: 28px !important;
    }
}

@media (max-width: 480px) {
    .hackathon-winner-section
    .hackathon-winner-container h2 {
        font-size: 30px !important;
        letter-spacing: -0.8px !important;
    }

    .hackathon-winner-section
    .hackathon-winner-container p.hackathon-winner-paragraph {
        font-size: 13px !important;
        line-height: 1.75 !important;
        padding: 0 8px !important;
    }
}