/* =====================================================
   M.S. Tour & Travels – Corporate Landing Page CSS
   Author: Pradip Dash
   ===================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #ffffff;
  line-height: 1.6;
}

/* ---------- Links ---------- */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* ---------- Color Variables ---------- */
:root {
  --primary-color: #0f60ad;
  --secondary-color: #f8821f;
  --bg-light: #f5f9ff;
  --text-dark: #222;
  --text-light: #f8f8f8;
}

/* ---------- Header ---------- */
header {
  background-color: #fff;
  text-align: center;
  padding: 25px 0 0 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Centered logo with smaller size */
header img {
  display: block;
  margin: 0 auto 8px auto;
  max-width: 220px;
  height: auto;
}

header p {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 5px;
}

/* ---------- Navigation ---------- */
nav {
  background-color: var(--primary-color);
  padding: 10px 0;
  position: sticky;
  top: 110px; /* keeps nav below header */
  z-index: 999;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s ease;
}

nav ul li a:hover {
  color: #ffd700;
}

/* ---------- Main Content Wrapper ---------- */
.main-content {
  padding-top: 80px; /* ensures first section appears below fixed header + nav */
  padding-left: 20px;
  padding-right: 20px;
  background-color: #ffffff;
}

.privacy-policy .main-content {
  padding-top: 150px !important;
}

/* ---------- Sections ---------- */
section {
  max-width: 1100px;
  margin: 0 auto 80px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
}

.privacy-policy section {
  text-align: left !important;
  margin: 0 auto 0 !important;
}

/* Section Headings */
h1, h2 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

p {
  margin-bottom: 15px;
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
}

/* ---------- About Section ---------- */
#about {
  background-color: #ffffff;
  padding: 100px 30px;
}

#about h2 {
  position: relative;
}

#about h2::after {
  content: '';
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
  display: block;
  margin: 10px auto 0;
}

/* ---------- Contact Section ---------- */
#contact {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 90px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-info {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-info a {
  color: var(--primary-color);
  font-weight: 500;
}

.contact-button {
  background-color: var(--primary-color);
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: 30px;  
  display: inline-block;
  font-weight: 500;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #f8821f;
}

/* ---------- Location Section ---------- */
#location {
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 90px 30px;
}

.map {
  margin-top: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
footer {
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
  padding: 25px 10px;
  font-size: 0.95rem;
  margin-top: 40px;
}

footer p {
  color: #fff !important;
}

footer a {
  color: #f8821f;
  text-decoration: underline;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 992px) {
  header img {
    max-width: 200px;
  }

  .main-content {
    padding-top: 240px;
  }

  section {
    padding: 70px 20px;
  }

  .contact-info {
    text-align: center;
  }
}

@media (max-width: 768px) {
  nav ul li {
    margin: 8px 12px;
  }

  .main-content {
    padding-top: 260px;
  }

  section {
    padding: 70px 15px;
  }

  .contact-button {
    width: auto;
  }
}

@media (max-width: 480px) {
  header img {
    max-width: 160px;
  }

  header p {
    font-size: 1rem;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 10px 0;
  }

  .main-content {
    padding-top: 280px;
  }

  section {
    padding: 60px 15px;
  }
}
