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

:root {
  --primary: #a72424; /* Dark Red derived from DKC logo */
  --secondary: #801a1a; /* Darker corporate red */
  --tertiary: #008A3B; /* Green */
  --bg-color: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 5%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.logo-container img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.contact-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-number {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: #b9181e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('images/pexels-photo-532568.jpeg') center/cover no-repeat;
  padding: 100px 5% 60px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(33, 26, 95, 0.8) 0%, rgba(0, 138, 59, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--white);
  animation: fadeInDown 1s ease-out forwards;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  font-weight: 300;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Section Common */
section {
  padding: 100px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

/* About Section */
.about-section {
  background-color: var(--white);
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-container p {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Contact and Locations Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Form Styling */
.form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.form-container h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.form-container p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.input-group {
  margin-bottom: 25px;
  position: relative;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: #f8fafc;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--tertiary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 138, 59, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

/* Office Locations Styling */
.locations-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.locations-container h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.locations-container > p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.location-card {
  background: var(--white);
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
  border: 1px solid #f1f5f9;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33, 26, 95, 0.1);
}

.location-icon {
  background-color: rgba(0, 138, 59, 0.1);
  color: var(--tertiary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-icon svg {
  width: 24px;
  height: 24px;
}

.location-details h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.location-details p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 40px 5%;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-content p:last-child {
  margin-bottom: 0;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  
  .phone-number {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

/* Beautiful Opt-in Consent Checkbox Styling */
.input-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 15px;
  margin-bottom: 20px;
  text-align: left;
}

.input-group-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  background: #f8fafc;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
  margin-top: 3px;
}

.input-group-checkbox input[type="checkbox"]:focus {
  outline: none;
  border-color: var(--tertiary);
  box-shadow: 0 0 0 3px rgba(0, 138, 59, 0.1);
}

.input-group-checkbox input[type="checkbox"]:checked {
  background-color: var(--tertiary);
  border-color: var(--tertiary);
}

.input-group-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.input-group-checkbox label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}

.input-group-checkbox label a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 600;
}

.input-group-checkbox label a:hover {
  color: #b9181e;
}
