@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #f07e13; /* Orange */
  --primary-hover: #d16b0d;
  --secondary-color: #0d2a58; /* Navy Blue */
  --secondary-hover: #081d40;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #eaeaea;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.text-center { text-align: center; }
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}
.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background-color: var(--white);
  color: var(--secondary-color);
}
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }
.bg-light { background-color: var(--bg-light); }

/* Header & Nav */
.top-bar {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.9rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left span { margin-right: 20px; }
.top-bar-left i { color: var(--primary-color); margin-right: 5px; }
.top-bar-right a { color: var(--white); margin-left: 15px; }
.top-bar-right a:hover { color: var(--primary-color); }

.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
}
.logo span {
  color: var(--primary-color);
}
.nav-menu {
  display: flex;
  align-items: center;
}
.nav-item {
  margin-left: 30px;
  position: relative;
}
.nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  text-transform: uppercase;
  padding: 10px 0;
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary-color);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-top: 3px solid var(--primary-color);
  z-index: 100;
}
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  padding-left: 25px;
}
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}
.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 42, 88, 0.6); /* Navy overlay */
}
.slide.active {
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
}
.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: slideUp 0.8s ease forwards;
}
.hero-title span {
  color: var(--primary-color);
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: slideUp 1s ease forwards;
  opacity: 0.9;
}
.hero-btns {
  animation: slideUp 1.2s ease forwards;
}

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

/* Features/About summary */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}
.feature-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--primary-color);
}
.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--eaf2f8);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: var(--white);
}
.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.product-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.1);
}
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 126, 19, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-overlay {
  opacity: 1;
}
.product-info {
  padding: 25px;
  text-align: center;
}
.product-title {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}
.product-desc {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Call to Action */
.cta-section {
  background: linear-gradient(rgba(13, 42, 88, 0.9), rgba(13, 42, 88, 0.9)), url('../images/banner1.png') center/cover;
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 70px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-about p {
  color: #a0aec0;
  margin-top: 20px;
  margin-bottom: 20px;
}
.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
}
.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}
.footer-title {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #a0aec0;
}
.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
.footer-contact li {
  display: flex;
  margin-bottom: 15px;
  color: #a0aec0;
}
.footer-contact i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 15px;
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: #a0aec0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .features-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-out;
  }
  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .nav-item { margin: 10px 0; width: 100%; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding-left: 20px;
    display: none;
  }
  .nav-item.dropdown:hover .dropdown-menu { display: block; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page Headers */
.page-header {
  background: linear-gradient(rgba(13, 42, 88, 0.8), rgba(13, 42, 88, 0.8)), url('../images/banner1.png') center/cover;
  padding: 100px 0 60px;
  text-align: center;
  color: var(--white);
}
.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
}
.breadcrumb li {
  margin: 0 10px;
}
.breadcrumb li a {
  color: var(--primary-color);
}
.breadcrumb li::after {
  content: '>';
  margin-left: 20px;
  color: var(--white);
}
.breadcrumb li:last-child::after {
  display: none;
}

/* About Page specific */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.about-text h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}
.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Contact Page specific */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: 8px;
}
.contact-item {
  display: flex;
  margin-bottom: 30px;
}
.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 20px;
}
.contact-item h4 {
  color: var(--secondary-color);
  margin-bottom: 5px;
}
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 20px;
}
.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}
textarea.form-control {
  height: 150px;
  resize: vertical;
}

@media (max-width: 768px) {
  .about-content, .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Single Product Page & Modal Styles */
.single-product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
    margin-bottom: 60px;
}
.product-image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
}
.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-image-container:hover img {
    transform: scale(1.05);
}
.product-details {
    padding: 20px 0;
}
.product-details h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.product-price-info {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
}
.product-description {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}
.features-list {
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}
.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.features-list i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}
.modal.show {
    display: flex;
}
.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}
.close-modal:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .single-product-wrapper {
        grid-template-columns: 1fr;
    }
    .product-image-container {
        height: 350px;
    }
}
