/*

Daily Soft Tech

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #255FAB;
  --secondary-color:              #163f75;
  --section-bg-color:             #3ABAD5;
  --custom-btn-bg-color:          #255FAB;
  --custom-btn-bg-hover-color:    #163f75;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #7fffd4;
  --link-hover-color:             #E76F51;

  --body-font-family:             'Plus Jakarta Sans', sans-serif;

  --h1-font-size:                 13px;
  --h2-font-size:                 13px;
  --h3-font-size:                 13px;
  --h4-font-size:                 13px;
  --h5-font-size:                 13px;
  --h6-font-size:                 13px;
  --p-font-size:                  13px;
  --btn-font-size:                13px;
  --form-btn-font-size:           13px;
  --menu-font-size:               13px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-thin:             200;
  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: #372e4d;
}

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.section-overlay + .container {
  position: relative;
  z-index: 22;
}

.back-top-icon {
  font-size: var(--h2-font-size);
}


/*---------------------------------------
  TIMELINE               
-----------------------------------------*/
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 5px;
  background-color: var(--white-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-container {
  padding: 10px 40px;
  padding-top: 0;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: var(--white-color);
  border: 5px solid #7c5c52;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-container-left {
  left: 0;
}

.timeline-container-right {
  left: 50%;
}

.timeline-container-left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 9px;
  width: 0;
  z-index: 1;
  right: 25px;
  border: medium solid white;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent white;
}

.timeline-container-right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 9px;
  width: 0;
  z-index: 1;
  left: 25px;
  border: medium solid white;
  border-width: 20px 20px 20px 0;
  border-color: transparent white transparent transparent;
}

.timeline-container-right::after {
  left: -13px;
}

.timeline-content {
  padding: 5px;
  background-color: var(--white-color);
  position: relative;
  border-radius: var(--border-radius-medium);
}

@media screen and (max-width: 991px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-container::before {
    left: 58px;
    border: medium solid white;
    border-width: 20px 20px 20px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-container-left::after, .timeline-container-right::after {
    left: 6px;
  }

  .timeline-container-right {
    left: 0%;
  }
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 3px 16px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.custom-border-btn:hover {
  background: var(--white-color);
  color: var(--secondary-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-btn-italic {
  font-style: italic;
}

/*---------------------------------------
  NAVIGATION BAR & OFFCANVAS              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  z-index: 999999;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .container {
  background: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  padding: 2px 5px;
}

.navbar {
  background: transparent;
  z-index: 999999;
  /*padding-top: 30px;
  padding-bottom: 30px;*/
}

.navbar .container {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--border-radius-medium);
  padding: 2px 5px;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
  color: var(--white-color);
}

.navbar .navbar-brand-image {
  
}

.navbar-brand-image {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%; /* 👈 this makes it circular */
  object-fit: cover;   /* ensures the image doesn't stretch */
}

.navbar .custom-btn {
  padding: 10px 20px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  /*font-weight: var(--font-weight-bold);*/
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
}

.navbar .dropdown-item.active, 
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus, 
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--link-hover-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--menu-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background-color: var(--dark-color);
  position: relative;
  overflow: hidden;
  min-height: 620px;
  text-align: center;
}

.hero-section::after {
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  content: "";
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-55%, -50%) rotate(45deg);
  width: 250px;
  height: 350px;
  pointer-events: none;
}

@media screen and (min-width: 991px) {
  .hero-section {
    height: 100vh;
  }
}

.hero-section h1 {
  color: var(--white-color);
}

.small-text {
  color: var(--secondary-color);
}

.hero-section .custom-border-btn {
  border-color: transparent;
}

.hero-section .container {
  position: relative;
  z-index: 9;
}

.hero-slides {
  width: 100%;
  height: 100%;
  position: absolute !important;
}

.opening-hours-list {
  margin: 0;
  padding: 0;
}

.opening-hours-list li {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  margin-bottom: 10px;
}

.opening-hours-list li .underline {
  background-color: rgba(255, 255, 255, 0.75);
  width: 20%;
  height: 1px;
  margin: auto 15px 0 15px;
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  /*background-color: var(--secondary-color);*/
  background-color: #8783cf;
  position: relative;
}

