:root {
    --primary: rgb(236, 83, 67); /* 236 83 67 EC5343*/
    --black: rgb(17, 18, 19);
    --dark: rgb(35, 35, 35);
    --light: rgba(72, 72, 72, 0.5);
    --secondary: rgb(179, 179, 179);
    --white: rgb(235, 235, 235);
    --logo2: rgb(215, 215, 215); /* 215 215 215 D7D7D7*/
  }
  [data-theme="light"] {
    --primary: rgb(236, 83, 67); /* rgb(49, 157, 210); */
    --black: rgb(223, 223, 223);
    --dark: rgb(206, 206, 206);
    --light: rgba(147, 147, 147, 0.5);
    --secondary: rgb(113, 113, 113);
    --white: rgb(34, 34, 34);
    --logo2: rgb(47, 47, 47);
  }
  [data-theme="dark"] {
    --primary: rgb(236, 83, 67);
    --black: rgb(17, 18, 19);
    --dark: rgb(35, 35, 35);
    --light: rgba(72, 72, 72, 0.5);
    --secondary: rgb(179, 179, 179);
    --white: rgb(235, 235, 235);
    --logo2: rgb(215, 215, 215);
  }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--black);
    transition: background-color 0.3s ease;
    color: var(--white);
    margin: 0;
    padding: 40px;
    line-height: 1.6;
    @media (max-width: 1000px) {
        padding: 5px;
    }
}
nav {
    background-color: var(--black);

    letter-spacing: 1.8px;
    display: flex;
    gap: 30px;
    padding-right: 20px;
    transition: background-color 0.3s ease;

}
a {
    color: var(--white);
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}
nav a {
    text-decoration: none;
    font-family: sans-serif;
    color: var(--white);
    font-weight: 100;
    
}
nav a:hover {
    color: var(--primary);
    transition: color 0.1s ease-in;
}
@media (max-width: 600px) {
    nav {
        align-items: end;
        margin-top: 10%;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 8%;
    }
}
.toggle-switch {
    position: relative;
    width: 50px;
}
.toggle-switch label {
    position: absolute;
    width: 100%;
    height: 25px;
    background-color: var(--dark);
    border-radius: 12.5px;
    cursor: pointer;
}
input {
    position: absolute;
    display: none;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12.5px;
    transition: 0.3s;
}
input:checked ~ .slider {
    background-color: var(--light);
}
.slider::before {
    content: "";
    position: absolute;
    top: 3.25px;
    left: 4px;
    width: 18.75px;
    height: 18.75px;
    border-radius: 50%;
    box-shadow: inset 7px -1px 0px 0px var(--white);
    background-color: var(--dark);
    transition: 0.3s;
}
input:checked ~ .slider::before {
    transform: translateX(23.75px);
    background-color: var(--white);
    box-shadow: none;
}
button, .button {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--primary);
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    text-transform: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    margin-right: 10px;
    margin-top: 10px;
    text-decoration: none;
}
button.filled, .button.filled {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    margin-right: 10px;
}
button:hover, .button:hover {
    background-color: var(--primary);
    color: var(--black);
    transition: background-color 0.3s ease;
}
button.filled:hover, .button.filled:hover {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--primary);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.4;
    margin: 1em 0; /* or a value that fits your layout */
}
#header {
    position: sticky;
    display: flex;
    top: 0;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--black);
    transition: background-color 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}
