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

body {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background: url("image/plane.jpg") center/cover no-repeat fixed;
  min-height: 100vh;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 35, 102, 0.8);
  color: white;
  padding: 0px 40px 0px 10px;
  z-index: 100;
  box-sizing: border-box; 
  display: flex;
  justify-content: space-between; 
  align-items: center; 
}

.logo {
  text-decoration: none; 
}

.logo img {
  height: 80px; 
  width: auto; 
  display: block; 
  border-radius: 20px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px; 
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

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

nav a:hover {
  color: #ffd700;
}

.btn-header {
  background: white;
  color: #002366;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-header:hover {
  background: #ffd700;
  color: #222;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 43, 161, 0.5);
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #ffd700;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.btn-outline, .btn-filled {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: #002366;
}

.btn-filled {
  background: white;
  color: #002366;
}

.btn-filled:hover {
  background: #ffd700;
  color: #222;
}

.ticket-booking {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 30px;
  max-width: 1000px;
  margin: 80px auto; 
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
  color: #222;
}

.ticket-booking h2 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #002366;
}

.ticket-booking form {
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
}

.ticket-booking input,
.ticket-booking button {
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.ticket-booking input {
  flex: 1;
  min-width: 150px;
}

.ticket-booking button {
  background: #002366;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.ticket-booking button:hover {
  background: #0040a0;
}

.about-section {
  min-height: 100vh;
  background: #f9f9f9;
  color: #222;
  padding: 120px 20px 60px;
  text-align: center;
}

.about-section h1 {
  font-size: 42px;
  color: #002366;
  margin-bottom: 20px;
}

.about-intro {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

.about-details {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  font-size: 17px;
  line-height: 1.8;
}

.about-details h2 {
  color: #002366;
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 24px;
}

.about-details p {
  margin-bottom: 20px;
}

.founders {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.founder-card {
  flex: 1;
  min-width: 280px;
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-5px);
}

.founder-card h3 {
  color: #002366;
  margin-bottom: 10px;
}

.partners-section {
  background: #f0f4ff;
  padding: 80px 20px;
  text-align: center;
}

.partners-section h2 {
  font-size: 32px;
  color: #002366;
  margin-bottom: 15px;
}

.partners-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
}

.partner-card img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.services-section {
  padding: 120px 20px 60px;
  background: #f9f9f9;
  text-align: center;
  color: #222;
}

.services-section h1 {
  font-size: 42px;
  color: #002366;
  margin-bottom: 40px;
}

.services-section h2 {
  font-size: 28px;
  color: #002366;
  margin: 50px 0 25px;
}

.city-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  padding: 20px 0;
}

.city-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background-color: #fff;
}

.city-card img {
  width: 100%; 
  height: 200px; 
  object-fit: cover; 
  transition: transform 0.3s ease; 
}

.city-card h3 {
  padding: 15px;
  margin: 0;
}

.city-card:hover img {
  transform: scale(1.05); 
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.service-card h3 {
  color: #002366;
  margin-bottom: 10px;
}

.service-card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.contact-section {
  min-height: 100vh;
  background: #f9f9f9;
  color: #222;
  padding: 120px 20px 60px;
  text-align: center;
}

.contact-section h1 {
  font-size: 42px;
  color: #002366;
  margin-bottom: 20px;
}

.contact-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #002366;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.contact-form button {
  background: #002366;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #0040a0;
}

.login-section {
  min-height: 100vh;
  background: #f9f9f9;
  color: #222;
  padding: 120px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.login-box h1 {
  font-size: 32px;
  color: #002366;
  margin-bottom: 25px;
}

.login-box label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  font-weight: bold;
  color: #002366;
}

.login-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.login-box button {
  background: #002366;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
  width: 100%;
}

.login-box button:hover {
  background: #0040a0;
}

.login-box p {
  margin-top: 15px;
  font-size: 14px;
  color: #444;
}

.login-box a {
  color: #002366;
  font-weight: bold;
  text-decoration: none;
}

.login-box a:hover {
  color: #ffd700;
}

.register-section {
  min-height: 100vh;
  background: #f9f9f9;
  color: #222;
  padding: 120px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-box {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 450px;
  width: 100%;
  text-align: center;
}

.register-box h1 {
  font-size: 32px;
  color: #002366;
  margin-bottom: 25px;
}

.register-box label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  font-weight: bold;
  color: #002366;
}

.register-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.register-box button {
  background: #002366;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
  width: 100%;
}

.register-box button:hover {
  background: #0040a0;
}

.register-box p {
  margin-top: 15px;
  font-size: 14px;
  color: #444;
}

.register-box a {
  color: #002366;
  font-weight: bold;
  text-decoration: none;
}

.register-box a:hover {
  color: #ffd700;
}