.about-section .ratio {
  border-radius: var(--border-radius-medium);
}

.custom-video {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.about-video-info {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(188, 108, 37, 1));
  border-radius: var(--border-radius-medium);
  bottom: 0;
  height: auto;
  padding: 40px;
}

.about-video-info h4 {
  color: var(--white-color);
}

.about-section h6 {
  color: var(--secondary-color);
}

.team-block-wrap {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  max-height: 450px;
  cursor: pointer;
}

.team-block-wrap:hover .team-block-image {
  transform: scale(1.2);
}

.team-block-image-wrap {
  width: 100%;
}

.team-block-image {
  
  border-radius: var(--border-radius-medium);
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

.team-block-info {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(18, 1, 64, 1));
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px;
}

.team-block-info .badge {
  margin: auto;
  top: 2px;
  bottom: 0;
}


/*---------------------------------------
  OUR MENU              
-----------------------------------------*/
.menu-section {
  /*background-image: url('../images/sftdev.jpg');*/
  background-color: #6e6bb7;
  background-repeat: no-repeat;
  background-size: cover;
}

.menu-block-wrap {
  background: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  padding: 45px;
}

.menu-block .border-top {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

.menu-block h6 {
  color: var(--white-color);
}

.menu-block small {
  color: rgba(255, 255, 255, 0.35);
}

.menu-block strong {
  color: var(--secondary-color);
}

.menu-block-image {
  border-radius: 100%;
  width: 350px;
  height: 350px;
  object-fit: cover;
  display: block;
  margin: auto;
  cursor: pointer;
}

.badge {
  background-color: var(--primary-color);
  font-size: 12px;
  position: relative;
  bottom: 4px;
  padding-bottom: 6px;
}

.badge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--primary-color);
}


/*---------------------------------------
  REVIEWS              
-----------------------------------------*/
.reviews-section {
  background-color: #7c5c52;
}

.reviews-block {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.reviews-block .border-top {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

.reviews-block-image-wrap {
  background-image: url('../images/mid-section-waitress-wiping-espresso-machine-with-napkin-cafa-c.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 30px;
}

.reviews-block-image {
  border-radius: var(--border-radius-large);
  width: 65px;
  height: 65px;
  object-fit: cover;
  margin-right: 10px;
}

.reviews-block-info {
  padding: 20px 30px;
}

.reviews-block-info p {
  font-size: var(--btn-font-size);
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
}

.reviews-group i {
  color: var(--white-color);
}


/*---------------------------------------
  BOOKING SECTION              
-----------------------------------------*/
.booking-section {
  background-image: url('../images/young-female-barista-wear-face-mask-serving-take-away-hot-coffee-paper-cup-consumer-cafe.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.booking-form-wrap {
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  margin-top: 100px;
}

.booking-form {
  padding: 55px 65px;
}

.booking-form-image-wrap {
  position: relative;
  height: 100%;
}

.booking-form-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-form-text span {
  color: var(--white-color);
  font-size: var(--btn-font-size);
}

.reservation-page .custom-border-btn {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.reservation-page .custom-border-btn:hover {
  border-color: transparent;
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(188, 108, 37, 1)), url('../images/young-female-barista-wear-face-mask-serving-take-away-hot-coffee-paper-cup-consumer-cafe.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.google-map {
  border-radius: var(--border-radius-medium);
  filter: grayscale(100);
}

.contact-block-wrap {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  padding: 0;
  min-height: 200px;
}

.contact-block {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  transform: rotate(8deg);
  height: 100%;
  padding: 20px 40px;
}

.contact-block h6 {
  transform: rotate(-8deg);
}

.contact-block .custom-icon {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  position: relative;
}

.contact-block strong {
  display: block;
  color: var(--white-color);
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  color: var(--p-color);
  border-radius: var(--border-radius-small);
  margin-bottom: 30px;
  padding-top: 13px;
  padding-bottom: 13px;
  box-shadow: none;
  outline: none;
  transition: all 0.3s;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  background: var(--primary-color);
  border-color: transparent;
}

.custom-form .form-label {
  color: var(--white-color);
  font-style: italic;
  margin-bottom: 15px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--form-btn-font-size);
  font-weight: var(--font-weight-bold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--white-color);
  border-color: transparent;
  color: var(--primary-color);
}

.contact-form .form-control,
.booking-form .form-control {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.25);
}

.booking-form .form-control {
  color: var(--white-color);
}

.custom-form input::-webkit-input-placeholder,
.custom-form textarea::-webkit-input-placeholder {
   color: var(--white-color);
}

.booking-form input:-moz-placeholder,
.booking-form textarea:-moz-placeholder {
  color: var(--white-color);
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: #4b46bb;
  padding-top: 100px;
  padding-bottom: 100px;
}

.site-footer strong {
  color: var(--white-color);
}

.site-footer p,
.site-footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
}

.site-footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
  transition: all 0.3s;
}

.site-footer-link:hover {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--menu-font-size);
}

