/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fafc;
  color: #222;
  overflow-x: hidden;
}

h2, h3 { color: #0a2540; font-weight: 600; }
p { line-height: 1.7; color: #444; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 0.5rem 1.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: all 0.35s ease;
}

.main-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  border-bottom-color: #e5e5e5;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: auto;
}

.logo-area { display: flex; align-items: center; gap: 0.6rem; }
.logo { height: 48px; width: auto; }
.gm-imports h1 { font-size: 1.15rem; font-weight: 300; color: #111; letter-spacing: 1px; }
.gm-color { color: #8B0000; font-weight: 700; }

/* Nav */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: #111;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.2rem;
  transition: color 0.25s;
}

.nav-links a:hover { color: #0073e6; }

.btn-nav {
  background: #0073e6;
  color: #fff !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.25s, transform 0.2s !important;
}
.btn-nav:hover { background: #005bb5 !important; transform: translateY(-2px); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 0.6rem 0;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 100;
}
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: #333 !important;
  font-size: 0.9rem;
}
.dropdown-menu a:hover { color: #0073e6 !important; background: #f5f9ff; }
.dropdown:hover .dropdown-menu { display: block; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span { width: 24px; height: 2px; background: #111; transition: 0.3s; display: block; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: linear-gradient(135deg, #0073e6, #005bb5);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,115,230,0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,115,230,0.4); color: #fff; }

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}
.btn-secondary:hover { background: rgba(255,255,255,0.3); transform: translateY(-3px); color: #fff; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a2540;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://girmamogesimport.com/wp-content/uploads/2025/11/photo_2025-11-13_11-53-52.jpg');
  background-size: cover;
  background-position: center;
  animation: heroSlide 20s infinite ease-in-out;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,37,64,0.55) 0%, rgba(10,37,64,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 2rem;
  animation: fadeInUp 1s ease both;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.hero-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

@keyframes heroSlide {
 0%, 100% { background-image: url('Office/photo_2025-11-13_11-53-52.jpg'); }
  33% { background-image: url('Office/photo_2025-11-13_11-53-53.jpg'); }
  66% { background-image: url('Office/photo_2025-11-13_11-53-53\ \(2\).jpg'); }}
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ABOUT HOME ===== */
.about-home {
  background: #fff;
  padding: 5rem 1.5rem;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.about-text { flex: 1 1 480px; }
.about-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; }
.about-text .btn-primary { margin-top: 0.5rem; }

.about-image { flex: 1 1 380px; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

/* ===== WHY CHOOSE ===== */
.why-choose {
  background: #f5f8fc;
  padding: 5rem 1.5rem;
  text-align: center;
}

.why-choose h2 { font-size: 2rem; margin-bottom: 0.8rem; }
.why-choose > p { max-width: 640px; margin: 0 auto 2.5rem; color: #555; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0,115,230,0.08);
  transition: all 0.3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 12px 28px rgba(0,115,230,0.12); }
.card-icon { font-size: 2rem; color: #0073e6; margin-bottom: 1rem; }
.card h3 { color: #0073e6; margin-bottom: 0.7rem; }
.card p { font-size: 0.95rem; color: #555; }

/* ===== SERVICES HOME ===== */
.services-home {
  padding: 5rem 1.5rem;
  background: #fff;
  text-align: center;
}

.services-home h2 { font-size: 2rem; margin-bottom: 2.5rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.service-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}
.service-item:hover { transform: translateY(-8px); box-shadow: 0 12px 28px rgba(0,115,230,0.1); }
.service-item img { width: 100%; height: 200px; object-fit: cover; }
.service-item h3 { color: #0073e6; margin: 1rem 0 0.5rem; padding: 0 1rem; }
.service-item p { padding: 0 1rem 1.5rem; color: #555; font-size: 0.93rem; }

/* ===== FEATURED PRODUCTS ===== */
.home-products {
  padding: 5rem 1.5rem;
  text-align: center;
  background: #f5f8fc;
}

.home-products h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.home-products-intro { color: #666; margin-bottom: 2.5rem; font-size: 1rem; }

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

.home-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  transition: 0.3s ease;
  padding-bottom: 1rem;
}
.home-product-card:hover { transform: translateY(-5px); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.home-product-card img { width: 100%; height: 150px; object-fit: cover; }
.home-product-card h3 { margin-top: 0.8rem; font-size: 1rem; color: #0a2540; padding: 0 0.8rem; }

.home-products-btn-box { margin-top: 2.5rem; }

/* ===== PARTNERS ===== */
.partners-home {
  background: #fff;
  text-align: center;
  padding: 5rem 1.5rem;
}
.partners-home h2 { font-size: 2rem; margin-bottom: 0.8rem; }
.partners-home > p { color: #555; max-width: 600px; margin: 0 auto 3rem; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  max-width: 1100px;
  margin: auto;
}
.partners-grid img {
  width: 90px;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: 0.3s ease;
}
.partners-grid img:hover { opacity: 1; transform: scale(1.08); }

/* ===== EXPERIENCE PREVIEW ===== */
.home-experience {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.home-experience h2 { font-size: 2rem; margin-bottom: 0.8rem; }
.home-exp-intro { max-width: 760px; margin: 0 auto 3rem; color: #555; }

.home-exp-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.exp-box {
  background: #fff;
  padding: 1.8rem;
  border-radius: 16px;
  border: 1px solid #e9e9e9;
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
  text-align: left;
  transition: 0.3s ease;
}
.exp-box:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.09); border-color: #0073e6; }
.exp-box h3 { font-size: 1.15rem; margin-bottom: 0.7rem; color: #0a2540; border-left: 4px solid #0073e6; padding-left: 10px; }
.exp-box p { font-size: 0.97rem; color: #444; }

/* ===== CTA ===== */
.cta-home {
  background: linear-gradient(135deg, #0073e6, #005bb5);
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem;
}
.cta-content h2 { font-size: 2rem; margin-bottom: 1rem; color: #fff; }
.cta-content p { font-size: 1.1rem; margin-bottom: 2rem; color: rgba(255,255,255,0.9); }
.cta-home .btn-primary { background: #fff; color: #0073e6 !important; box-shadow: none; }
.cta-home .btn-primary:hover { background: #f0f4ff; }

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, #0a2540, #001633);
  color: #fff;
  padding: 4rem 1.5rem 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.brand-col h3 { font-size: 1.4rem; margin-bottom: 1rem; color: #fff; }
.brand-col p { font-size: 0.93rem; color: #c8d4e0; line-height: 1.7; }

.footer-col h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: #1e90ff;
  border-radius: 2px;
}

.footer-col ul { list-style: none; }
.footer-col ul li {
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  color: #c8d4e0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-col ul li i { color: #1e90ff; margin-top: 3px; flex-shrink: 0; }
.footer-col ul li a { color: #c8d4e0; transition: color 0.25s; }
.footer-col ul li a:hover { color: #1e90ff; }

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: #c8d4e0;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #0a2540, #1a3a5c);
  color: #fff;
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; font-weight: 700; margin-bottom: 0.8rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: auto; }

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 5rem 1.5rem;
  background: #fff;
  text-align: center;
}
.section-title { font-size: 2.2rem; color: #0a2540; margin-bottom: 0.5rem; }
.section-subtitle { color: #6c7a91; font-size: 1rem; margin-bottom: 3rem; max-width: 580px; margin-left: auto; margin-right: auto; }

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  border: 1px solid #e4e8ee;
  transition: all 0.35s ease;
  width: 240px;
}
.team-card:hover { transform: translateY(-10px); box-shadow: 0 12px 30px rgba(11,36,71,0.12); }
.team-card img { width: 100%; height: 240px; object-fit: cover; border-bottom: 3px solid #0a2540; }
.team-card h3 { font-size: 1rem; font-weight: 600; color: #0a2540; margin: 1rem 0 0.3rem; padding: 0 1rem; }
.team-card .position { font-size: 0.88rem; color: #6c7a91; margin-bottom: 1rem; padding: 0 1rem; }

/* ===== VALUES SECTION ===== */
.values-section { padding: 5rem 1.5rem; background: #f5f8fc; text-align: center; }
.values-section h2 { font-size: 2rem; margin-bottom: 2rem; }

/* ===== VISION MISSION ===== */
.vision-mission { padding: 4rem 1.5rem; background: #fff; }
.vm-container { max-width: 800px; margin: auto; }
.vm-container h2 { font-size: 2rem; margin-bottom: 1.5rem; text-align: center; }
.vm-item { margin-bottom: 1.5rem; }
.vm-item strong { color: #0073e6; }

/* ===== FOUNDER ===== */
.founder-section { padding: 5rem 1.5rem; background: #f5f8fc; }
.founder-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}
.founder-photo img { width: 100%; max-width: 380px; border-radius: 14px; box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.founder-message { flex: 1 1 400px; }
.founder-message h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.founder-message h3 { font-size: 1.2rem; color: #8B0000; margin-bottom: 1.5rem; }
.founder-message p { margin-bottom: 1.1rem; color: #333; }
.founder-message .signature { font-weight: 600; margin-top: 1.5rem; color: #0a2540; }

/* ===== PRODUCTS PAGE ===== */
.products-section { padding: 4rem 1.5rem; background: #f5f8fc; }
.products-section h1 { text-align: center; font-size: 2rem; color: #0a2540; margin-bottom: 0.5rem; }
.section-intro { text-align: center; color: #555; margin-bottom: 2.5rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
  padding-bottom: 1rem;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 8px 18px rgba(0,0,0,0.12); }
.product-card img { width: 100%; height: 200px; object-fit: cover; }
.product-card h3 { color: #0a2540; font-size: 1rem; margin: 1rem 0 0.5rem; padding: 0 1rem; }
.product-card p { color: #555; font-size: 0.9rem; padding: 0 1rem; }

/* ===== EXPERIENCE / PROJECTS PAGE ===== */
.experience-section { padding: 4rem 1.5rem; max-width: 1200px; margin: auto; }
.experience-section h2 { font-size: 2.2rem; text-align: center; margin-bottom: 0.8rem; }
.experience-section .section-intro { text-align: center; max-width: 780px; margin: 0 auto 3rem; color: #555; }

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.experience-category {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
  transition: 0.3s ease;
}
.experience-category:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: #0073e6; }
.experience-category h3 { font-size: 1.2rem; margin-bottom: 1.2rem; padding-left: 12px; border-left: 4px solid #0073e6; color: #0a2540; }
.experience-category ul { list-style: none; }
.experience-category ul li {
  font-size: 0.95rem;
  color: #2d3748;
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}
.experience-category ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  background: #0073e6;
  border-radius: 50%;
}

/* Projects photo grid */
.projects-section { padding: 4rem 1.5rem; background: #f5f8fc; }
.projects-section h2 { font-size: 2rem; text-align: center; margin-bottom: 0.5rem; }
.projects-intro { text-align: center; color: #555; margin-bottom: 2.5rem; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 1300px;
  margin: auto;
}
.project-item { border-radius: 10px; overflow: hidden; height: 150px; }
.project-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.project-item:hover img { transform: scale(1.06); }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 3rem 1.5rem; background: #f5f8fc; }
.contact-container {
  max-width: 900px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}
.contact-container h1 { text-align: center; font-size: 2.2rem; color: #0077cc; margin-bottom: 2rem; }
.contact-info p { font-size: 1rem; margin: 0.7rem 0; color: #333; }
.contact-info a { color: #0077cc; font-weight: 600; }
.contact-info a:hover { color: #005fa3; }
.contact-buttons { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.contact-buttons .btn-primary { background: #0d6efd; color: #fff; }
.contact-buttons .btn-primary:hover { background: #084dbd; }
.contact-buttons .btn-secondary {
  background: #e9ecef;
  color: #333;
  box-shadow: none;
  border: none;
}
.contact-buttons .btn-secondary:hover { background: #d4d4d4; color: #333; transform: none; }
.contact-map { margin-top: 2rem; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.contact-map iframe { display: block; }

/* ===== TRAINING SECTION ===== */
.training-section { padding: 4rem 1.5rem; background: #fff; text-align: center; }
.training-section h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.training-desc { max-width: 680px; margin: 0 auto 2.5rem; color: #555; }
.training-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: auto;
}
.training-grid img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.2s; }
.training-grid img:hover { transform: scale(1.03); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .training-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 70px; right: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    padding: 1.5rem;
    gap: 1rem;
    display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 998;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }
  .about-container, .founder-container { flex-direction: column; }
  .about-text .btn-primary { display: inline-block; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .footer-col ul li { justify-content: center; text-align: left; }
  .brand-col { text-align: center; }
}

@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .training-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 1.8rem; }
}
