/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}
  /* Logo styling */
        .logo-link {
            display: inline-block;
        }
        
        .logo {
            height: 50px;
            transition: transform 0.2s ease;
        }
        
        .logo-link:hover .logo {
            transform: scale(1.05);
        }
/* Header Styles */
        header {
            padding: 20px;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .logo {
            height: 50px;
        }

        /* Hamburger Menu Styles */
        .hamburger {
            display: block;
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 100;
            cursor: pointer;
            background: none;
            border: none;
            padding: 10px;
        }

        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px 0;
            background: #333;
            transition: all 0.3s ease;
        }
/* Navigation Styles */
 nav {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100vh;
            background: #fff;
            box-shadow: -2px 0 5px rgba(0,0,0,0.1);
            transition: right 0.3s ease;
            z-index: 99;
        }

        nav.active {
            right: 0;
        }

        nav ul {
            padding: 70px 20px 20px;
            list-style: none;
        }

        nav ul li {
            margin: 15px 0;
        }

        nav ul li a {
            color: #333;
            text-decoration: none;
            font-size: 18px;
        }

        /* When menu is open */
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }


/* Common Layout Styles */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
     padding: 0 20px;
}

/* Hero Section Styles */
#hero {
      background: #808080;  /* Changed to grey */
            padding: 60px 20px;
            text-align: center;
            color: #fff;  /* Changed text to white for better contrast */
    }

    .hero-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .hero h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
      color: inherit;  /* Will inherit white from hero section */
    }

    .hero p {
      font-size: 1.25rem;
      margin-bottom: 2rem;
    }

    .hero-button {
      display: inline-block;
      padding: 1rem 2rem;
      background-color: white;
      color: #808080;
      text-decoration: none;
      border-radius: 4px;
      font-weight: bold;
      transition: all 0.3s ease;
    }

    .hero-button:hover {
      background-color: #f0f0f0;
      transform: translateY(-2px);
    }
  
/* Services Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

/* Contact Form Styles */
#contact {
    background: #000000;
}

form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
}

input, textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

button {
    background: #808080;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #808080;
}

/* About Page Styles */
.about-section {
    padding: 6rem 2rem 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.blog-excerpt {
    margin-bottom: 1rem;
    color: #444;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #808080;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.read-more:hover {
    background: #808080;
}

/* Blog Categories */
.blog-categories {
    margin: 2rem 0;
}

.category-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin: 0.2rem;
    background: #f8f9fa;
    border-radius: 20px;
    text-decoration: none;
    color: #2c3e50;
    transition: background 0.3s;
}

.category-tag:hover {
    background: #e9ecef;
}

/* Blog Search */
.search-bar {
    margin: 2rem 0;
}

.search-bar input {
    padding: 0.8rem;
    width: 100%;
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Blog Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.pagination a:hover {
    background: #e9ecef;
}

.pagination .active {
    background: #2c3e50;
    color: white;
}

/* Individual Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.author-info {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.share-buttons {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
}

.share-button {
    padding: 0.5rem 1rem;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

/* Footer Styles */
footer {
    background: #808080;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
}