.copyright-text a {
	color: rgba(255, 200, 160, 0.75);
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--menu-font-size);
  display: block;
  margin: 0 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 35px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

.social-icon-link span {
  display: block;
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 62px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 54px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-section {
    padding-top: 148px;
    padding-bottom: 100px;
  }

  .navbar-brand,
  .navbar-brand:hover {
    font-size: var(--h5-font-size);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
    margin-bottom: 0;
  }

  .navbar .custom-btn {
    margin-bottom: 10px;
  }

  .booking-form {
    padding: 45px;
  }

  .contact-section .container {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
    padding: 35px;
  }

  .site-footer {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 767px) {
  .custom-btn {
    font-size: 14px;
    padding: 12px 20px;
  }

  .menu-block-wrap,
  .reviews-block-image-wrap,
  .reviews-block-info {
    padding: 20px;
  }
}


@media screen and (max-width: 578px) {
  .navbar .container,
  .sticky-wrapper.is-sticky .container {
    margin-right: 10px;
    margin-left: 10px;
  }
}


@media screen and (max-width: 480px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 16px;
  }

  h4 {
    font-size: 12px;
  }

  h5 {
    font-size: 10px;
  }

  .hero-section::after {
    width: 200px;
    height: 200px;
  }

  .booking-form {
    padding: 35px;
  }

  .opening-hours-list li {
    font-size: 12px;
  }

  .reviews-block-image-wrap {
    flex-direction: column;
  }

  .reviews-block-image {
    margin-bottom: 15px;
  }

  .timeline-container {
    padding-left: 55px;
  }

  .timeline-container::before {
    left: 44px;
    border: medium solid white;
    border-width: 15px 15px 15px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-container-left::before,
  .timeline-container-right::before {
    top: 13px;
  }
}
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13px;
  font-family: sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
}

.styled-table th,
.styled-table td {
  padding: 5px 15px;
  border: 1px solid #dddddd;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
  background-color: #f3f3f3;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #e9e9e9;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}
.hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    border-radius: 0 0 50px 50px;
}
.section-title {
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}
.feature-box {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: 0.3s;
}
.feature-box:hover {
    transform: translateY(-10px);
}

.step-card {
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  transition: 0.3s;
}
.card-container {
  display: flex;
  flex-wrap: wrap;        /* ছোট স্ক্রিনে নিচে নেমে যাবে */
  gap: 10px;              /* কার্ডের মাঝের ফাঁকা */
  justify-content: center;   /* বাম পাশে সাজানো */
  align-items: flex-start;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  transition: 0.3s;
}
.step-card:hover {
    transform: translateY(-10px);
}
.clickable {
    cursor: pointer;
    padding: 10px;
    list-style: none;
}

.clickable:hover {
    background-color: #f0f0f0;
}
h2 {
    color: #007bff;
    margin-bottom: 40px;
    text-align: center;
}
.step-number {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    background: #007bff;
    padding: 10px 20px;
    border-radius: 50%;
    margin-bottom: 15px;
}        
/* Overlay – পুরো স্ক্রিন ঢেকে রাখবে এবং সবসময় center এ popup দেখাবে */
.popup-overlay {
  position: fixed;
  inset: 0;                     /* top, left, right, bottom একসাথে */
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1999999000;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;             /* ছোট স্ক্রিনে overflow সেফ */
}

