:root {
  --navy: #0b1f3a;
  --gold: #c9a227;
  --gold-dark: #a88416;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #ffffff;
  --soft: #f8fafc;  /* Changed from #0b1f3a to a light color for better contrast */
  --border: #e6e8ee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* About Page */
.hero-about { 
  background: linear-gradient(135deg, var(--navy) 0%, #1d4ed8 100%); /* Using navy variable */
  color: white;
  padding: 80px 0;
}

.about-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 4rem; 
  align-items: center; 
}

.team-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 2rem; 
}

.team-card { 
  text-align: center; 
  padding: 2rem; 
  background: white; 
  border-radius: 20px; 
  box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
}

.team-avatar { 
  width: 80px; 
  height: 80px; 
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); /* Using gold variables */
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.5rem; 
  font-weight: bold; 
  color: var(--navy); 
  margin: 0 auto 1rem; 
}

/* Services Page */
.services-full { 
  padding: 6rem 0; 
}

.service-category { 
  margin-bottom: 4rem; 
}

.service-category h2 { 
  font-size: 2.5rem; 
  margin-bottom: 2rem; 
  color: var(--navy); /* Using navy variable */
}

.service-item { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 1.5rem; 
  background: var(--soft); /* Using soft variable */
  border-radius: 12px; 
  margin-bottom: 1rem; 
}

.service-price { 
  background: var(--gold); /* Using gold variable */
  color: var(--navy); /* Using navy variable */
  padding: 0.5rem 1rem; 
  border-radius: 25px; 
  font-weight: 600; 
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: 0 auto; /* Fixed from 'auto' to '0 auto' */
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar .nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  transition: all 0.2s ease; /* More specific transition */
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(11, 31, 58, 0.05); /* Light navy background */
  color: var(--navy);
}

.menu-btn {
  display: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  background: linear-gradient(120deg, rgba(11, 31, 58, 0.96), rgba(11, 31, 58, 0.75)),
    url("assets/hero.jpg") center/cover no-repeat;
  color: white;
  padding: 95px 0;
}

.hero .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero p {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 22px;
}

/* Buttons */
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent; /* Added for consistency */
}

.btn.primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn.primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}

.btn.outline {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: white;
  background: transparent;
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 75px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 38px;
}

.section-title h2 {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--navy);
}

.section-title p {
  color: var(--muted);
  font-size: 15px;
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  background: white;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold); /* Changed to gold on hover */
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--navy);
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 10px;
  background: #fff7dd;
  border: 1px solid var(--gold); /* Using gold variable */
  color: var(--gold-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

/* CTA */
.cta {
  background: var(--soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta .cta-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: 26px;
  color: var(--navy);
}

.cta p {
  color: var(--muted);
}

/* Footer */
.footer {
  background: var(--navy); /* Using navy variable instead of hardcoded color */
  color: white;
  padding: 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--gold); /* Gold hover effect for footer links */
}

.footer h3 {
  margin-bottom: 10px;
  color: white;
  font-size: 18px;
}

.copy {
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center; /* Added for better appearance */
}

/* Forms */
form {
  display: grid;
  gap: 12px;
}

input, textarea, select {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  outline: none;
  font-size: 14px;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

button {
  border: none;
  cursor: pointer;
  background: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    right: 5%;
    top: 60px;
    width: 220px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }

  .nav-links.show {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
  
  .service-item {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Small screens */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .btn-row {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* WhatsApp button style */
.btn.whatsapp {
  background: #25D366;  /* WhatsApp green */
  color: white;
  border: 2px solid #25D366;
}

.btn.whatsapp:hover {
  background: #128C7E;  /* Darker WhatsApp green */
  border-color: #128C7E;
  transform: translateY(-2px);
}

/* For CTA section specifically */
.cta .btn.whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
/* Services Page Enhancements */

.service-category {
  margin-bottom: 60px;
}

.service-category h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card ul {
  margin-top: auto;
  padding-top: 20px;
}

.service-card li {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card li:before {
  content: "✓";
  color: var(--gold);
  font-weight: bold;
  margin-right: 8px;
}

.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1e40af 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease;
}

.page-header p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.1s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 36px;
  }
  
  .service-category h2 {
    font-size: 28px;
  }
}
/* Contact Page Enhancements */

.contact-info-card {
  text-align: center;
  transition: transform 0.3s ease;
}

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

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
}

.form-group {
  margin-bottom: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Form status messages */
.form-status {
  padding: 12px;
  border-radius: 8px;
  margin-top: 15px;
  display: none;
}

.form-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-item {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.faq-item h4 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 16px;
}

.faq-item p {
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  [style*="grid-template-columns: 1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
  }
}
/* Blog Page Styles */

.blog-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-image {
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.category-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.category-filter a {
  padding: 8px 20px;
  border-radius: 25px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.category-filter a:hover,
.category-filter a.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 50px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .featured-post {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .blog-card {
    margin-bottom: 20px;
  }
}

/* Blog meta information */
.blog-meta {
  display: flex;
  gap: 15px;
  color: var(--muted);
  font-size: 13px;
  margin: 15px 0;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Reading time badge */
.read-time {
  background: var(--soft);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--muted);
}
/* About Page Enhancements */

.hero-about {
  background: linear-gradient(135deg, var(--navy) 0%, #1d4ed8 100%);
  color: white;
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 40px;
}

.team-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.team-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--navy);
  margin: 0 auto 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

.testimonial-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-rating {
  color: var(--gold);
  margin-bottom: 15px;
}

.testimonial-text {
  color: var(--muted);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--navy);
}

.author-info h4 {
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 4px;
}

.author-info p {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}
/* Blog Page Enhanced Styles */

.read-more-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease;
}

.read-more-link:hover {
  gap: 8px;
  color: var(--gold-dark);
}

.blog-card {
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.blog-meta {
  display: flex;
  gap: 15px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.category-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-filter a {
  padding: 8px 20px;
  border-radius: 25px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
}

.category-filter a:hover,
.category-filter a.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.pagination-btn, .page-num {
  padding: 8px 15px;
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled),
.page-num:hover:not(.active) {
  background: var(--soft);
  border-color: var(--gold);
}

.pagination-btn:disabled,
.page-num.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  cursor: default;
}

.page-num {
  min-width: 40px;
}

.featured-post-card {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 20px;
  overflow: hidden;
}

#loadMoreBtn {
  transition: all 0.3s ease;
  padding: 12px 40px;
}

#loadMoreBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 162, 39, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .featured-post-card {
    grid-template-columns: 1fr !important;
  }
  
  .featured-post-card div:first-child {
    padding: 30px !important;
  }
  
  .pagination-controls {
    flex-direction: column;
    align-items: center;
  }
  
  .page-numbers {
    order: -1;
    margin-bottom: 10px;
  }
  
  .category-filter {
    gap: 8px;
  }
  
  .category-filter a {
    padding: 6px 15px;
    font-size: 13px;
  }
}

/* Newsletter Form */
#newsletterForm {
  max-width: 500px;
  margin: 0 auto;
}

#newsletterForm input {
  flex: 1;
  padding: 15px;
  border-radius: 30px;
  border: none;
}

#newsletterForm button {
  padding: 15px 30px;
  border-radius: 30px;
  white-space: nowrap;
}

@media (max-width: 500px) {
  #newsletterForm {
    flex-direction: column;
  }
  
  #newsletterForm button {
    width: 100%;
  }
}
/* Utility classes - optional but helpful */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.bg-soft { background: var(--soft); }
