* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}
body {
  font-family: 'Roboto', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}
/* Header Styles */
.website-header {
  background-color: #C6E2FA;
  color: black;
  text-align: center;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 0px;
}

.website-name {
  margin: 0;
  font-size: 3.2em;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.topnav {
            background-color: #333;
            overflow: hidden;
            position: relative;
        }

        .topnav a {
            float: left;
            display: block;
            color: #f2f2f2;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
            font-size: 17px;
            transition: background-color 0.3s, color 0.3s;
        }

        .topnav a:hover {
            background-color: #ddd;
            color: black;
        }

        .topnav a.active {
            background-color: #04AA6D;
            color: white;
        }

        /* Hamburger Icon */
        .topnav .icon {
            display: none;
            float: right;
            font-size: 24px;
            cursor: pointer;
            padding: 14px 16px;
            color: #f2f2f2;
        }

        /* Responsive styles for mobile */
        @media screen and (max-width: 768px) {
            .topnav a:not(.icon) {
                display: none;
            }
            
            .topnav a.icon {
                float: right;
                display: block;
            }
            
            .topnav.responsive {
                position: relative;
            }
            
            .topnav.responsive .icon {
                position: absolute;
                right: 0;
                top: 0;
            }
            
            .topnav.responsive a {
                float: none;
                display: block;
                text-align: left;
            }
        }
/* Search Section Wrapper */
.search {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px 10px;
    box-sizing: border-box;
}

/* Search Form as pill */
.search-form {
    width: 100%;
    max-width: 650px;
    display: flex;
    align-items: center;
    gap: 0;
    background: #ffffff;
    border-radius: 999px; /* pill shape */
    border: 1px solid #d9e2ec;
    padding: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    position: relative;
}

/* 🔍 Icon inside pill (left side) */
.search-form::before {
    content: "🔍";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.7;
    pointer-events: none;
}

/* Text Input */
.search-form input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px 12px 46px; /* left padding for icon space */
    font-size: 15px;
    outline: none;
    border-radius: 999px;
}

.search-form input[type="text"]::placeholder {
    color: #9fb3c8;
}

/* Submit Button – pill segment */
.search-form input[type="submit"] {
    border: none;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5cb85c, #00b7ff); /* green + sky blue */
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.search-form input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 183, 255, 0.35);
    opacity: 0.95;
}

/* Focus state for accessibility */
.search-form:focus-within {
    border-color: #5cb85c;
    box-shadow: 0 0 0 2px rgba(92, 184, 92, 0.15);
}

/* 📱 Mobile Styles */
@media (max-width: 640px) {

    .search {
        padding: 10px;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
        border-radius: 18px;
        padding: 10px 10px 12px;
    }

    .search-form::before {
        left: 16px;
        top: 26px; /* adjust icon position */
    }

    .search-form input[type="text"] {
        width: 100%;
        padding: 13px 14px 13px 44px;
        font-size: 16px;
        border-radius: 999px;
    }

    .search-form input[type="submit"] {
        width: 100%;
        margin-top: 8px;
        font-size: 16px;
        padding: 12px 20px;
        border-radius: 999px;
    }
}

@media (max-width: 768px) {

  /* Header */
  .website-name {
    font-size: 2em;
    letter-spacing: 1px;
  }

 }