/* ==========================================================================
   Webinar Sentiment Polling SaaS - Responsive CSS
   Mobile-First Responsive Design
   ========================================================================== */

/* ==========================================================================
   MOBILE FIRST BASE STYLES (320px+)
   ========================================================================== */

/* Base mobile styles */
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

.hero-title {
  font-size: 2.00rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1rem;
}

.hero-description {
  font-size: 1.04rem;
}

.section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.82rem;
}

.section-subtitle {
  font-size: 1rem;
}

.section-image {
  max-width: 100% !important;
  margin: 1.5rem auto !important;
}

.contact-form {
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.service-card,
.feature-card,
.team-card,
.testimonial-card {
  margin-bottom: 1.60rem;
}

.gallery-item {
  margin-bottom: 1rem;
}

.gallery-item img {
  height: 200px;
}

/* Navigation adjustments */
.navbar-nav {
  text-align: center;
}

.navbar-nav .nav-link {
  padding: 0.75rem 1rem;
}

/* Hero section mobile */
.hero {
  text-align: center;
  padding-top: 60px;
  min-height: 80vh;
}

.hero-image {
  margin-top: 2rem;
}

.hero-image img {
  transform: none;
  border-radius: 12px;
}

/* Cards mobile */
.team-avatar {
  width: 100px;
  height: 100px;
}

.service-card .card-img-top {
  width: 60px;
  height: 60px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  font-size: 1.30rem;
}

/* ==========================================================================
   SMALL MOBILE (375px+)
   ========================================================================== */
@media (min-width: 375px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.19rem;
  }
  
  .section-title {
    font-size: 1.97rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .team-avatar {
    width: 110px;
    height: 110px;
  }
  
  .service-card .card-img-top {
    width: 70px;
    height: 70px;
  }
}

/* ==========================================================================
   LARGE MOBILE (425px+)
   ========================================================================== */
@media (min-width: 425px) {
  .hero-title {
    font-size: 2.33rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .service-card .card-img-top {
    width: 75px;
    height: 75px;
  }
  
  .feature-icon {
    width: 65px;
    height: 65px;
    font-size: 1.50rem;
  }
}

/* ==========================================================================
   TABLET PORTRAIT (576px+) - SM BREAKPOINT
   ========================================================================== */
@media (min-width: 576px) {
  .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .hero-title {
    font-size: 2.61rem;
  }
  
  .hero-subtitle {
    font-size: 1.33rem;
  }
  
  .hero-description {
    font-size: 1.18rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2.32rem;
  }
  
  .section-subtitle {
    font-size: 1.21rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .testimonial-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  .team-avatar {
    width: 120px;
    height: 120px;
  }
  
  .service-card .card-img-top {
    width: 80px;
    height: 80px;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.54rem;
  }
  
  /* Grid adjustments */
  .row > .col,
  .row > [class*="col-"] {
    margin-bottom: 1.74rem;
  }
}

/* ==========================================================================
   TABLET LANDSCAPE (768px+) - MD BREAKPOINT
   ========================================================================== */
@media (min-width: 768px) {
  .hero {
    min-height: 90vh;
    text-align: left;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.45rem;
  }
  
  .hero-image {
    margin-top: 0;
  }
  
  .hero-image img {
    transform: perspective(1000px) rotateY(-3deg) rotateX(3deg);
    border-radius: 16px;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2.62rem;
  }
  
  .section-subtitle {
    font-size: 1.28rem;
  }
  
  .section-image {
    margin: 2rem auto !important;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  /* Navigation */
  .navbar-nav {
    text-align: left;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Cards in grid */
  .service-card,
  .feature-card,
  .team-card,
  .testimonial-card {
    height: 100%;
    margin-bottom: 0;
  }
  
  /* Blog grid */
  .blog-card {
    height: 100%;
  }
  
  .blog-card .card-img-top {
    height: 200px;
  }
  
  /* FAQ adjustments */
  .faq-card {
    margin-bottom: 1.70rem;
  }
  
  /* Footer grid */
  .footer .row > .col {
    margin-bottom: 2rem;
  }
}

/* ==========================================================================
   DESKTOP SMALL (992px+) - LG BREAKPOINT
   ========================================================================== */
@media (min-width: 992px) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 3.60rem;
  }
  
  .hero-subtitle {
    font-size: 1.53rem;
  }
  
  .hero-image img {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    border-radius: 20px;
  }
  
  .section-title {
    font-size: 2.84rem;
  }
  
  .section-subtitle {
    font-size: 1.47rem;
  }
  
  .gallery-item img {
    height: 280px;
  }
  
  /* Service cards in 3 columns */
  .services-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Feature cards in 2 columns */
  .features-grid .col-lg-6 {
    margin-bottom: 2rem;
  }
  
  /* Team cards in 5 columns - special handling */
  .team-grid .col-lg-2 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  
  /* Price plan cards in 3 columns */
  .priceplan-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Case study cards in 3 columns */
  .casestudy-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Process steps in 5 columns */
  .process-grid .col-lg-2 {
    flex: 0 0 20%;
    max-width: 20%;
    margin-bottom: 2rem;
  }
  
  /* Timeline items */
  .timeline-grid .col-lg-2 {
    flex: 0 0 20%;
    max-width: 20%;
    margin-bottom: 2rem;
  }
  
  /* Career positions in 2 columns */
  .career-grid .col-lg-6 {
    margin-bottom: 2rem;
  }
  
  /* Core info in 3 columns */
  .coreinfo-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Contact form improvements */
  .contact-section .row {
    align-items: center;
  }
  
  /* Footer columns */
  .footer .row > .col {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   DESKTOP LARGE (1200px+) - XL BREAKPOINT
   ========================================================================== */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.77rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .section-subtitle {
    font-size: 1.64rem;
  }
  
  .gallery-item img {
    height: 300px;
  }
  
  /* Larger containers */
  .container {
    max-width: 1140px;
  }
  
  /* Enhanced spacing */
  .section {
    padding: 6rem 0;
  }
  
  .section-header {
    margin-bottom: 5rem;
  }
  
  /* Service grid - 6 items in 2 rows */
  .services-grid .col-xl-4 {
    margin-bottom: 3rem;
  }
  
  /* Blog cards larger images */
  .blog-card .card-img-top {
    height: 220px;
  }
}

/* ==========================================================================
   DESKTOP EXTRA LARGE (1400px+) - XXL BREAKPOINT
   ========================================================================== */
@media (min-width: 1400px) {
  .hero-title {
    font-size: 4.56rem;
  }
  
  .hero-subtitle {
    font-size: 1.87rem;
  }
  
  .section-title {
    font-size: 3.29rem;
  }
  
  .gallery-item img {
    height: 320px;
  }
  
  /* Ultra-wide layouts */
  .container {
    max-width: 1320px;
  }
  
  .section {
    padding: 7rem 0;
  }
  
  .section-header {
    margin-bottom: 6rem;
  }
}

/* ==========================================================================
   LANDSCAPE ORIENTATION ADJUSTMENTS
   ========================================================================== */
@media (orientation: landscape) and (max-height: 600px) {
  .hero {
    min-height: 100vh;
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: 2.53rem;
  }
  
  .hero-subtitle {
    font-size: 1.19rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* ==========================================================================
   HIGH DPI DISPLAYS
   ========================================================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .team-avatar,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  .header,
  .navbar,
  .footer,
  .gallery,
  .btn {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 1.5rem 0;
    break-inside: avoid;
  }
  
  .card {
    border: 1px solid #cebdbe !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  
  a {
    text-decoration: underline !important;
    color: black !important;
  }
}

/* ==========================================================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================================================== */

/* Focus states for keyboard navigation */
@media (min-width: 768px) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card,
  .service-card,
  .feature-card,
  .team-card,
  .testimonial-card {
    border: 2px solid var(--text-dark);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-image img,
  .card,
  .service-card,
  .feature-card,
  .team-card,
  .testimonial-card,
  .gallery-item {
    transform: none !important;
    transition: none !important;
  }
  
  .navbar-nav .nav-link::after {
    transition: none !important;
  }
}

/* ==========================================================================
   CONTAINER QUERIES (Modern Browsers)
   ========================================================================== */
@supports (container-type: inline-size) {
  .services-grid {
    container-type: inline-size;
  }
  
  @container (max-width: 600px) {
    .service-card {
      padding: 1.5rem 1rem;
    }
    
    .service-card .card-img-top {
      width: 60px;
      height: 60px;
    }
  }
}

/* ==========================================================================
   UTILITY CLASSES FOR RESPONSIVE DESIGN
   ========================================================================== */

/* Responsive spacing */
.p-responsive {
  padding: 1rem;
}

@media (min-width: 576px) {
  .p-responsive {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .p-responsive {
    padding: 2rem;
  }
}

@media (min-width: 992px) {
  .p-responsive {
    padding: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .p-responsive {
    padding: 3rem;
  }
}

/* Responsive text sizes */
.text-responsive {
  font-size: 0.97rem;
}

@media (min-width: 576px) {
  .text-responsive {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .text-responsive {
    font-size: 1.18rem;
  }
}

/* Hide elements on specific breakpoints */
.hide-on-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-on-mobile {
    display: block;
  }
}

.hide-on-desktop {
  display: block;
}

@media (min-width: 768px) {
  .hide-on-desktop {
    display: none;
  }
} 

.hero-content {
    padding-top: 225px;
}