/* Base Styles */
:root {
  --primary: #0056b3;
  --primary-dark: #003d82;
  --secondary: #6c757d;
  --light: #f8f9fa;
  --dark: #212529;
  --white: #ffffff;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 15px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #5a6268;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 0 auto 20px;
}

.text-center {
  text-align: center;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 15px 0;
}

.header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: auto;
  max-width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-link {
  padding: 10px 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

.nav-cta {
  display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.2);
    border: none;
    text-align: left;
    line-height: 1.3;
    position: relative;
    overflow: hidden;
}
.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 86, 179, 0.3);
    color: white;
}
.nav-cta:hover::before {
    left: 100%;
}


.dropdown-menu {
  position: absolute;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  min-width: 200px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  color: var(--dark);
}

.dropdown-menu a:hover {
  background-color: var(--gray-light);
  color: var(--primary);
}

.dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}
/* Animation for Phone Icon */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}



/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.service-features {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.service-features li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
}

.service-features i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 0.9rem;
  margin-top: 3px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary);
  color: var(--white);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-badge span {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge p {
  font-size: 0.8rem;
  margin: 0;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.feature-box {
  display: flex;
  gap: 15px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}

.feature-text h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

/* Stats Section */
.stats {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.125rem;
}

/* CTA Section */
.cta {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.cta-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-cta:hover .cta-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(15deg);
}
.nav-cta:hover .cta-icon i {
    animation: pulse 1s infinite;
}
.cta-text {
    display: flex;
    flex-direction: column;
}

.cta-label {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
}

.cta-number {
    font-size: 1rem;
    font-weight: 700;
}
/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #cccccc;
}

.footer-main {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.footer-logo img {
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #333333;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cccccc;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact-info i {
  margin-right: 10px;
  color: var(--primary);
  font-size: 1.25rem;
}

.footer-bottom {
  background-color: #111111;
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #cccccc;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
}

.floating-btn {
  display: flex;
  align-items: center;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.floating-btn i {
  margin-right: 10px;
  font-size: 1.25rem;
}

/* Back to Top Button*/
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

/* Loader */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader {
  text-align: center;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 86, 179, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  transition: all 0.3s ease;
}

/* Page Header */
.page-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Page Mobile Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.contact-card h2 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.contact-card h2 i {
    font-size: 1.2em;
}

.contact-method {
    margin-bottom: 20px;
}

.contact-method h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-link {
    color: var(--primary);
    font-weight: 500;
    transition: all 0.2s ease;
    word-break: break-all;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    background: white;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 12px;
}

.btn-call, .btn-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.map-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* About Page Styles */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px 0;
}

.mission, .vision {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission h3, .vision h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.mission i, .vision i {
    font-size: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.75rem;
}

.value-card h3 {
    margin-bottom: 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 5px;
}

.position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.bio {
    font-size: 0.95rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
}

.certification {
    text-align: center;
    max-width: 200px;
}

.certification img {
    height: 100px;
    width: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.certification h3 {
    margin-bottom: 5px;
}

.certification p {
    font-size: 0.9rem;
    color: var(--gray);
}


.whatsapp-float {
     position: fixed;
    bottom: 90px; /* Positioned above the back-to-top button */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 99; /* One below back-to-top button */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}
/*********************
  MODAL POPUP STYLES
**********************/

/* Modal Container */
.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Dialog */
.modal-dialog {
  position: relative;
  width: auto;
  max-width: 800px;
  margin: 30px auto;
  pointer-events: none;
}

/* Modal Content */
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  outline: 0;
}

/* Modal Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #e9ecef;
}

/* Modal Title */
.modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

/* Close Button */
.modal-header .close {
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  cursor: pointer;
}

/* Modal Body */
.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 15px;
  overflow-y: auto;
  max-height: 70vh;
}

/* Modal Footer */
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 15px;
  border-top: 1px solid #e9ecef;
}

/* Backdrop */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0.5;
}

/* Animation */
.modal.fade {
  transition: opacity 0.15s linear;
  opacity: 0;
}
.modal.fade.show {
  opacity: 1;
}
.modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}
.modal.show .modal-dialog {
  transform: translate(0, 0);
}

/* Large Modal */
.modal-lg {
  max-width: 900px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-image {
    order: -1;
  }
  
  .experience-badge {
    right: 0;
  }
}
#modals-container {
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: none;
}

/* Legal Content Styling */
.privacy-section, .terms-section {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
}

.privacy-article, .terms-article {
  margin-bottom: 1.5rem;
}

.privacy-article h4, .terms-article h4 {
  color: #2c3e50;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.25rem;
}

.privacy-section ul, .terms-section ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.privacy-section ul:last-of-type, .terms-section ul:last-of-type {
  list-style-position: inside;
}
.privacy-section li, .terms-section li {
  margin-bottom: 0.5rem;
}

.privacy-section strong, .terms-section strong {
  color: #2c3e50;
}

.privacy-section a, .terms-section a {
  color: #3498db;
  text-decoration: none;
}

.privacy-section a:hover, .terms-section a:hover {
  text-decoration: underline;
}



