:root {
  --primary: #2a5caa;
  --secondary: #00b4d8;
  --accent: #ff6b35;
  --dark: #1a2b4c;
  --light: #f8f9fa;
  --gray: #6c757d;
  --cyber-blue: #0d3b66;
  --cyber-green: #00d4aa;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
  padding-top: 70px; /* For fixed header */
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--dark);
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.dropdown {
  position: absolute;
  background: white;
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  border-radius: 5px;
  padding: 10px 0;
}

.nav-menu li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background-color: var(--light);
  padding-left: 25px;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Page Hero Section */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: white;
  padding: 120px 0 60px;
  text-align: center;
  margin-bottom: 60px;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Content Sections */
.content-section {
  padding: 80px 0;
}

.content-section:nth-child(even) {
  background-color: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background: var(--secondary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Service Cards Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-features {
  list-style: none;
  margin-top: 1.5rem;
}

.service-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.service-features li:before {
  content: "✓";
  color: var(--secondary);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Contact Form */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 92, 170, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.cta-button:hover {
  background-color: #ff8535;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 0;
  background-color: var(--light);
  margin-bottom: 40px;
}

.breadcrumbs ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumbs li {
  margin-right: 10px;
  font-size: 0.95rem;
}

.breadcrumbs li:after {
  content: "›";
  margin-left: 10px;
  color: var(--gray);
}

.breadcrumbs li:last-child:after {
  display: none;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 70px 0 30px;
  margin-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--secondary);
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  font-size: 1.2rem;
}

.footer-links h4:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--secondary);
  bottom: -8px;
  left: 0;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  padding: 3px 0;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.contact-info-footer {
  margin-top: 20px;
}

.contact-info-footer p {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.contact-info-footer i {
  margin-right: 10px;
  margin-top: 5px;
  color: var(--secondary);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  body {
    padding-top: 60px;
  }

  .page-hero h1 {
    font-size: 2.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 60px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    margin-bottom: 15px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu li:hover .dropdown,
  .dropdown.active {
    display: block;
    max-height: 500px;
  }

  .hamburger {
    display: block;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .contact-form-container {
    padding: 25px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Cybersecurity Specific Styles */
.cyber-badge {
  display: inline-block;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid var(--cyber-green);
  color: var(--cyber-green);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-right: 10px;
  margin-bottom: 10px;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.compliance-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.compliance-item i {
  font-size: 2.5rem;
  color: var(--cyber-green);
  margin-bottom: 15px;
}