/* Popup Box – perfectly centered */
.popup-box {
  background: #fff;
  padding: 20px 25px;
  width: max-content;
  max-width: 100%;              /* মোবাইলে overflow আটকাতে */
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.25);
  animation: fadeIn 0.3s ease;
  font-family: sans-serif;
  position: relative;

  scrollbar-width: thin;             
  scrollbar-color: #009688 #f0f0f0;
}

  /* Optional — custom scrollbar for Chrome/Edge */
  .popup-box::-webkit-scrollbar {
    width: 8px;
  }
  .popup-box::-webkit-scrollbar-thumb {
    background: #009688;
    border-radius: 4px;
  }
  .popup-box::-webkit-scrollbar-track {
    background: #f0f0f0;
  }
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.popup-box h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.info-item {
  margin-bottom: 12px;
}

.info-item label {
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
  color: #444;
}

.info-item span {
  display: block;
  color: #222;
  background: #f5f5f5;
  border-radius: 6px;
}

.close-btn {          
  background-color: #dc3545;  /* সবুজ ব্যাকগ্রাউন্ড */
  color: white;               /* টেক্সটের রঙ */
  padding: 3px 16px;         /* উপরে-নিচে ১২px, পাশে ২৪px */
  border: none;               /* কোনো বর্ডার নেই */
  border-radius: 8px;         /* রাউন্ড কর্নার */
  font-size: 13px;            /* টেক্সট সাইজ */
  cursor: pointer;            /* মাউস পয়েন্টার পরিবর্তন */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* হালকা ছায়া */
  transition: background-color 0.3s, transform 0.2s;
}

.close-btn:hover {
  background: #c82333;
}
.popup-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 22px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.2s;
}

.popup-close-btn:hover {
  color: #dc3545;
}
select {
  padding: 2px 15px;
  margin-bottom: 5px;
  font-size: 13px;
  border: 2px solid #3498db;
  border-radius: 8px;
  background-color: #f0f8ff;
  color: #333;
  appearance: none; /* Remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="c" width="16" height="16" fill="%233498db" class="bi bi-caret-down-fill" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658A.5.5 0 0 1 2.88 5h10.24a.5.5 0 0 1 .429.758l-4.796 5.482a.5.5 0 0 1-.755 0z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
}

select:focus {
  border-color: #2ecc71;
  outline: none;
  box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
}
.submit-btn {
  background-color: #4CAF50;  /* সবুজ ব্যাকগ্রাউন্ড */
  color: white;               /* টেক্সটের রঙ */
  padding: 3px 16px;         /* উপরে-নিচে ১২px, পাশে ২৪px */
  border: none;               /* কোনো বর্ডার নেই */
  border-radius: 8px;         /* রাউন্ড কর্নার */
  font-size: 13px;            /* টেক্সট সাইজ */
  cursor: pointer;            /* মাউস পয়েন্টার পরিবর্তন */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* হালকা ছায়া */
  transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
  background-color: #45a049;  /* হোভার করলে গাঢ় সবুজ */
  transform: scale(1.05);     /* হালকা বড় দেখাবে */
}
.scroll-container {
  max-height: 400px;  /* স্ক্রলের উচ্চতা */
  overflow-y: auto;   /* খাড়া স্ক্রল বার */
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 5px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
}
.schedule-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.class-title {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  margin-top: 5px;
}

.subject-title {
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #444;
}

.teacher-name {
  margin-top: 5px;
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.day-time {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.day-box {
  background: #e0f7fa;
  border-radius: 8px;
  padding: 2px 12px;
  font-size: 13px;
  color: #006064;
}
.top-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 16px;
}
.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  width: 250px;
  background-color: #f9f9f9;
  color: #333;
  text-align: left;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Show above the icon */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
.info-icon {
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 13px;
  text-align: center;
  line-height: 24px;
  cursor: pointer;
  padding: 0;
}
input {
    width: 100%;
    max-width: 400px;
    padding: 2px 15px;
    margin-bottom: 5px;
    font-size: 13px;
    border: 2px solid #3498db;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
  }

  input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.4);
    outline: none;
  }

  input::placeholder {
    color: #aaa;
  }
