/*Carousel css*/
.card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  width: 100%;
  height: 400px;
  animation: slide 30s infinite;
  animation-timing-function: ease-in-out;
}
.card img {
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  width: 100%;
  height: 100%;
  background-size: contain;
}
.slides {
  overflow: hidden;
  width: 100%;
  height: 400px;
  position: relative;
}
.slides .card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: imageChange 10s infinite;
  animation-timing-function: ease-in-out;
}
.slides .card:first-child {
  animation-delay: 0s;
  opacity: 1;
}
.slides .card:nth-child(2) {
  animation-delay: 4s;
}
.slides .card:nth-child(3) {
  animation-delay: 8s;
}
.slides .card:nth-child(4) {
  animation-delay: 12s;
}
.slides .card:nth-child(5) {
  animation-delay: 16s;
}
.slides .card:nth-child(6) {
  animation-delay: 20s;
}
.slides .card:nth-child(7) {
  animation-delay: 24s;
}
.slides .card:nth-child(8) {
  animation-delay: 28s;
}
.slides .card:nth-child(9) {
  animation-delay: 32s;
}
.slides .card:nth-child(10) {
  animation-delay: 36s;
}
.slides .card:nth-child(11) {
  animation-delay: 40s;
}
.slides .card:nth-child(12) {
  animation-delay: 44s;
}
.slides .card:nth-child(13) {
  animation-delay: 48s;
}
.slides .card:nth-child(14) {
  animation-delay: 52s;
}
.slides .card:nth-child(15) {
  animation-delay: 56s;
}
.slides .card:nth-child(16) {
  animation-delay: 60s;
}
.slides .card:nth-child(17) {
  animation-delay: 64s;
}

@keyframes imageChange {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/*Test css*/

a {
text-decoration: none;
}

.et-hero-tabs {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70px;
    padding: 0 2em;
}

.et-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 70px);
    position: relative;
    background: #eee;
    z-index: 10;
    text-align: center;
    padding: 0 2em;
}

.et-slide h1 {
    font-size: 2rem;
    margin: 0;
    letter-spacing: 1rem;
}

.et-slide h5 {
    font-size: 1rem;
    letter-spacing: 0.3rem;
    opacity: 0.6;
}

.et-hero-tabs-container {
display: flex;
flex-direction: row;
position: absolute;
bottom: 0;
width: 100%;
height: 70px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
background: #fff;
z-index: 10;
}

.et-hero-tabs-container--top {
    position: fixed;
    top: 0;
}

.et-hero-tab {
display: flex;
justify-content: center;
align-items: center;
flex: 1;
color: #000;
letter-spacing: 0.1rem;
    transition: all 0.5s ease;
    font-size: 0.8rem;
}

.et-hero-tab:hover {
    color:white;
    background: rgba(102,177,241,0.8);
    transition: all 0.5s ease;
}

.et-hero-tab-slider {
position: absolute;
bottom: 0;
width: 0;
height: 6px;
background: #66B1F1;
transition: left 0.3s ease;
}

@media (min-width: 800px) {
.et-hero-tabs,
.et-slide {
h1 {
    font-size: 3rem;
}
h3 {
    font-size: 1rem;
}
}
.et-hero-tab {
    font-size: 1rem;
}
}

/* contact form css*/
:root {
    --primary-color: #010712;
    --secondary-color: #818386;
    --bg-color: #FCFDFD;
    --button-color: #3B3636;
    --h1-color: #3F444C;
}

[data-theme="dark"] {
    --primary-color: #FCFDFD;
    --secondary-color: #818386;
    --bg-color: #010712;
    --button-color: #818386;
    --h1-color: #FCFDFD;
}

* {
    margin: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

.contact-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
}

@media screen and (max-width: 767px) {
    .left-col {
        display: none;
    }
}

.left-col {
    width: 45vw;
    height: 100%;
    background-image: url("images/image.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.right-col {
    background: var(--bg-color);
    width: 50vw;
    height: 100vh;
    padding: 5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .right-col {
        width: 100vw;
        padding: 2rem 1rem;
    }
}

h1, label, button, .description {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1rem;
}

h1 {
    color:var(--h1-color);
    text-transform: uppercase;
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    font-weight: 300;
}

p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 0.01rem;
    width: 40vw;
    margin: 0.25rem 0;
}

label, .description {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.625rem;
}

