html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100%;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}



/* NAVIGATION BAR */
.main-nav {
    height: 80px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 2rem;
    background: linear-gradient(90deg, #ffffff, #f0f3ff, #fbe9e7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}




.nav-left {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10rem;
}

.nav-center {
    grid-column: 2;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.nav-right {
    grid-column: 3;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}



.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    margin-right: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1062e4;
}

.nav-center {
    display: flex;
    gap: 2rem;
}

.nav-center a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-center a:hover {
    color: #ee3e38;
}



.nav-right {
    display: flex;
    gap: 1rem;
}

.hide-nav-buttons a {
    display: none;
}


.nav-login {
    background-color: white;
    color: #111;
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    border: 1px solid #ccc;
    font-weight: bold;
    text-decoration: none;
}

.nav-signup {
    background-color: #1062e4;
    color: white;
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    font-weight: bold;
    text-decoration: none;
}

/* NAV BUTTONS */
.nav-login,
.nav-signup {
    padding: 0.6rem 1.4rem;
    font-weight: bold;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-login {
    background-color: #fff;
    color: #0b57d0;
    border: 2px solid #0b57d0;
}

.nav-login:hover {
    background-color: #e8f0fe;
    color: #0b57d0;
}

.nav-signup {
    background-color: #0b57d0;
    color: #fff;
    border: none;
}

.nav-signup:hover {
    background-color: #093fb2;
    color: #fff;
}

/* ACTIVE PAGE HIGHLIGHT */
.nav-center a.active {
    color: #ee3e38;
    font-weight: bold;
}

/* NAVIGATION LINK HOVER EFFECT */
.nav-center a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-center a:hover {
    color: #ee3e38;
}

/* TRAVACSER/TRAVACSEE BUTTONS */
.btn {
    padding: 1rem 1.5rem;
    border-radius: 12px; /* Match curvature */
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 200px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.user-btn {
    background-color: #1062e4;
    color: white;
}

.user-btn:hover {
    background-color: #0b57d0;
    color: #fff;
}

.guide-btn {
    background-color: #f55858;
    color: white;
}

.guide-btn:hover {
    background-color: #e03d3d;
    color: #fff;
}

/* HERO SECTION */
/* .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fef4f4, #e8ecfb);
} */

.hero-section {
    height: calc(100vh - 80px);  /* adjust 80px to match your navbar height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    background-image: url("../static/images/travacs-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    background-color: rgba(255, 255, 255, 0.85);  /* white with 85% opacity */
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin-left: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-text-wrapper {
  background-color: rgba(255, 255, 255, 0.85); /* Translucent white background */
  border-radius: 12px;
  padding: 2rem;
  max-width: 650px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}



.hero-quote {
    font-size: 3rem;
    font-weight: 800;
    color: #ee3e38;
    margin-bottom: 1rem;
    line-height: 1.2;
}



.hero-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

.text-content {
    flex: 1;
    max-width: 600px;
    padding-top: 1rem;
    margin-top: -2rem; /* Move content higher */
}

.text-content h2 {
    font-size: 1.3rem; /* Slightly smaller quote */
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ee3e38;
}

.text-content h1.brand {
    font-size: 6rem; /* Bigger TravAcs */
    font-weight: 900;
    margin: 0;
    color: #0b57d0;
}

.text-content .subtagline {
    font-size: 0.85rem;
    font-weight: 500;
    color: #334cad;
    margin-top: 0.3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}


.text-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: 90%;  /* Narrow the paragraph width */
}


.button-group {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 200px;
}

.user-btn {
    background-color: #1062e4;
    color: white;
}

.guide-btn {
    background-color: #f55858;
    color: white;
}

/* IMAGE SECTION */
.image-content {
    flex: 1;
    display: flex;
    justify-content:center;
    max-width: 500px;
}

.image-content img {
    max-width: 100%;
    height: auto;
}

/* FOOTER */
.main-footer {
    background: #000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    font-size: 0.95rem;
    font-weight: 500;
    border-top: 1px solid #222;
}

.contact-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fef4f4, #e8ecfb);
}

.contact-container {
    background: #ffffff;
    padding: 2rem 3rem;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-container h1 {
    margin-bottom: 1rem;
    color: #0b57d0;
}

.contact-intro {
    margin-bottom: 2rem;
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.form-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

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

.contact-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    outline-color: #1062e4;
}

.contact-form textarea {
    resize: vertical;
}

.submit-btn {
    margin-top: 1rem;
    background-color: #1062e4;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0b4bc3;
}

.success-message {
    color: green;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-modern-section {
    background-color: #f9f9f9;  /* Match hero section */
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.contact-modern-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-text {
    flex: 1;
    min-width: 300px;
    font-family: 'Poppins', sans-serif;
}

.contact-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: #1c1c1c;
    margin-bottom: 20px;
}

.contact-text h1 .light {
    font-weight: 300;
    color: #1062e4;
}

.contact-text h1 .bold {
    font-weight: 700;
    color: #1062e4;
}

.contact-text p {
    font-size: 1.1rem;
    color: #333;
    margin: 12px 0;
}

.contact-icons {
    margin-top: 30px;
}

.contact-icons a {
    display: inline-block;
    margin-right: 15px;
    border: 2px solid #1062e4;
    padding: 10px;
    border-radius: 4px;
    color: #1062e4;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.contact-icons a:hover {
    background: #1062e4;
    color: #fff;
}

.contact-form-modern {
    flex: 1;
    min-width: 300px;
}

.contact-form-modern h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #1c1c1c;
}

.contact-form-modern form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-modern .double {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.contact-form-modern .double input {
    flex: 1;
}


.contact-form-modern input,
.contact-form-modern textarea {
    border: 2px solid #1062e4;
    background-color: #f9f9f9;  /* same as hero */
    color: #1c1c1c;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
    flex: 1;
}

.contact-form-modern textarea {
    resize: vertical;
}

.contact-form-modern button {
    padding: 14px 22px;
    background-color: #1062e4;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-start;
}


/* JOIN PAGE */
.join-hero-section {
    background: linear-gradient(135deg, #f4f8fd, #e8f0fe);
    padding: 4rem 2rem 10rem 2rem; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
}



.join-container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.join-heading {
    font-size: 2.5rem;
    color: #0b57d0;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.join-subtext {
    font-size: 1.1rem;
    color: #5f6368;
    margin-bottom: 3rem;
}

.join-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.join-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 420px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.join-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.join-card h2 {
    font-size: 1.4rem;
    color: #0b57d0;
    margin-bottom: 0.75rem;
}

.join-card p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.join-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0b57d0;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.join-button:hover {
    background-color: #093fb2;
}

/* Responsive */
@media (max-width: 768px) {
    .join-heading {
        font-size: 2rem;
    }

    .join-card h2 {
        font-size: 1.2rem;
    }

    .join-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
  .contact-form-modern .double {
    flex-direction: column;
  }
}



.about-clean-split {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    padding: 4rem 2rem;
    background-color: #ffffff;
    max-width: 1300px;
    margin: 0 auto;
    gap: 3rem;
}

.about-text-block {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #0b57d0;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #111;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.intro-paragraph {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1rem;
}

.detailed-paragraph {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #0b57d0;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.about-cta-button:hover {
    background-color: #093fb2;
}

.about-image-block {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-block img {
    max-width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.about-section {
    background: linear-gradient(135deg, #fef4f4, #e8ecfb);
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
}

.about-container {
    background-color: white;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
}

.about-container h2 {
    font-size: 1.6rem;
    color: #0b57d0;
    margin-bottom: 1rem;
}

.about-container h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    color: #222;
}

.about-container h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    color: #333;
}

.about-container ol {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.about-container li {
    margin-bottom: 0.75rem;
}

.follow-note {
    margin-top: 2rem;
    text-align: center;
    font-weight: 600;
    color: #444;
}

/* About Section Layout */
.about-layout {
    padding: 4rem 2rem;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem; 
}

/* Top portion: text and image side-by-side */
.about-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* "About Us" label */
.section-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #0b57d0;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Main heading */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Left text column */
.about-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    max-width: 50%;
}

/* Right image column */
.about-img {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img img {
    max-width: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.about-bottom h2 {
    font-size: 1.5rem;
    color: #0b57d0;
    margin-bottom: 1rem;
}

.about-bottom p,
.about-bottom ul,
.about-bottom ol {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-bottom ol {
    padding-left: 1.5rem;
}

.about-bottom li {
    margin-bottom: 0.8rem;
}

/* Final updates note */
.updates-note {
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .about-top {
        flex-direction: column;
    }

    .about-text,
    .about-img {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.6rem;
        text-align: left;
    }

    .about-text {
        font-size: 1rem;
    }

    .about-img img {
        width: 100%;
        height: auto;
    }
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  color: #0b57d0;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ee3e38;
}

/* BLOG PAGE STYLES */
.blog-section {
    background: linear-gradient(135deg, #fef4f4, #e8ecfb);
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
}

.blog-container {
    max-width: 1000px;
    width: 100%;
    background: #fff;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.blog-container h1 {
    color: #0b57d0;
    text-align: center;
    margin-bottom: 0.5rem;
}

.blog-intro {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blog-post {
    background: #fafafa;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.blog-post h2 {
    color: #1062e4;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.post-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
}

.blog-post p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.likes {
    font-weight: bold;
    color: #0b57d0;
    margin-top: 0.5rem;
}

.comments {
    margin-top: auto;
}

.comments h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.comments ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.5rem;
}

.comments li {
    background: #f1f1f1;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.comment-form textarea {
    width: 100%;
    resize: vertical;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
}

.comment-form button,
.like-form button {
    background-color: #0b57d0;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form button:hover,
.like-form button:hover {
    background-color: #093fb2;
}

.like-form .liked {
    background-color: #dc3545;
}

.like-form .liked:hover {
    background-color: #bb2d3b;
}

.error-message {
    color: #dc3545;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

