﻿@media screen and (min-width: 240px) and (max-width: 1279px) {
  body {
    -webkit-text-size-adjust: none;
  }

  input,
  textarea,
  button,
  select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }

  input[type="radio"] {
    appearance: radio;
    -moz-appearance: radio;
    -webkit-appearance: radio;
  }

  input[type="checkbox"] {
    appearance: checkbox;
    -moz-appearance: checkbox;
    -webkit-appearance: checkbox;
  }

  .subsidiaries-card {
    margin-bottom: 30px;
  }

  .container,
  .container-sm {
    max-width: 100%;
  }

  .banner-wrapper {
    height: auto;
  }
}

@media screen and (min-width: 1920px) {
  /*.container {
    max-width: 1200px;
  }*/
}

@media screen and (min-width: 1520px) and (max-width: 1700px) {
  .container {
    width: 1500px;
  }
}

@media screen and (min-width: 1366px) and (max-width: 1519px) {

  .csr-img img,
  .new-img img,
  .news-list img {
    width: 100%;
  }

  .cmn-section,
  .footer-bg {
    padding: 50px 20px;
  }

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 100%;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1365px) {

  .csr-img img,
  .new-img img,
  .news-list img {
    width: 100%;
  }

  .cmn-section,
  .footer-bg {
    padding: 50px 20px;
  }

  .banner-wrapper {
    height: auto;
  }

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 100%;
  }
}

@media screen and (max-width: 1279px) {}

@media screen and (min-width: 992px) and (max-width: 1199px) {}