@media (max-width: 768px) {
  .menu-toggle {
     display: flex;
        width: 30px;
        height: 24px;
        flex-direction: column;
        justify-content: space-between;
        z-index: 1001;
        background: transparent;
        border: none;
        cursor: pointer;
  }
  .bar {
        height: 3px;
        width: 100%;
        background-color: var(--dark);
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        transform-origin: right center;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translateY(-2px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translateY(2px);
    }
	/* Overlay when menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
	
  .nav-menu {
    position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: #f8f9fa;
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 15px;
  }
  
  .nav-menu.active {
    right: 0;
  }
  .nav-link {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
        color: var(--dark);
        font-weight: 500;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        margin-bottom: 8px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: var(--primary);
        color: white;
        transform: translateX(5px);
    }
    
    .nav-link i {
        margin-left: auto;
        transition: transform 0.3s ease;
    }
	
  .dropdown-menu {
    position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 8px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
  }
  
  .dropdown-menu.active {
    max-height: 500px;
        margin-top: 10px;
        margin-bottom: 20px;
  }
  
  .dropdown-menu li {
        padding: 0;
    }
    
    .dropdown-menu a {
        display: block;
        padding: 12px 30px;
        color: var(--dark);
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(0, 86, 179, 0.1);
        color: var(--primary);
        padding-left: 35px;
    }
    
    .dropdown > .nav-link.active i {
        transform: rotate(180deg);
    }
	
	.nav-cta {
         margin-top: 15px;
        padding: 12px 15px;
        justify-content: center;
    }
	.cta-icon {
        width: 32px;
        height: 32px;
    }
    
    .cta-label {
        display: none;
    }
    
    .cta-number {
        font-size: 0.95rem;
    }
	
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  /* Hero Video Background */
.hero-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Fallback for browsers that don't support video */
@supports not (object-fit: cover) {
    .hero-media {
        background: url('../images/hero/hero-bg.jpg') center/cover no-repeat;
    }
    .hero-media video {
        display: none;
    }
  
  .section {
    padding: 60px 0;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .floating-contact {
    bottom: 80px;
  }
   .contact-grid {
        grid-template-columns: 1fr;
    }
    
  
    
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
  
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .contact-card {
        padding: 30px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 14px 18px;
    }
}

/* Small mobile devices */
@media (max-width: 400px) {
    .contact-card {
        padding: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-call, .btn-email {
        width: 100%;
    }
}

/* Form Status Messages */
.form-status {
    margin: 20px 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(10px);
    opacity: 0;
    height: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.form-status.active {
    transform: translateY(0);
    opacity: 1;
    height: auto;
}
.status-content {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.status-content i {
    margin-right: 12px;
    font-size: 20px;
}

.success-message {
    background: linear-gradient(135deg, #f0fff4, #e6ffed);
    color: #22543d;
    border-left: 4px solid #38a169;
}

.error-message {
     background: linear-gradient(135deg, #fff5f5, #ffebeb);
    color: #742a2a;
    border-left: 4px solid #e53e3e;
}

.loading-message {
   background: linear-gradient(135deg, #ebf8ff, #e1f0ff);
    color: #2b6cb0;
    border-left: 4px solid #4299e1;
}
.success-message i {
    color: #38a169;
}

.error-message i {
    color: #e53e3e;
}

.loading-message i {
    color: #4299e1;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* reCAPTCHA styling */
.g-recaptcha {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

/* Form improvements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
/* ==================== */
/* KNOWLEDGE BASE STYLES */
/* ==================== */

/* Admin Panel Styles */
#kbAdmin {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: white;
    z-index: 1100;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 30px;
}

#kbAdmin.active {
    right: 0;
}
.kb-admin-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.kb-admin-toggle:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}
.admin-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    transition: transform 0.2s ease;
	padding: 5px;
}

.admin-close-btn:hover {
    transform: rotate(90deg);
    color: var(--primary-dark);
}
/* No scroll when panel is open */
body.no-scroll {
    overflow: hidden;
}
/* Backdrop effect */
.admin-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.admin-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.admin-panel-title {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    font-size: 1.5rem;
}

/* File Item Enhancements */
.kb-file-item {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
    margin-bottom: 15px;
}

.kb-item-box {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.kb-item-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,86,179,0.1);
    border-left-color: var(--primary);
}

.kb-title-link {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    padding-bottom: 3px;
    font-size: 1.1rem;
}

.kb-title-link:hover {
    color: var(--primary);
}

.kb-title-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.kb-title-link:hover::after {
    width: 100%;
}

.file-type-badge {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
    text-transform: uppercase;
}

.file-info {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    font-size: 0.85rem;
    color: var(--gray);
}

.file-info i {
    margin-right: 5px;
    color: var(--secondary);
    font-size: 0.9rem;
}

.download-btn {
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 50%;
    margin-left: auto;
}

.download-btn:hover {
    color: white;
    background-color: var(--primary);
    transform: scale(1.1);
}

.kb-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-right: 15px;
    flex-shrink: 0;
}
.kb-icon .fa-file {
    color: #6c757d; /* Gray for unknown files */
}
/* Specific icon colors */
.kb-icon .fa-file-code { color: #28a745; } /* Green for code files */
.kb-icon .fa-file-audio { color: #17a2b8; } /* Teal for audio */
.kb-icon .fa-file-video { color: #dc3545; } /* Red for video */
.kb-icon .fa-file-csv { color: #20c997; } /* Green-blue for CSV */
.kb-icon .fa-database { color: #6f42c1; } /* Purple for database files */
.kb-icon .fa-cog { color: #fd7e14; } /* Orange for executables */
.kb-icon .fa-compact-disc { color: #6610f2; } /* Purple for disk images */

.file-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.view-btn, .download-btn {
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 50%;
}

.view-btn:hover {
    color: white;
    background-color: var(--primary);
}
/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* No scroll when panel is open */
body.no-scroll {
    overflow: hidden;
}