/* ===== RESPONSIVE DESIGN - MOBILE FIRST ===== */

/* ===== EXTRA SMALL DEVICES (Portrait phones, less than 576px) ===== */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-description {
    font-size: 0.98rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.88rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .services-item {
    padding: 1.5rem;
  }
  
  .services-item .price {
    font-size: 1.54rem;
  }
  
  .priceplan-item {
    padding: 2rem 1rem;
  }
  
  .priceplan-item .price {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .navbar-brand {
    font-size: 1.39rem;
  }
  
  .hero-section {
    text-align: center;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
}

/* ===== SMALL DEVICES (Landscape phones, 576px and up) ===== */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.61rem;
  }
  
  .hero-subtitle {
    font-size: 1.33rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-item {
    padding: 1.75rem;
  }
  
  .priceplan-item {
    padding: 2.5rem 1.5rem;
  }
  
  .contact-form {
    padding: 2.5rem 1.5rem;
  }
  
  .team-member img {
    width: 130px;
    height: 130px;
  }
}

/* ===== MEDIUM DEVICES (Tablets, 768px and up) ===== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.56rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2.36rem;
  }
  
  .services-item {
    padding: 2rem;
  }
  
  .priceplan-item {
    padding: 2.5rem 2rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* ===== LARGE DEVICES (Desktops, 992px and up) ===== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 3.31rem;
  }
  
  .hero-subtitle {
    font-size: 1.64rem;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2.61rem;
  }
  
  .services-item {
    padding: 2rem;
  }
  
  .priceplan-item {
    padding: 2.75rem 2rem;
  }
  
  .contact-form {
    padding: 2.75rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
}

/* ===== EXTRA LARGE DEVICES (Large desktops, 1200px and up) ===== */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.58rem;
  }
  
  .hero-subtitle {
    font-size: 1.63rem;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2.65rem;
  }
  
  .services-item {
    padding: 2rem;
  }
  
  .priceplan-item {
    padding: 3rem 2rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .container {
    max-width: 1200px;
  }
}

/* ===== RESPONSIVE NAVIGATION ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(106, 98, 225, 0.10);
  }
}

/* ===== RESPONSIVE GRID ADJUSTMENTS ===== */
@media (max-width: 767.98px) {
  .col-md-6:not(.no-margin-bottom) {
    margin-bottom: 2rem;
  }
  
  .col-md-4:not(.no-margin-bottom) {
    margin-bottom: 2rem;
  }
  
  .col-md-3:not(.no-margin-bottom) {
    margin-bottom: 2rem;
  }
  
  .services-item,
  .features-item,
  .priceplan-item,
  .reviews-item,
  .casestudy-item,
  .career-item,
  .coreinfo-item {
    margin-bottom: 2rem;
  }
}

/* ===== RESPONSIVE HERO SECTION ===== */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section .col-md-6 {
    margin-bottom: 2rem;
  }
  
  .hero-section .col-md-6:last-child {
    margin-bottom: 0;
  }
}

/* ===== RESPONSIVE GALLERY ===== */
@media (max-width: 575.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item img {
    height: 250px;
  }
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 767.98px) {
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer .col-md-3:last-child,
  .footer .col-md-4:last-child {
    margin-bottom: 0;
  }
}

/* ===== RESPONSIVE CONTACT FORM ===== */
@media (max-width: 575.98px) {
  .contact-form .form-control {
    padding: 10px 12px;
    font-size: 0.92rem;
  }
  
  .contact-form .btn-primary {
    padding: 10px 20px;
    font-size: 0.96rem;
  }
}

/* ===== RESPONSIVE SPACING ===== */
@media (max-width: 575.98px) {
  .mb-4 {
    margin-bottom: 2rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2.68rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media (max-width: 575.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.79rem; }
  h3 { font-size: 1.60rem; }
  h4 { font-size: 1.38rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.99rem; }
  
  p {
    font-size: 0.97rem;
  }
}

/* ===== RESPONSIVE ANIMATIONS ===== */
@media (prefers-reduced-motion: reduce) {
  .services-item:hover,
  .priceplan-item:hover,
  .blog-item:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .about-feature:hover {
    transform: none;
  }
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 575.98px) {
  .text-center-xs {
    text-align: center !important;
  }
  
  .d-none-xs {
    display: none !important;
  }
  
  .d-block-xs {
    display: block !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .text-center-sm {
    text-align: center !important;
  }
  
  .d-none-sm {
    display: none !important;
  }
  
  .d-block-sm {
    display: block !important;
  }
}

/* ===== RESPONSIVE IMAGES ===== */
@media (max-width: 575.98px) {
  .hero-section img {
    max-width: 100%;
    height: auto;
  }
  
  .services-item img {
    width: 60px;
    height: 60px;
  }
  
  .about-feature i {
    font-size: 2rem;
  }
  
  .features-item i {
    font-size: 2.65rem;
  }
  
  .coreinfo-item i {
    font-size: 2rem;
  }
}

/* ===== RESPONSIVE FAQ ===== */
@media (max-width: 575.98px) {
  .faq-question {
    padding: 1rem;
    font-size: 1.03rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 1.03rem;
  }
}

/* ===== RESPONSIVE TIMELINE ===== */
@media (max-width: 575.98px) {
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item::before {
    width: 10px;
    height: 10px;
  }
  
  .timeline-item::after {
    left: 4px;
  }
}

/* ===== RESPONSIVE PROCESS ===== */
@media (max-width: 575.98px) {
  .process-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.01rem;
  }
}

/* ===== RESPONSIVE BREADCRUMB ===== */
@media (max-width: 575.98px) {
  .breadcrumb {
    padding: 1rem 0;
  }
  
  .breadcrumb img {
    width: 25px;
    height: 25px;
  }
}

/* ===== RESPONSIVE SPACE PAGE ===== */
@media (max-width: 575.98px) {
  #space {
    min-height: 50vh;
    margin: 2rem 0;
  }
}

/* ===== LANDSCAPE ORIENTATION ===== */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 40px 0;
  }
}

/* ===== HIGH DPI SCREENS ===== */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
  .hero-section::before {
    background-image: url('../NET_images/hero-bg@2x.webp');
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .footer,
  .btn,
  .hero-section,
  .contact-form {
    display: none !important;
  }
  
  .section {
    padding: 20px 0;
  }
  
  .section-title {
    font-size: 1.54rem;
  }
  
  h1, h2, h3, h4, h5, h6 {
    break-after: avoid;
  }
  
  p {
    orphans: 3;
    widows: 3;
  }
  
  .services-item,
  .features-item,
  .priceplan-item,
  .reviews-item {
    break-inside: avoid;
  }
}

.hero-content {
    padding-top: 125px;
}