@media screen and (max-width: 1199px) {
  .plus-links {
    display: none;
  }

  .service-card .content {
    display: none;
  }

  .service-card .hover-overlay {
    background: transparent;
  }

  .service-card .hover-overlay {
    transform: none;
  }

  .cmn-hd {
    font-size: 30px;
    line-height: 40px;
  }

  .subsidiaries-section .cmn-hd {
    margin-bottom: 15px;
  }

  .subsidiaries-card .card-body {
    padding: 15px;
  }

  .subsidiaries-card h3 {
    font-size: 25px;
    margin-bottom: 15px;
  }

  .subsidiaries-card p {
    margin-bottom: 0;
  }

  .national-initiative .cmn-hd h2 {
    font-size: 30px;
    margin-bottom: 0;
    line-height: normal;
  }

  .stack-card h4 {
    font-size: 25px;
  }

  .news-list ul li p {
    font-size: 16px;
    line-height: 25px;
  }

  .news-list ul li a {
    row-gap: 15px;
  }

  h5 {
    font-size: 35px;
  }

  .csr-content span {
    font-size: 20px;
  }

  .simah-social-icon {
    margin-bottom: 25px;
  }

  .footer-bg .gy-5 {
    --bs-gutter-y: 1rem;
  }

  .footer-info {
    justify-content: center;
    margin: 25px 0;
  }

  .simah-social-icon .simah-ftr-logo img {
    margin-bottom: 20px;
  }

  .footer-link {
    margin-bottom: 30px;
  }

  .footer-link h6 {
    margin-bottom: 20px;
  }

  .csr-img img,
  .new-img img,
  .news-list img {
    width: 100%;
  }

  .cmn-section,
  .footer-bg {
    padding: 50px 20px;
  }

  .news-list ul {
    width: auto;
  }

  .simah-jur-content {
    width: 100%;
  }

  .navbar-light .navbar-nav .nav-link {
    font-size: 14px;
  }

  .mega-menu-item {
    padding: 0.5rem 0.2rem !important;
  }

  .member-info {
    padding: 12px 10px 12px;
    min-height: 97px;
  }

  .member-name {
    font-size: 18px;
  }

  .member-title {
    font-size: 13px;
  }

  /* Static Page Responsive */
  .static-title {
    font-size: 30px;
  }

  .item-title {
    font-size: 24px;
  }

  .staticpage-header {
    margin-bottom: 30px;
  }

  .staticpage-body {
    gap: 30px;
  }

  /* Accordion Responsive */
  .cmn-accordion .accordion-button {
    font-size: 18px;
    padding: 15px 20px;
  }

  .cmn-accordion .accordion-button::after {
    font-size: 24px;
  }

  .cmn-accordion .accordion-body {
    padding: 0 20px 20px;
    font-size: 14px;
  }

  /* Subsidiary Detail Responsive */
  .subsidiary-img {
    margin-bottom: 30px;
  }

  .subsidiary-content-detail {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .subsidiary-content-detail h2 {
    font-size: 30px;
    margin-bottom: 15px !important;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1279px) {

  .csr-img img,
  .new-img img,
  .news-list img {
    width: 100%;
  }

  .cmn-section,
  .footer-bg {
    padding: 50px;
  }
}

@media screen and (max-width: 991px) {
  .cmn-section {
    padding: 50px 30px;
  }

  .footer-bg {
    padding: 50px 30px 40px;
  }

  .simah-jur-content {
    width: 100%;
    margin-top: 30px;
  }

  .simah-jur {
    flex-direction: column;
  }

  .csr-content {
    width: 100%;
    margin-bottom: 30px;
  }

  .csr-activity {
    flex-direction: column;
  }

  .right-newsinsights {
    width: 100%;
  }

  .news-list ul {
    width: 100%;
    flex-direction: row;
    gap: 20px;
  }

  .news-list ul li {
    margin-bottom: 20px;
  }

  .ni-content.sticky-content {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }

  .stack-card {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 20px;
  }

  .simah-social-icon {
    text-align: center;
  }

  .banner-wrapper {
    height: auto;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {

  /* Added CSS for mobile navigation */
  .csr-img img,
  .new-img img,
  .news-list img {
    width: 100%;
  }

  .navbar-collapse {
    position: fixed;
    left: 0px;
    top: 135px;
    background: var(--white);
    width: 100%;
    height: 100%;
  }

  .mega-menu-item {
    justify-content: space-between;
    padding: 0.5rem 1rem !important;
    position: relative !important;
    flex-wrap: wrap;
  }

  .navbar-nav {
    height: calc(100% - 124px);
    overflow: auto;
    /* flex-wrap: wrap; */
    display: flex;
  }

  .mega-nav-list .mb-4 {
    margin-bottom: 0.5rem !important;
  }

  .mega-nav-list.mt-5 {
    margin-top: 1.5rem !important;
  }

  .navbar {
    padding: 5px 0;
  }

  .simah-social-icon ul {
    justify-content: center;
  }

  .footer-info {
    justify-content: center;
  }

  .container {
    max-width: 100%;
  }

  .stack-card p {
    min-height: auto;
  }

  /* Added CSS for mobile navigation */
}

@media screen and (max-width: 767px) {
  .cmn-section {
    padding: 15px 0px;
  }

  .footer-bg {
    padding: 15px;
  }

  /* Added CSS for mobile navigation */
  .csr-img img,
  .new-img img,
  .news-list img {
    width: 100%;
  }

  .navbar-collapse {
    position: fixed;
    left: 0px;
    top: 121px;
    background: var(--white);
    width: 100%;
    height: 100%;
  }

  .mega-menu-item {
    justify-content: space-between;
    padding: 0.5rem 1rem !important;
    position: relative !important;
    flex-wrap: wrap;
  }

  .navbar-nav {
    height: calc(100% - 124px);
    overflow: auto;
    /* flex-wrap: wrap; */
    display: flex;
  }

  .mega-nav-list .mb-4 {
    margin-bottom: 0.5rem !important;
  }

  .mega-nav-list.mt-5 {
    margin-top: 0em !important;
  }

  .navbar {
    padding: 5px 0;
  }

  .logo-main {
    height: 50px;
  }

  .top-nav-tools.gap-2 {
    gap: 9px !important;
  }

  /* Added CSS for mobile navigation */
}

/* @media screen and (max-width: 575px) {
}

@media screen and (min-width: 576px) and (max-width: 767px) {
}

@media screen and (min-width: 576px) and (max-width: 680px) {
}

@media screen and (min-width: 576px) and (max-width: 640px) {
} */

@media screen and (max-width: 991px) {
  .navbar-toggler {
    display: flex !important;
  }

  /* Responsive Mega Menu */
  .mega-menu-content {
    position: static;
    width: 100%;
    min-height: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    padding: 0;
    background-position: -71px 0;
  }

  .mega-menu-content.active {
    display: block;
    transform: none;
    position: relative;
    top: 11px;
    padding: 20px 10px;
    width: 100%;
  }

  .mega-menu-content .container {
    padding: 0 15px !important;
  }

  .mega-menu-content .col-lg-4 {
    border-right: none !important;
    padding: 0 !important;
  }

  .mega-menu-content .display-6 {
    font-size: 24px;
    display: none;
  }

  .mega-menu-content p {
    font-size: 14px;
    margin-bottom: 20px !important;
    display: none;
  }

  .mega-menu-content .btn-light {
    display: none;
  }

  .mega-nav-list li a {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .subsidiaries-card {
    margin-bottom: 30px;
  }

  /* Disable sticky on tablet/mobile */
  .ni-content.sticky-content,
  .stack-card {
    position: static !important;
    height: auto !important;
    margin-bottom: 30px;
  }

  .banner-title {
    font-size: 30px;
  }

  .banner-overlay {
    top: 40%;
  }
  
  #cookie-notice .cookie-notice-container {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 21px;
  }
  #cookie-notice .cookie-notice-container .cookie-cnt {
    width: 100%;
    padding-inline-end: 0;
  }
  #cookie-notice .cookie-notice-container .cookie-btn {
    width: 100%;
    justify-content: flex-start;
  }
    
  /* Contact Info Responsive */
  .contact-info-img {
    height: 700px !important;
    object-fit: cover;
    object-position: 70% top;
  }
 
  .info-content h2 {
    font-size: 45px;
    line-height: 55px;
  }
 
  .contact-info-overlay .row {
    align-items: flex-start !important;
    padding-top: 80px;
  }
 
}

@media screen and (max-width: 576px) {
  .top-nav-tools {
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-nav-tools .btn-top-nav {
    font-size: 12px;
    padding: 5px 10px;
    margin-bottom: 5px;
  }

  .header-top {
    height: auto;
    padding: 10px 0;
  }
}

/* ============================================
   About Us Hero Section Responsive Styles
   ============================================ */

/* Large Desktop (1920px and above) */
@media screen and (min-width: 1920px) {
  .about-hero-content {
    left: 250px;
  }

  .about-hero-title {
    font-size: 84px;
  }

  .about-nav-link {
    font-size: 18px;
    padding: 28px 24px;
  }
}

/* Desktop (1366px - 1519px) */
@media screen and (min-width: 1366px) and (max-width: 1519px) {
  .about-hero-content {
    left: 100px;
  }

  .about-hero-title {
    font-size: 64px;
  }

  .about-nav-link {
    font-size: 15px;
    padding: 22px 16px;
  }
}

/* Small Desktop (1280px - 1365px) */
@media screen and (min-width: 1280px) and (max-width: 1365px) {
  .about-hero-container {
    height: 400px;
  }

  .about-hero-content {
    left: 80px;
  }

  .about-hero-title {
    font-size: 58px;
  }

  .about-nav-link {
    font-size: 14px;
    padding: 20px 12px;
  }
}

/* Tablet Landscape (992px - 1199px) */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .about-hero-container {
    height: 380px;
  }

  .about-hero-content {
    left: 60px;
  }

  .about-hero-title {
    font-size: 52px;
  }

  .about-nav-list {
    gap: 5px;
  }

  .about-nav-link {
    font-size: 13px;
    padding: 18px 10px;
  }
}

/* Tablet Portrait (768px - 991px) */
@media screen and (max-width: 991px) {
  .about-hero-container {
    height: 350px;
  }

  .about-hero-content {
    left: 40px;
  }

  .about-hero-title {
    font-size: 48px;
  }

  .about-nav-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 15px;
  }

  .about-nav-list::-webkit-scrollbar {
    display: none;
  }

  .about-nav-item {
    flex: 0 0 auto;
  }

  .about-nav-link {
    font-size: 14px;
    padding: 15px 20px;
    border-bottom: none;
    border-right: none;
    white-space: nowrap;
  }

  /* .about-nav-link:hover,
  .about-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
  } */
}

/* Specific adjustments for smaller mobile */
@media screen and (max-width: 575px) {
  .about-hero-container {
    height: 250px;
  }

  .about-hero-content {
    left: 20px;
    right: 20px;
  }

  .about-hero-title {
    font-size: 36px;
  }
}

/* Extra Small Mobile (up to 375px) */
@media screen and (max-width: 375px) {
  .about-hero-container {
    height: 220px;
  }

  .about-hero-title {
    font-size: 32px;
  }
}

/* ============================================
   About Us Hero Section Responsive Styles End
   ============================================ */

/* ============================================
   Mission Vision Section Responsive Styles
   ============================================ */

@media screen and (max-width: 1199px) {
  .mission-vision-content {
    width: 100% !important;
    padding-right: 0 !important;
  }
}

@media screen and (max-width: 991px) {
  .mission-vision-section {
    padding: 60px 0;
  }
}

@media screen and (max-width: 767px) {
  .mission-vision-section {
    padding: 40px 0;
  }
}

/* ============================================
   Our Subsidiaries Section Responsive Styles
   ============================================ */

@media screen and (max-width: 1199px) {
  .subsidiary-card .card-img {
    height: 240px;
  }
}

@media screen and (max-width: 991px) {
  .subsidiary-card {
    margin-bottom: 30px;
  }

  .subsidiary-card h3 {
    font-size: 28px;
  }
}

@media screen and (max-width: 767px) {
  .subsidiary-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .subsidiary-card .card-body {
    padding: 30px 20px;
  }
}

/* ============================================
   Our Subsidiaries Section Responsive Styles End
   ============================================ */

/* ============================================
   Chairman Message Section Responsive Styles
   ============================================ */

@media screen and (max-width: 1199px) {
  .chairman-msg-content {
    padding-right: 0;
  }
}

@media screen and (max-width: 991px) {
  .chairman-msg-text {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .chairman-msg-img img {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .chairman-msg.cmn-section {
    padding: 40px 0;
  }
}

/* ============================================
   Chairman Message Section Responsive Styles End
   ============================================ */
/* ============================================
   Member Card Section Responsive Styles
   ============================================ */

@media screen and (max-width: 991px) {
  .member-card {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 767px) {
  .member-info {
    padding: 12px 15px;
    bottom: 15px;
    left: 10px;
    right: 10px;
  }
}

/* ============================================
   Member Card Section Responsive Styles End
   ============================================ */

/* ============================================
   Corporate Governance Responsive Styles
   ============================================ */

@media screen and (max-width: 991px) {
  .gov-img {
    margin-top: 40px;
  }
}

@media screen and (max-width: 767px) {
  .corporate-governance.cmn-section {
    padding: 60px 0;
  }

  .gov-text p {
    font-size: 14px;
    line-height: 24px;
  }
  
  #cookie-notice .cookie-notice-container {
    padding: 0 21px;
  }
  #cookie-notice .cookie-notice-container .cookie-cnt {
    padding-inline-end: 0;
  }
  #cookie-notice .cookie-notice-container h6 {
    font-size: 18px;
  }
  #cookie-notice .cookie-notice-container p {
    font-size: 14px;
    line-height: 21px;
  }
  #cookie-notice .button.bootstrap {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* ============================================
   Corporate Governance Responsive Styles End
   ============================================ */

/* Subsidiary Card Expanded State Responsive Start */
@media screen and (max-width: 767px) {
  .subsidiary-card.is-expanded .card-body {
    padding: 30px 20px;
  }

  .subsidiary-card.is-expanded h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .subsidiary-card.is-expanded p {
    font-size: 15px;
    line-height: 24px;
  }
}

/* Subsidiary Card Expanded State Responsive End */

/* Promo Modal Responsive Start */
@media screen and (max-width: 767px) {
  .promo-modal .modal-dialog {
    max-width: 90%;
    margin: 20px auto;
  }
}

@media screen and (max-width: 575px) {
  .btn-close-custom {
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .promo-modal-content {
    padding: 10px;
  }
}

/* Promo Modal Responsive End */