.logo:hover {
    transform: scale(1.2);
}
.main-section {
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px;
}
.main-section .right{
    flex: 1 1 40%;
    max-width: 40%;
}
.main-section .left {
    flex: 1 1 60%;
    max-width: 60%;
    @media (max-width: 600px) {
        max-width: 90%;
    }
}
.main-section .left h1 {
    font-size: 3rem;
    @media (max-width: 600px) {
        font-size: 1.8rem;
        margin-bottom: 0px;
    }
}
.main-section .left p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    @media (max-width: 600px) {
        font-size: 0.9rem;
        margin-top: 0px;
    }
}
.main-section .left button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
}
.main-section .right img {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: 0;
    display: block;
    align-items: right;
}
@media (max-width: 600px) {
    .main-section .right img {
        display: none;
    }
    .logo {
        margin-left: 5%;
    }
}
.container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 60vh;
    padding: 20px;
    box-sizing: border-box;
}
.box {
    flex: 1;
    max-width: 410px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 20px;
    box-sizing: border-box;
    transition: background-color 0.5s ease;
}
.box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 3%;
}
.box p {
    font-size: 100%;
}
@media (max-width: 800px) {
    .container {
        margin-top: 50%;
        flex-direction: column;
        align-items: center;
    }
    .box {
        max-width: 95%;
    }
    @media (max-width: 800px) {
        .box.dual, .box.dual .initial, .box.dual .half, .box.dual .half.left, .box.dual .half.right {
            visibility: hidden;
            opacity: 0;
            height: 0;
            width: 0;
            overflow: hidden;
        }
    }
}
.box:nth-child(1),
.box:nth-child(2) {
    background-color: var(--dark);
}
.box.dual {
    position: relative;
    width: 410px;
    height: 300px;
    background-color: var(--primary);
    color: var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .box.dual .initial {
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
  }
  .box.dual:hover .initial {
    opacity: 0;
  }
  .box.dual .half {
    position: absolute;
    top: 0; bottom: 0;
    width: 50%;
    padding: 1rem;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.4s ease,
      opacity 0.3s ease;
    transform-origin: center;
  }
  .box.dual .half.left  { 
    transform-origin: left center;
    left: 0; 
    transform: translateX(-100%);
    
  }
  .box.dual .half.right { 
    transform-origin: right center;
    right: 0; 
    transform: translateX(100%);
  }
  .box.dual:hover .half {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .box.dual .half:hover {
    transform: scale(1.1) translateX(0);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 3;
    background-color: var(--primary);
  }
  .box.dual .half p {
    font-size: 0.9rem;
  }
.box:hover {
    background-color: var(--light);
    transition: transform 0.4s ease, box-shadow 0.2s ease;
    transform: translateY(-2px);
}
.box img {
    width: 15%;
    height: auto;
    display: block;
    margin-bottom: 1%;
}
.highlight {
    background-color: var(--primary);
    padding: 2px 5px;
    border-radius: 6px;
}
.small-line {
    border: none;
    border-top: 2px solid var(--primary);
    width: 16%;
    margin: 0px;
}
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.projects-header .title {
    text-align: left;
}
.projects-header .title h1 {
    font-size: 6rem;
    margin-bottom: 0;
}
.projects-header .title p {
    margin-top: 0;
    font-size: 1.1rem;
}
.projects-header .filter {
    text-align: right;
}
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
}
.project-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 250px;
    background-color: var(--dark);
    color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    border: none;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.project-card:focus {
    outline: none;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.project-card__text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 1;
    text-align: left;
}
.project-card__text h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    transition: color 0.3s ease;
}
.project-card:hover .project-card__text h3 {
    color: #000000;
}
.project-card__text .project-card__type {
    font-size: 0.9rem;
    color: var(--primary);
    margin: 5px 0 10px 0;
    font-weight: 900;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.project-card:hover .project-card__text .project-card__type {
    color: #000000;
}
.project-card__text .project-card__description {
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.4;
    margin: 0;
}
.project-card:hover .project-card__text .project-card__description {
    color: #000000;
}
.project-card__image-container {
    flex-shrink: 0;
    width: 150px;
    height: 100%;
}
.project-card__image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 800px) {
    .projects-header .title h1 {
        font-size: 350%;
    }
    .projects-header .title p {
        font-size: 80%;
    }
    .project-card__text h3 {
        font-size: 160%;
        text-align: left;
    }
    .project-card__text p {
        text-align: left;
    }
    .projects-header {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .projects-header .title {
        text-align: left;
        width: 100%;
    }
    .projects-header .filter {
        margin-top: 5%;
        text-align: right;
    }
}
.filter {
    text-align: right;
}
.filter label {
    display: block;
    color: var(--white);
    font-weight: bold;
    margin-bottom: 5px;
}
.filter select {
    background-color: var(--dark);
    color: var(--white);
    border: 1px solid #5c5c5c;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}
.filter select:focus {
    outline: none;
    border-color: var(--primary);
}
@media (max-width: 800px) {
    .filter {
        align-items: bottom;
        margin-top: 80px;
    }
}
.dark-section {
    background-color: var(--dark);
    color: var(--white);
    display: flex;
    padding: 50px;
    align-items: center;
}
.dark-section .title {
    flex: 1;
    position: relative;
    font-size: 3.8rem;
    font-weight: 600;
}
.dark-section .title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: cover;
    width: 150%;
    height: 150%;
    opacity: 0.1;
    z-index: -1;
}
.dark-section .content {
    flex: 2;
    font-size: 1.2rem;
    line-height: 1.6;
}
.row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
  }
  .row-left,
  .row-right {
    flex: 1;
    padding: 3rem;
}
@media (max-width: 800px) {
    .row {
        flex-direction: column;
    }
    .row-left, .row-right {
        padding: 5%;
        margin-right: 16%;    
    }
    .row-right p{
        font-size: 75%;
    }
    .row-right .inline-title4 {
        font-size: 135%;
    }
}
.row-left h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--white);
    margin-bottom: 0;
}
.row-right h3 {
    font-size: 1.5rem;
}
.row-right .duration {
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-block;
    margin-top: 5%;
}
.row-right .inline-title4 {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
  }
