/* ESG Compliance Training Platform - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decoration {
    display: none;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .price-card {
    margin-bottom: 2rem;
    transform: none !important;
  }
  
  .price-card.featured {
    transform: none !important;
  }
  
  .process-step {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .career-card {
    margin-bottom: 2rem;
  }
  
  .review-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .faq-card {
    padding: 1.5rem;
  }
  
  /* No animations on mobile as per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .card:hover {
    transform: none !important;
  }
  
  .btn-primary:hover {
    transform: none !important;
  }
  
  .gallery-item:hover {
    transform: none !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .hero-decoration {
    width: 200px;
    height: 200px;
  }
  
  .hero-decoration::before {
    width: 150px;
    height: 150px;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .career-card {
    margin-bottom: 2rem;
  }
  
  .review-card {
    margin-bottom: 2rem;
  }
  
  .blog-card {
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-decoration {
    width: 250px;
    height: 250px;
  }
  
  .hero-decoration::before {
    width: 180px;
    height: 180px;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .review-card {
    margin-bottom: 2rem;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .career-card {
    margin-bottom: 2rem;
  }
  
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .review-card {
    margin-bottom: 2rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .career-card {
    margin-bottom: 2rem;
  }
  
  .blog-card {
    margin-bottom: 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .hero-decoration {
    width: 300px;
    height: 300px;
  }
  
  .hero-decoration::before {
    width: 200px;
    height: 200px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-decoration {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }
  
  a {
    color: black !important;
    text-decoration: underline !important;
  }
  
  .text-green,
  .text-blue,
  .service-icon,
  .feature-icon {
    color: black !important;
  }
  
  .bg-light-green,
  .bg-light-blue {
    background: white !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #42904b;
    --primary-blue: #2a71eb;
    --text-primary: #000000;
    --text-secondary: #403c3b;
    --border-light: #000000;
  }
  
  .card {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    border: 2px solid #000000;
  }
  
  .form-control {
    border: 2px solid #000000;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-width: 991.98px) {
  .hero-section {
    min-height: 70vh;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* Portrait Orientation */
@media (orientation: portrait) and (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-decoration {
    display: none;
  }
}

/* Navigation Responsive Adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Grid Adjustments for Better Mobile Experience */
@media (max-width: 767.98px) {
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .col-6,
  .col-md-6,
  .col-lg-4,
  .col-lg-6,
  .col-xl-4 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Contact Form Responsive Adjustments */
@media (max-width: 767.98px) {
  .contact-info {
    margin-top: 2rem;
  }
  
  .contact-info-item {
    flex-direction: column;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .contact-info-icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* Team Section Responsive */
@media (max-width: 575.98px) {
  .team-card {
    padding: 2rem 1rem;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .col-md-3,
  .footer .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* Gallery Responsive Grid */
@media (max-width: 575.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
}

/* FAQ Responsive */
@media (max-width: 575.98px) {
  .faq-card {
    margin-bottom: 1rem;
  }
}

/* Blog Grid Responsive */
@media (max-width: 767.98px) {
  .blog-card img {
    height: 180px;
  }
  
  .blog-card-body {
    padding: 1.5rem;
  }
} 

.hero-content {
    padding-top: 250px;
}