
/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
.Typewriter__cursor {
    display: inline-block;
    margin-left: 2px;
    animation: blink 0.6s steps(2, start) infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}



/* Portfolio Section */
.portfolio-section {
    padding: 60px 0;
    background: #355C7D;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #861717, #b561ff, #004281);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #861717, #311e42, #004281); 
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin: 20px 0;
    color: #ffd500;
}

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px; /* Add space between filter items */
}

.portfolio-filter .filter-item {
    margin: 0 5px;
    padding: 10px 20px;
    cursor: pointer;
    color: #ffffffae;
    background-color: #2c2c2c;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-filter .filter-item.active,
.portfolio-filter .filter-item:hover {
    color: #fbff00;
    background-color: #333;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.portfolio-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 2rem;
    }
    .portfolio-filter {
        gap: 8px; /* Adjust spacing for smaller screens */
    }
    .portfolio-filter .filter-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .portfolio-filter .filter-item {
        display: flex;
        margin: 0 5px;
        padding: 1px 5px;
        cursor: pointer;
        color: #ffffffae;
        font-size: 15px;
        background-color: #2c2c2c;
        border-radius: 4px;
        transition: all 0.3s;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}


/*      /*---------------------------Header---------------------------*/

.header ul {
    display: flex; /* Use flexbox for horizontal alignment */
    list-style: none;
    padding: 0;
}

.header ul li {
    margin: 0 15px; /* Space between menu items */
}

.header ul li a {
    color: white; /* Default color */
    text-decoration: none; /* Remove underline */
    font-size: 16px; /* Set a uniform font size */
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.header ul li a:hover {
    color: yellow; /* Change color on hover */
}



.header ul li:hover .sub-navbar {
    display: block; /* Show sub-navbar on hover */
}


.header-area{
padding:25px 0;
transition: padding .3s;
}

.header-area.sticky {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 99;
background-color: #3a0a0a, #31213f, #012b52);;
padding: 5px;
}


.header{
display:flex;
justify-content: space-between;
align-items: center;
/* padding-bottom: 2rem; */
} 
.logo {
display: flex;
align-items: center;
position: relative; 
text-transform: uppercase;
font-size: 26px;
font-weight: 700;
}

.logo .fa-bolt {
color: #fed700;
font-size: 19.5px;
position: absolute; 
top: 60%;
left: 100%; 
transform: translate(-50%, -50%); 
z-index: 1; 
}
/* Mobile responsive styles */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        font-size: 20px; /* Adjust font size for mobile */
    }

    .logo .fa-bolt {
        font-size: 16px; /* Adjust icon size for mobile */
        top: 50%; /* Adjust position for mobile */
        left: 90%; /* Adjust position for mobile */
    }
}
.signature {
width: 100px; 
height:auto; 
margin-right: 10px; 
}

.header ul li:first-child {
margin-right: auto; 
}  

.header ul{
display: flex;
align-items: center; 
}
.header ul li{
margin: 0 15px;
}
.header ul li a{
text-transform: capitalize;
display: block;
}
.header ul li a.active{
color: #fed700;
} 
.header ul li a:hover{
color:#fed700;
}
.header .menu_icon{
color:#fff;
font-size: 18px;
cursor: pointer;
display: none;
}


/* Card Styles */
.card {
    position: relative;
    width: 350px; /* Adjust width as needed */
    aspect-ratio: 16/9;
    background-color: #fffca4ce;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #fed80090;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card__icon {
    width: 100%;
    height: 100%; 
    object-fit: cover; /* To ensure the image covers the card */
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #e0c954f3;
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover .card__content {
    transform: rotateX(0deg);
}

.card__title {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-weight: 700;
}

.card:hover .card__icon {
    transform: scale(0); 
}

.card__description {
    margin: 10px 0 10px;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}

.card__button {
    padding: 15px;
    border-radius: 8px;
    background: #777;
    border: none;
    color: white;
    margin-right: 10px; /* Add some space between buttons */
    cursor: pointer; /* Indicate that it's clickable */
}

.card__button.secondary {
    background: transparent;
    color: #777;
    border: 1px solid #777;
}

/* Responsive Design */

@media (max-width: 480px) {
    .card {
        width: 100%; /* Adjust for mobile phones */
    }
}


