/* 
  Framrsklns - Tool & Equipment Rental Platform
  Main Stylesheet
*/

/* ====================== Base Styles ====================== */
:root {
  --primary-color: #2c6e91;
  --primary-dark: #1d4d66;
  --primary-light: #4a9ec2;
  --secondary-color: #ff8b3d;
  --secondary-dark: #d96e28;
  --secondary-light: #ffb077;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f5f7fa;
  --bg-dark: #e2e7ed;
  --border-color: #dddddd;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --transition-speed: 0.3s;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 6px;
  --container-width: 1200px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--gray-800);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

.container {
  max-width: var(--container-width);
  width: 90%;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  transition: all var(--transition-speed);
  border: none;
  cursor: pointer;
  line-height: 1.5;
  font-family: var(--font-body);
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
}

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

.centered-btn {
  text-align: center;
  margin-top: 2rem;
}

/* ====================== Header & Navigation ====================== */
header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

/* ====================== Hero Section ====================== */
.hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-banner {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-banner h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-banner p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ====================== Features Section ====================== */
.features {
  background-color: var(--bg-light);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.feature-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
  text-align: center;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item .icon {
  background-color: var(--primary-light);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* ====================== Latest Posts Section ====================== */
.latest-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.post-item {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

.post-item:hover {
  transform: translateY(-5px);
}

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.post-item:hover .post-image img {
  transform: scale(1.05);
}

.post-item h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.2rem;
}

.post-item p {
  padding: 0 1.5rem;
  color: var(--text-light);
}

.post-item .btn-small {
  margin: 0 1.5rem 1.5rem;
}

/* ====================== Testimonials Section ====================== */
.testimonials {
  background-color: var(--bg-light);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.testimonial-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-item .quote {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.testimonial-author {
  margin-top: 1.5rem;
  font-style: italic;
}

.testimonial-author p {
  margin-bottom: 0;
}

/* ====================== CTA Section ====================== */
.cta {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  background-color: var(--secondary-color);
}

.cta .btn:hover {
  background-color: var(--secondary-dark);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ====================== Footer ====================== */
footer {
  background-color: var(--gray-800);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer-links h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

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

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

.footer-links ul li a {
  color: var(--gray-400);
  transition: color var(--transition-speed);
}

.footer-links ul li a:hover {
  color: white;
}

.footer-contact p {
  display: flex;
  align-items: center;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact svg {
  margin-right: 10px;
  min-width: 16px;
}

.footer-social h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-social h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--gray-700);
  color: white;
  transition: all var(--transition-speed);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ====================== Blog Page Styles ====================== */
.blog-section {
  padding: 5rem 0;
}

.blog-overview {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
}

.blog-overview h2 {
  margin-bottom: 1rem;
}

.article-summary {
  list-style-type: none;
  padding-left: 0;
}

.article-summary li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-summary li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  line-height: 1;
}

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

.blog-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

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

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.blog-meta {
  display: flex;
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-meta .date, 
.blog-meta .author,
.blog-meta .category {
  display: flex;
  align-items: center;
}

.blog-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ====================== Blog Post Styles ====================== */
.blog-hero {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.blog-hero h1 {
  color: white;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-hero .blog-meta {
  justify-content: center;
  color: var(--gray-200);
  margin-bottom: 0;
}

.blog-content {
  padding: 5rem 0;
}

.blog-content .container {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 3rem;
}

.blog-main {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.featured-image {
  margin-bottom: 2rem;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.article-content {
  margin-bottom: 2rem;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.article-content ul, 
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}

.share-buttons {
  margin-bottom: 3rem;
}

.share-buttons h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

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

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--gray-700);
  transition: all var(--transition-speed);
}

.social-share a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.related-posts {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.related-posts h3 {
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.related-item {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.related-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.related-item h4 {
  font-size: 1rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

.related-item a {
  display: block;
  text-align: center;
  padding: 0.5rem;
  background-color: var(--bg-light);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-speed);
}

.related-item a:hover {
  background-color: var(--primary-color);
  color: white;
}

.blog-sidebar {
  align-self: start;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.sidebar-widget h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.author-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.author-bio img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.author-bio h4 {
  margin-bottom: 0.5rem;
}

.author-bio p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.recent-posts {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.recent-posts li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.recent-posts li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-posts a {
  font-size: 0.95rem;
  color: var(--text-color);
  transition: color var(--transition-speed);
}

.recent-posts a:hover {
  color: var(--primary-color);
}

.categories {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.categories li {
  margin-bottom: 0.75rem;
}

.categories a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  transition: color var(--transition-speed);
}

.categories a:hover {
  color: var(--primary-color);
}

.cta-widget {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 2rem;
}

.cta-widget h3 {
  color: white;
  margin-bottom: 1rem;
}

.cta-widget h3:after {
  display: none;
}

.cta-widget p {
  margin-bottom: 1.5rem;
}

.cta-widget .btn-small {
  background-color: white;
  color: var(--primary-color);
}

.cta-widget .btn-small:hover {
  background-color: var(--bg-light);
}

.formula, .calculation {
  background-color: var(--bg-light);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-family: monospace;
  font-size: 1.1rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: var(--bg-light);
  font-weight: 600;
  text-align: left;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--gray-100);
}

/* ====================== About Page Styles ====================== */
.about-intro {
  padding: 5rem 0;
}

.about-intro .container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  margin-top: 0;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.values-section {
  background-color: var(--bg-light);
}

.values-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.value-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform var(--transition-speed);
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-item .icon {
  background-color: var(--primary-light);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.value-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

.team-section {
  padding: 5rem 0;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-light);
}

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

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
  text-align: center;
}

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

.team-member img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.team-member h3 {
  margin: 1.5rem 0 0.25rem;
  font-size: 1.2rem;
}

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.team-member p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--gray-700);
  transition: all var(--transition-speed);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.achievements-section {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
}

.achievements-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.achievement-text {
  font-size: 1.1rem;
}

/* ====================== Services Page Styles ====================== */
.services-intro {
  padding: 5rem 0;
}

.services-intro .container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.services-content h2 {
  margin-top: 0;
}

.services-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.services-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  transition: transform var(--transition-speed);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.benefit-item .icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-light);
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.category-item {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: grid;
  grid-template-columns: 1fr 2fr;
  transition: transform var(--transition-speed);
}

.category-item:hover {
  transform: translateY(-5px);
}

.category-image {
  height: 100%;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-content {
  padding: 2rem;
}

.category-content h3 {
  margin-bottom: 1rem;
}

.category-content ul {
  margin-bottom: 1.5rem;
}

.category-content li {
  margin-bottom: 0.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: transform var(--transition-speed);
}

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

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  margin-bottom: 0;
  color: var(--text-light);
}

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

.option-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

.option-item:hover {
  transform: translateY(-5px);
}

.option-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.option-item h3 {
  margin-bottom: 1rem;
}

.option-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

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

.service-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

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

.service-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-item h3 {
  margin-bottom: 1rem;
}

.service-item p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.link-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.link-more:after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-speed);
}

.link-more:hover:after {
  transform: translateX(3px);
}

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

.pricing-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.pricing-item h3 {
  margin-bottom: 1.5rem;
  position: relative;
}

.pricing-item h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.pricing-item ul {
  margin-bottom: 0;
}

.pricing-item li {
  margin-bottom: 0.75rem;
}

.pricing-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

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

.faq-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.faq-more {
  text-align: center;
  margin-top: 3rem;
}

.faq-more p {
  margin-bottom: 1rem;
}

/* ====================== Contact Page Styles ====================== */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 1rem;
}

.contact-info p,
.contact-form p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  margin-bottom: 2rem;
}

.info-item .icon {
  background-color: var(--bg-light);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.info-item .content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-item .content p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.info-item .content .hours {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.social-connect {
  margin-top: 3rem;
}

.social-connect h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group .required {
  color: var(--error-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 0.5rem;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: normal;
}

.map-container {
  height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 3rem;
}

.directions h3 {
  margin-bottom: 2rem;
  text-align: center;
}

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

.direction-item {
  display: flex;
  align-items: flex-start;
}

.direction-item .icon {
  background-color: var(--bg-light);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.direction-item .content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.direction-item .content p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.faq-short {
  background-color: var(--bg-light);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  position: relative;
  text-align: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.thank-you-message {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thank-you-message svg {
  color: var(--success-color);
  margin-bottom: 1rem;
}

.thank-you-message h2 {
  margin-bottom: 1rem;
}

.thank-you-message p {
  margin-bottom: 1.5rem;
}

/* ====================== Tooltip Styles ====================== */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: var(--gray-800);
  color: white;
  text-align: center;
  border-radius: var(--border-radius);
  padding: 0.5rem;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity var(--transition-speed);
  font-size: 0.85rem;
}

.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--gray-800) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-container .tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: var(--gray-800);
  color: white;
  text-align: center;
  border-radius: var(--border-radius);
  padding: 0.5rem;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 105%;
  opacity: 0;
  transition: opacity var(--transition-speed);
  font-size: 0.85rem;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ====================== Cookie Banner Styles ====================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.5rem;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-speed);
}

.btn-cookie.accept {
  background-color: var(--primary-color);
  color: white;
}

.btn-cookie.accept:hover {
  background-color: var(--primary-dark);
}

.btn-cookie.customize {
  background-color: var(--bg-light);
  color: var(--text-color);
}

.btn-cookie.customize:hover {
  background-color: var(--bg-dark);
}

.btn-cookie.decline {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-cookie.decline:hover {
  background-color: var(--bg-light);
}

.cookie-more {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ====================== Newsletter Section ====================== */
.newsletter {
  background-color: var(--bg-light);
  padding: 4rem 0;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.newsletter-form input {
  flex-grow: 1;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-form .btn {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ====================== Responsive Styles ====================== */
@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 95%;
  }

  .about-intro .container,
  .services-intro .container {
    grid-template-columns: 1fr;
  }

  .about-image,
  .services-image {
    order: -1;
    margin-bottom: 2rem;
  }

  .category-item {
    grid-template-columns: 1fr;
  }

  .category-image {
    height: 200px;
  }

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

  .contact-info {
    order: -1;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }

  header .container {
    flex-direction: column;
  }

  .logo {
    margin-bottom: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 0 0.75rem 0.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .blog-content .container {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    margin-top: 3rem;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-item .icon {
    margin-bottom: 1rem;
  }

  .direction-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .direction-item .icon {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 85%;
  }

  .feature-grid,
  .post-grid,
  .blog-grid,
  .team-grid,
  .achievements-grid,
  .values-grid,
  .faq-grid,
  .options-grid,
  .services-grid,
  .pricing-info,
  .direction-options {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }

  .newsletter-form .btn {
    border-radius: var(--border-radius);
    width: 100%;
  }
}
