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

/* Custom Color Palette */
:root {
  --primary-color: #2c5aa0;
  --secondary-color: #8b5fbf;
  --accent-color: #c14f00;
  --text-primary: #2c3e50;
  --text-secondary: #5a6c7d;
  --background-light: #f8fafc;
  --background-white: #ffffff;
  --border-light: #e1e8ed;
  --success-color: #27ae60;
  --gradient-primary: linear-gradient(135deg, #2c5aa0 0%, #8b5fbf 100%);
}

/* Base Styling */
html {
  height: 100%;
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--background-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; color: var(--primary-color); }

/* Navigation Styling */
nav {
  background: var(--gradient-primary) !important;
  border-bottom: 3px solid var(--accent-color);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(44, 90, 160, 0.15);
}

nav ul li strong,
nav ul li strong a {
  color: white !important;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
}

nav ul li a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

nav ul li a:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

nav ul li a[role="button"] {
  background-color: var(--accent-color) !important;
  color: white !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

nav ul li a[role="button"]:hover {
  background-color: #a03e00 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(193, 79, 0, 0.3);
}

/* Main Content */
main {
  background-color: var(--background-light);
  padding: 2rem 0;
  min-height: 500px;
}

/* Header Group */
hgroup {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 0;
}

hgroup h2 {
  font-size: 2.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

hgroup h3 {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
}

/* Paragraphs and Text */
p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Service Sections */
section h3 {
  color: var(--primary-color);
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
  margin: 2rem 0 1rem 0;
  font-size: 1.6rem;
}

/* Lists in Services */
main ul, section ul, article ul {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

main li, section li, article li {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

main li strong, section li strong, article li strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Images */
figure {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

figure img:hover {
  transform: scale(1.02);
}

/* Newsletter Section */
section[aria-label="Subscribe example"] {
  background: var(--gradient-primary);
  color: white;
  margin: 3rem 0 0 0;
}

section[aria-label="Subscribe example"] article {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
}

section[aria-label="Subscribe example"] h2,
section[aria-label="Subscribe example"] h3 {
  color: white;
}

/* Forms */
input, select, textarea {
  border: 2px solid var(--border-light) !important;
  border-radius: 8px !important;
  padding: 0.8rem 1rem !important;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1) !important;
  outline: none !important;
}

/* Buttons */
button[type="submit"] {
  background: var(--gradient-primary) !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 1rem 2rem !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3) !important;
}

/* Fieldset Styling */
fieldset {
  border: 2px solid var(--border-light);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

legend {
  color: var(--primary-color);
  font-weight: 600;
  padding: 0 1rem;
}

/* Footer */
footer {
  background-color: var(--text-primary);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

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

footer a:hover {
  color: white !important;
}