/* ===== Global Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #111;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  color: #fff;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo a {
  text-decoration: none;
  font-size: 1.8rem;
  color: #00c4ff;
  font-weight: 700;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #00c4ff;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  header nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #111;
    position: absolute;
    top: 60px;
    left: 0;
  }

  header nav ul.active {
    display: flex;
  }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(to right, #00c4ff, #38bdf8);
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero .cta {
  background: #fff;
  color: #111;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.hero .cta:hover {
  background: #e0f7ff;
}

/* Blog Listing */
.blog-listing {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-listing h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.blogs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

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

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

.blog-card h3 {
  font-size: 1.2rem;
  margin: 15px;
}

.blog-card p {
  margin: 0 15px 15px;
  font-size: 0.95rem;
  color: #333;
}

.blog-card .read-more a {
  text-decoration: none;
  color: #38bdf8;
  font-weight: 600;
  margin: 0 15px 15px;
  display: inline-block;
}

.blog-card .read-more a:hover {
  color: #00a1d6;
}

/* Footer */
footer {
  text-align: center;
  padding: 25px 20px;
  background: #111;
  color: #fff;
  margin-top: 40px;
}
/* Pagination */
.pagination {
  text-align: center;
  margin: 40px 0;
}

.pagination a {
  color: #38bdf8;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 600;
}

.pagination a.active {
  color: #111;
  font-weight: bold;
}

.pagination a:hover {
  color: #00a1d6;
}
/* Hero Section for About */
.hero.about-hero {
  background: url('images/about-hero.jpg') center/cover no-repeat;
  color: #38bdf8;
  padding: 120px 20px 80px;
  text-align: center;
}

.hero.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero.about-hero p {
  font-size: 1.3rem;
}

/* About Content */
.about-content {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}

.about-content h2 {
  font-size: 2rem;
  margin-top: 40px;
  color: #38bdf8;
}

.about-content p {
  line-height: 1.7;
  margin: 12px 0 24px;
  color: #111;
}

.about-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.about-content ul li {
  margin-bottom: 10px;
}

.about-content .cta a {
  margin-top: 20px;
  background: #38bdf8;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
}

.about-content .cta a:hover {
  background: #0479d9;
}
/* Hero Section for Contact */
.hero.contact-hero {
  background: url('images/contact-hero.jpg') center/cover no-repeat;
  color: #38bdf8;
  padding: 120px 20px 80px;
  text-align: center;
}

.hero.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero.contact-hero p {
  font-size: 1.3rem;
}

/* Contact Form Section */
.contact-form-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}

.contact-form-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #38bdf8;
}

.contact-form-section p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-form-section form {
  display: flex;
  flex-direction: column;
}

.contact-form-section label {
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form-section input,
.contact-form-section textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form-section button {
  padding: 12px 20px;
  background: #38bdf8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form-section button:hover {
  background: #0479d9;
}

/* Contact Info Section */
.contact-info {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: left;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #38bdf8;
}

.contact-info a {
  color: #38bdf8;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}
/* ===== Blog Details Common Styles ===== */
.blog-details1,
.blog-details2,
.blog-details3 {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.blog-details1 h1,
.blog-details2 h1,
.blog-details3 h1 {
  font-size: 2.5rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #111;
}

.blog-details1 .meta,
.blog-details2 .meta,
.blog-details3 .meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

.blog-details1 img,
.blog-details2 img,
.blog-details3 img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
}

.blog-details1 .content,
.blog-details2 .content,
.blog-details3 .content {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

.blog-details1 .content h2,
.blog-details2 .content h2,
.blog-details3 .content h2 {
  font-size: 1.6rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #38bdf8;
}

.blog-details1 .content h3,
.blog-details2 .content h3,
.blog-details3 .content h3 {
  font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #111;
}

.blog-details1 .content p,
.blog-details2 .content p,
.blog-details3 .content p {
  margin-bottom: 15px;
}

.blog-details1 .content ul,
.blog-details2 .content ul,
.blog-details3 .content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.blog-details1 .content ul li,
.blog-details2 .content ul li,
.blog-details3 .content ul li {
  margin-bottom: 8px;
  color: #444;
}

.blog-details1 .content a,
.blog-details2 .content a,
.blog-details3 .content a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-details1 .content a:hover,
.blog-details2 .content a:hover,
.blog-details3 .content a:hover {
  color: #00a1d6;
}

.blog-details1 .back-btn,
.blog-details2 .back-btn,
.blog-details3 .back-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background: #38bdf8;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.blog-details1 .back-btn:hover,
.blog-details2 .back-btn:hover,
.blog-details3 .back-btn:hover {
  background: #00a1d6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-details1 h1,
  .blog-details2 h1,
  .blog-details3 h1 {
    font-size: 2rem;
  }

  .blog-details1 .content h2,
  .blog-details2 .content h2,
  .blog-details3 .content h2 {
    font-size: 1.4rem;
  }
}
