/* AL10 Cybersecurity Consulting - Main Stylesheet */

/* CSS Variables for consistent theming */
:root {
  --primary: #183153;     /* Deep blue - trust, security */
  --secondary: #00C3E5;   /* Teal/Cyan - from logo */
  --accent: #D4A017;      /* Gold - from logo */
  --background: #F5F7FA;  /* Light grey - clean, professional */
  --text: #333333;        /* Dark grey - readability */
  --light: #FFFFFF;
  --dark: #1A1A1A;
  --grey: #6C757D;
  --light-grey: #E9ECEF;
  --transition: all 0.3s ease-in-out;
}

/* Base Styles */
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

section {
  padding: 5rem 0;
}

/* Container adjustments */
.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--light);
}

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

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--light);
}

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

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--light);
}

.btn-accent:hover {
  background-color: transparent;
  color: var(--accent);
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--primary);
}

.navbar-brand span {
  color: var(--accent);
}

.navbar-nav .nav-link {
  color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Sticky Navbar */
.navbar.scrolled {
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(24, 49, 83, 0.9), rgba(24, 49, 83, 0.8)), url('../images/new/confidence-care-hero.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/circuit-pattern.svg');
  background-size: cover;
  opacity: 0.05;
}

.hero-content {
  color: var(--light);
  max-width: 800px;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* Services Section */
.services-card {
  background: var(--light);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  border-bottom: 3px solid transparent;
}

.services-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--accent);
}

.services-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.services-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* About Section */
.about-image {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.certification-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--light-grey);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Contact Form */
.contact-form {
  background: var(--light);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
  border: 1px solid var(--light-grey);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--secondary);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-title {
  color: var(--light);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 0.75rem;
  color: var(--light);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--accent);
  color: var(--light);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Privacy Policy */
.privacy-section {
  background-color: var(--light);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.privacy-title {
  color: var(--primary);
  border-bottom: 2px solid var(--light-grey);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .services-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
}
