/* GoBrilliantTech Case Studies - Main Stylesheet */
/* Primary Color: #004AAD (GoBrilliant Blue) */

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

:root {
  --primary-blue: #004AAD;
  --light-gray: #F4F6FA;
  --white: #FFFFFF;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --border-color: #e0e0e0;
  --hover-blue: #003580;
}

body {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--hover-blue);
}

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

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #004AAD 0%, #0066DD 100%);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Case Study Hero */
.case-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.case-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 74, 173, 0.9) 0%, rgba(0, 102, 221, 0.8) 100%);
  z-index: 1;
}

.case-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.case-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}

.case-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.case-hero .tagline {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

.case-hero .overview {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Filter Bar */
.filter-bar {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  text-align: center;
}

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

.filter-btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.filter-btn.active {
  background-color: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

/* Case Studies Grid */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.case-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.case-card.hidden {
  display: none;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 74, 173, 0.15);
}

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

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

.case-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  background-color: var(--light-gray);
  color: var(--primary-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
}

.case-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--hover-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.3);
}

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

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

/* Case Study Content Sections */
.content-section {
  margin-bottom: 4rem;
}

.content-section h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary-blue);
  display: inline-block;
}

.overview-box {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.overview-box h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

ul.bullet-list {
  list-style: none;
  padding-left: 0;
}

ul.bullet-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  line-height: 1.7;
}

ul.bullet-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

.highlight-box {
  background: linear-gradient(135deg, #004AAD 0%, #0066DD 100%);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.highlight-box h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.highlight-box ul {
  list-style: none;
}

.highlight-box li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
}

.highlight-box li::before {
  content: '\2605';
  position: absolute;
  left: 0;
  color: var(--white);
  font-size: 1.3rem;
}

/* Testimonial */
.testimonial {
  background-color: var(--light-gray);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--primary-blue);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 2rem;
}

.testimonial p {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial cite {
  color: var(--primary-blue);
  font-weight: 600;
  font-style: normal;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #004AAD 0%, #0066DD 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 12px;
  margin: 4rem 0;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
}

.cta-section .btn {
  background-color: var(--white);
  color: var(--primary-blue);
}

.cta-section .btn:hover {
  background-color: var(--light-gray);
  color: var(--primary-blue);
}


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .case-hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 2rem 1rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}