/* Custom properties for easy design system maintenance */
:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --bg-color: #f9fafb;
    --font-sans: 'Inter', system-ui, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
}

/* Flexbox Navigation Layout */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.2s ease;
}

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

/* Centered Hero Section using modern viewport values */
/* --- SPICED UP HERO SECTION --- */

.hero-section {
  min-height: 100vh; /* Full screen height for more impact */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  /* A subtle radial gradient makes the center pop and the edges look professional */
  background: radial-gradient(circle at center, #ffffff 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

/* This creates a subtle "glow" behind the text */
.hero-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  filter: blur(150px);
  opacity: 0.1;
  z-index: 0;
  top: 20%;
  left: 20%;
}

.hero-content {
  position: relative;
  z-index: 1; /* Makes sure text stays above the glow */
  max-width: 800px;
  /* Animation: slides up and fades in */
  animation: fadeInUp 1s ease-out;
}

/* Highlight specific words in the H1 */
.text-highlight {
  color: var(--primary-color);
  font-weight: 800;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem); /* Even more responsive */
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.hero-section p {
  font-size: 1.25rem;
  color: #4b5563; /* A slightly lighter grey for the subtext */
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Button Grouping */
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Primary Button Upgrade */
.btn-primary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* New Secondary Button */
.btn-secondary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 0.375rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

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

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

/* Responsive Fix for Buttons */
@media (max-width: 600px) {
  .hero-btns {
    flex-direction: column;
  }
  
  .hero-section {
    min-height: 90vh;
  }
}


/* Container to keep everything centered */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Styling */
.services-section {
  min-height: 100vh;
  padding: 80px 0;
  background-color: #f4f7f6; /* Light professional grey/blue */
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
  position: relative;
}

/* The Grid */
.services-grid {
  display: grid;
  /* This line makes it responsive: cards will wrap automatically */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* The Service Card */
.service-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease; /* Smooth animation */
  border-bottom: 4px solid transparent;
}

/* Hover Effect: The card lifts up and changes color */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid #007bff; /* Change this color to match your theme */
}

/* Icon/Emoji Styling */
.service-icon {
  font-size: 50px;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #222;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

* Contact Section Overall */
.contact-section {
  min-height: 100vh;
  padding: 80px 0;
  background-color: #2c3e50; /* A deep, professional dark blue/grey */
  color: #ffffff;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}

/* Left Side: Info Styling */
.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #3498db; /* Bright blue accent */
}

.contact-info p {
  margin-bottom: 30px;
  line-height: 1.6;
  color: #bdc3c7;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-item .icon {
  font-size: 24px;
  margin-right: 15px;
  background: #34495e;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.info-item h4 {
  margin: 0;
  color: #fff;
}

.info-item a {
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
}

/* Right Side: Form Styling */
.contact-form-wrapper {
  flex: 1.5;
  min-width: 300px;
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  color: #333;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
  border-color: #3498db;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background-color: #2980b9;
}

/* Responsive Adjustment */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-form-wrapper {
    width: 100%;
    padding: 25px;
  }
}
