* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: #1a1a2e;
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo h1 {
  font-size: 24px;
  margin-bottom: 5px;
}

.logo span {
  font-size: 12px;
  opacity: 0.8;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #f39c12;
}

/* Banner */
.banner {
  background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
  background-image: url("https://img.freepik.com/free-photo/financial-data-visualization-stock-market-charts_23-2151977852.jpg?semt=ais_hybrid&w=740&q=80");
  color: #fff;
  padding: 100px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-content h2 {
  font-size: 48px;
  margin-bottom: 15px;
}

.banner-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 400;
}

.banner-content p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background: #f39c12;
  color: #1a1a2e;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #e67e22;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #f39c12;
  color: #f39c12;
}

.btn-outline:hover {
  background: #f39c12;
  color: #1a1a2e;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #f39c12;
}

/* About */
.about {
  padding: 80px 0;
  background: #f9f9f9;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 16px;
}

/* Services Preview */
.services-preview {
  padding: 80px 0;
}

.services-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card,
.product-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.service-card:hover,
.product-item:hover {
  transform: translateY(-5px);
}

.service-card h3,
.product-item h3 {
  margin-bottom: 15px;
  color: #1a1a2e;
}

/* Reviews */
.reviews {
  background: #1a1a2e;
  color: #fff;
  padding: 80px 0;
}

.reviews .section-title {
  color: #fff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
}

.review-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.review-card h4 {
  margin-bottom: 5px;
  color: #f39c12;
}

.rating {
  color: #f39c12;
  font-size: 18px;
}

.text-center {
  text-align: center;
}

/* Page Banner */
.page-banner {
  background: #0f3460;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

/* Products Full */
.products-full {
  padding: 60px 0;
}

.category {
  margin-bottom: 60px;
}

.category h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #1a1a2e;
  border-left: 4px solid #f39c12;
  padding-left: 15px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.service-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 3px solid #f39c12;
}

.service-item h3 {
  margin-bottom: 10px;
  color: #1a1a2e;
}

/* Contact Page */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info .info-item {
  margin-bottom: 30px;
}

.contact-info h3 {
  color: #f39c12;
  margin-bottom: 10px;
}

