* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: #f5f5f5;
}
.container-all {
  padding: 20px;
}

/* profile photo */
.content {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.281) 100%,
      transparent
    ),
    Url(../images/hero-bg.jpg);
  width: 100%;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.navbar-collapse ul li a {
  color: white;
}
.container {
  padding-top: 10px;
}

.title {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  top: 250px;
}
.brand {
  text-decoration: none;
  color: white;
  font-size: 28px;
  font-weight: 600;
}
.nav-link {
  font-weight: 600;
  font-size: 17px;
}

.title h1 {
  font-size: 80px;
  font-weight: 700;
  color: white;
  font-style: bold;
  line-height: 70px;
}
.title h4 {
  font-size: 60px;
  font-weight: 300;
  color: white;
  animation-name: movetitle;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
@media screen and (min-width: 990px) {
}
@media screen and (max-width: 990px) {
  .title h1 {
    font-size: 40px;
  }
  .title h4 {
    font-size: 40px;
  }
}
/* ===== START: Dark Mode (place this AT THE VERY END of style.css, OUTSIDE any @media) ===== */
body.dark-mode {
  background: radial-gradient(1200px 600px at 10% 10%, rgba(255,90,90,0.06), transparent 6%),
              radial-gradient(1000px 600px at 90% 80%, rgba(0,150,255,0.03), transparent 6%),
              linear-gradient(180deg, #070709 0%, #0f1113 100%);
  color: #eaeef2;
}

body.dark-mode .item2,
body.dark-mode .section3,
body.dark-mode .formtest,
body.dark-mode .information100,
body.dark-mode .info,
body.dark-mode .section4,
body.dark-mode .section5,
body.dark-mode .all-item100,
body.dark-mode .item-all {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.015));
  color: #e6e9ec;
  box-shadow: 0 10px 30px rgba(2,2,8,0.55);
}

/* Texts & Links */
body.dark-mode a,
body.dark-mode .links a,
body.dark-mode .title h2,
body.dark-mode .paragrap p,
body.dark-mode .images-chefs .content h3,
body.dark-mode .images-chefs .content span,
body.dark-mode .title200 p,
body.dark-mode .contact-title p,
body.dark-mode .paragrap900 p,
body.dark-mode .paragrap900 h3 {
  color: #d9dce0;
}

/* Accent buttons and badges */
body.dark-mode .m,
body.dark-mode .buttom button,
body.dark-mode .content5 a,
body.dark-mode .theme-toggle i,
body.dark-mode .icone-watch,
body.dark-mode .badge-accent {
  background: linear-gradient(90deg, rgba(255,90,90,1), rgba(255,102,102,1));
  color: #fff;
  box-shadow: 0 10px 30px rgba(206,18,18,0.12);
}

/* Images adjustments */
body.dark-mode .image img,
body.dark-mode .image1 img,
body.dark-mode .image200 img {
  filter: brightness(.9) contrast(1.05) saturate(.95);
}

/* Ensure nav links visible on small screens (override your opacity:0) */
body.dark-mode .links ul {
  opacity: 1 !important;
  transition: opacity 250ms;
}

/* Theme toggle visible on all sizes */
.theme-toggle,
.floating-theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
}

/* Floating fallback button for mobile (created by JS if needed) */
.floating-theme-toggle {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 99999;
  box-shadow: 0 12px 30px rgba(2,2,8,0.45);
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

body.dark-mode .floating-theme-toggle {
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
}

/* Safety for very small screens */
@media (max-width: 400px) {
  body.dark-mode .item2,
  body.dark-mode .section3,
  body.dark-mode .information100 {
    background: transparent;
    color: #e6e9ec;
  }
}
/* ===== END: Dark Mode ===== */

/* section 1 */

.container2 {
  margin-top: 60px;
  box-shadow: 3px 3px 15px rgba(73, 71, 71, 0.597);
  padding: 50px 45px;
  border-radius: 0.5%;
}
.content2 {
  position: relative;
}

.content1 .image1 img {
  border-radius: 15%;
}
.information {
  margin-top: 30px;
}
.information .one {
  font-weight: bold;
  font-size: 18px;
}
.information .two {
  color: #97969a;
}
.skills p {
  font-weight: bold;
  font-size: 18px;
}
.skills span {
  color: #97969a;
}
.skills .test3 {
  margin-block: 10px;
}

.content2 {
  margin-top: 35px;
}

.content2 h4 {
  line-height: 100px;
}
@media screen and (min-width: 990px) {
  .information {
    position: relative;
    left: 150px;
    bottom: 17px;
  }
}
@media screen and (max-width: 990px) {
  .section1 {
    padding: 0 15px;
  }
}
/* ===== START: Dark Mode (place this AT THE VERY END of style.css, OUTSIDE any @media) ===== */
body.dark-mode {
  background: radial-gradient(1200px 600px at 10% 10%, rgba(255,90,90,0.06), transparent 6%),
              radial-gradient(1000px 600px at 90% 80%, rgba(0,150,255,0.03), transparent 6%),
              linear-gradient(180deg, #070709 0%, #0f1113 100%);
  color: #eaeef2;
}

body.dark-mode .item2,
body.dark-mode .section3,
body.dark-mode .formtest,
body.dark-mode .information100,
body.dark-mode .info,
body.dark-mode .section4,
body.dark-mode .section5,
body.dark-mode .all-item100,
body.dark-mode .item-all {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.015));
  color: #e6e9ec;
  box-shadow: 0 10px 30px rgba(2,2,8,0.55);
}

