:root {
  --primary-color: #890c25;
  --primary-dark: #6e091d;
  --text-color: #000000;
  --text-muted: #6c757d;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.col-lg-7 {
  margin-bottom: 80px;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 26px;
  font-family: "Inter";
  color: #ffffff;
}

.hero-subtitle i {
  margin-right: 15px;
  font-size: 1.5rem;
}

.hero-title {
  font-family: "Inter";
  font-size: 56px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 54px;
  style: bold;
}

.btn-hero {
  background-color: #890c25;
  text-align: center;
  font: "Inter";
  color: white;
  min-width: 307px;
  padding: 12px 56px 12px 56px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 24px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  display: inline-flex;
  align-items: center;
  style: normal;
  gap: 17px;
}

.btn-hero:hover {
  background-color: #6e091d;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-stats-wrapper {
  position: relative;
}

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

.hero-icon {
  margin-right: 12px;
}

.stat-item {
  margin-bottom: 30px;
}

.stat-number {
  font: "Inter";
  font-size: 36px;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 400;
  display: block;
  margin-top: 10px;
}

.stat-divider {
  width: 100%;
  height: 1px;
  background-color: #a1a1a1;
  border: 1px;
  margin: 20px 0;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-head {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-family: "Inter";
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #333;
  margin-bottom: 24px;
  line-height: 100%;
}

.section-title span {
  color: var(--primary-color);
}

.section-title::before,
.section-title::after {
  content: "";
  width: 69px;
  height: 2px;
  background: #e8bc00;
  display: inline-block;
}

.section-desc {
  font: "Inter";
  max-width: 1194px;
  margin: 0 auto;
  color: #404040;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 53px;
}

/* Feature Cards */
.feature-card {
  background-color: #ffffff;
  padding: 110px 30px 40px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  border: 1px solid #f2f2f2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 111px;
  height: 134.5px;
  background: linear-gradient(180deg, #f71f72 0%, #bc1d4e 50%, #890c25 100%);
  color: var(--white);
  clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
  position: absolute;
  top: 0px;
  z-index: 2;
}

.feature-title {
  font-family: "Inter";
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--primary-color);
  margin-top: 49px;
  color: #890c25;
}

.feature-text {
  color: #404040;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 28px;
  margin-left: 18px;
  margin-right: 18px;
  flex-grow: 1;
}

.btn-read-more {
  background-color: #890c25;
  font-family: "Inter";
  color: var(--white);
  padding: 12px 35px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-read-more:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

/* Ngành Đào Tạo Section */
.majors-section {
  background-color: #fff5f7c2;
  padding: 48px 0 68px;
}

.section-title-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #333;
}

.section-title-alt span {
  color: #890c25;
}

.section-title-alt::before{
  margin-right: 32px;
  content: "";
  height: 2px;
  width: 69px;
  background-color: #E8BC00; /* Gold accent */
}

.section-title-alt::after {
  margin-left: 32px;
  content: "";
  height: 2px;
  width: 69px;
  background-color: #E8BC00; /* Gold accent */
}

.major-card {
  position: relative;
  display: block;
  text-decoration: none;
  height: 298px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
}

.major-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: background 0.3s ease;
}

.major-card:hover {
  transform: translateY(-5px);
}

.major-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  text-align: center;
}

.major-name {
  font-family: "Inter";
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


/* Registration Section */
.registration-container {
  background: linear-gradient(180deg, #890C25 0%, #AD1937 100%);
  border-radius: 20px;
  color: #ffffff;
  overflow: hidden;
  position: relative;
  padding: 0;
}

/* Hình tròn lớn - viền mờ */
.circle-1 {
  position: absolute;
  background-color: #9c273e;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: none;
  top: 50%;
  left: 50%;
  transform: translate(-125%, -30%);
  z-index: 0; /* sau ảnh */
}

/* Hình tròn nhỏ hơn - fill mờ */
.circle-2 {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 2px solid #FF89A14D;
  top: 45%;
  left: 45%;
  z-index: 0;
}

.registration-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.registration-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 70px 0 0 40px;
}

.registration-text h3 {
  font-size: 40px;
  font-weight: 700;
  /* margin-bottom: 24px; */
  font-family: "Outfit", sans-serif;
}

.registration-text p {
  font-size: 18px;
  line-height: 26px;
  max-width: 600px;
  opacity: 0.9;
}

.registration-images {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  margin-bottom: -6px;
  margin-left: -50px;
  z-index: 1;
}

.registration-students-img {
  width: 100%;
  max-width: 700px;
  display: block;
}

.registration-form-area {
  align-items: center;
  justify-content: center;
  margin-top: 51px;
  margin-right: 40px;
  margin-bottom: 48px;
}

.registration-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 45px 40px;
  color: #3F3F3F;
  position: relative;
  z-index: 3;
  font-family: "Inter";
}

