/* CyberSavvy Solutions - Main Stylesheet */

:root {
  /* Brand Colors */
  --primary-blue: #2563eb;
  --dark-blue: #1e40af;
  --light-blue: #3b82f6;
  --silver-light: #f9fafb;
  --silver: #9ca3af;
  --silver-dark: #6b7280;
  --purple: #8b5a7d;
  --orange: #ff974e;
  
  /* Neutral Colors */
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-medium: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  
  /* Typography */
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Trebuchet MS', 'Lucida Grande', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 17px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-dark);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-dark);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--text-dark);
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-medium);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--orange);
}

/* Header/Navigation */
header {
  background: var(--white);
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 100px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.cta-button {
  background: linear-gradient(135deg, var(--purple) 0%, var(--orange) 100%);
  color: var(--white);
  padding: 0.75rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 90, 125, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 90, 125, 0.4);
  color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(255, 151, 78, 0.03) 100%);
  padding: 6rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-button {
  background: linear-gradient(135deg, var(--purple) 0%, var(--orange) 100%);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(139, 90, 125, 0.3);
  display: inline-block;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 90, 125, 0.4);
  color: var(--white);
}

.secondary-button {
  background: var(--white);
  color: var(--primary-blue);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--primary-blue);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.secondary-button:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* Section Styles */
section {
  padding: 5rem 2rem;
}

.section-light {
  background: var(--white);
}

.section-gray {
  background: var(--bg-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

/* Gradient Divider */
.gradient-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--orange) 100%);
  max-width: 150px;
  margin: 2rem auto;
  border-radius: 2px;
}

/* Three Column Grid */
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.col-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.col-item .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--orange) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
}

.col-item h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.col-item p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* Approach Section (3 bullet points) */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.approach-item {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  border-left: 4px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)), 
                    linear-gradient(180deg, var(--purple) 0%, var(--orange) 100%);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

.approach-item h3 {
  color: var(--primary-blue);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* About/Story Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-text h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.credentials-list {
  list-style: none;
  margin-top: 1.5rem;
}

.credentials-list li {
  padding: 0.7rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-dark);
}

.credentials-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Service Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
  transform: translateY(-5px);
}

.service-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.service-card .price-note {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  margin: 1.5rem 0;
}

.service-card li {
  padding: 0.6rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: var(--text-medium);
}

.service-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 1.5rem;
  line-height: 1;
}

/* CTA Sections */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.cta-section .primary-button {
  background: linear-gradient(135deg, var(--orange) 0%, var(--purple) 100%);
  font-size: 1.2rem;
  padding: 1.2rem 3rem;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-item .icon-circle {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--orange) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: bold;
}

.contact-form {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid var(--silver);
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Star Rating Component */
.star-rating {
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.star {
  cursor: pointer;
  color: var(--silver);
  transition: color 0.2s ease, transform 0.2s ease;
}

.star:hover,
.star.active {
  color: var(--orange);
  transform: scale(1.1);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

.copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    gap: 1.5rem;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hero {
    padding: 4rem 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
  
  .three-col-grid,
  .approach-grid,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
