/*
Theme Name: Protingent India Blog Theme
Theme URI: https://protingentindia.com
Author: Protingent India Team
Author URI: https://protingentindia.com
Description: A modern, professional WordPress blog theme for Protingent India with matching header and footer from the main website.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: protingent-blog
Tags: blog, business, modern, responsive, professional
*/

/* ===============================================
   CSS RESET & BASE STYLES
   =============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Raleway', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

button, a {
  min-height: 44px;
  min-width: 44px;
}

/* ===============================================
   BRAND COLORS
   =============================================== */
:root {
  --navy: #113F64;
  --teal: #34969E;
  --lime: #C2D92C;
  --dark-navy: #0C2A45;
  --gray-light: #f8fafc;
  --gray-medium: #cbd5e1;
  --gray-dark: #64748b;
}

/* ===============================================
   TYPOGRAPHY
   =============================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: #333;
}

/* ===============================================
   LAYOUT UTILITIES
   =============================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4rem 0;
}

/* ===============================================
   HEADER STYLES
   =============================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.site-logo {
  flex-shrink: 0;
  position: relative;
}

.site-logo a {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  transition: transform 0.3s ease;
}

.site-logo a:hover {
  transform: scale(1.05);
}

.site-logo .logo-pro {
  color: var(--lime);
}

/* Logo Image Styles */
.site-logo .logo-image {
  height: 45px;
  width: auto;
  display: block;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.site-logo a:hover .logo-image {
  transform: scale(1.05);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  .site-logo .logo-image {
    height: 38px;
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  .site-logo .logo-image {
    height: 35px;
    max-width: 140px;
  }
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  color: var(--navy);
  padding: 0.5rem 0;
  display: block;
  position: relative;
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--teal);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--lime));
  transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
  width: 100%;
}

/* CTA Button */
.header-cta {
  flex-shrink: 0;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, var(--teal), var(--navy));
  color: white;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
}

.mobile-menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Header Spacer */
.header-spacer {
  height: 5rem;
}

* ===============================================
   FOOTER STYLES - FULL WIDTH FIX
   Add these styles to your style.css or replace the existing footer styles
   =============================================== */

/* Reset any container constraints for footer */
.site-footer {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: linear-gradient(to bottom, var(--navy), var(--dark-navy));
  color: white;
  overflow: hidden;
}

/* Alternative if the above doesn't work */
.site-footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #113F64, #0C2A45);
  color: white;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-bg-gradient-1 {
  position: absolute;
  top: -10rem;
  left: -10rem;
  width: 20rem;
  height: 20rem;
  background: linear-gradient(to right, rgba(52, 150, 158, 0.2), rgba(194, 217, 44, 0.2));
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 4s infinite;
}

.footer-bg-gradient-2 {
  position: absolute;
  bottom: -10rem;
  right: -10rem;
  width: 24rem;
  height: 24rem;
  background: linear-gradient(to left, rgba(194, 217, 44, 0.1), rgba(52, 150, 158, 0.1));
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 4s infinite 1s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.footer-content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 3rem;
}

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

.footer-column h3 {
  color: #C2D92C;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-family: 'Lato', sans-serif;
}

.footer-column p,
.footer-column a {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-column a {
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: #C2D92C;
  padding-left: 0.5rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item p {
  margin: 0;
}

.footer-contact-icon {
  color: #34969E;
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #34969E;
  transform: scale(1.1);
  color: white;
}

.social-icon i {
  font-size: 1.2rem;
}

.footer-copyright {
  text-align: center;
  flex: 1;
}

.footer-copyright p {
  color: #cbd5e1;
  font-size: 0.875rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: #C2D92C;
}

/* Ensure main content doesn't have margins that affect footer */
body {
  margin: 0;
  padding: 0;
}

/* Remove any default WordPress theme margins */
.site {
  margin: 0;
  overflow-x: hidden;
}

/* ===============================================
   BLOG STYLES
   =============================================== */
.blog-container {
  padding: 4rem 0;
}

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

.blog-header h1 {
  font-size: 3rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.blog-header p {
  font-size: 1.25rem;
  color: var(--gray-dark);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--gray-dark);
}

.blog-card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-card-title a {
  color: var(--navy);
}

.blog-card-title a:hover {
  color: var(--teal);
}

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

.read-more {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  padding: 0.5rem 0;
}

.read-more:hover {
  color: var(--navy);
}

/* Single Post */
.single-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.post-header {
  margin-bottom: 2rem;
}

.post-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--gray-dark);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--gray-light);
}

.post-thumbnail {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
}

.post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content img {
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.post-content blockquote {
  border-left: 4px solid var(--teal);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--gray-dark);
}

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

.pagination a,
.pagination span {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-medium);
  border-radius: 0.5rem;
  color: var(--navy);
}

.pagination a:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.pagination .current {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* ===============================================
   RESPONSIVE STYLES
   =============================================== */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 1.5rem;
  }
  
  .main-navigation {
    display: none;
  }
  
  .header-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
 .footer-content {
    padding: 3rem 2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
} 
 
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-thumbnail {
    height: 300px;
  }
  
.footer-content {
    padding: 3rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-social {
    order: 1;
  }
  
  .footer-copyright {
    order: 2;
  }
  
  .footer-legal {
    order: 3;
  }
}

@media (max-width: 640px) {
  .container,
  .container-wide {
    padding: 0 1rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .blog-header h1 {
    font-size: 2rem;
  }
}
  .footer-content {
    padding: 2rem 1rem;
  }
}