form {
    width: 100%;
    position: relative;
    margin-top: 2rem;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

input, textarea, label {
    width: 100%;
    display: block;
}

p, placeholder, input, textarea {
    font-family: 'Helvetica Neue', sans-serif;
}

input::placeholder, textarea::placeholder {
    color: var(--primary-color);
}

input, textarea {
    color: var(--primary-color);
    font-weight: 500;
    background: var(--bg-color);
    border: none;
    border-bottom: 1px solid var(--secondary-color);
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    outline: none;
}

textarea {
    resize: none;
}

button {
    text-transform: uppercase;
    font-weight: 300;
    background: var(--button-color);
    color: var(--bg-color);
    width: 10rem;
    height: 2.25rem;
    border: none;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    margin-top: 1rem;
}

input:hover, textarea:hover, button:hover {
    opacity: 0.5;
}

button:active {
    opacity: 0.8;
}

/* Removed unused Toggle Switch CSS */

#error, #success-msg {
    width: 40vw;
    margin: 0.125rem 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family: 'Jost';
    color: var(--secondary-color);
}

#success-msg {
    transition-delay: 3s;
}

@media only screen and (max-width: 950px) {
    h1 {
        font-size: 1.75rem;
    }
    p {
        font-size: 0.7rem;
    }
    input, textarea, button {
        font-size: 0.65rem;
    }
    .description {
        font-size: 0.3rem;
        margin-left: 0.4rem;
    }
    button {
        width: 7rem;
    }
}

/* experince css*/
.experience-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    background: #fff;
    box-shadow: 1px 1px 2px #DAD7D7;
    border-radius: 3px;  
    padding: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
    overflow-y: scroll;
}

.details {
    line-height: 20px;
}

.details .section {
    margin-bottom: 40px;  
}

.details .section:last-of-type {
    margin-bottom: 0px;  
}

.details .section__title {
    font-size: larger;
    letter-spacing: 2px;
    color: #54AFE4;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.details .section__list-item {
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    margin-bottom: 20px;
    display: inline;
    border-left: 1px solid #ccc;
    font-size: small;
}

@media screen and (min-width: 768px) {
    .details .section__list-item {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 767px) {
    .details .section__list-item {
        margin-bottom: 10px;
        font-size: 14px;
    }
}

.details .left,
.details .right {
    vertical-align: top;
    display: inline-block;
}

.details .left {
    width: 60%;
}

.details .right {
    width: 40%;
}

@media screen and (max-width: 767px) {
    .details .left,
    .details .right {
        width: 100%;
    }
}

.details .name {
    font-weight: bold;
}

.details .skills__item {
    margin-bottom: 10px; 
    display: inline-block; 
}

.details .skills__item .right input {
    display: none;
}

.details .skills__item .right label {
    display: inline-block;  
    width: 20px;
    height: 20px;
    background: #C3DEF3;
    border-radius: 20px;
    margin-right: 3px;
}

.details .skills__item .right input:checked + label {
    background: #79A9CE;
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@keyframes slideRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}
.animate-left {
    animation: slideLeft 20s linear infinite;
}
.animate-right {
    animation: slideRight 20s linear infinite;
}

/* Add these styles to your existing CSS file */

#topRow, #bottomRow {
  display: flex;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  min-height: 10rem; /* Ensure a minimum height */
}

#topRow img, #bottomRow img {
  display: block; /* Ensure images are displayed as blocks */
  min-width: 16rem; /* Minimum width to match .w-64 */
  height: 10rem; /* Fixed height to match .h-40 */
  object-fit: cover;
  margin: 0 0.5rem;
}

.overflow-hidden {
  overflow: hidden;
  max-width: 100%; /* Ensure it doesn't overflow the parent container */
}

/* You can adjust these values to change the size and appearance of the images */
.w-64 {
  width: 16rem;
}

.h-40 {
  height: 10rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Add these styles at the end of your CSS file */

#carouselRow {
  display: flex;
  animation: slide 60s linear infinite;
  /* padding: 20px 0; Remove this line if you want to control padding from the container */
}

#carouselRow:hover {
  animation-play-state: paused;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

#carouselRow img {
  flex-shrink: 0;
  width: 320px; /* Increased from 256px */
  height: 200px; /* Increased from 160px */
  margin: 0 16px; /* Increased from 8px */
  border-radius: 12px; /* Increased from 8px */
  box-shadow: 0 6px 12px -1px rgba(0, 0, 0, 0.1), 0 4px 8px -1px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.3s ease;
}

#carouselRow img:hover {
  transform: scale(1.05);
}

.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.fullscreen-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Add this new style for the container */
.carousel-container {
  padding: 40px 20px; /* Add padding around the carousel */
  background-color: #f0f0f0; /* Light gray background */
  border-radius: 20px; /* Rounded corners */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Update the existing styles */
.overflow-hidden {
  overflow: hidden;
  max-width: 100%;
  /* border-radius: 20px; Remove this line */
}
