/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #1f1f1f;
}

/* Navigation */
nav {
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
}

nav ul {
    display: flex;
    gap: 15px;
    align-items: center;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    /* font-size: 16px; */
    color: #555;
    transition: border-bottom 0.3s ease;
}

nav ul li a:hover {
    border-bottom: 1px solid #555;
}

.icon {
    color: gray;
    font-size: 18px;
    padding: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.icon:hover {
    background-color: #e8e8e8;
    border-radius: 50%;
    cursor: pointer;
    transform: scale(1.05);
}

.sign-in {
    padding: 8px 14px;
    background-color: #0b57d0;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.sign-in:hover {
    background-color: #004aad;
}

/* Main Container */
main{
    flex: 1;
}
.container {
    margin-top: 80px;
    /* margin-bottom: 150px; */
    text-align: center;
}

.google-img img {
    width: 380px;
    margin-bottom: -30px;
}

/* Search Box */
.input-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 550px;
    padding: 12px 20px;
    border: 1px solid #e0dfdf;
    border-radius: 30px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    background-color: white;
    transition: box-shadow 0.3s ease;
}

.input-field:hover {
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
}

.input-field input {
    border: none;
    outline: none;
    font-size: 18px;
    flex: 1;
    margin: 0 10px;
    background: transparent;
}

.search-icon {
    color: gray;
    cursor: pointer;
}

.right-icon {
    color: #3f3f3f;
    font-size: 16px;
}

.fa-microphone, .fa-images {
    margin-left: 12px;
    cursor: pointer;
}

/* Buttons */
.search-lucky-btn {
    margin-top: 20px;
}

.search-lucky-btn button {
    margin: 0 8px;
    padding: 10px 18px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #f1f1f1;
    color: #3f3f3f;
    cursor: pointer;
    transition: box-shadow 0.2s ease, background-color 0.3s ease;
}

.search-lucky-btn button:hover {
    background-color: #e8e8e8;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
.search-lucky-btn a{
    text-decoration: none;
    color: #3f3f3f;
}

/* Extra Language Link */
.extra {
    margin-top: 20px;
    font-size: 14px;
    color: #5f6368;
}

.extra a {
    color: #1a73e8;
    text-decoration: none;
}

.extra a:hover {
    text-decoration: underline;
}

/* Footer */

footer {
    margin-top: 100px;
    font-size: 14px;
    color: #5f6368;
    background-color: #f2f2f2;
    padding: 10px 0;
}

.country {
    font-size: 16px;
    padding: 10px 20px;
}

.border{
    border-bottom: 1px solid #d6d5d5;
}

.footer-items {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.footer-items ul {
    display: flex;
    gap: 20px;
    list-style: none;
}


.footer-items ul li a {
    text-decoration: none;
    color: #5f6368;
    transition: border-bottom 0.3s ease;
}

.footer-items ul li a:hover {
    border-bottom: 1px solid #5f6368;
}

/* google advance search css start here */

.advanced-navigation-bar {
    display: flex;
    justify-content: space-between; 
}

.logo img{
    width: 100px;
    cursor: pointer;
}

.advanced-search-head {
    margin: 5px 0 20px 50px;
    font-size: 20px;
    color: #d00909;
}


.advance-container {
    width: 60%;
    margin-left: 20px;
}


.clue-of-the-form {
    margin: 20px 0 10px 0;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 20px;
  }

  .form-inputs {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px 20px;
    align-items: start;
    outline: none;
  }

  .form-inputs label {
    margin-top: 15px;
  }

  .form-inputs input[type="text"] {
    width: 100%;
    padding: 6px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .form-inputs input{
    outline: none;
  }
  .form-inputs input:focus{
    border: 1px solid #4285f4;;
  }

  .form-inputs small {
    grid-column: 2 / 3;
    margin-bottom: 10px;
    color: #555;
  }

  .range-wrapper {
    display: flex;
    gap: 10px;
  }

  button[type="submit"] {
    grid-column: 2 / 3;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4285f4;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  button[type="submit"]:hover {
    background-color: #3367d6;
  }