/* Core Operations Group - Professional Website CSS */
/* Mobile-First, Responsive Design */

/* CSS Variables for Colors */
:root {
  --primary-deep-blue: #1F4E79;
  --secondary-blue: #2E75B6;
  --dark-gray: #3A3A3A;
  --white: #FFFFFF;
  --light-gray: #E6E6E6;
  --very-light-gray: #F8F9FA;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.7;
  color: var(--dark-gray);
  background: var(--white);
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

button, .btn {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 1.2rem 2.5rem;
  background: var(--primary-deep-blue);
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  max-width: 300px;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 15px rgba(31, 78, 121, 0.2);
}

button:hover, .btn:hover {
  background: var(--secondary-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(31, 78, 121, 0.3);
}

button:active, .btn:active {
  transform: translateY(-1px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Header */
header {
  background: var(--white);
  padding: 1.2rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-deep-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
  list-style: none;
}

.nav-links.active {
  display: flex;
}

.nav-links a {
  padding: 0.8rem 0;
  color: var(--dark-gray);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary-deep-blue);
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-deep-blue);
  padding: 0.5rem;
  margin: -0.5rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-deep-blue) 0%, var(--secondary-blue) 100%);
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero .btn {
  background: var(--white);
  color: var(--primary-deep-blue);
  font-weight: 800;
}

.hero .btn:hover {
  background: var(--light-gray);
  color: var(--primary-deep-blue);
}

/* Sections */
section {
  padding: 5rem 1.5rem;
}

section:nth-child(3) {
  background: var(--white);
}

#process {
  background: var(--light-gray);
}

#typical {
  background: var(--light-gray);
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary-deep-blue);
  font-weight: 900;
}

section > .container > h3 {
  text-align: center;
  color: var(--dark-gray);
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 1.3rem;
}

section > .container > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Features Grid */
.features {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--very-light-gray);
  border-radius: 12px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.feature:hover {
  border-color: var(--secondary-blue);
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(31, 78, 121, 0.15);
}

.feature h3,
.feature h4 {
  color: var(--primary-deep-blue);
  margin-bottom: 1rem;
}

.feature p {
  color: var(--dark-gray);
  margin-bottom: 0;
  font-size: 1rem;
}

/* Steps / Process */
.steps {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.step {
  padding: 2.5rem 2rem;
  background: var(--white);
  border-left: 5px solid var(--secondary-blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(31, 78, 121, 0.12);
}

.step h4 {
  color: var(--primary-deep-blue);
  margin-bottom: 1rem;
}

.step p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Offer Section */
#offer {
  background: var(--white);
}

#offer h3 {
  color: var(--primary-deep-blue);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

#offer p {
  font-size: 1.05rem;
}

#offer strong {
  color: var(--primary-deep-blue);
}

/* Credibility Section */
#credibility {
  background: var(--very-light-gray);
}

#credibility p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

/* Form Styles */
form {
  max-width: 600px;
  margin: 2rem auto 0;
  background: var(--very-light-gray);
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 2rem;
}

label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 700;
  color: var(--dark-gray);
  font-size: 1rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  color: var(--dark-gray);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 3px rgba(46, 117, 182, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Success/Error Messages */
.success-msg {
  background: #d4edda;
  color: #155724;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 5px solid #28a745;
}

.error-msg {
  background: #f8d7da;
  color: #721c24;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 5px solid #dc3545;
}

/* Footer */
footer {
  background: var(--primary-deep-blue);
  color: var(--white);
  text-align: center;
  padding: 2.5rem;
}

footer p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

footer a {
  color: #d0e8ff;
  font-weight: 600;
}

footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Mobile Styles - Full width buttons */
@media (max-width: 767px) {
  .btn {
    width: 100%;
    max-width: none;
    padding: 1rem 2rem;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
  
  form {
    padding: 2rem 1.5rem;
  }
  
  .features {
    gap: 1.5rem;
  }
  
  .feature {
    padding: 2rem 1.5rem;
  }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
  .nav-toggle {
    display: none !important;
  }
  
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    gap: 2.5rem;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
  
  .container {
    padding: 0 3rem;
  }
  
  section {
    padding: 6rem 3rem;
  }
  
  .hero {
    padding: 7rem 3rem;
  }
  
  .features {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .step:nth-child(3n) {
    grid-column: auto;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
  
  section {
    padding: 8rem 2rem;
  }
  
  .hero {
    padding: 9rem 2rem;
  }
  
  .btn {
    max-width: 350px;
  }
}