/* Texts & Links */
body.dark-mode a,
body.dark-mode .links a,
body.dark-mode .title h2,
body.dark-mode .paragrap p,
body.dark-mode .images-chefs .content h3,
body.dark-mode .images-chefs .content span,
body.dark-mode .title200 p,
body.dark-mode .contact-title p,
body.dark-mode .paragrap900 p,
body.dark-mode .paragrap900 h3 {
  color: #d9dce0;
}

/* Accent buttons and badges */
body.dark-mode .m,
body.dark-mode .buttom button,
body.dark-mode .content5 a,
body.dark-mode .theme-toggle i,
body.dark-mode .icone-watch,
body.dark-mode .badge-accent {
  background: linear-gradient(90deg, rgba(255,90,90,1), rgba(255,102,102,1));
  color: #fff;
  box-shadow: 0 10px 30px rgba(206,18,18,0.12);
}

/* Images adjustments */
body.dark-mode .image img,
body.dark-mode .image1 img,
body.dark-mode .image200 img {
  filter: brightness(.9) contrast(1.05) saturate(.95);
}

/* Ensure nav links visible on small screens (override your opacity:0) */
body.dark-mode .links ul {
  opacity: 1 !important;
  transition: opacity 250ms;
}

/* Theme toggle visible on all sizes */
.theme-toggle,
.floating-theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
}

