﻿/* ==========================================================================
       GLOBAL / BASE STYLES — START
       ========================================================================== */
    :root {
      --red:        #d3001b;
      --red-dark:   #8e0313;
      --black:      #0a0a0a;
      --cream:      #fbf2e0;
      --ink:        #1a1a1a;
    }

    /* Default font for complete section */
    body,
    .hero-section,
    .hero-photo-grid,
    .hero-photo-grid * {
        font-family: "Mulish", sans-serif;
    }

    /* All headings */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .hero-section h1,
    .hero-section h2,
    .hero-section h3,
    .hero-section h4,
    .hero-section h5,
    .hero-section h6 {
        font-family: "Inria Serif", serif;
    }

    .btn-red-pill {
      background: var(--red);
      color: #fff;
      border: none;
      border-radius: 30px;
      padding: 12px 30px;
      font-weight: 700;
      font-size: 14px;
      display: inline-block;
      transition: 0.2s ease;
    }

    .btn-red-pill:hover {
      background: var(--red-dark);
      color: #fff;
    }
    /* ==========================================================================
       GLOBAL / BASE STYLES — END
       ========================================================================== */


    /* ==========================================================================
       HERO SECTION — START
       ========================================================================== */
    .hero {
      position: relative;
      overflow: hidden;
      background-image:url('../images/banner_back.png');
      background-size:100% 100%;
      background-position:right bottom;
      background-repeat: no-repeat;
      /* background: var(--black); */
      /* Placeholder gradient — swap for your own background photo/texture if needed */
      /* background-image: linear-gradient(120deg, #050505 55%, #3a0308 78%, #6e0510 100%); */
      padding: 34px 50px 40px;
    }

    .hero-diagonal {
      position: absolute;
      top: 0;
      right: 0;
      width: 45%;
      height: 100%;
      background: linear-gradient(115deg, transparent 40%, rgba(211, 0, 27, 0.55) 55%, rgba(211, 0, 27, 0.15) 100%);
      z-index: 1;
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 2;
    }

    /* ---- top logo row ---- */
    .hero-logo-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 60px;
      flex-wrap: wrap;
    }

    .hero-logo-word {
      color: #fff;
      font-weight: 800;
      font-size: 22px;
      line-height: 0.95;
      letter-spacing: 0.01em;
    }

    .hero-logo-word small {
      display: block;
      font-size: 9px;
      font-weight: 500;
      letter-spacing: 0.15em;
      color: #ccc;
    }

    .hero-logo-badge {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #fff;
      border: 2px solid var(--red);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 8px;
      font-weight: 800;
      color: var(--red);
      text-align: center;
    }

    .hero-logo-cdoe {
      color: #fff;
      font-size: 10.5px;
      font-weight: 600;
      line-height: 1.3;
      border-left: 1px solid rgba(255, 255, 255, 0.3);
      padding-left: 12px;
    }

    .hero-naac-tag {
      color: #ddd;
      font-size: 9px;
      font-weight: 600;
      margin-top: 4px;
    }

    .hero-naac-tag span {
      color: var(--red);
      font-weight: 800;
    }

    /* ---- headline block ---- */
    .hero-headline {
      color: #fff;
      font-size: 46px;
      font-weight: 600;
      line-height: 1.15;
      margin-bottom: 18px;
    }

    .hero-subtext {
      color: #d8d8d8;
      font-size: 15px;
      line-height: 1.6;
      max-width: 340px;
      margin-bottom: 26px;
    }

    .hero-subtext b {
      color: #fff;
    }

    /* ---- bottom benefit strip ---- */
    .hero-benefit-strip {
      display: flex;
      gap: 18px;
      margin-top: 70px;
      flex-wrap: wrap;
    }

    .hero-benefit-strip .item {
      color: #fff;
      font-size: 12.5px;
      font-weight: 700;
      padding-right: 18px;
      border-right: 1px solid rgba(255, 255, 255, 0.3);
    }

    .hero-benefit-strip .item:last-child {
      border-right: none;
    }

    .hero-benefit-strip .item span {
      display: block;
      font-weight: 400;
      color: #bbb;
    }

    /* ---- right: 3 photos + white box grid ---- */
    .hero-photo-grid {
        display: flex;
        gap: 10px;
        position: relative;
        z-index: 2;
        width: 100%;
        align-items: stretch;
    }

    .hero-photo-grid .photo-cell {
        flex: 1 1 0;
        min-width: 0;
        border-radius: 4px;
        overflow: hidden;
        min-height: 400px;
    }

    .hero-photo-grid .photo-cell img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .hero-photo-grid .white-cell {
        /*
        * 3 photos = 1 + 1 + 1
        * Form = 3
        * So white cell is double the combined visual width
        * of one photo? 
        */
        flex: 2 1 0;
        min-width: 0;
        background: #fff;
        border-radius: 4px;
        min-height: 400px;
    }
    /* ==========================================================================
       HERO SECTION — END
       ========================================================================== */


    /* ==========================================================================
       WHY DISTANCE LEARNING SECTION — START
       ========================================================================== */
    .why-section {
      background: var(--cream);
      padding: 60px 0 0;
    }

    .why-heading .tag {
      font-size: 18px;
      color: #444;
      font-weight: 400;
      font-family: "Inria Serif", serif;
    }

    .why-heading h2 {
      font-size: 32px;
      font-weight: 700;
      margin: 2px 0;
    }

    .why-heading h2 .red {
      color: var(--red);
    }

    .why-heading .sub {
      font-size: 16px;
      color: #333;
      margin-bottom: 18px;
      font-family: "Inria Serif", serif;
    }

    .why-desc {
      font-size: 13.5px;
      color: #000;
      line-height: 1.15;
      max-width: 420px;
    }

    .why-photo img {
      width: 100%;
      max-width: 300px;
      display: block;
      margin: 0 auto;
    }

    /* ---- 2x2 feature grid ---- */
    .why-feature-item {
      margin-bottom: 34px;
      position: relative;
      padding-left: 16px;
      border-left: 3px solid var(--red);
    }

    .why-feature-item h5 {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 4px;
      line-height: 1.3;
    }

    .why-feature-item p {
      font-size: 11.5px;
      color: #777;
      line-height: 1.5;
      margin: 0;
    }

    .why-apply-btn {
      text-align: left;
      padding-bottom: 30px;
      margin-top:50px;
    }

    .why-bottom-bar {
      height: 15px;
      background: var(--red);
    }
    /* ==========================================================================
       WHY DISTANCE LEARNING SECTION — END
       ========================================================================== */


    /* ==========================================================================
       ACCREDITATION & RANKINGS SECTION — START
       ========================================================================== */
    .accreditation-section {
      background: #fff;
      padding: 60px 20px;
      text-align: center;
    }

    .accreditation-section .tag {
      font-size: 20px;
      font-weight: 500;
      font-family: "Inria Serif", serif;
    }

    .accreditation-section h2 {
      font-size: 32px;
      font-weight: 700;
      margin: 4px 0 40px;
    }

    .accreditation-section h2 .red {
      color: var(--red);
    }

    .accred-row {
      display: flex;
      max-width: 1150px;
      margin: 0 auto;
    }

    .accred-item {
      flex: 1;
      padding: 0 20px;
      border-left: 1px dotted #999;
    }

    .accred-item:first-child {
      border-left: none;
    }

    .accred-item .title {
      font-size: 15px;
      font-weight: 800;
      margin-bottom: 2px;
    }

    .accred-item .title .red {
      color: var(--red);
    }

    .accred-item p {
      font-size: 10.5px;
      color: #777;
      line-height: 1.5;
      margin-top: 6px;
    }
    /* ==========================================================================
       ACCREDITATION & RANKINGS SECTION — END
       ========================================================================== */


    /* ==========================================================================
       PROGRAMS OFFERED SECTION — START
       ========================================================================== */
    .programs-section {
      position: relative;
      /* Placeholder background — replace with your campus building photo */
      /* background: linear-gradient(180deg, #f4f4f4 0%, #ffffff 60%); */
      background-image:url('../images/uni_back.png');
      background-size:100% 100%;
      background-position:right bottom;
      background-repeat: no-repeat;
      padding: 70px 20px 90px;
    }

    .program_inner{
      margin-top:-7%
    }

    .programs-card {
      background: #171717;
      background: linear-gradient(270deg,rgba(23, 23, 23, 1) 6%, rgba(60, 60, 60, 1) 59%, rgba(0, 0, 0, 1) 100%);
      border-radius: 16px;
      max-width: 1200px;
      margin: 0 auto;
      padding: 40px 40px 0px 40px;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    }

    .programs-heading h2 {
      color: #fff;
      font-size: 32px;
      font-weight: 800;
      line-height: 1.15;
      margin: 0;
    }

    .programs-heading h2 span {
      font-weight: 400;
      color: #ddd;
    }

    .programs-tabs {
      display: flex;
      align-items: center;
      gap: 30px;
      flex: 1;
      margin-left: 30px;
    }

    .programs-tabs .divider-line {
      flex: 1;
      height: 1px;
      background: #555;
    }

    .programs-tab {
      color: #aaa;
      font-size: 17px;
      font-weight: 500;
      cursor: pointer;
      padding-bottom: 6px;
      border-bottom: 2px solid transparent;
    }

    .programs-tab.active {
      color: #fff;
      font-weight: 700;
      border-bottom: 2px solid var(--red);
    }

    .programs-left-text {
      color: #ddd;
      font-size: 14px;
      margin-top: 60px;
    }

    .programs-left-text b {
      color: #fff;
      display: block;
      font-size: 16px;
    }

    .programs-student-photo {
      text-align: center;
    }

    .programs-student-photo img {
      max-width: 260px;
      width: 100%;
    }

    .programs-detail-box {
      background: #000;
      border-radius: 10px;
      padding: 24px 26px;
      height: 100%;
    }

    .programs-detail-col h4 {
      color: #fff;
      font-size: 24px;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .programs-detail-col ul {
      list-style: disc;
      padding-left: 18px;
      margin: 0;
    }

    .programs-detail-col ul li {
      color: #ccc;
      font-size: 12.5px;
      line-height: 1.7;
    }

    .programs-btn-row {
      margin-top: 24px;
      display: flex;
      gap: 0;
    }

    .programs-btn-row .btn-check {
      background: #fff;
      color: #111;
      border: none;
      border-radius: 30px 0 0 30px;
      padding: 11px 22px;
      font-weight: 700;
      font-size: 12.5px;
    }

    .programs-btn-row .btn-apply {
      background: #000;
      color: #fff;
      border: 1px solid #fff;
      border-radius: 0 30px 30px 0;
      padding: 11px 22px;
      font-weight: 700;
      font-size: 12.5px;
      margin-left: -1px;
    }

    .nav-tabs .nav-link{
      color:#fff ;
      text-decoration:none ;
    }

    .nav-tabs .nav-link.active{
      color:#000 ;
      text-decoration:none ;
    }

    


    /* ==========================================================================
       PROGRAMS OFFERED SECTION — END
       ========================================================================== */


    /* ==========================================================================
       HOW TO APPLY SECTION — START
       ========================================================================== */
    .how-to-apply {
      background: #FFFFFF;
      background: linear-gradient(180deg,rgba(255, 255, 255, 1) 26%, rgba(255, 211, 136, 1) 100%);
      padding: 70px 20px 50px;
      text-align: center;
    }

    .how-to-apply h2 {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .how-to-apply .sub {
      font-size: 20px;
      margin-bottom: 50px;
      font-family: "Inria Serif", serif;
    }

    .how-to-apply .sub .red {
      color: var(--red);
      font-weight: 700;
    }

    .step-row {
      display: flex;
      max-width: 1300px;
      margin: 0 auto;
      text-align: left;
    }

    .step-item {
      flex: 1;
      padding: 0 16px;
      position: relative;
    }

    .step-item .step-num {
      font-size: 40px;
      font-weight: 800;
      color: #e6e0d3;
      line-height: 1;
      margin-bottom: -8px;
    }

    .step-item h5 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 8px;
      position: relative;
      z-index: 2;
    }

    .step-item p {
      font-size: 11.5px;
      color: #000;
      line-height: 1.3;
    }

    /* ---- bottom photo strip with Start Now button ---- */
    .apply-photo-strip {
      position: relative;
      margin-top: 60px;
    }

    .apply-photo-strip .strip-row {
      display: flex;
      gap: 4px;
      height: 200px;
    }

    .apply-photo-strip .strip-row img {
      flex: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .apply-photo-strip .start-now-btn {
      position: absolute;
      left: 50%;
      bottom: -22px;
      transform: translateX(-50%);
      z-index: 3;
    }
    /* ==========================================================================
       HOW TO APPLY SECTION — END
       ========================================================================== */


    /* ==========================================================================
       FAQ SECTION — START
       ========================================================================== */
    .faq-section {
      background: #fff;
      padding: 90px 20px 60px;
    }

    .faq-section h2 {
      font-size: 32px;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .faq-underline {
      width: 55px;
      height: 3px;
      background: var(--red);
      margin-bottom: 40px;
    }

    .faq-item {
      border-bottom: 1px solid #ddd;
      padding: 16px 0;
      max-width: 950px;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-size: 15.5px;
      font-weight: 700;
      color: #111;
    }

    .faq-question .chev {
      color: var(--red);
      transition: transform 0.25s ease;
      flex-shrink: 0;
      margin-left: 16px;
    }

    .faq-item.open .faq-question .chev {
      transform: rotate(180deg);
    }

    .faq-answer {
      display: none;
      font-size: 13px;
      color: #777;
      line-height: 1.7;
      margin-top: 10px;
      max-width: 850px;
    }

    .faq-item.open .faq-answer {
      display: block;
    }
    /* ==========================================================================
       FAQ SECTION — END
       ========================================================================== */


    /* ==========================================================================
       FINAL CTA SECTION — START
       ========================================================================== */
    .final-cta {
      position: relative;
      overflow: hidden;
      background-image:url('../images/cta_bck.png');
      background-size:cover;
      background-position: center bottom;
      background-repeat: no-repeat;
      padding: 60px 20px 0;
      text-align: center;
    }

    .final-cta .eyebrow {
      color: #f3d0d5;
      font-size: 15px;
      letter-spacing: 0.3em;
      font-weight: 400;
      margin-bottom: 10px;
    }

    .final-cta h2 {
      color: #fff;
      font-size: 26px;
      font-weight: 800;
      margin-bottom: 40px;
    }

    .final-cta-photo-row {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      max-width: 900px;
      margin: 0 auto;
    }

    .final-cta-photo-row .side-text {
      color: #f0d8db;
      font-size: 17px;
      line-height: 1.2;
      flex: 1;
      padding: 0 26px;
    }

    .final-cta-photo-row .side-text.left {
      text-align: right;
      border-right: 1px dotted rgba(255, 255, 255, 0.4);
    }

    .final-cta-photo-row .side-text.right {
      text-align: left;
      border-left: 1px dotted rgba(255, 255, 255, 0.4);
    }

    .final-cta-photo-row .center-photo {
      flex: 0 0 350px;
    }

    .final-cta-photo-row .center-photo img {
      width: 100%;
      display: block;
    }
    /* ==========================================================================
       FINAL CTA SECTION — END
       ========================================================================== */


    /* ==========================================================================
       FOOTER SECTION — START
       ========================================================================== */
    footer {
      background: #fff;
      padding: 50px 20px 20px;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 24px;
      max-width: 1300px;
      margin: 0 auto;
    }

    .footer-logo-row {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .footer-logo-word {
      font-weight: 800;
      font-size: 22px;
      line-height: 0.95;
      color: var(--red);
    }

    .footer-logo-word small {
      display: block;
      font-size: 9px;
      font-weight: 600;
      color: #333;
      letter-spacing: 0.1em;
    }

    .footer-logo-badge {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #fff;
      border: 2px solid var(--red);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 8px;
      font-weight: 800;
      color: var(--red);
    }

    .footer-cdoe {
      font-size: 10.5px;
      font-weight: 700;
      color: #222;
      line-height: 1.3;
      border-left: 1px solid #ccc;
      padding-left: 12px;
    }

    .footer-naac {
      font-size: 9px;
      font-weight: 700;
      margin-top: 2px;
    }

    .footer-naac span {
      color: var(--red);
    }

    .footer-phone {
      font-size: 22px;
      font-weight: 800;
      color: #111;
      text-align: right;
    }

    .footer-address {
      text-align: right;
      font-size: 12px;
      color: #555;
      margin-top: 4px;
      line-height: 1.6;
    }

    .footer-address b {
      color: #111;
    }

    .footer-bottom {
      border-top: 1px solid #000;
      margin: 30px auto 0;
      padding-top: 16px;
      max-width: 1300px;
      text-align: center;
      font-size: 12.5px;
      color: #888;
    }
    /* ==========================================================================
       FOOTER SECTION — END
       ========================================================================== */


    /* ==========================================================================
       RESPONSIVE / MEDIA QUERIES — START
       ========================================================================== */
    @media (max-width: 991px) {

      /* -- hero -- */
      .hero-diagonal { display: none; }
      .hero-headline { font-size: 34px; }
      .hero-photo-grid {margin-top: 30px;}
      .hero-photo-grid .photo-cell,.hero-photo-grid .white-cell {min-height: 220px;}
      .hero {padding: 34px 10px 40px;}

      /* -- why section -- */
      .why-photo { margin: 30px 0; text-align: center; }
      .why-apply-btn { text-align: left; }

      /* -- accreditation -- */
      .accred-row { flex-wrap: wrap; }
      .accred-item {
        flex: 0 0 50%;
        border-left: none;
        border-top: 1px dotted #999;
        padding: 16px 14px 0;
        margin-top: 16px;
      }
      .accred-item:nth-child(odd) { border-right: 1px dotted #999; }

      /* -- programs -- */
      .programs-heading { display: block !important; }
      .programs-tabs { margin: 20px 0 0; }
      .programs-left-text { margin-top: 30px; }
      .programs-student-photo { margin: 30px 0; }
      .programs-detail-box { margin-top: 20px; }

      /* -- how to apply -- */
      .step-row { flex-wrap: wrap; }
      .step-item { flex: 0 0 50%; margin-bottom: 30px; }
      .apply-photo-strip .strip-row { flex-wrap: wrap; height: auto; }
      .apply-photo-strip .strip-row img { flex: 0 0 33.33%; height: 130px; }

      /* -- final cta -- */
      .final-cta-photo-row { flex-direction: column; }
      .final-cta-photo-row .side-text.left,
      .final-cta-photo-row .side-text.right {
        text-align: center;
        border: none;
        padding: 16px 0;
      }
      .final-cta-photo-row .center-photo { order: -1; flex: 0 0 auto; max-width: 220px; }

      /* -- footer -- */
      .footer-top { flex-direction: column; }
      .footer-phone, .footer-address { text-align: left; }
    }

    @media (max-width: 575px) {
      .hero-headline { font-size: 28px; }
      .hero-photo-grid { flex-wrap: wrap; }
      .hero-photo-grid .photo-cell,
      .hero-photo-grid .white-cell { flex: 0 0 47%; min-height: 160px; }
      .step-item { flex: 0 0 100%; }
      .accred-item { flex: 0 0 100%; border-right: none !important; }
    }

    @media (max-width: 767px) {
      .hero-photo-grid {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;
      }

      /* 3 photos in first row */
      .hero-photo-grid .photo-cell {
          flex: 0 0 calc((100% - 20px) / 3);
          width: calc((100% - 20px) / 3);
          min-height: 220px;
      }

      /* Form / white cell in second row */
      .hero-photo-grid .white-cell {
          flex: 0 0 100%;
          width: 100%;
          min-height: 400px;
      }
    }
    /* ==========================================================================
       RESPONSIVE / MEDIA QUERIES — END
       ========================================================================== */

    @media (min-width:320px) and (max-width:480px){
      .programs-card {
        padding: 40px 15px 0px 15px;
      }
      .programs-detail-box {
        padding: 24px 10px;
      }
      .nav-tabs .nav-link {
        font-size: 12px;
        font-weight: bold;
      }
      .nav-tabs .nav-link.active {
        font-size: 12px;
        font-weight: bold;
      }
      .programs-student-photo {
        margin: 30px 0px 0px 0px;
      }
      .programs-detail-box {
        margin-top: 0px;
      }
      .programs-section {
        background-size: 100% 15%;
        padding: 90px 20px 0px;
      }
      .hero {
        background-size: cover;
        background-position: left bottom;
      }
      .hero-benefit-strip {
        gap: 9px;
        margin-top: 50px;
      }
    }