/* Reset and base styles */


.container {
 
  width: 100%;
  max-width: 1707px;
  margin: 0 auto;
  overflow: hidden;
}
.fees-or{
  font-family: 'Times New Roman', serif;
  font-weight: 100;
  color: red;
  font-size: 25px;
  margin-bottom: 42px;
  margin-top: 42px;
  text-align: center;
}
.fees-or.color-blk{
  color: black;
}
/* Header Styles */
.header {
  width: 100%;
  position: relative;
}

/* Announcement Bar */
.announcement-bar {
  width: 100%;
  height: 40px;
  background-color: #cf2027;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-content {
  width: 100%;
  max-width: 1505px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.announcement-text {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  color: white;
  font-size: 16px;
  text-align: center;
  flex: 1;
  margin: 0 20px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  width: 30px;
  height: 30px;
}

.social-icon-bg {
  width: 30px;
  height: 30px;
  background-color: #972e2e;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 19px;
  height: auto;
}

/* Main Header */
.main-header {
  width: 100%;
  min-height: 160px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo {
  width: 168px;
  height: 58px;
}

.component {
  width: 161px;
  height: 56px;
}

.quick-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-link {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  color: #e8878b;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.quick-link:hover {
  color: #cf2027;
}

.contact-section {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* .contact-info {
  display: flex;
  align-items: center;
  border-radius: 6px;
  box-shadow: 0px 0px 7.3px rgba(255, 255, 255, 0.25);
  padding: 12px;
  min-width: 0;
} */

/* .phone-icon {
  width: 29px;
  height: 29px;
  flex-shrink: 0;
} */

/* .contact-details {
  margin-left: 8px;
  min-width: 0;
} */

/* .contact-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #cf2027;
  font-size: 12px;
  margin: 0;
}

.contact-number {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #cf2027;
  font-size: 20px;
  margin: 0;
} */

/* .apply-btn {
  background-color: #cf2027;
  color: white;
  font-weight: 700;
  padding: 12px 35px;
  border-radius: 6px;
  border: none;
  box-shadow: 0px 0px 7.3px rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.apply-btn:hover {
  background-color: #b01e23;
} */

/* Navigation */
/* .navigation {
  width: 100%;
  min-height: 42px;
  background-color: #cf2027;
  display: flex;
  align-items: center;
  padding: 8px 48px;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-item {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  color: white;
  font-size: 16px;
  margin-right: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding: 8px 0;
}

.nav-item:hover {
  color: #fcdbdb;
} */

/* Mobile Menu Button */
/* .mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
} */

/* Main Content */
.main-content {
  margin-top: 64px;
}

/* Hero Section */
.hero-section {
  display: flex;
  padding: 0 64px;
  padding-bottom: 50px;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section.uni-red-rect::after{
  position: absolute;
  width: 100%;
  height: 236px;
  top: 324px;
  left: auto;
  background-color: #CF2027;
  opacity: 1;
  border-radius: 20px;
  z-index: -1;
  content: "";
  right: -55%;
}


.hero-title {
  font-family: 'Times New Roman', serif;
  font-weight: 600;
  font-size: 45px;
  color: black;
  margin-bottom: 33px;
  margin-right: 3px;
  line-height: 1.2;
}

.hero-description {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  color: black;
  font-size: 18px;
}

.hero-description li {
  font-family: 'Mulish', sans-serif;
  font-size: 18px;
  color: #000;
  line-height: 1.2;
  margin-bottom: 10px;
  margin-left: 15px;
}

.hero-description li::marker {
  font-size: 0.8em;
}

.hero-image {
  width: 100%;
  position: relative;
  min-width: 0;
}

.image-container {
  width: 100%;
  height: 486px;
  position: relative;
  border-radius: 0px;
  overflow: hidden;
  background-color: #f5f5f5;
}

/* Slideshow Styles */
.slideshow-container {
  width: 400%; /* 4 slides × 100% each */
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  transform: translateX(0%);
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slide {
  width: 25%; /* Each slide takes 25% of container width (100% / 4 slides) */
  height: 100%;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  opacity: 1 !important;
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
  opacity: 1 !important;
  display: block;
}



/* Programs Section */
.programs-section {
  margin: 0 0 64px 0;
  position: relative;
  min-height: 500px;
}
.programs-section .program-card  h4{
    font-weight: 700;
    font-size: 28px;
}

.programs-container {
  display: flex;
  justify-content: space-between;
  padding: 0 64px;
  gap: 102px;
  position: relative;
  z-index: 2;
  margin-top: 100px;
}

.program-card {
  width: 100%;
  max-width: 709px;
  min-height: 340px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 7px;
  box-shadow: 0px -1px 4px 0px #00000040;
  padding: 32px;
}

.program-title {
  font-family: 'Times New Roman', serif;
  font-weight: 400;
  color: black;
  font-size: 40px;
  margin-bottom: 10px;
}

.program-list {
  font-family: 'Mulish', sans-serif;
  color: black;
  font-size: 17px;
}

.program-list li {
  margin-bottom: 2px;
}

.program-name {
  font-weight: 700;
  -webkit-text-stroke: 0.3px black;
  color: black;
}

.programs-background {
  position: absolute;
  
  max-width: 1707px;
  height: 300px;
  bottom: 0;
  right: 0;
  top: 300px;
  left: 463px;
  border-radius: 20px;
  border: 4px solid black;
  z-index: 0;
}

.programs-bg-image {
  position: absolute;
  width: 100%;
  max-width: 1582px;
  height: 300px;
  bottom: 0px;
  top: 240px;
  left: -125px;
  z-index: 1;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.8;
}

/* Eligibility Section */
.eligibility-section {
  display: flex;
  align-items: center;
  margin: 135px 40px 0;
  gap: 60px;
  padding: 40px 20px;
}


.eligibility-section .row{
  display: flex;
     align-items: start !important;
}


.eligibility-image {
  display: flex;
  flex: 0 0 45%;
  padding: 0;
}

.eligibility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.eligibility-content {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:0px 30px;
  background: #fff;
}

.eligibility-text {
  flex: 0 0 45%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.eligibility-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 20px 0;
  line-height: 1.5;
  max-width: none;
  font-family: 'Mulish', sans-serif;
  font-size: 18px;
}

.eligibility-list li {
  margin-bottom: 12px;
  line-height: 1.5;
  text-align: justify;
  color: #000;
  font-weight: 400;
}

.curtin-logo {
  max-width: 200px;
  height: auto;
  margin: 10px 0;
  display: block;
}

.eligibility-title {
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: 'Times New Roman', serif;
  font-weight: 400;
  color: black;
  font-size: 40px;
}



/* Fees Section */
.fees-section {
  padding: 0 64px;
  margin-bottom: 64px;
  
}

.fees-title {
  font-family: 'Times New Roman', serif;
  font-weight: 400;
  color: black;
  font-size: 40px;
  margin-bottom: 32px;
}

.table-container {
  border: 2px solid black;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  overflow-x: auto;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  table-layout: fixed;
}

.fees-table th:nth-child(1),
.fees-table td:nth-child(1) {
  width: 15%;
  min-width: 120px;
}

.fees-table th:nth-child(2),
.fees-table td:nth-child(2) {
  width: 35%;
}

.fees-table th:nth-child(3),
.fees-table td:nth-child(3) {
  width: 25%;
}

.fees-table th:nth-child(4),
.fees-table td:nth-child(4) {
  width: 25%;
}

.table-header {
  background-color: #fff2f2;
  border-bottom: none;
}

.fees-table th,
.fees-table td {
  border: 1px solid #333;
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}

.fees-table th {
  background-color: #fff2f2;
  font-weight: 600;
  border-bottom: 2px solid #222;
}

.fees-table tbody tr:hover {
  background-color: #f9f9f9;
}

.italic-text {
  font-style: italic;
  color: #4e4e4e;
}

.visit-curtin-container {
  display: flex;
  justify-content: flex-end;
}

.visit-curtin-btn {
  background-color: #cd9901;
  color: white;
  font-weight: 700;
  padding: 12px 35px;
  border-radius: 6px;
  border: none;
  box-shadow: 0px 0px 7.3px rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.visit-curtin-btn:hover {
  background-color: #b8870e;
}
.fees-table td {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  color: black;
  font-size: 16px;
}

/* Utility classes for better mobile experience */
.text-center-mobile {
  text-align: center;
}

/* Smooth transitions for responsive changes */
.main-header,
/* .navigation, */
.hero-section,
.program-card,
.eligibility-section,
.fees-section {
  transition: all 0.3s ease;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}


@media (max-width: 1200px) {
  .hero-section {
    flex-direction: column;
    gap: 48px;
  }
  
  .hero-content,
  .hero-image {
    width: 100%;
  }
  
  .image-container {
    height: 400px;
  }
  
  .programs-container {
   
    align-items: center;
  }
  
  .program-card {
    width: 100%;
    max-width: 800px;
  }
  
  /* .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  } */
}


/* Tablet Styles */
@media (max-width: 1024px) {
  .eligibility-section { 
    gap: 40px;
    flex-direction: column;
    padding: 20px;
  }
  
  .eligibilty-section .row {
    flex-direction: column;
  }

  .eligibility-image,
  .eligibility-content {
    flex: none;
    width: 100%;
    height:auto;
  }
  
  .eligibility-content {
    padding: 30px 20px;
    order: 1;
    align-items: center;
    text-align: center;
  }
  
  .eligibility-image {
    order: 2;
    max-height: 550px;
    min-height: 320px;
    padding: 20px 30px 40px 30px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .eligibility-image img {
    max-height: 550px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
  }
  
  .eligibility-title {
    font-size: 36px;
    margin-bottom: 25px;
  }
  
  .eligibility-list {
    font-size: 17px;
    text-align: left;
  }
  
  .curtin-logo {
    max-width: 180px;
    margin: 20px auto;
  }
  .eligibility-section .row {
    margin-top: -25px;
  }
    .hero-section.uni-red-rect::after {
    height: 200px;
    top: 432px;
    right: -62%;
  }

}



@media (max-width: 992px) {
  .main-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  
  .logo-section {
    margin-bottom: 20px;
  }
  
  .quick-links {
    order: 3;
    margin-top: 20px;
  }
  
  .contact-section {
    order: 2;
    justify-content: center;
  }
  
  /* .navigation {
    padding: 12px 20px;
    justify-content: center;
  }
  
  .nav-item {
    margin: 4px 12px;
    font-size: 14px;
  } */
  
  .hero-title {
    font-size: 36px;
    
  }
  
  .program-title,
  .eligibility-title,
  .fees-title {
    font-size: 36px;
  }
}



@media (max-width: 768px) {

    .hero-section.uni-red-rect .container .row{
        flex-direction: column;
    }
    .hero-section.uni-red-rect .container .row .col-md-5{
        order: 2;
        width:100%;
    }
    .hero-section.uni-red-rect .container .row .col-md-7{
        width:100%;
    }
  .announcement-content {
    flex-direction: column;
    height: auto;
    padding: 8px 20px;
    gap: 8px;
  }
  
  .announcement-text {
    font-size: 14px;
    margin: 0;
  }
  
  .social-icons {
    gap: 4px;
  }
  
  .icon,
  .social-icon-bg {
    width: 24px;
    height: 24px;
  }
  
  /* .main-header {
    padding: 16px 20px;
  } */
  
  /* .logo {
    width: 140px;
    height: 48px;
  }
   */
  .component {
    width: 135px;
    height: 47px;
  }
  
  .quick-links {
    gap: 8px;
  }
  
  .quick-link {
    font-size: 12px;
  }
  
  .contact-section {
    flex-direction: column;
    gap: 12px;
  }
  
  /* .contact-info {
    padding: 8px;
  } */
  
  /* .contact-number {
    font-size: 16px;
  }
   */
  /* .navigation {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
  } */
  
  /* .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 12px;
    right: 20px;
  } */
  
  /* .nav-item {
    display: none;
    width: 100%;
    margin: 4px 0;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .nav-item.show {
    display: block;
  }
   */
  .hero-section,
  .fees-section,
  .programs-container {
    padding: 0 12px;
  }
  
  .programs-container {
    flex-direction: column;
        align-items: center;
        margin-top: 30px;
        gap:30px;
  }

  .main-content {
    margin-top: 32px;
  }
  
  .hero-title {
    font-size: 32px;
    margin-bottom: 32px;
  }
  
  .hero-description {
            font-size: 18px;
        padding: 0px;
  }
  
  .image-container {
           height: 400px;
        width: 100%;
        left: 0;
        margin-bottom: 30px;
  }
  
  .program-title,
  .fees-title {
    font-size: 28px;
    text-align: center;
  }
  
  .program-card {
    padding: 24px;
        box-shadow: 0px 5px 5px -3px #00000040;
            margin-bottom: 10px;
            min-height: auto
  }
  
  .program-list {
    font-size: 18px;
  }
  
  .fees-table th {
    font-size: 18px;
    padding: 12px 8px;
  }
  
  .fees-table td {
    font-size: 16px;
    padding: 12px 8px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  
  .nims-info {
    margin-top: 0;
    padding: 24px;
  }
  
  .newsletter {
    margin-top: 32px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .email-input {
    padding: 16px;
    font-size: 16px;
  }
  
  .subscribe-btn {
    padding: 16px 24px;
    justify-content: center;
  }
  
  .social-section,
  .copyright {
    padding: 16px 20px;
  }
  
  .social-section {
    justify-content: center;
  }

   .red-background {
    top: 80px !important;
  }
  .programs-background {
        display: block;
        max-width: 96%;
        width: 100%;
        height: 190px;
        top: auto;
        bottom: 0px;
        left: 37px;
        margin: 0 auto;
  }
  .programs-section{
           margin-bottom: 100px;
           overflow-x: hidden;
                   padding-bottom: 40px;
                   margin-bottom: 50px;
  }
  .visit-curtin-container {
    display: flex;
    justify-content: center;
}
.hero-section.uni-red-rect::after {
    display: none;
  }
  
  .programs-bg-image {
  position: absolute;
  width: 100%;
  max-width: 1582px;
  height: 300px;
  bottom: 0px;
  top: 330px;
  left: -125px;
  z-index: 1;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.8;
}

  .eligibility-section {
    flex-direction: column;
    margin: 60px 20px;
    gap: 30px;
    padding: 15px;
  }
  .eligibility-section .container .row{
    flex-direction: column;
  }
  .eligibility-section .container .row .col-md-6{
            max-width: 100%;
        width: 100%;
  }
  .eligibility-section .container .row .eligibility-image{
        max-height: none;
        padding: 0;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        display: block;
        border-radius: 15px !important;
  }

  
  .eligibility-image,
  .eligibility-content {
    flex: none;
    width: 100%;
  }
  
  .eligibility-content {
    order: 1;
    padding: 20px 15px;
    text-align: center;
    align-items: center;
    min-height: auto;
  }
  
  .eligibility-image {
    order: 2;
    min-height: 280px;
    max-height: 360px;
    padding: 20px 20px 30px 20px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .eligibility-image img {
         max-height: 384px;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
        border-radius: 20px !important;
        object-position: center;
        padding: 0;
        position: relative;
  }
  
  .eligibility-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  .eligibility-list {
    font-size: 16px;
    padding-left: 16px;
    margin: 15px 0;
    text-align: left;
    max-width: 100%;
  }
  
  .eligibility-list li {
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .curtin-logo {
    max-width: 150px;
    margin: 20px auto;
    display: block;
  }
   .text-center-mobile {
    text-align: left;
  }
   .visit-curtin-btn,
  .subscribe-btn {
    min-width: 120px;
  }

}



@media (max-width: 480px) {

.hero-section.uni-red-rect::after {
    display: none;
  }
  
  .eligibility-section {
  margin: 40px 0;
        gap: 25px;
        padding: 0 !important;
  }
  
  .eligibility-content {
    padding: 15px 10px;
  }
  
  .eligibility-title {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .eligibility-list {
    font-size: 15px;
    padding-left: 14px;
    margin: 12px 0;
  }
  
  .eligibility-list li {
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .curtin-logo {
    max-width: 120px;
    margin: 15px auto;
  }
  
  .eligibility-image {
    padding: 15px 15px 25px 15px;
    min-height: 250px;
    max-height: 320px;
  }

  .eligibility-image img {
    max-height: 270px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
  }

  .announcement-bar {
    height: auto;
    min-height: 40px;
  }
  
  .announcement-text {
    font-size: 12px;
    line-height: 1.4;
  }
  
  /* .logo {
    width: 120px;
    height: 42px;
  } */
  
  .component {
    width: 115px;
    height: 40px;
  }
  
  .quick-link {
    font-size: 11px;
  }
  
  .contact-label {
    font-size: 10px;
  }
  
  /* .contact-number {
    font-size: 14px;
  } */
  
  /* .apply-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
   */
  .hero-title {
    font-size: 28px;
  }
  
  .hero-description {
    font-size: 16px;
    padding-left: 0px;
  }
  
  .image-container {
            height: 250px;
        width: 100%;
        left: 0;
  }
  
  .program-title,
  .fees-title {
    font-size: 24px;
  }
  
  .program-list {
    font-size: 16px;
  }
  
  .fees-table th {
    font-size: 14px;
    padding: 8px 4px;
  }
  
  .fees-table td {
    font-size: 12px;
    padding: 8px 4px;
  }
  
  .visit-curtin-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .nims-info {
    padding: 16px;
  }
  
  .footer-logo {
    width: 200px;
    height: auto;
  }
  
  .nims-description,
  .contact-item span {
    font-size: 14px;
  }
  
  .footer-heading {
    font-size: 14px;
  }
  
  /* .link-list a {
    font-size: 12px;
  }
  
  .copyright p {
    font-size: 12px;
  } */
}
.programs-section .program-card h4{
    font-weight: 700;
    font-size: 28px;
}

.fees-section .fees-table tbody tr:last-child td:nth-child(3){
       font-style: italic; 
}
.fees-section .fees-table tbody tr:last-child td:nth-child(4){
       font-style: italic; 
}

