/* 
 * Webinar Polling SaaS Template - Responsive CSS
 * Mobile-First Responsive Design
 */

/* ========================================
   MOBILE FIRST (Base styles for mobile)
   ======================================== */

/* Base mobile styles are in main.css */

/* ========================================
   SMALL DEVICES (576px and up)
   ======================================== */
@media (min-width: 576px) {
  .hero-content h1 {
    font-size: 2.57rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .service-card {
    margin-bottom: 1.57rem;
  }
  
  .price-card {
    margin-bottom: 1.72rem;
  }
  
  .team-member {
    margin-bottom: 1.68rem;
  }
}

/* ========================================
   MEDIUM DEVICES (768px and up)
   ======================================== */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.63rem;
  }
  
  .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .hero-content {
    text-align: left;
    padding-top: 100px;
}
  
  .hero-image {
    text-align: center;
  }
  
  .about-feature {
    margin-bottom: 0;
  }
  
  .service-card {
    margin-bottom: 0;
  }
  
  .feature-item {
    margin-bottom: 0;
  }
  
  .price-card {
    margin-bottom: 0;
  }
  
  .price-card.featured {
    transform: scale(1.05);
  }
  
  .team-member {
    margin-bottom: 0;
  }
  
  .review-card {
    margin-bottom: 0;
  }
  
  .casestudy-item {
    margin-bottom: 0;
  }
  
  .process-step {
    margin-bottom: 0;
  }
  
  .process-step::before {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
  }
  
  .timeline-item {
    margin-bottom: 1rem;
  }
  
  .career-item {
    margin-bottom: 1rem;
  }
  
  .coreinfo-item {
    margin-bottom: 0;
  }
  
  .blog-card {
    margin-bottom: 0;
  }
  
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .contact-form {
    margin-top: 0;
  }
  
  .footer {
    text-align: left;
  }
}

/* ========================================
   LARGE DEVICES (992px and up)
   ======================================== */
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: 3.52rem;
  }
  
  .section-title h2 {
    font-size: 3rem;
  }
  
  .navbar-brand {
    font-size: 1.80rem;
  }
  
  .section {
    padding: var(--section-padding) 0;
  }
  
  .hero-content p {
    font-size: 1.37rem;
  }
  
  .btn {
    padding: 14px 28px;
    font-size: 1.12rem;
  }
  
  .about-feature {
    padding: 2.5rem 1.5rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .feature-item {
    padding: 2.5rem 1.5rem;
  }
  
  .price-card {
    padding: 2.5rem;
  }
  
  .team-member {
    padding: 2.5rem 1.5rem;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  .review-card {
    padding: 2.5rem;
  }
  
  .casestudy-item {
    padding: 2.5rem;
  }
  
  .process-step {
    padding: 2.5rem 1.5rem;
  }
  
  .timeline-item {
    padding: 2.5rem;
  }
  
  .career-item {
    padding: 2.5rem;
  }
  
  .coreinfo-item {
    padding: 2.5rem 1.5rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .blog-content {
    padding: 2rem;
  }
  

  
  .gallery-item img {
    height: 300px;
  }
  
  .footer {
    padding: 4rem 0 2rem;
  }
}

/* ========================================
   EXTRA LARGE DEVICES (1200px and up)
   ======================================== */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .section-title h2 {
    font-size: 3.54rem;
  }
  
  .hero-content p {
    font-size: 1.43rem;
  }
  
  .section {
    padding: 100px 0;
  }
  
  .about-feature {
    padding: 3rem 2rem;
  }
  
  .service-card {
    padding: 3rem;
  }
  
  .feature-item {
    padding: 3rem 2rem;
  }
  
  .price-card {
    padding: 3rem;
  }
  
  .team-member {
    padding: 3rem 2rem;
  }
  
  .team-member img {
    width: 200px;
    height: 200px;
  }
  
  .review-card {
    padding: 3rem;
  }
  
  .casestudy-item {
    padding: 3rem;
  }
  
  .process-step {
    padding: 3rem 2rem;
  }
  
  .timeline-item {
    padding: 3rem;
  }
  
  .career-item {
    padding: 3rem;
  }
  
  .coreinfo-item {
    padding: 3rem 2rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .blog-content {
    padding: 2.5rem;
  }
  

  
  .gallery-item img {
    height: 350px;
  }
  
  .footer {
    padding: 5rem 0 2rem;
  }
}

/* ========================================
   EXTRA EXTRA LARGE DEVICES (1400px and up)
   ======================================== */
@media (min-width: 1400px) {
  .hero-content h1 {
    font-size: 4.65rem;
  }
  
  .section-title h2 {
    font-size: 4rem;
  }
  
  .hero-content p {
    font-size: 1.56rem;
  }
  
  .container {
    max-width: 1320px;
  }
}

/* ========================================
   MOBILE SPECIFIC STYLES
   ======================================== */
@media (max-width: 767px) {
  .navbar-collapse {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-top: 1rem;
  }
  
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.24rem;
    margin-bottom: 1.64rem;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .section {
    padding: var(--section-padding-sm) 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.85rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .btn:last-child {
    margin-bottom: 0;
  }
  
  .about-feature {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  
  .service-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .feature-item {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  
  .price-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: none;
    border: 2px solid var(--primary-orange);
  }
  
  .team-member {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .review-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .casestudy-item {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .process-step {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  
  .process-step::before {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 1rem;
  }
  
  .timeline-item {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .timeline-item:hover {
    transform: none;
  }
  
  .career-item {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .coreinfo-item {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  

  
  .gallery-item {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .footer {
    padding: 3rem 0 1rem;
    text-align: center;
  }
  
  .footer-bottom {
    padding-top: 1.66rem;
    margin-top: 1.72rem;
  }
  
  .breadcrumb-nav {
    margin-top: 60px;
    padding: 0.5rem 0;
  }
  
  .breadcrumb {
    font-size: 1.00rem;
  }
  
  .breadcrumb-item img {
    width: 20px;
    height: 20px;
  }
  
  .space-content {
    padding: 2rem 0;
  }
  
  .space-content h1 {
    font-size: 1.76rem;
  }
  
  .contact-info {
    padding: 1rem;
    margin-bottom: 1.66rem;
  }
  
  .contact-info i {
    font-size: 1.52rem;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .navbar,
  .hero,
  .footer {
    display: none;
  }
  
  .section {
    padding: 20px 0;
  }
  
  .section-title h2 {
    font-size: 18pt;
    margin-bottom: 10px;
  }
  
  .btn {
    display: none;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
  
  .contact-form {
    box-shadow: none;
    border: 1px solid #000;
  }
}

/* ========================================
   DARK MODE SUPPORT (Optional)
   ======================================== */

/* ========================================
   HIGH CONTRAST MODE
   ======================================== */
@media (prefers-contrast: high) {
  * {
    border-color: #000 !important;
  }
  
  .btn {
    border: 2px solid #000 !important;
  }
  
  .form-control {
    border: 2px solid #000 !important;
  }
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto !important;
  }
  
  .hero::before {
    animation: none !important;
  }
  
  .animate-fade-in,
  .animate-fade-in-up {
    animation: none !important;
  }
} 