/* Elite Architectural Bureau - Main Stylesheet */

/* CSS Variables - Triadic Color Scheme */
:root {
  /* Main colors - Triadic scheme */
  --primary-color: #0b3d6f; /* Rich navy blue */
  --primary-dark: #072649;
  --primary-light: #1a5a95;
  --secondary-color: #6f0b3d; /* Deep burgundy */
  --tertiary-color: #3d6f0b; /* Forest green */
  
  /* Additional colors */
  --accent-color: #f2a900; /* Gold accent */
  --accent-light: #ffc040;
  --text-dark: #2c2c2c;
  --text-light: #f9f9f9;
  --text-muted: #767676;
  --bg-light: #f9f9f9;
  --bg-dark: #2c2c2c;
  --bg-muted: #f0f0f0;
  --border-color: rgba(0, 0, 0, 0.1);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Container widths */
  --container-max-width: 1200px;
  --container-padding: 2rem;
  
  /* Z-index layers */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

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

h2 {
  font-size: 2.2rem;
  margin-bottom: var(--space-lg);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  bottom: -12px;
  left: 0;
}

.section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: var(--space-md);
}

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

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* Section common styles */
section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* Section header styles */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  color: var(--text-muted);
}

.section-header.light h2,
.section-header.light p {
  color: var(--text-light);
}

.section-header.light h2::after {
  background: var(--text-light);
}

/* Button Styles */
.btn,
button:not(.mobile-menu-toggle),
input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 0 var(--primary-dark);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--primary-dark);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 0 var(--primary-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-tertiary {
  background-color: var(--tertiary-color);
  color: var(--text-light);
  box-shadow: 0 4px 0 #2a4c08;
}

.btn-tertiary:hover {
  background-color: #345c09;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #2a4c08;
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

/* Read more link */
.read-more {
  position: relative;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 4px;
  display: inline-block;
}

.read-more::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform 0.3s ease-out;
}

.read-more:hover::after {
  transform-origin: bottom left;
  transform: scaleX(1);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo h1 {
  margin-bottom: 0;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.logo span {
  color: var(--accent-color);
  font-weight: 700;
}

.desktop-nav ul {
  display: flex;
  gap: 24px;
}

.desktop-nav a {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

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

.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: var(--z-fixed);
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--primary-color);
  transition: all var(--transition-fast);
}

.mobile-nav {
  position: absolute;
  top: 80px;
  right: 0;
  left: 0;
  background-color: var(--bg-light);
  padding: 0 var(--container-padding);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mobile-nav ul {
  padding: var(--space-lg) 0;
}

.mobile-nav li {
  margin-bottom: var(--space-md);
}

.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-dark);
  display: block;
  padding: var(--space-sm) 0;
}

/* Hero Section */
.hero {
  padding: 0;
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 61, 111, 0.8) 0%, rgba(111, 11, 61, 0.7) 100%);
}

.hero-content {
  position: relative;
  max-width: 650px;
  text-align: left;
  z-index: 1;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-light);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  color: var(--text-light);
}

/* Projects Section */
.projects {
  background-color: var(--bg-light);
}

.project-timeline {
  position: relative;
}

.timeline-header {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.toggle-container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
}

.toggle-container span {
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition-normal);
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition-normal);
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.timeline-content {
  position: relative;
}

.timeline-item {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.timeline-item.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:not(:last-child) {
  margin-bottom: var(--space-xl);
}

.timeline-item::before {
  content: attr(data-year);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--accent-color);
  color: var(--text-light);
  padding: 4px 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transform: translateY(-50%);
  z-index: 1;
}