input[type="checkbox"] {
  accent-color: #4CAF50;  /* Modern browsers */
  width: 18px;
  height: 12px;
  cursor: pointer;
}

.left-border {
  border-left: 4px solid #3498db;
  padding-left: 12px;
  margin: 10px 0;
  font-family: 'Noto Sans Bengali', 'SolaimanLipi', sans-serif;
}
.btn-edit {
  background-color: #4CAF50;  /* Green */
  border: none;
  color: white;
  padding: 3px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-edit:hover {
  background-color: #45a049;
}
.btn-delete {
  background-color: #f44336;  /* Red */
  border: none;
  color: white;
  padding: 3px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-delete:hover {
  background-color: #d32f2f;  /* Darker Red on hover */
}
.btn-clear {
  background-color: #ad918f;   /* Red */
  border: none;
  color: white;
  padding: 3px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-clear:hover {
  background-color: #d32f2f;   /* Darker red */
}

.radio-label {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
}
.btn-add {
  background-color: #4CAF50;  /* Green */
  border: none;
  color: white;
  padding: 3px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.btn-add:hover {
  background-color: #45a049;
}

.radio-label input {
  margin-right: 5px;
}

.student-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
  transition: 0.3s ease-in-out;
}

.student-card:hover {
  transform: translateY(-6px);
}

.student-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #007bff;
  margin-bottom: 10px;
}

.student-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.student-info {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
  line-height: 1.6;
}

.student-id {
  font-weight: bold;
  color: #007bff;
}

.school-name {
  font-style: italic;
  color: #888;
  font-size: 13px;
  margin-top: 8px;
}
.buttons {
  margin-top: 20px;
}
.tag {
  display: inline-block;
  background-color: #ffe0e0;
  color: #c62828;
  padding: 4px 10px;
  margin: 4px 6px 0 0;
  border-radius: 5px;
  font-size: 13px;
}
.buttons button {
  padding: 10px 18px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
}

.buttons button:hover {
  background-color: #0056b3;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header button {
  background-color: #003366;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
}

.info-section {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
  border-top: 2px solid #ddd;
  padding-top: 20px;
}

.info-box {
  flex: 1;
}

.info-box h3 {
  margin-bottom: 10px;
  color: #000;
  font-weight: bold;
  border-left: 4px solid #0066cc;
  padding-left: 10px;
}

.info-row {
  margin-bottom: 5px;
}

.info-row span {
  font-weight: bold;
  color: #333;
}

.highlight {
  color: #c68600;
  font-weight: bold;
}

.footer-info {
  padding-top: 10px;
  border-top: 1px dashed #ccc;
}
.health-section {
  font-size: 13px;
  font-family: Arial, sans-serif;
  margin-bottom: 20px;
}

.health-title {
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.health-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 12px;
  margin-bottom: 20px;
}

.health-option {
  display: flex;
  align-items: center;
  gap: 4px;
}

.health-option input[type="checkbox"] {
  margin: 0;
}

/* 🔻 Responsive for mobile screens */
@media screen and (max-width: 768px) {
  .health-options {
    grid-template-columns: 1fr; /* One column on small screens */
  }
}

.info-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  text-align: center;
  font-size: 12px;
  line-height: 14px;
  cursor: pointer;
}
.upload-section {
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.upload-section input[type="file"] {
  font-size: 13px;
}

.preview-box {
  border: 1px solid #ccc;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999;
}
.step {
    background-color: #ffffff;
    border-left: 5px solid #007acc;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #ddd;
    border-radius: 5px;
}
.verified {
  display: inline-block;
  padding: 5px 10px;
  background: #c8f7c5;
  color: #2e7d32;
  font-weight: bold;
  border-radius: 5px;
  font-size: 13px;
  margin-top: 8px;
  cursor: pointer;
}
.not-verified {
  display: inline-block;
  padding: 5px 10px;
  background: #f8d7da;      /* হালকা লাল ব্যাকগ্রাউন্ড */
  color: #a94442;           /* গাঢ় লাল টেক্সট */
  font-weight: bold;
  border-radius: 5px;
  font-size: 13px;
  margin-top: 8px;
  cursor: pointer;
}
.card_problem {
  background:#fff; padding:12px; border-radius:10px; box-shadow:0 6px 18px rgba(13,38,63,.06); overflow:hidden;
}
.meta { margin-bottom:8px; font-size:0.95rem; color:#333; display:flex; justify-content:space-between; gap:8px; align-items:center; }
.card_problem iframe, img, object {
  width:100%; border:0; border-radius:8px; display:block;
}
.card_problem img { height:auto; }
.pdf-frame { height:600px; }
.video-frame { height:360px; }
.small { font-size:0.9rem; color:#555; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:16px; }
.info { background:#fff3cd; border:1px solid #ffeeba; padding:12px; border-radius:8px; margin-bottom:20px; line-height:1.5; }
.agree-label {
  display: block;
  background: #f5faff;          /* হালকা নীল ব্যাকগ্রাউন্ড */
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #c9e4ff;   /* সফট বর্ডার */
  cursor: pointer;
  line-height: 1.5;
  font-size: 14px;
}

.agree-label:hover {
  background: #e8f3ff;         /* হোভার করলে আরও সুন্দর */
}

.agree-label input {
  margin-right: 8px;
}
.req-label {
    font-weight: 600;
    margin-bottom: 6px;
    position: relative;
}

.req-label::after {
    content: " *";
    color: red;
    font-weight: bold;
}
.cardProblemView {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);    
}
.cardProblemView p {
  margin-bottom: 5px;
}

.title {
    font-weight: bold;
    margin-top: 10px;
}
.box {
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
    font-family: Arial, sans-serif;
}
/* X Button */
.box-close-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #ff4d4d;
    transition: 0.2s;
}
.box-close-btn:hover {
    color: #d40000;
}
.success-box {
  background-color: #e8f7e8;       /* হালকা সবুজ ব্যাকগ্রাউন্ড */
  border-left: 5px solid #2ecc71;  /* গাঢ় সবুজ লাইন */
  border-radius: 6px;
  padding: 12px 16px;
  margin: 10px 0;
  font-size: 15px;
  color: #1e6b27;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.severity-box {
  font-family: Arial;
  margin: 20px 0;
}

.severity-select {
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 13px;
  cursor: pointer;
  font-weight: bold;
}

.severity-select option {
  color: black;
}
.btn-rating {
  background-color: #ad918f;   /* Red */
  border: none;
  color: white;
  padding: 3px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-rating:hover {
  background-color: #d32f2f;   /* Darker red */
}
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #444;
    font-family: Arial, sans-serif;
}

.loader-circle {
    width: 45px;
    height: 45px;
    border: 5px solid #d0d0d0;
    border-top: 5px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.loader-text {
    font-size: 16px;
    font-weight: 500;
    animation: fade 1.2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
    margin-bottom: 10px;
}

.pagination button {
    padding: 2px 12px;
    border: 1px solid #007bff;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pagination button:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
    background-color: #0056b3;
}

.pagination span {
    font-weight: bold;
}
.nice-card {
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 10px;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-close-btn {
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #444;
}

.section-heading {
    font-size: 17px;
    font-weight: bold;
    margin: 0;
}

.previous-vote {
    margin: 10px 0 15px;
    font-size: 14px;
    color: #555;
}

.vote-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.vote-option {
    background: #f6f6f6;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.vote-option:hover {
    background: #e8f0ff;
}

.vote-option input {
    width: 16px;
    height: 16px;
}

.btn-submit {
    width: 100%;
    background: #007bff;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-submit:hover {
    background: #005fcc;
}
.announce-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    margin: 25px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    font-family: "Segoe UI", sans-serif;
    line-height: 1.6;
}

.announce-header {
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 16px;
}

.announce-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}

.announce-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #0d1226;
    text-align: left;
}

.announce-type {
    font-size: 13px;
    color: #666;
}

.section-heading {
    font-size: 15px;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 8px;
    color: #333;
}

.announce-body p {
    margin-bottom: 12px;
    text-align: justify;
    color: #444;
}

.announce-footer {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #e7e7e7;
    font-size: 14px;
    color: #555;
    text-align: right;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 5px solid #009688;
  padding: 20px;
  width: 200px;              /* 🔹 নির্দিষ্ট প্রস্থ দাও */
}


.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #009688;
  display: block;           /* গুরুত্বপূর্ণ */
  margin: 0 auto 5px auto; /* ছবি horizontally center হবে */
}

.card h3 {
  margin: 10px 0 5px 0;
  color: #009688;
  font-size: 14px;
  font-weight: 600;
}

.card p {
  margin: 2px 0;
  font-size: 11px;
  color: #444;
}

/* ================= CARD ================= */
.profile-card{
  width:100%;
  max-width:100%;
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:0 10px 30px rgba(2,6,23,.08);
  display:grid;
  grid-template-columns:1fr; /* mobile first */
  overflow:hidden;
}

/* ================= LEFT ================= */
.left{
  padding:20px;
  background:linear-gradient(180deg, rgba(124,58,237,.06), rgba(14,165,164,.03));
  display:flex;
  flex-direction:column;
  gap:16px;
}

.avatar{
  width:100px;
  height:100px;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 20px rgba(124,58,237,.18);
  flex-shrink:0;
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.name{
  font-size:18px;
  font-weight:700;
}

.party{
  font-size:13px;
  color:var(--muted);
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:6px;
}

.chip{
  background:rgba(0,0,0,.05);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
}

/* info list */
.info-list{
  width:100%;
}

.info-item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;
  border-bottom:1px dashed rgba(15,23,42,.06);
}

.info-item:last-child{
  border-bottom:none;
}

.label{
  font-size:13px;
  color:var(--muted);
  flex-shrink:0;
}

.value{
  font-weight:600;
  text-align:right;
  word-break:break-word;
}

/* ================= RIGHT ================= */
.right{
  padding:20px;
  overflow-x:hidden;
}

.section-title{
  margin:14px 0 6px;
  font-size:13px;
  color:var(--muted);
  font-weight:600;
}

/* key value grid */
.grid{
  display:grid;
  grid-template-columns:1fr; /* mobile */
  gap:10px;
}

.kv{
  background:var(--bg);
  border-radius:10px;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.kv .k{
  font-size:13px;
  color:var(--muted);
}

.kv .v{
  font-weight:700;
  word-break:break-word;
  overflow-wrap:anywhere;
}

/* ================= DESKTOP ================= */
@media (min-width:768px){
  .profile-card{
    max-width:980px;
    grid-template-columns:360px 1fr;
  }

  .left{
    padding:28px;
  }

  .right{
    padding:28px 32px;
  }

  .grid{
    grid-template-columns:repeat(2,1fr);
  }

  .kv{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
  }

  .kv .v{
    text-align:right;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width:480px){
  .avatar{
    width:90px;
    height:90px;
  }

  .name{
    font-size:17px;
  }

  .chip{
    font-size:11px;
  }
}
.invalid {
  border: 2px solid red;
}


.crop {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 5px solid #009688;
  padding: 20px;
}


.crop:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.crop img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  display: block;           /* গুরুত্বপূর্ণ */
  margin: 0 auto 5px auto; /* ছবি horizontally center হবে */
}

.crop h3 {
  margin: 10px 0 5px 0;
  color: #009688;
  font-size: 14px;
  font-weight: 600;
}

.crop p {
  margin: 2px 0;
  font-size: 11px;
  color: #444;
}
.crop-footer {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #e7e7e7;
    font-size: 14px;
    color: #555;
    text-align: right;
}
.img-wrapper{
    position: relative;
    display: inline-block;
}
.imgedit-icon{
    position: absolute;
    top: 6px;
    right: 6px;
    background: #fff;
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}