.row-right .inline-title5 {
    margin-bottom: 6px;
    padding: 0;
    vertical-align: baseline;
    font-size: large;
}
.row-right p {
    margin: 0;
    padding: 0;
}
li {
    list-style-type: square;
    list-style-position: inside;
}
li::marker {
    color: var(--primary);
}
.full-width-bar {
    background-color: var(--dark);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 3px;
    border-radius: 6px;
    width: 95%;
    margin: 0 auto;
}
.bar-text {
    font-weight: bold;
    font-size: 102%;
    margin-left: 20px;
}
.bar-button:hover {
    opacity: 0.9;
}
.profile-card {
    position: relative;
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--dark);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    margin-left: 6%;
    font-weight: bold;
    font-size: 2rem;
}
.profile-title{
    margin-top: 5%;
}
.self-paragraph {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    color: var(--white);
    max-width: 50%;
    margin-right: 10%;
}
.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
}
.profile-image img {
    width: 150%;
    height: 150%;
    object-fit: cover;
}
@media (max-width: 800px) {
    .profile-card {
       position: relative;
       width: 80%;
    }
    .self-paragraph {
        font-size: 13px;
        margin-right: 0;
        text-align:justify;
        max-width: 90%;
    }
    .profile-image {
        width: 150px;
        height: 150px;
    }
}
  .left-text {
    text-align: left;
    margin-left: 50px;
    margin-right: 30%;
  }
    .right-text {
    text-align: right;
    margin-right: 50px;
    margin-left: 30%;
  }
  .fullcontainer h1, h2, p{
        padding-top: 5px;
        padding-bottom: 5px;
  }
.fullcontainer p {
    margin-bottom: 100px;
}
.fullcontainer h1, h2 {
    color: var(--primary);
    font-size: 2.8rem;
}
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 90%;
    margin: 0% 3%;
}
@media (max-width: 800px) {
    .site-footer {
        margin: 5% 3%;
        font-size: 60%;
    }
    .fullcontainer h1 {
        margin-top: 30%;
        font-size: 150%;
    }
    .left-text {
        margin-right: 15%;
        font-size: 65%;
        margin-left: 8%;
    }
    .right-text{
        margin-left: 15%;
        font-size: 65%;
        margin-right: 8%;
    }
}
.detail-section { margin-bottom: 3rem; }
.detail-section img { width: 100%; height: auto; margin-top: 1rem; }
.detail-container {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
scroll-behavior: smooth;
}
.detail-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  .detail-section.reverse {
    flex-direction: row-reverse;
    background-color: #f5f5f5;
  }
  .text-content, .image-content {
    flex: 1 1 50%;
  }
  .image-content img { width:100%; height:auto; display:block; }
  
  @media (max-width:600px) {
    .detail-section { flex-direction: column !important; }
  }
  
  .gallery-masonry {
    column-count: 3;
    column-gap: 1rem;
  }
  .gallery-masonry img {
    width: 100%;
    margin-bottom: 1rem;
    display: block;
  }
  @media (max-width:800px) {
    .gallery-masonry { column-count: 2; }
  }
  @media (max-width:500px) {
    .gallery-masonry { column-count: 1; }
  }
    .swiper-container {
    width: 100%;
    padding: 2rem 0;
  }
  .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
  }
#project-sections h2 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}
.short-desc {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
  }
  #project-container {
    margin: 5%;
  }
  #project-container h1 {
    margin: 0 5%;
    font-size: 3.6rem;
  }
  #project-container > p {
    margin: 0 5%;
    font-size: 1.5rem;
    margin-bottom: 10%;
  }
@media (max-width: 600px) {
    .short-desc {
        font-size: 0.2rem;
    }
    #project-container h1 {
        font-size: 3rem;
    }
    #project-container > p {
        font-size: 1.2rem;
    }
    #project-sections h2 {
        font-size: 1.2rem;
    }
}
.project-section--gallery img {
    width: 100%;
    height: auto;
    max-width: 300px;
    max-height: 200px;
    object-fit: cover;
    margin: 10px;
}
.project-section h2 {
    margin-bottom: 0;
    margin-top: 6%;
}
.project-section p {
    margin-top: 0;
}
.features-grid {
    
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
  }
  
  .feature-box {
    
    background-color: var(--dark);
    border-radius: 5px;
    padding: 1.3rem;
    max-width: 400px;
    flex: 1 1 250px;
    
    box-shadow: 4px 4px 4px rgba(41, 41, 41, 0.2);
  }
  
  .feature-box h3 {
    margin-top: 0;
    font-weight: 500;
    margin-bottom: 0;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
  }
  
  .feature-box p {
    margin: 0;
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.4;
  }

  /* Responsive Design */
  .flexbox{
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
      flex-wrap: wrap;
      height: 150vw;
      
    
  
    .item{
      position:relative;
      width: 33.33%;
      img{
        width: 100%;
        display: block;
        transition:all .8s;
      }
      .title{
        position:absolute;
        top:48%;
        left:0;
        width:100%;
        padding:0 3%;
        font-size:30px;
        text-shadow:0 0 8px rgba(0,0,0,0.42);
      }
      
    }
  }
  
  @media ( max-width : 860px ){
    
    .flexbox{
      height:220vw;
      .item{
        width:50%;
      }
    }
  }
  @media ( max-width : 667px ){
    
    .flexbox{
      height:auto;
      .item{
        width:100%;
      }
    }
  }
  
.text-image-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0.8rem 0;
    gap: 3%;
}
  
.text-block {
    flex: 0 0 63%;
}
.text-block.full-width {
    flex: 0 0 100%;
  }
  
  .image-block {
    flex: 0 0 33%;
  }
  
  .image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
  }
  
  @media (max-width: 768px) {
    .text-block,
    .image-block {
      flex: 0 0 100%;
      text-align: center;
    }
  }