/* ALP Security Modern Theme CSS */

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #f59e0b;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --text-dark: #374151;
  --text-light: #6b7280;
  --success-color: #10b981;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Animation Classes */
.animate-fade-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.bg-accent-gradient {
  background: var(--gradient-accent);
}

.bg-dark-gradient {
  background: var(--gradient-dark);
}

/* Button Styles */
.btn-gradient {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  display: inline-block;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-accent {
  background: var(--gradient-accent);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  display: inline-block;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-outline-gradient {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-gradient:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Call Button */
#callme {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

#callmeMain {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
}

#callmeMain:hover {
  transform: scale(1.1);
}

#callmeMain::before {
  content: '\f095';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 24px;
}

/* Top Bar */
.nav-topbar {
  background: var(--gradient-dark);
  padding: 8px 0;
}

.nav-topbar a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

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

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  padding: 0.5rem 0;
}

.navbar-brand img {
  height: 45px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(37, 99, 235, 0.1);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: 12px;
  padding: 8px;
  margin-top: 8px;
}

.dropdown-item {
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.9) 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="25" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Add this line - adjust value based on your navbar height */

}

.hero-section.hero-section-small {
  min-height: 60vh;
  padding: 80px 0 40px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.05" points="0,1000 1000,800 1000,1000"/></svg>');
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Section Styles */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.section-title.text-start {
  text-align: left;
}
/* Cards */
.modern-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.modern-card img {
  transition: all 0.3s ease;
}

.modern-card:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.service-card {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Event Cards */
.event-item {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.event-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.event-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* CEO Section */
.ceo-section {
  background: var(--light-color);
  border-radius: 24px;
  padding: 3rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-md);
}

.ceo-image {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Testimonial Section */
.testimonial-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="800" cy="300" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="400" cy="600" r="2" fill="%23ffffff" opacity="0.1"/></svg>');
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Clients Section */
.clients-section {
  background: var(--light-color);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.service-item {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Location Services */
.location-card {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.location-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.location-card .list-group-item {
  border: none;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.location-card .list-group-item:hover {
  background: rgba(37, 99, 235, 0.05);
}

.location-card .dropdown-item {
  color: var(--text-dark);
  text-decoration: none;
  padding: 0;
}

/* Mobile navbar overlap fix */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 5px !important; /* Increase padding on mobile */
  }
  
  .hero-title {
    font-size: 2.5rem; /* Optional: smaller title on mobile */
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 0px !important; /* Adjust for very small screens */
  }
  
  .hero-title {
    font-size: 2rem; /* Optional: even smaller on very small screens */
  }
}

@media (max-width: 380px) {
  .hero-section {
    padding-top: 70px !important; /* Adjust for very small screens */
  }
  
  .hero-title {
    font-size: 2rem; /* Optional: even smaller on very small screens */
  }
}