/* 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: #6c757d; /* Gray instead of Navy Blue */
  --secondary: #ff6b35; /* Orange */
  --accent: #dc3545; /* Red */
  --light: #ffffff;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #f8f9fa;
  --border: #e9ecef;
  --overlay: rgba(108, 117, 125, 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: #5a6268;
}

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;
  padding: 0 20px;
  width: 100%;
  position: relative;
  height: 90px;
  max-width: 100%;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.logo-img {
  height: 60px;
  width: auto;
  margin-right: 0;
}

.sidebar-logo {
  height: 56px;
  width: auto;
  margin: 0;
}

.logo-text {
  color: #6c757d;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  white-space: nowrap;
}

.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;
  flex-shrink: 0;
  position: absolute;
  left: 20px;
}

.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;
  max-width: 90vw;
  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-color: #1a3a5c;
  margin-top: 90px;
  padding-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(41, 41, 41, 0.8), rgba(20, 0, 77, 0.9)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
  position: relative;
}

.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);
  position: relative;
  z-index: 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;
  margin: 0;
}

.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 {
  display: block;
  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(108, 117, 125, 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), #8b939a);
  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(108, 117, 125, 0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.feature-card h3 {
  font-size: 1.5rem;
  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: #5a6268;
  line-height: 1.6;
}

/* 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(108, 117, 125, 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: #5a6268;
  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: #5a6268;
  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), #8b939a);
  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), #8b939a);
  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 ==================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  header {
    padding: 12px 0;
  }

  .header-container {
    height: 75px;
    padding: 0 50px 0 50px;
  }

  .menu-toggle {
    left: 15px;
    z-index: 1002;
  }

  .logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    gap: 0px;
  }

  .logo-img {
    height: 50px;
  }

  .logo-text {
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sidebar {
    width: 280px;
    max-width: 85vw;
  }

  .hero {
    min-height: 80vh;
    margin-top: 75px;
  }

  .hero::before {
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  section {
    padding: 4rem 0;
  }

  .section-title h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .btn-secondary {
    margin-left: 10px;
  }

  .feature-card,
  .service-card {
    padding: 1.5rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .history-timeline::before {
    left: 25px;
  }

  .timeline-item {
    padding-left: 65px !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-bottom: 40px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 65px !important;
    padding-right: 0 !important;
  }

  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -50px;
    right: auto;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .cta {
    padding: 4rem 0;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta p {
    font-size: 1rem;
  }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
  header {
    padding: 8px 0;
  }

  .header-container {
    height: 65px;
    padding: 0 45px 0 45px;
    justify-content: center;
  }

  .menu-toggle {
    position: absolute;
    left: 10px;
    width: 28px;
    height: 20px;
    display: flex;
    z-index: 1002;
  }

  .menu-toggle span {
    height: 2.5px;
  }

  .logo-container {
    position: static;
    transform: none;
    gap: 1px;
  }

  .logo-img {
    height: 40px;
  }

  .logo-text {
    font-size: 1rem;
    white-space: normal;
    max-width: 100%;
  }

  .sidebar-logo {
    height: 40px;
    width: auto;
    margin: 0;
  }

  .sidebar {
    width: 250px;
    max-width: 80vw;
    padding: 15px;
  }

  .sidebar-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .sidebar-nav ul li a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .hero {
    min-height: 70vh;
    margin-top: 70px;
  }

  .hero::before {
    background-attachment: scroll;
    background-image: linear-gradient(rgba(41, 41, 41, 0.9), rgba(20, 0, 77, 0.95)), url('../images/hero-bg.jpg');
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-content {
    padding: 0 10px;
  }

  .btn {
    display: block;
    padding: 12px 20px;
    font-size: 0.95rem;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 10px;
  }

  section {
    padding: 3rem 0;
  }

  .section-title h1 {
    font-size: 1.5rem;
  }

  .section-title h1::after {
    width: 60px;
  }

  .container {
    padding: 0 15px;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card,
  .service-card {
    padding: 1.25rem;
  }

  .feature-icon,
  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .feature-card h3,
  .service-card h3 {
    font-size: 1.2rem;
  }

  .feature-card p,
  .service-card p {
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .history-timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 55px !important;
    padding-right: 0 !important;
    margin-bottom: 30px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 55px !important;
    padding-right: 0 !important;
  }

  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -45px;
  }

  .timeline-content {
    padding: 1.25rem;
  }

  .timeline-year {
    font-size: 1.1rem;
  }

  .timeline-title {
    font-size: 1.2rem;
  }

  .contact-form,
  .contact-info {
    padding: 1.75rem;
  }

  .contact-details p {
    font-size: 1rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 16px;
  }

  .form-group textarea {
    height: 120px;
  }

  .map-container {
    height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-col h4 {
    font-size: 1rem;
  }

  .cta {
    padding: 3rem 0;
  }

  .cta h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .cta p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  footer p {
    font-size: 1rem;
  }
}

/* Extra small phones (below 360px) */
@media (max-width: 360px) {
  .header-container {
    height: 70px;
    padding: 0 40px 0 40px;
  }

  .logo-text {
    font-size: 0.85rem;
  }

  .logo-img {
    height: 35px;
  }

  .hero {
    min-height: 70vh;
    margin-top: 70px;
  }

  .hero::before {
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .section-title h1 {
    font-size: 1.3rem;
  }
}