.contact-form {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

.alert {
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.alert.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
footer {
  background: #1a1a2e;
  color: #fff;
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
}

.footer-section a:hover {
  color: #f39c12;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    margin-top: 15px;
    gap: 20px;
  }

  .banner-content h2 {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   MOBILE RESPONSIVE CSS
   ============================================ */

/* Tablet Devices (768px to 1024px) */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .banner-content h2 {
    font-size: 40px;
  }

  .banner-content h3 {
    font-size: 24px;
  }

  .services-grid,
  .products-grid,
  .reviews-grid {
    gap: 20px;
  }
}

/* Mobile Landscape & Small Tablets (481px to 768px) */
@media screen and (max-width: 768px) {
  /* Header Mobile */
  header .container {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .logo h1 {
    font-size: 22px;
  }

  .logo span {
    font-size: 11px;
  }

  nav ul {
    margin-top: 15px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li a {
    font-size: 14px;
  }

  /* Banner Mobile */
  .banner {
    padding: 60px 0;
  }

  .banner-content h2 {
    font-size: 28px;
  }

  .banner-content h3 {
    font-size: 18px;
  }

  .banner-content p {
    font-size: 14px;
    padding: 0 15px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  /* Section Titles Mobile */
  .section-title {
    font-size: 28px;
    margin-bottom: 35px;
  }

  /* About Section Mobile */
  .about {
    padding: 50px 0;
  }

  .about-text p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Services Grid Mobile */
  .services-grid,
  .products-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card,
  .product-item {
    padding: 20px;
  }

  .service-card h3,
  .product-item h3 {
    font-size: 18px;
  }

  /* Reviews Mobile */
  .reviews {
    padding: 50px 0;
  }

  .review-card {
    padding: 20px;
  }

  .review-card p {
    font-size: 14px;
  }

  .review-card h4 {
    font-size: 14px;
  }

  /* Page Banner Mobile */
  .page-banner {
    padding: 40px 0;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  .page-banner p {
    font-size: 14px;
  }

  /* Products Page Mobile */
  .products-full {
    padding: 40px 0;
  }

  .category {
    margin-bottom: 40px;
  }

  .category h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-item {
    padding: 20px;
  }

  .service-item h3 {
    font-size: 18px;
  }

  /* Contact Page Mobile */
  .contact-section {
    padding: 40px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 24px;
  }

  .contact-form {
    padding: 20px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px;
    font-size: 14px;
  }

  /* Footer Mobile */
  footer {
    padding: 40px 0 20px;
    margin-top: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer-section p,
  .footer-section li {
    font-size: 13px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

/* Mobile Portrait (320px to 480px) */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  /* Header Mobile Portrait */
  .logo h1 {
    font-size: 20px;
  }

  nav ul {
    gap: 15px;
  }

  nav ul li a {
    font-size: 12px;
  }

  /* Banner Mobile Portrait */
  .banner {
    padding: 50px 0;
  }

  .banner-content h2 {
    font-size: 24px;
  }

  .banner-content h3 {
    font-size: 16px;
  }

  .banner-content p {
    font-size: 13px;
    margin-bottom: 25px;
  }

  /* Section Titles Mobile Portrait */
  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .section-title::after {
    width: 60px;
    height: 2px;
  }

  /* Buttons Mobile Portrait */
  .btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  /* About Section Mobile Portrait */
  .about {
    padding: 40px 0;
  }

  .about-text p {
    font-size: 13px;
  }

  /* Service Cards Mobile Portrait */
  .service-card,
  .product-item {
    padding: 18px;
  }

  .service-card h3,
  .product-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .service-card p,
  .product-item p {
    font-size: 13px;
  }

  /* Reviews Mobile Portrait */
  .reviews {
    padding: 40px 0;
  }

  .review-card {
    padding: 18px;
  }

  .review-card p {
    font-size: 13px;
  }

  .rating {
    font-size: 14px;
  }

  /* Page Banner Mobile Portrait */
  .page-banner {
    padding: 35px 0;
  }

  .page-banner h1 {
    font-size: 24px;
  }

  /* Products Page Mobile Portrait */
  .category h2 {
    font-size: 20px;
    border-left-width: 3px;
    padding-left: 12px;
  }

  .service-item {
    padding: 18px;
  }

  .service-item h3 {
    font-size: 16px;
  }

  .service-item p {
    font-size: 13px;
  }

  /* Contact Page Mobile Portrait */
  .contact-info .info-item {
    margin-bottom: 20px;
  }

  .contact-info h3 {
    font-size: 16px;
  }

  .contact-info p {
    font-size: 13px;
  }

  .contact-form h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  button.btn {
    width: 100%;
  }

  /* Alert Messages */
  .alert {
    padding: 10px;
    font-size: 13px;
  }

  /* Footer Mobile Portrait */
  .footer-section p,
  .footer-section li {
    font-size: 12px;
  }

  .footer-section ul li {
    margin-bottom: 8px;
  }
}

/* Extra Small Devices (below 320px) */
@media screen and (max-width: 320px) {
  .banner-content h2 {
    font-size: 20px;
  }

  .banner-content h3 {
    font-size: 14px;
  }

  .section-title {
    font-size: 22px;
  }

  nav ul {
    gap: 12px;
  }

  nav ul li a {
    font-size: 11px;
  }
}

/* Fix for touch devices (better tap targets) */
@media (hover: none) and (pointer: coarse) {
  nav ul li a,
  .btn,
  .service-card,
  .product-item,
  button {
    cursor: pointer;
  }

  /* Increase tap target size for mobile */
  nav ul li a {
    padding: 8px 0;
    display: inline-block;
  }

  .btn {
    padding: 12px 25px;
  }
}

/* Fix for iOS and Android specific issues */
@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */
  .banner {
    background-attachment: scroll;
  }
}

/* Landscape mode optimization for mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .banner {
    padding: 40px 0;
  }

  .banner-content h2 {
    font-size: 28px;
  }

  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Smooth scrolling for mobile */
@media screen and (max-width: 768px) {
  html {
    scroll-behavior: smooth;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Better touch scrolling */
  .services-grid,
  .products-grid,
  .reviews-grid {
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile menu enhancement (if you want to add hamburger menu later) */
@media screen and (max-width: 768px) {
  /* Fix for sticky header on mobile */
  header {
    position: relative;
  }

  /* Better spacing for mobile */
  .container {
    width: 100%;
    overflow-x: hidden;
  }

  /* Images responsive */
  img {
    max-width: 100%;
    height: auto;
  }
}
