/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #52E5E7, #130CB7, black);
    color: #333;
    scroll-behavior: smooth;
    width: 100%;
}

/* Navigation Bar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: black;
    color: white;
    padding: 10px 10%;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    position: relative;
}

nav ul .dropdown {
    position: relative;
}

nav ul .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 100;
}

nav ul .dropdown-menu li {
    padding: 10px;
}

nav ul .dropdown-menu li a {
    color: #333;
    text-decoration: none;
    display: block;
}

nav ul .dropdown:hover .dropdown-menu {
    display: block;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #E63946;
}

.nofloat {
    text-align: center;
}

/* Hero Section */
.logo {
    height: auto;
    width: 155px;
    float: left;
    margin-right: 20px;
    margin-top: 10px;
}

.hero {
    margin-top: 50px;
    text-align: left;
    padding: 30px 10%;
    background: ;
    backdrop-filter: blur(10px);
    color: white;
    position: relative;
}

/* Services */
.services {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 25px 10%;
    flex-wrap: wrap;
    border-radius: 20px;
    margin: 10px 10px 10px 10px;
    color: white;
}

.service-card {
    background: white;
    padding: 20px;
    text-align: center;
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    color: black;
}

.service-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #5EFCE8, #736EFE);
    color: black;
    size: 20px;
}

/* Testimonials */
.testimonials {
    padding: 50px 10%;
    border-radius: 20px;
    margin: 20px 10px 20px 10px;
    color: white;
}

.testimonial {
    display: none;
    font-size: 1.2em;
    font-style: italic;
    background: #F8F9FA;
    padding: 20px;
    border-radius: 10px;
    color: #2D2D2D;
    text-align: center;
}

.testimonial.active {
    display: block;
    animation: fade 1s ease-in-out;
}

.portfolio {
    border-radius: 20px;
    padding: 15px;
    margin: 20px 10px 20px 10px;
    color: white;
}

.portfolio-grid {
    display: flex;
}

.portfolio-item {
    background-color: white;
    padding: 30px 1px;
    margin: 0px 10px;
    text-align: center;
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
}

.project {
    text-decoration: none;
}

.sendDm {
    color: white;
    border-radius: 20px;
    margin: 20px 10px;
    align-items: center;
    display: flex;
    flex-direction: column;
}

#name {
    border-radius: 10px;
    padding: 7px 3px;
    width: 300px;
    border: none;
}

#message {
    border-radius: 10px;
    width: 300px;
    padding: 7px 3px;
}

#sendBtn {
    border-radius: 12px;
    padding: 10px 20px;
}
#sendBtn:hover {
    padding: 12px 22px;
}

/*footer*/
/*icons*/
.icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.icon:hover {
    transform: translateY(-5px);
    height: 50px;
    width: 50px;
}

.icon {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    margin: 0px 15px 0px 15px;
    font-size: 40px;
    color: cyan;
    animation: wave 1.5s infinite ease-in-out;
}

/* Apply a delay to each icon for a wave effect */
.icon1 { animation-delay: 0s; }
.icon2 { animation-delay: 0.2s; }
.icon3 { animation-delay: 0.4s; }
.icon4 { animation-delay: 0.6s; }

@keyframes wave {
     0%, 100% { transform: translateY(0); }
     50% { transform:  translateY(15px); }
}

footer {
    text-align: center;
    padding: 20px;
    color: grey;
}

.rights {
    margin-top: 30px;
}
