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

/* Base Styles and Reset */
:root {
  --accent-color: #1367DD;
  --accent-hover: #0d4ea7;
  --accent-light: rgba(19, 103, 221, 0.1);
  --text-dark: #222832;
  --text-medium: #4a5568;
  --text-light: #718096;
  --background: #ffffff;
  --background-alt: #f8f9fa;
  --border-color: #e2e8f0;
  --focus-ring: rgba(19, 103, 221, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-medium);
  background-color: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover, a:focus {
  color: var(--accent-hover);
}

ul {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Icon Styles */
i.fas, i.far, i.fab {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

h1 i, h2 i, h3 i {
  font-size: 90%;
  vertical-align: middle;
}

.service-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-align: center;
}

.service-icon i {
  margin-right: 0;
  background-color: var(--accent-light);
  height: 4rem;
  width: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
  transform: scale(1.1);
}

/* Accessibility */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

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

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

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  display: inline-block;
}

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

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

nav li {
  margin-left: 1.5rem;
}

nav a {
  font-weight: 500;
  padding: 0.5rem 0;
  display: inline-block;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav a:hover::after, nav a:focus::after {
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 0 8rem;
  background: linear-gradient(135deg, var(--accent-color) 0%, #2a91ff 100%);
  color: white;
}

.hero h1 {
  color: white;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--accent-color);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 2px solid white;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  cursor: pointer;
}

.cta-button:hover, .cta-button:focus {
  background-color: transparent;
  color: white;
}

.cta-button:hover i, .cta-button:focus i {
  color: white;
}

/* Wave Separator */
.wave-separator {
  line-height: 0;
  position: relative;
  margin-top: -3px;
}

.wave-separator svg {
  width: 100%;
  height: 100px;
}

.wave-separator.flip {
  transform: rotate(180deg);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.services h2 {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

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

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

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

.service-card img {
  margin-bottom: 1.5rem;
  border-radius: 6px;
}

.service-card h3 {
  font-size: 1.4rem;
}

.service-card p {
  margin-bottom: 0;
}

.approach h3 {
  margin-bottom: 1.5rem;
}

.approach ul {
  list-style-type: none;
  padding: 0;
}

.approach li {
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
  position: relative;
}

.approach li i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

/* Portfolio Section */
.portfolio {
  padding: 5rem 0;
  background-color: white;
}

.portfolio h2 {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.portfolio > .container > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Masonry-style Grid */
.portfolio-grid {
  column-count: 3;
  column-gap: 2rem;
}

@media (max-width: 992px) {
  .portfolio-grid {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    column-count: 1;
  }
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  background-color: var(--background-alt);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.portfolio-item img {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.portfolio-item h3, .portfolio-item p {
  padding: 0 1.5rem;
}

.portfolio-item h3 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
}

.portfolio-item p {
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

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

.contact > .container > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

input, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  border-color: var(--accent-color);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

form .cta-button {
  margin-top: 0.5rem;
  background-color: var(--accent-color);
  color: white;
  border: 2px solid var(--accent-color);
  width: 100%;
}

form .cta-button:hover, form .cta-button:focus {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: white;
}

/* Thank You Message */
.thank-you-message {
  display: none;
  position: relative;
  background-color: #e6f4ff;
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-radius: 4px;
  text-align: center;
}

.thank-you-message h3 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

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

.close-button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.close-button:hover {
  background-color: var(--accent-hover);
}

/* Legal Content Pages */
.legal-content {
  padding: 5rem 0;
}

.legal-content h1 {
  text-align: center;
  margin-bottom: 3rem;
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
}

.legal-text h2 {
  margin-top: 2.5rem;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-info p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

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

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

.footer-links a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover, .footer-links a:focus {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }
  
  nav {
    margin-top: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav li:first-child {
    margin-left: 0;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    margin-top: 2rem;
  }
  
  .footer-links ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  form {
    padding: 1.5rem;
  }
  
  .footer-links ul {
    flex-direction: column;
    gap: 0.5rem;
  }
} 