.card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.card-content {
  padding: var(--space-lg);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.card-content p {
  margin-bottom: var(--space-lg);
  color: var(--text-muted);
}

/* Portfolio Section */
.portfolio {
  background-color: var(--bg-muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.portfolio-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  background-color: var(--bg-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.portfolio-item:hover .image-container img {
  transform: scale(1.1);
}

.portfolio-content {
  padding: var(--space-md);
  width: 100%;
  text-align: center;
}

.portfolio-content h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.portfolio-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Case Studies Section */
.case-studies {
  background-color: var(--bg-light);
}

.case-studies-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.case-study-item {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
}

.case-study-item.reverse {
  flex-direction: row-reverse;
}

.case-study-image {
  flex: 1;
  min-width: 300px;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.case-study-content {
  flex: 1;
  min-width: 300px;
}

.case-study-content h3 {
  position: relative;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

.case-study-content h3::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

/* Community Section */
.community {
  background-color: var(--bg-muted);
}

.community-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  align-items: center;
}

.community-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.community-text {
  flex: 1;
  min-width: 300px;
}

.community-text h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
}

.community-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 120px;
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: var(--space-xs);
}

.stat-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* News Section */
.news {
  background-color: var(--bg-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.news .card {
  height: 100%;
}

.news .card-image {
  height: 200px;
}

.date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  display: block;
}

/* Resources Section */
.resources {
  background-color: var(--bg-muted);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.resource-item {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.resource-item h3 {
  position: relative;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

.resource-item h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

.resource-item ul {
  padding-left: var(--space-md);
}

.resource-item li {
  margin-bottom: var(--space-sm);
  position: relative;
}

.resource-item li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: -1rem;
}

.resource-item a {
  font-weight: 500;
  transition: color var(--transition-fast);
  display: inline-block;
}

.resource-item a:hover {
  color: var(--accent-color);
}

/* Testimonials Section */
.testimonials {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--text-light);
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 61, 111, 0.85) 0%, rgba(57, 112, 185, 0.85) 100%);
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  display: none;
  transition: all var(--transition-normal);
  opacity: 0;
}

.testimonial-item.active {
  display: block;
  opacity: 1;
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.client {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.client img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--text-light);
}

.client-info h4 {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 1.1rem;
}

.client-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-lg);
}

.prev, .next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  display: flex;
  justify-content: center;
  align-items: center;
}

.prev:hover, .next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dots {
  display: flex;
  gap: 8px;
  margin: 0 var(--space-md);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.dot.active {
  background: var(--text-light);
}

/* Insights Section */
.insights {
  background-color: var(--bg-light);
}

.insights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.insights .card {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.insights .card-image {
  height: 250px;
}

/* Press Section */
.press {
  background-color: var(--bg-muted);
}

.press-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.press-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.press-item img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0 auto;
}

.press-content {
  flex: 1;
}

.press-content h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.press-content p {
  margin-bottom: var(--space-sm);
}

/* FAQ Section */
.faq {
  background-color: var(--bg-light);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-muted);
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--hover-shadow);
}

.faq-question {
  padding: var(--space-lg);
  background: var(--primary-color);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background: var(--primary-dark);
}

.faq-question h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: var(--text-light);
}

.toggle-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition-fast);
}

.faq-answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: var(--space-lg);
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

/* Contact Section */
.contact {
  background-color: var(--bg-muted);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.contact-info, 
.contact-form-container {
  flex: 1;
  min-width: 300px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.contact-map {
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-map img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.contact-form-container {
  background: var(--bg-light);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

.contact-form {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group.full-width {
  grid-column: span 2;
}

.contact-form label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-family: 'Merriweather', serif;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

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

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--primary-color);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Newsletter form in footer */
.newsletter-form {
  display: flex;
  margin-top: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--bg-light);
  font-family: 'Merriweather', serif;
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 10px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
}

/* Footer Section */
.footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: var(--space-xl) 0 var(--space-md);
}

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

.footer h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  position: relative;
}

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

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-links ul li {
  margin-bottom: var(--space-sm);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--accent-color);
}

.footer-about {
  grid-column: span 2;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.social-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.social-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.social-links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.newsletter h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
}

.success-page .content {
  max-width: 600px;
}

.success-page h2 {
  margin-bottom: var(--space-md);
}

.success-page p {
  margin-bottom: var(--space-lg);
}

/* Privacy and Terms Pages */
.privacy-content,
.terms-content {
  padding-top: 100px;
}

.privacy-content h2,
.terms-content h2 {
  margin-top: var(--space-xl);
}

.privacy-content p,
.terms-content p {
  margin-bottom: var(--space-md);
}

.privacy-content ul,
.terms-content ul {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.privacy-content li,
.terms-content li {
  margin-bottom: var(--space-sm);
  list-style-type: disc;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.4rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .card-content, 
  .case-study-content {
    padding: var(--space-md);
  }
}

@media screen and (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .section-header {
    margin-bottom: var(--space-lg);
  }
  
  .card-image {
    height: 300px;
  }
  
  .portfolio-item {
    grid-column: span 12;
  }
  
  .case-study-image {
    height: 300px;
  }
  
  .press-item {
    flex-direction: column;
  }
  
  .press-item img {
    margin-bottom: var(--space-md);
  }
  
  .client {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-about {
    grid-column: span 1;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .card-image {
    height: 250px;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.8s ease forwards;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-600 {
  animation-delay: 0.6s;
}

.delay-800 {
  animation-delay: 0.8s;
}