* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}
body {
    background-color: rgb(0, 0, 33);
    color: white;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}
#cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80px;
    background-color: rgb(18, 18, 62);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
nav ul {
    display: flex;
    justify-content: center;
}
nav ul li {
    list-style: none;
    margin: 0 23px;
}
nav ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease, font-size 0.3s ease;
}
nav ul li a:hover {
    color: rgb(153, 153, 226);
    font-size: 1.05rem;
}
main {
    margin-top: 80px;
}
main hr {
    border: 0;
    background-color: #9c97f1;
    height: 1.2px;
    margin: 40px 84px;
}
.left {
    font-size: 1.5rem;
}
.firstSection {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 80px 0;
    min-height: calc(100vh - 80px);
}
.firstSection>div {
    width: 30%;
}
.leftSection {
    font-size: 1.3rem;
    margin: 70px 0;
}
.leftSection .buttons {
    padding: 50px 0;
}
.leftSection .btn {
    padding: 12px;
    background: #1e2167;
    color: white;
    border: 2px solid white;
    border-radius: 6px;
    font-size: 20px;
    cursor: none;
    transition: background 0.3s ease, transform 0.3s ease;
}
.leftSection .btn:hover {
    background: #2a2e8e;
    transform: scale(1.05);
}
.rightSection {
    width: 80%;
}
.purple {
    color: purple;
}
#element {
    color: purple;
}
.secondSection {
    max-width: 80vw;
    margin: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.secondSection h1 {
    font-size: 1.9rem;
}
.text-gray {
    color: gray;
}
.secondSection .box {
    background: white;
    width: 77vw;
    height: 2px;
    margin: 56px 0;
    display: flex;
}
.secondSection .vertical {
    height: 93px;
    width: 1px;
    background-color: white;
    margin: 0 100px;
}
.image-top {
    height: 23px;
    width: 23px;
    position: relative;
    top: -32px;
    left: -9px;
}
.vertical-title {
    position: relative;
    top: 75px;
    width: 150px;
    font-size: 14px;
}
.vertical-desc {
    position: relative;
    top: 86px;
    color: gray;
    width: 150px;
    font-size: 9px;
}
.techSection {
    max-width: 80vw;
    margin: auto;
    padding: 50px 0;
}
.techGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
}
.techItem {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.techItem:hover {
    transform: translateY(-5px);
    background-color: #9c97f1;
}
.techItem img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    object-fit: contain;
}
.techItem h3 {
    font-size: 14px;
    margin-top: 10px;
}
footer {
    background-color: #0e0e1a;
    color: #fff;
    font-family: Arial, sans-serif;
    padding-top: 20px;
}
.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 20px 10px;
    text-align: center;
}
.footer-section {
    margin: 10px 0;
    min-width: 200px;
}
.footer-section h3 {
    color: #ffcc00;
    margin-bottom: 10px;
}
.footer-section ul {
    list-style-type: none;
    padding: 0;
}
.footer-section ul li {
    margin: 8px 0;
}
.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-section ul li a:hover {
    color: #ffcc00;
}
.footer-rights {
    text-align: center;
    color: grey;
    padding: 10px 0;
    border-top: 1px solid #444;
    margin-top: 20px;
}
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.carousel-slide {
    display: flex;
    gap: 20px;
    will-change: transform;
    animation: infiniteScroll 15s linear infinite;
}

.carousel-item {
    width: 220px; /* Fixed width */
    height: 300px; /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    background: white;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.carousel-item img {
    width: 100%;
    height: 70%; /* 70% image, 30% text */
    object-fit: cover;
    border-radius: 8px;
}

.carousel-item h3 {
    font-size: 1rem;
    margin: 8px 0 4px;
    font-weight: 700;
    color: #333;
}

.carousel-item p {
    font-size: 0.85rem;
    color: #666;
    padding: 0 5px;
    word-wrap: break-word;
}

.carousel-item:hover {
    transform: scale(1.05);
}

@keyframes infiniteScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
  
  .card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 300px; /* Fixed height */
    display: flex;
    flex-direction: column;
  }
  
  .card img {
    width: 100%;
    height: 150px; /* Fixed height for image */
    object-fit: cover;
  }
  
  .card h3 {
    padding: 15px 15px 0;
    color: #333;
    font-size: 16px;
    flex-grow: 0;
  }
  
  .card p.description {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
    flex-grow: 1;
    overflow: hidden;
    /* display: none; Hide description by default */
  }
  
  .carousel-item.active {
    transform: scale(1.1);
    z-index: 1;
  }
  
  .carousel-item.active .card {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
  
  .carousel-item.active .card p.description {
    display: block; /* Show description for active item */
  }

  .cards-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 20px;
    overflow-x: auto; /* Horizontal scroll if there are too many cards */
}

.exp-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.exp-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.exp-card .card-content {
    padding: 15px;
}

.exp-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #333;
}

.exp-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
}

.exp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.exp-card:hover img {
    opacity: 0.8;
}

.contactSection {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f3f3f3, #e0e0e0);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    width: 80%;
    max-width: 600px;
}

.contactSection h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.contactSection p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: #6a5acd;
    outline: none;
}

button.btn {
    background: #6a5acd;
    color: white;
    font-size: 16px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button.btn:hover {
    background: #483d8b;
}

#formMessage {
    margin-top: 10px;
    font-size: 14px;
    color: green;
}
