/* ===== GLOBAL THEME ===== */
:root {
  --primary: #3498db;       /* Main brand color */
  --secondary: #2c3e50;     /* Dark accent color */
  --accent: #2980b9;        /* Vibrant accent */
  --dark: #34495e;          /* Dark text/background */
  --light: #ecf0f1;         /* Light background */
  --gray: #bdc3c7;          /* Neutral gray */
  --success: #27ae60;       /* Success color */
  
  --transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursors */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.cursor.active {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: var(--accent);
}

.cursor-follower.active {
  width: 60px;
  height: 60px;
  border-color: var(--primary);
}

/* Navbar */
nav {
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgb(255, 255, 255);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color:white;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  color: rgb(255, 255, 255);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2073&q=80') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeInUp 1.4s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: var(--accent);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Blog Section */
.blog-container {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 3px;
  background: var(--primary);
  bottom: -10px;
  left: 15%;
  border-radius: 3px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-img {
  height: 250px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  display: block;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
  transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
  color: var(--primary);
}

.blog-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.read-more::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

.tag {
  display: inline-block;
  background-color: var(--light);
  color: var(--secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Featured Post */
.featured-post {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 3rem;
}

.featured-post .blog-img {
  height: 100%;
}

.featured-post .blog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post .blog-title {
  font-size: 2rem;
}

/* Newsletter */
.newsletter {
  background-color: var(--secondary);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
  animation: rotate 15s linear infinite;
  z-index: 0;
}

.newsletter-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form button {
  padding: 0 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 0 50px 50px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--accent);
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: white;
  padding: 5rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.footer-logo span {
  color: var(--primary);
}

.footer-about {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: white;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
  color: white;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-links a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  opacity: 0.6;
  font-size: 0.9rem;
}
.phone-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-link:hover {
  color: your-hover-color;
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .featured-post {
      grid-template-columns: 1fr;
  }
  
  .featured-post .blog-img {
      height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-links {
      display: none;
  }

  .mobile-menu-btn {
      display: block;
  }

  .hero h1 {
      font-size: 2.5rem;
  }

  .newsletter-form {
      flex-direction: column;
  }

  .newsletter-form input {
      border-radius: 50px;
      margin-bottom: 1rem;
  }

  .newsletter-form button {
      border-radius: 50px;
      padding: 0.8rem;
  }
}

/* Blog Content Styles */
.blog-post {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: none;
}

.blog-post-header {
  margin-bottom: 2rem;
  text-align: center;
}

.blog-post-title {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.blog-post-meta {
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-post-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-post-content {
  line-height: 1.8;
  font-size: 1.1rem;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
}

.blog-post-content h2, 
.blog-post-content h3 {
  color: var(--secondary);
  margin: 2rem 0 1rem;
}

.blog-post-content h2 {
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.blog-post-content h2::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 3px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
}

.blog-post-content ul, 
.blog-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

.highlight-box {
  background-color: var(--light);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 5px 5px 0;
}

.quote {
  font-style: italic;
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--secondary);
}

.author {
  font-weight: bold;
  margin-top: 0.5rem;
}

/* Back to Blog Link */
.back-to-blog {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-to-blog:hover {
  color: var(--accent);
}

.back-to-blog i {
  margin-right: 0.5rem;
}