.registration-card h4 {
  color: #890c25;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: "Inter";
}

.reg-form-control {
  background-color: #FFF4F2 !important;
  font-family: 'Inter';
  border-radius: 15px !important;
  font-size: 14px !important;
  color: #3F3F3F;
  font-weight: 300 !important;
  margin-bottom: 20px !important;
  border: none !important; 
  box-shadow: none !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  padding-left: 20 !important;
  padding-right: 326 !important;
}

.reg-form-select{
  font-family: 'Inter';
  color: #3F3F3F !important;
  font-weight: 300;
}

.reg-form-control::placeholder {
  color: #3F3F3F;
}

.reg-btn-submit {
  background-color: #8b0c25 !important;
  color: #ffffff !important;
  width: 100%;
  border-radius: 10px;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  margin-top: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter';
}

.reg-btn-submit:hover {
  background-color: #890C25;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .registration-container {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 25px;
  }
  
  .registration-grid {
    display: flex;
    flex-direction: column;
  }
  
  .registration-info {
    display: contents;
  }

  .circle-1, .circle-2 {
    display: none;
  }

  .registration-text {
    order: 1;
    padding-top: 20px;
    text-align: center;
  }
  
  .registration-form-area {
    order: 2;
    margin-top: 0 ;
    margin-right: 0 ;
  }

  .registration-images {
    order: 3;
    margin-left: 0;
    margin-bottom: 0;
    margin-top: 0;
    justify-content: center;
  }
  
  .registration-content {
    text-align: center;
  }
  
  .registration-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .registration-card {
    margin-top: 10px;
  }
}


/* Activities News Section */
.activities-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.activities-header {
  text-align: center;
  margin-bottom: 50px;
}

.activities-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Inter';
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 15px 0;
  white-space: nowrap;
}

.activities-title::before{
  content: "";
  display: block;
  width: 69px;
  height: 2px;
  background-color: #E8BC00;
  margin-right: 32px;
}
.activities-title::after {
  content: "";
  display: block;
  width: 69px;
  height: 2px;
  background-color: #E8BC00;
  margin-left: 32px;
}

.activities-title span {
  color: #890C25;
}

.activities-subtitle {
  color: #2E2E2E;
  font-size: 18px;
  max-width: 593px;
  margin: 0 auto;
  line-height: 26px;
}

.activity-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.pill-btn {
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-family: 'Inter';
}

.pill-btn.active {
  background-color: #8b0c25;
  color: #fff;
  border-color: #8b0c25;
}

.pill-btn:hover:not(.active) {
  border-color: #8b0c25;
  color: #8b0c25;
}

.activity-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 30px;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

.activity-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.activity-card-body {
  padding: 24px;
}

.activity-card-title {
  font-family: 'Inter';
  font-size: 20px;
  font-weight: 600;
  color: #393939;
  margin-bottom: 12px;
  line-height: 27px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.activity-meta {
  font-family: 'Inter';
  display: flex;
  gap: 7px;
  font-size: 14px;
  color: #8b0c25;
  font-weight: 400;
  line-height: 27px;
  margin-bottom: 16px;
}

.activity-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}


.activity-description {
  font-family: 'Inter';
  font-size: 16px;
  font-weight: 400;
  color: #323232;
  line-height: 23px;
}

.pill-btn {
  font-size: 'Inter';
  font-size: 20px;
  font-weight: 500;
  border-radius: 20px;
  border-color: #890C25;
}

/* ---------------------------------
   Responsive Styles Added 
--------------------------------- */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
    margin-bottom: 30px;
  }
  .feature-card, .major-card {
    padding-top: 100px;
  }
  .major-card {
    height: 350px;
  }
  .stat-item {
    display: inline-block;
    margin-right: 20px;
  }
  .stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem !important;
    text-align: center;
  }
  .hero-subtitle {
    justify-content: center;
    font-size: 14px;
  }
  .col-lg-7 {
    text-align: center;
  }
  .btn-hero {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 15px;
  }
  .hero-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 30px;
  }
  .stat-number {
    font-size: 32px;
  }
  .section-title {
    font-size: 1.5rem !important;
    text-align: center;
    justify-content: center;
  }
  .section-desc {
    font-size: 14px;
    text-align: center;
  }
}