:root{
   --olive-moss: #626F47;
   --sage-green: #A4B465;
   --golden-mustard: #FFCF50;
   --soft-vanilla: #FEFAE0;
   --white: #fff;
   --light-green: #C5D89D;
   --shadow: rgba(98, 111, 71, 0.25);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.9;
    color: var(--olive-moss) ;
    background-color: var(--white);
    overflow-x: hidden;
}
/* Header And Navigation */
header{

    background: linear-gradient(135deg, var(--olive-moss) 0%, var(--sage-green) 100%);
    color: var(--soft-vanilla);
    padding: 1.5rem 0;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px var(--shadow) ;
}
.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.header-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.logo span{
    color: var(--golden-mustard);
}
nav ul{
    display: flex;
    list-style: none;
}
nav ul li{
    margin-left: 3rem;
    
}
nav ul li a{
    color: var(--soft-vanilla);
    text-decoration: none;
    font-weight: 300;
    font-size: 1.3rem;
    padding: 0.5rem 0;
    position: relative;
}
nav ul li a:hover{
    color: var(--olive-moss);
}
nav ul li a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--soft-vanilla);
    transition: width 0.3s ease;
}
nav ul li a:hover::after{
    width: 100%;
}
/* Hero Section */
.hero {
    background: linear-gradient(rgba(34, 34, 34, 0.7), rgba(34, 34, 34, 0.8)), url('https://themedialine.org/wp-content/uploads/2023/10/Em-7-e1699783455610.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 3rem;
}
.hero h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    margin-bottom: 10rem;
}.subtitle {
    font-size: 2rem;
    margin-bottom: 3rem;
    animation: fadeinup 5s linear 1s infinite;
}
@keyframes fadeinup{
    0%{
        opacity: 1;
        color: var(--soft-vanilla);
    }
    50%{
        opacity: 2;
        color: var(--sage-green);
    }
    100%{
        opacity: 3;
        color: var(--olive-moss);
    }
}
/* Intro Section */
.intro {
    padding: 5rem 0;
    text-align: center;
    max-width: 1800px;
    margin: 0 auto 4rem;
    background-color: var(--light-green);
    border-radius: 15px;
    padding: 3rem;
    box-shadow:  0 6px 15px rgba(255, 207, 80, 0.35);
}
.intro h2{
    font-size: 30px;
    color: #A4B465;
    line-height: 100px;
}
.intro p{
    color: black;
    font-size: 20px;
    line-height: 30px;
}
/* Famous Cities Section */
.famous-cities{
    margin-bottom: 8rem;
}
.section-title{
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.6rem;
    text-align: center;
    color: #A4B465;
    margin-bottom: 3rem;
    position: relative;
}
.section-title::after{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #C5D89D;
}
.famous-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.city-card{
    background-color: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    border: 1px solid var(--soft-vanilla);
}
.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(98, 111, 71, 0.25);
}
.city-image {
    height: 200px;
    background-color: var(--soft-vanilla);
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.city-card:hover .city-image {
    transform: scale(1.05);
}
.city-info{
    padding: 2rem;
}
.city-name{
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    color: black;
    margin-bottom: 2rem;
}
.city-information{
    color: black;
    font-size: 1.3rem;
    line-height: 1.6;
}
/* City Gallery */
.city-gallery{
    margin-bottom: 5rem;
    padding: 3rem 0;
    background-color: #DDF6D2;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15rem;
}
.gallery-card {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px var(--shadow);
    transition: all 0.4s ease;
    height: 500px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--soft-vanilla);
}
.gallery-card:hover {
    transform: scale(1.09);
    box-shadow: 0 15px 30px rgba(98, 111, 71, 0.25);
}
.gallery-image{
    height: 450px;
    background-size: cover;
    background-position: center;
    transition: height 1s ease;
}
.gallery-card:hover .gallery-image{
    height: 110px;
}
.gallery-info{
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.gallery-name{
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    line-height: 4rem;
    color: black;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}
.gallery-information{
    color: #626F47;
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.quote{
    font-style: italic;
    color: #6CA651;
    font-size: 1.2rem;
    padding-top: 1rem;
    border-top: 2px dashed #6CA651;
}
.gallery-card:hover .quote{
    animation: raise 3s linear 0s infinite;
}
@keyframes raise{
    0%{
        opacity: 1;
        transform: 0px;
        font-size: 1.2rem;
        font-family: cursive;
    }
    100%{
        opacity: 1;
        transform: 20px;
        font-size: 1.3rem;
        font-family: cursive;
    }
}
/* City Of The Day */
.city-of-the-day{
    margin-bottom: 8rem;
}
.featured-city{
    display: flex;
    flex-wrap: wrap;
    background-color: #D9E9CF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(98, 111, 71, 0.25);
    border: 2px solid #C5D89D;
}
.featured-city:hover{
    animation: up 2s linear 0s infinite;
}
@keyframes up{
    0%{
        transform: 0px;
    }
    100%{
        transform: translateY(-15px);
    }
}
.fetured-image{
    flex: 1;
    min-width: 300px;
    height: 350px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease
}
.featured-city:hover .featured-image {
    transform: scale(1.03);
}
.featured-content {
    flex: 1;
    min-width: 300px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.2rem;
    color: black;
}
#para{
    font-size: 1.5rem;
    padding: 3rem;
    display: flex;
    color: black;
    
}
.featured-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3rem;
    color: black;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.featured-name::after {
    content: 'City of the Day';
    position: absolute;
    top: -25px;
    right: 0;
    background-color: #A4B465;
    color: #FEFAE0;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-family: cursive;
}
.featured-facts {
    margin-bottom: 1.5rem;
}

.fact-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.fact-icon {
    color: black;
    margin-right: 0.8rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}
/* Submit A City Section */
.submit-city {
    background-color: #fff;
    padding: 4rem 0;
    margin-bottom: 3rem;
}
 .form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #FFF085;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(255, 109, 31, 0.1);
    border: 1px solid #FFF085;
}
 .form-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.2rem;
    color: darkblue;
    text-align: center;
    margin-bottom: 3rem;
}
 .form-group {
    margin-bottom: 1.8rem;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.form-row .form-group {
    flex: 1;
    min-width: 300px;
}
label {
    display: block;
    margin-bottom: 0.1rem;
    font-weight: 500;
    color: darkblue;
}
input, textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #FFF085;
    border-radius: 5px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background-color: #FEFAE0;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #FFF085;
    box-shadow: 0 0 0 3px rgba(255, 212, 29, 1);
    background-color: #FEFAE0;
}
textarea {
    min-height: 120px;
    resize: vertical;
}
.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to right, #FFCF50, #FFD41D);
    color: darkblue;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-family: 'Times New Roman', Times, serif;
}
.submit-btn:hover {
    background: linear-gradient(to right, #FFCF50, #FFD41D);
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(255, 212, 29, 1);
}
  /* Success message (shown when form is submitted) */
.form-message {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 212, 29, 1);
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 4px solid #FFD41D;
    animation: fadeIn 0.5s linear 0s infinite;
}
@keyframes fadeIn{
    0%{
        opacity: 1;
    }
    100%{
        opacity: 2;
    
    }
}
.form-message.show {
    display: block;
}
.form-message i {
    color: #FFD41D;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.form-message h3 {
    color: darkblue;
    margin-bottom: 0.5rem;
}
/* Footer */
footer {
    background-color: #FEFAE0;
    color: black;
    padding: 2.5rem 0;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-logo {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.first{
    color: #FF9B00;
}
.second{
    color: #FFE100;
}
.third{
    color: #FFC900;
}
.fourth{
    color: #EBE389;
}
.me{
    color: #EF88AD;
}
.x-com{
    color: #F16767;
}
.github{
    color: #E5989B;
}









