/* ===================== MEDIA QUERIES ===================== */

/* ========== Tablet Devices (max-width: 992px) ========== */
@media (max-width: 992px) {

  /* Header */
  .navbar-brand img {
    width: 160px;
  }

  .header-icons {
    display: none;
  }

  .navbar-nav .nav-link {
    margin: 8px 0;
    display: block;
    text-align: center;
  }

  /* Hero Section */
  #hero {
    height: 70vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-btn {
    font-size: 0.95rem;
    padding: 10px 25px;
  }

  /* About Section */
  .about-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .about-img-wrapper img {
    width: 100%;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .service-card {
    padding: 25px;
  }

  /* Testimonials */
  .testimonial-unique {
    padding: 60px 30px !important;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  /* Contact */
  .contact-section {
    padding: 100px 20px !important;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 30px;
  }

  /* Pricing */
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    max-width: 400px;
    width: 100%;
  }

  /* Skills */
  .skills-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  /* Footer */
  .footer-logo img {
    width: 200px;
  }

  .footer-menu a {
    margin: 5px 10px;
  }

  .site-footer {
    padding: 40px 15px;
  }
}

/* ========== Mobile Devices (max-width: 576px) ========== */
@media (max-width: 576px) {

  /* General */
  .animated-title {
    font-size: 28px;
  }

  /* Header */
  .navbar-brand img {
    width: 130px;
  }

  .custom-header {
    box-shadow: none;
  }

  /* Hero Section */
  #hero {
    height: 65vh;
  }

  .hero-title {
    font-size: 1.8rem;
    text-align: left;
    margin-left: 5%;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-left: 5%;
  }

  .hero-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    margin-left: 5%;
  }

  /* About Section */
  .about-text {
    font-size: 0.95rem;
    text-align: center;
  }

  .about-btn {
    display: block;
    margin: 15px auto;
  }

  .about-img-wrapper {
    text-align: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 20px;
  }

  /* Testimonial */
  .testimonial-unique {
    padding: 50px 20px !important;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  /* Contact */
  .contact-section {
    padding: 80px 15px !important;
  }

  .contact-info h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .contact-info p {
    text-align: center;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-btn {
    width: 100%;
  }

  /* Skills */
  .skills-wrapper {
    grid-template-columns: 1fr;
  }

  .skill {
    padding: 15px;
  }

  /* Pricing */
  .pricing-container {
    flex-direction: column;
  }

  .pricing-card {
    width: 100%;
    padding: 30px 20px;
  }

  .pricing-title {
    font-size: 1.3rem;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    margin: 0 auto;
    width: 90%;
  }

  .portfolio-img img {
    height: 180px;
  }

  /* Footer */
  .footer-logo img {
    width: 160px;
  }

  .footer-menu a {
    display: block;
    margin: 8px 0;
  }

  .footer-social a {
    margin: 0 6px;
    font-size: 1rem;
  }

  .site-footer p {
    font-size: 0.8rem;
  }
}

/* ===================== END MEDIA ===================== */
