/* AQComply InfraSec LLP Website Styles */

/* Global Styles */
:root {
  --primary-color: #4682B4; /* Blue from logo */
  --secondary-color: #663399; /* Purple from logo text */
  --accent-color: #FFA500; /* Orange/Gold accent */
  --light-bg: #f8f9fa;
  --dark-bg: #1a2a3a;
  --text-dark: #333;
  --text-light: #fff;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
}

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

p {
  margin-bottom: 1.5rem;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

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

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-dark);
  border: 2px solid var(--accent-color);
}

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

/* Header Styles */
header {
  background-color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px; /* Increased from 50px to make logo more prominent */
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05); /* Subtle scale effect on hover */
}

.company-slogan {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--secondary-color);
  margin-top: 5px;
  font-style: italic;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 150px 0 100px;
  text-align: center;
}

.hero-logo {
  width: 180px; /* Added hero logo display */
  margin: 0 auto 30px;
  display: block;
}

.hero h1 {
  font-size: 3.5rem; /* Increased from 3rem */
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Added text shadow for better visibility */
}

.hero-slogan {
  font-size: 1.8rem; /* Added specific styling for slogan */
  font-weight: 500;
  margin-bottom: 30px;
  color: var(--accent-color);
  font-style: italic;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

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

.section-title h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--text-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
  background-color: var(--primary-color);
  color: var(--text-light);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  margin-bottom: 15px;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  margin-bottom: 20px;
}

/* Solutions Section */
.solutions-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background-color: var(--light-bg);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  margin: 5px;
}

.tab-btn.active {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Industries Section */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.industry-card {
  background-color: var(--text-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  text-align: center;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.industry-icon {
  padding: 30px 0;
  font-size: 50px;
  color: var(--primary-color);
}

.industry-content {
  padding: 0 20px 30px;
}

.industry-content h3 {
  margin-bottom: 15px;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 40px;
  border-radius: 10px;
}

.contact-info h3 {
  color: var(--text-light);
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  font-size: 24px;
  margin-right: 20px;
  color: var(--accent-color);
}

.contact-form {
  background-color: var(--text-light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Footer Styles */
footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 80px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 80px; /* Increased from 50px */
  margin-bottom: 20px;
}

.footer-slogan {
  color: var(--accent-color);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-light);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

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

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background-color: var(--text-light);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-slogan {
    font-size: 1.4rem;
  }
}
