/* Modern Business Template Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Color Scheme */
:root {
  --primary: #0a2e5c; /* Navy Blue */
  --secondary: #ff6b35; /* Orange */
  --accent: #dc3545; /* Red */
  --light: #ffffff;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #f8f9fa;
  --border: #e9ecef;
  --overlay: rgba(10, 46, 92, 0.85);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: var(--secondary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  margin-right: 15px;
}

.sidebar-logo {
  height: 56px;
  width: auto;
  margin: 0;
}

.logo-text {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--secondary);
}

/* Hamburger Menu */
.menu-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  padding: 0;
  z-index: 1001;
  order: -1; /* Move to the left */
  margin-right: 15px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle:hover span {
  background: var(--secondary);
}

/* Sidebar Menu */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: var(--light);
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: all 0.4s ease;
  padding: 20px;
  overflow-y: auto;
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.close-menu {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav ul li {
  margin-bottom: 15px;
}

.sidebar-nav ul li a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border);
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
  color: var(--secondary);
}

.sidebar-nav ul li ul {
  margin-top: 10px;
  padding-left: 20px;
}

.sidebar-nav ul li ul li a {
  font-size: 1rem;
  font-weight: 500;
  border-bottom: none;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light);
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(10, 46, 92, 0.8), rgba(10, 46, 92, 0.9)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: 0;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: #ff6b35;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--light);
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  border: 2px solid var(--secondary);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn:hover {
  background: transparent;
  color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--light);
  margin-left: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: var(--light);
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h1 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

.section-title.text-left {
  text-align: left;
}

.section-title.text-left h1::after {
  left: 0;
  transform: none;
}

/* Intro Section */
.intro {
  background-color: var(--light);
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Features Section */
.features {
  background-color: var(--light-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(10, 46, 92, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #ff8c52);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary), #1a4b8c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--light);
  font-size: 2.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(10, 46, 92, 0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(10, 46, 92, 0.3);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: var(--secondary);
}

.feature-card p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* History Section */
.history {
  background-color: var(--light);
  position: relative;
}

.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--secondary);
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 100%;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 30px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 30px);
}

.timeline-content {
  background: var(--light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  border: 1px solid var(--border);
}

.timeline-content::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  top: 30px;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  right: -50px;
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -50px;
}

.timeline-year {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.timeline-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Services Preview Section */
.services-preview {
  background-color: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2.25rem 2rem;
  border-radius: 14px;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(10, 46, 92, 0.08);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #ff8c52);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 107, 53, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--secondary), #ff8c52);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--light);
  font-size: 2rem;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.28);
  transition: all 0.35s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(4deg);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--secondary);
}

.service-card p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Stats strip */
.stats {
  background: var(--light);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat {
  padding: 0.75rem 0;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.stat-label {
  color: var(--gray);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 0.4rem;
}

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.85);
  display: block;
  padding: 0.35rem 0;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 1.5rem;
  padding-top: 1rem;
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary), #1a4b8c);
  color: var(--light);
  text-align: center;
  padding: 6rem 0;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ff6b35;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.contact-form {
  background: var(--light);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.contact-info {
  background: linear-gradient(135deg, var(--primary), #1a4b8c);
  color: var(--light);
  padding: 2.5rem;
  border-radius: 10px;
}

.contact-info h3 {
  color: var(--light);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.contact-details {
  margin-bottom: 2.5rem;
}

.contact-details p {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.contact-details i {
  margin-right: 15px;
  color: var(--secondary);
  font-size: 1.2rem;
  width: 24px;
}

.map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 2.5rem 0;
}

footer p {
  margin: 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section-title h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 80px;
    right: -100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 80%;
    height: calc(100vh - 80px);
    transition: all 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 2rem;
  }
  
  nav ul li {
    margin: 1rem 0;
    width: 100%;
  }
  
  nav ul li a {
    color: var(--primary);
    display: block;
    padding: 12px 15px;
  }
  
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 107, 53, 0.1);
    margin-top: 10px;
    border-radius: 5px;
  }
  
  .hero {
    padding-top: 80px;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .section-title h1 {
    font-size: 2rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .history-timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    padding-left: 70px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -50px;
    right: auto;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .section-title h1 {
    font-size: 1.8rem;
  }
  
  .service-card,
  .feature-card {
    padding: 2rem 1.5rem;
  }
}