/* Floating fallback button for mobile (created by JS if needed) */
.floating-theme-toggle {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 99999;
  box-shadow: 0 12px 30px rgba(2,2,8,0.45);
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

body.dark-mode .floating-theme-toggle {
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
}

/* Safety for very small screens */
@media (max-width: 400px) {
  body.dark-mode .item2,
  body.dark-mode .section3,
  body.dark-mode .information100 {
    background: transparent;
    color: #e6e9ec;
  }
}
/* ===== END: Dark Mode ===== */

/* section 2 */

.section2 {
  margin-top: 40px;
}
.ico-circle {
  transition: all 500ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ico-circle {
  height: 100px;
  width: 100px;
  font-size: 2rem;
  border-radius: 50%;
  line-height: 1.55;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 0 10px #0077ffd4;
}

.ico-circle:hover {
  background-color: #0078ff;
  box-shadow: 0 0 0 10px #0077ff57;
}
.card {
  box-shadow: 3px 3px 15px rgba(73, 71, 71, 0.449);
  border-radius: 4%;
  margin: 20px 20px;
  padding-block: 30px;
  text-align: center;
}

.card-body h5 {
  font-weight: bold;
  padding-block: 5px;
}

.section2title {
  text-align: center;
  padding-block: 40px;
}

.section2title h3 {
  font-size: 50px;
  font-weight: 700;
  line-height: 70px;
}

/* section 3 */
.section3 {
  margin-block: 50px;
}
.content3 {
  padding: 40px 100px;
  background-image: linear-gradient(
      to top,
      rgba(0, 119, 255, 0.605) 100%,
      transparent
    ),
    Url(../images/counters-bg.jpg);
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.information4 {
  margin: 20px 20px;
  padding-block: 75px;
  text-align: center;
  color: white;
}
.ico-circle2 {
  transition: all 500ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ico-circle2 {
  height: 60px;
  width: 60px;
  font-size: 2rem;
  border-radius: 50%;
  line-height: 1.55;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 0 10px #f2f5f9d4;
}

.detials {
  padding-top: 20px;
}

.detials p {
  font-size: 32px;
  font-weight: 400;
}

/* section 4 */

.card22 {
  box-shadow: 3px 3px 15px rgba(73, 71, 71, 0.449);
  margin: 20px 20px;
}
.icone3 {
  overflow: clip;
}
.card22 .icone3 img {
  width: 100%;
  transition: all 1s;
}

.card22 .icone3 img:hover {
  transform: scale(1.3);
}
.card-body {
  padding-block: 50px;
  padding-left: 20px;
}

.card-text .one {
  color: #0078ff;
}

/* section 5 */

.section5 {
  margin-top: 50px;
  padding-block: 90px;
  background-image: linear-gradient(
      to top,
      rgba(0, 119, 255, 0.678) 100%,
      transparent
    ),
    Url(../images/overlay-bg.jpg);
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.carousel-indicators [data-bs-target] {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  text-indent: 0;
}
.carousel-item img {
  border-radius: 50%;
}

.carousel-item {
  color: white;
}
.carousel-item span {
  font-size: 23px;
  font-weight: 600;
  line-height: 60px;
}

/* section 6 */

.card33 {
  box-shadow: 3px 3px 15px rgba(73, 71, 71, 0.449);
  margin: 50px 15px;
}
.card33 .icone4 img {
  width: 100%;
}

.card-box {
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translate(-50%);
  width: 70px;
  height: 30px;
  text-align: center;
  border-radius: 10%;
  background-color: #0078ff;
  color: white;
}
.image10 img {
  width: 14%;
  border-radius: 50%;
}

.card-content {
  background-color: #ebe5e5;
  padding: 4px 15px;
}
.icone500 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-body a {
  color: black;
  transition: all 1s;
}

.card-body a:hover {
  color: #0078ff;
}
.image10 a {
  color: black;
  transition: all 1s;
}

.image10 a:hover {
  color: #0078ff;
}

/* section 7 */

.content600 {
  margin-top: 50px;
  padding-block: 90px;
  background-image: linear-gradient(
      to top,
      rgba(0, 119, 255, 0.678) 100%,
      transparent
    ),
    Url(../images/overlay-bg.jpg);
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.input-cont {
  width: 100%;
}

.input-cont form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.input-cont form input {
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  font-family: "Source Sans Pro", sans-serif;
}

.input-cont form textarea {
  width: 100%;
  height: 110px;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  font-family: "Source Sans Pro", sans-serif;
}
.input-cont button {
  padding: 10px 20px;
  border-radius: 5%;
  color: #fff;
  background-color: #0078ff;
  font-size: 16px;
}

.links55 ul li {
  text-decoration: none;
  list-style: none;
  color: black;
}

.links55 ul li a {
  text-decoration: none;
  list-style: none;
  color: black;
}
.content-all {
  box-shadow: 3px 3px 15px rgba(73, 71, 71, 0.449);
  margin: 50px 15px;
  background-color: white;
  padding: 50px;
}

.ico-circle50 {
  transition: all 500ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ico-circle50 {
  height: 50px;
  width: 50px;
  font-size: 2rem;
  border-radius: 50%;
  line-height: 1.55;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 0 5px #0077ffd4;
}

.ico-circle50:hover {
  background-color: #0078ff;
  box-shadow: 0 0 0 10px #0077ff57;
}
.icones50 {
  column-gap: 20px;
  padding: 50px;
}

.content-left h5 {
  padding-bottom: 40px;
}

.content-right {
  margin-top: 20px;
}

.content-right h5 {
  padding-top: 20px;
  padding-bottom: 30px;
}
/* ================= Dark Mode (paste at VERY END of style.css, OUTSIDE any @media) ================= */
:root{
  --dm-accent: #ff305b;
  --dm-bg: linear-gradient(180deg,#070709 0%, #0f1113 100%);
  --dm-surface: #0f1113;
  --dm-text: #e9edf2;
  --dm-muted: #a7adb3;
  --dm-card: rgba(255,255,255,0.03);
  --transition-fast: 240ms;
}

/* ensure content can show overlay */
.content { position: relative; transition: background var(--transition-fast), color var(--transition-fast); }

/* base dark-mode */
body.dark-mode {
  background: var(--dm-bg) !important;
  color: var(--dm-text) !important;
  transition: background 450ms ease, color 320ms ease;
}

/* hero overlay to darken background-image nicely */
body.dark-mode .content::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 10% 10%, rgba(255,48,91,0.03), transparent 6%),
    linear-gradient(180deg, rgba(2,6,23,0.55), rgba(2,6,23,0.75));
  pointer-events: none;
  z-index: 1;
  transition: opacity var(--transition-fast);
}

/* make sure children text appears above overlay */
body.dark-mode .content * { position: relative; z-index: 2; }

/* navbar */
body.dark-mode .navbar { background: transparent; }
body.dark-mode .header h1 { color: var(--dm-accent) !important; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
body.dark-mode .links ul li a { color: #e9edf2 !important; }
body.dark-mode .links ul li a:hover { color: var(--dm-accent) !important; }

/* Ensure mobile nav links visible (you set opacity:0 on small) */
body.dark-mode .links ul { opacity: 1 !important; }

/* Global sections/cards */
body.dark-mode .section2,
body.dark-mode .section3,
body.dark-mode .info,
body.dark-mode .client-section,
body.dark-mode .blog,
body.dark-mode .section7,
body.dark-mode .section8,
body.dark-mode .countiner,
body.dark-mode .client-item,
body.dark-mode .blog-item,
body.dark-mode .section2-about,
body.dark-mode .profile-social {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01)) !important;
  color: var(--dm-text) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important;
  border-radius: 10px;
}

/* Specific fixes for components */
body.dark-mode .title h1,
body.dark-mode .title h3,
body.dark-mode .title h4,
body.dark-mode .title2 h2,
body.dark-mode .title-information,
body.dark-mode .title-info,
body.dark-mode h2.heading {
  color: var(--dm-accent) !important;
}

body.dark-mode p,
body.dark-mode li,
body.dark-mode .fokir-more ul li span.d,
body.dark-mode .content-blog p,
body.dark-mode .info-item p {
  color: #d7dbe0 !important;
}

/* Buttons / accents */
body.dark-mode .buttons button,
body.dark-mode .btn,
body.dark-mode .buttom button,
body.dark-mode .buttons2 ul li a,
body.dark-mode .buttons2 ul li a:hover {
  background: linear-gradient(90deg, rgba(255,48,91,1), rgba(255,89,89,1));
  color: #fff !important;
  box-shadow: 0 8px 26px rgba(255,48,91,0.14);
  border: none;
}

/* icons */
body.dark-mode .fa-pen-ruler,
body.dark-mode .fa-code,
body.dark-mode .fa-laptop-code,
body.dark-mode .fa-gears,
body.dark-mode .info-item i {
  color: var(--dm-accent) !important;
}

/* images */
body.dark-mode img { filter: brightness(.90) contrast(1.03) saturate(.95); }

/* client-item border decorative fix (it had big red border) */
body.dark-mode .client-item .item-content .border {
  border-color: rgba(255,48,91,0.14) transparent transparent rgba(255,48,91,0.14) !important;
  opacity: 0.35;
}

/* portfolio overlay */
body.dark-mode .layer { background-color: rgba(2,6,23,0.55); color: var(--dm-accent); }

/* form inputs */
body.dark-mode input,
body.dark-mode textarea {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--dm-text);
}

/* footer */
body.dark-mode .footer,
body.dark-mode .section8 {
  background: linear-gradient(180deg, #080808, #040404) !important;
  color: #ddd !important;
}

/* ensure theme-toggle visibility & style */
.theme-toggle {
  width: 44px; height:44px; border-radius:50%; display:inline-grid; place-items:center;
  background: transparent; border:1px solid rgba(255,255,255,0.06); cursor:pointer;
  transition: transform 260ms ease, box-shadow 260ms;
  z-index: 9999;
}
.theme-toggle i { transition: transform 450ms ease, color 260ms ease; }
.theme-toggle:active { transform: scale(.96); }

/* dark-mode appearance for toggle */
body.dark-mode .theme-toggle {
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
body.dark-mode .theme-toggle i { color: var(--dm-accent); transform: rotate(28deg) scale(1.05); }

/* floating fallback button for small screens */
.floating-theme-toggle {
  position: fixed !important;
  right: 16px; bottom: 18px; z-index: 99999;
  width: 52px; height:52px; border-radius:50%; display:inline-grid; place-items:center;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.04);
}

/* ensure nav links visibility when you hide them for mobile */
@media (max-width: 990px) {
  body.dark-mode .links ul { opacity: 1 !important; }
  body.dark-mode .navbar { gap: 12px; }
  /* smaller paddings for cards on very small screens */
  body.dark-mode .section2, body.dark-mode .section3, body.dark-mode .client-item { padding: 18px !important; }
}
