/* Additional Responsive Styles for Smart Profession Website */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.3rem;
    max-width: 70%;
  }
}

/* Large Devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 80%;
  }
  
  .team-member {
    flex: 0 0 calc(50% - 30px);
  }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .hero {
    padding: 100px 20px 70px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .team-member {
    flex: 0 0 calc(50% - 30px);
  }
  
  .service-card {
    margin-bottom: 30px;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info, .contact-form {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .footer-column {
    flex: 0 0 calc(50% - 30px);
    margin-bottom: 30px;
  }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  .header-container {
    padding: 10px 0;
  }
  
  .logo img {
    height: 40px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .hero {
    padding: 90px 20px 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .team-member {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .service-card {
    margin-bottom: 30px;
  }
  
  .footer-column {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .social-header {
    display: none;
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }
  
  .header-container {
    padding: 10px 0;
  }
  
  .logo {
    flex-direction: column;
    align-items: center;
  }
  
  .logo img {
    height: 35px;
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  .hero {
    padding: 80px 15px 50px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  section {
    padding: 50px 0;
  }
  
  section h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }
  
  section h2::after {
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .about-content, .contact-container {
    flex-direction: column;
  }
  
  .about-text, .about-image, .contact-info, .contact-form {
    width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .team-member, .service-card, .blog-card {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-column {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .social-header, .share-buttons {
    display: none;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input, .newsletter-form button {
    width: 100%;
    margin-bottom: 10px;
  }
  
  /* Adjust form elements for better mobile experience */
  .form-control {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  
  textarea.form-control {
    min-height: 120px;
  }
}

/* Print Styles */
@media print {
  .social-floating, .social-header, .nav-toggle, .btn, .newsletter, footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
  
  .hero {
    padding: 20px 0;
    margin-top: 20px;
    background: none !important;
    color: #000;
  }
  
  section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
}
