* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* navbar css */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: skyblue;
    padding: 15px 30px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

/* hero section css */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 10%;
    background-color: #f5f5f5;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.hero-btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: skyblue;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s;
    text-decoration: none;
}

.hero-btn:hover {
    background-color: deepskyblue;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
}


/* services css */

.services {
    padding: 60px 10%;
    background-color: #f0f8ff;
    text-align: center;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #007acc;
}

.service-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* footer css */

footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 16px;
    position: relative;
    bottom: 0;
    width: 100%;
}



/* Projects section */
.projects {
    padding: 60px 10%;
    background-color: #f9f9f9;
    text-align: center;
}

.projects h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.project-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
    min-width: 250px;
    height: auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #007acc;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.project-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.project-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.4;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: #e6f7ff;
}



.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}