footer {
  background: #002366;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

footer p {
  margin: 5px 0;
}


/* Utility & Container */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    color: #002366;
    text-align: center;
    margin-bottom: 40px;
}

.lead-text {
    font-size: 1.25rem;
    color: #444;
}

.no-list-style {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.list-item {
    margin-bottom: 8px;
    color: #444;
}

/* Index.html - Fly Smarter Section */
.fly-smarter-section {
    padding: 50px 0;
    background-color: #f8f9fa; /* Replaces bg-light */
}

.fly-smarter-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.fly-smarter-image-block {
    flex: 0 0 40%;
    max-width: 40%;
}

.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem; /* rounded-4 */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* shadow-sm */
}

.fly-smarter-text-block {
    flex: 1;
}

/* Index.html - What You Get Section */
.what-you-get-section {
    padding: 50px 0;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-card-item {
    flex: 1 1 300px;
    margin: 0;
}

.service-card-custom {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); 
    border-radius: 0.5rem; 
    overflow: hidden;
    background: white;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body-custom {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title-custom {
    color: #002366;
    margin-bottom: 0.5rem;
}

.card-text-custom {
    color: #6c757d;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Small Buttons for cards */
.btn-outline-small {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
    color: #007bff;
    margin-top: 10px;
}

.btn-filled-large {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #002366;
    color: white;
}

.btn-filled-large:hover {
    background: #0040a0;
}

.btn-filled-form {
    background: #002366;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease;
    width: 100%;
}

.btn-filled-form:hover {
    background: #0040a0;
}


/* Services.html */
.services-main {
    padding-top: 120px;
    padding-bottom: 60px;
}

.services-title {
    font-size: 42px;
    color: #002366;
    margin-bottom: 40px;
}

/* Simplified Carousel */
.city-carousel-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.city-carousel-inner {
    width: 100%;
    max-width: 1000px; 
}

.city-carousel {
    display: flex;
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); 
    border-radius: 0.5rem; 
    overflow: hidden;
    max-height: 450px;
}

.city-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.city-slide img {
    width: 100%;
    height: 450px; 
    object-fit: cover; 
    object-position: center;
}

/* Flight Classes Grid */
.flight-classes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.class-card-item {
    flex: 1 1 300px;
    max-width: 350px;
}

.class-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); 
    background: white;
    border-radius: 0.25rem;
    overflow: hidden;
}

.class-card .card-img {
    height: 200px;
    object-fit: cover;
}

.class-card .card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.class-card .card-content h3 {
    color: #002366;
    margin-bottom: 0.5rem;
}

.class-card .card-content p {
    color: #6c757d;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.btn-filled-small {
    display: block;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    background: #002366;
    color: white;
    margin-top: 10px;
}

.btn-secondary-small {
    background: #6c757d;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-services {
    text-align: center;
    padding: 15px;
    background-color: #002366;
    color: white;
}


/* Contact.html */
.contact-section {
    min-height: 100vh;
    background: #f9f9f9;
    color: #222;
    padding: 120px 20px 60px;
    text-align: center;
}

.contact-container {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.form-group-half {
    width: calc(50% - 10px);
}

.form-group-full {
    width: 100%;
}

.contact-form-custom label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #002366;
}

.contact-form-custom input,
.contact-form-custom textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 0px; 
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.contact-form-custom button {
    margin-top: 10px;
    width: 100%;
}

@media (max-width: 768px) {
    .fly-smarter-content {
        flex-direction: column;
    }
    .fly-smarter-image-block {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .form-group-half {
        width: 100%;
    }
    .card-grid {
        flex-direction: column;
        align-items: center;
    }
    .service-card-item {
        max-width: 90%;
    }
}


/* Task 1 */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 20px;
    display: block;
    text-align: left;
}
.input-error {
    border: 2px solid red !important;
}

/* Task 2 */
.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background: #e9e9e9;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #002366;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #d4d4d4;
}

.accordion-header.active {
    background: #002366;
    color: white;
}

.accordion-content {
    background: white;
    color: #444;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content p {
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 0;
}

/* Task 3 */
.popup-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 400px;
    width: 90%;
    text-align: center;
    color: #222;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.popup-content.show {
    transform: scale(1);
    opacity: 1;
}

.popup-content h2 {
    color: #002366;
    margin-bottom: 20px;
}

#popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #555;
}

.popup-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-form button {
    background: #ffd700;
    color: #002366;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.popup-form button:hover {
    background: #ccb000;
}

/* Task 4*/
.bg-changer-container {
    padding: 20px;
    background-color: #eee;
    margin-bottom: 30px;
    border-radius: 8px;
    color: #222;
}
#change-bg-btn {
    background: #002366;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease;
}
#change-bg-btn:hover {
    background: #0040a0;
}