html, body {
    margin: 0;
    padding: 0;
}

:root {
  /* Brand */
  --bs-primary: #FF0000;       /* Brand Red */
  --bs-secondary: #64748B;     /* Slate Grey */

  /* Base */
  --bs-light: #FFFFFF;
  --bs-dark: #2C3E50;

  /* Body */
  --bs-body-bg: #FFFFFF;
  --bs-body-color: #475569;    /* slightly darker than secondary for readability */

  /* UI */
  --bs-border-color: #E5E7EB;
}

/* =========================
   BUTTONS
   ========================= */

/* Primary – strong CTA only */
.btn-primary {
  background-color: #FF0000 !important;
  border-color: #FF0000 !important;
  color: #FFFFFF !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #D90000 !important;
  border-color: #D90000 !important;
}

/* Secondary – calm action */
.btn-secondary {
  background-color: #64748B !important;
  border-color: #64748B !important;
  color: #FFFFFF !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #475569 !important;
  border-color: #475569 !important;
}

/* =========================
   BACKGROUNDS
   ========================= */

.bg-primary {
  background-color: #FF0000 !important;
}

.bg-secondary {
  background-color: #F1F5F9 !important; /* was too dark earlier */
}

.bg-light {
  background-color: #FFFFFF !important;
}

.bg-dark {
  background-color: #2C3E50 !important;
}

/* =========================
   TEXT
   ========================= */

.text-primary {
  color: #FF0000 !important;
}

.text-secondary {
  color: #64748B !important;
}

.text-dark {
  color: #2C3E50 !important;
}

.text-muted {
  color: #94A3B8 !important;
}

/* =========================
   NAVBAR
   ========================= */

.navbar {
  background-color: #FF0000 !important;
}

.navbar a,
.navbar-brand {
  color: #FFFFFF !important;
}

.navbar a:hover,
.navbar a.active {
  background-color: rgba(255,255,255,0.15);
  color: #FFFFFF !important;
}

/* =========================
   FORMS
   ========================= */

.form-control {
  border-color: #E5E7EB;
}

.form-control:focus {
  border-color: #FF0000;
  box-shadow: 0 0 0 0.15rem rgba(255, 0, 0, 0.15);
}

/* =========================
   FOOTER
   ========================= */

footer,
.footer {
  background-color: #2C3E50;
  color: #E5E7EB;
}

footer a {
  color: #CBD5E1;
}

footer a:hover {
  color: #FF0000;
}
/* Topbar Logo */
.topbar-logo {
  height: 70px;
  width: auto;
}

/* College Name */
.topbar-title {
  font-weight: 700;
  color: var(--bs-primary); /* red */
  line-height: 1.1;

  /* Responsive font sizes */
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  white-space: normal;
}



/*=============================
     Portfolio Styles
=============================*/

.portfolio {
    width: 100%;
    height: auto;
    padding-top: 30px;
    padding-bottom: 100px;
}

.portfolio h3 {
    color: #737373;
    font-size: 33px;
    padding-bottom: 40px;
    text-transform: capitalize;
    font-weight: 600;
}

.portfolio .btn-success {
    color: #fff;
    padding: 12px 35px;
    letter-spacing: 1px;
    border-radius: 0;
    background-color: #ff8000;
    border-color: #ff8000;
    text-transform: uppercase;
}

.portfolio .btn-success:hover {
    color: #000;
    background-color: transparent;
    border: 1px solid #000;
}

.portfolio hr {
    padding-bottom: 60px;
}

.portfolio .more-button {
    text-align: center;
    padding-top: 75px;
}

.portfolio .btn-primary {
    color: #dddddd;
    background-color: transparent;
    border-color: #b2b2b2;
    border: 2px solid #b2b2b2;
    font-weight: 700;
    font-size: 14px;
    border-radius: 100px;
    padding: 14px 30px;
    text-transform: uppercase;
    margin: 10px;
}

.portfolio .btn-primary:hover {
    color: #ffffff;
    background: #000000;
    border: 2px solid #000000;
}

.portfolio .btn-primary:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}

.portfolio .box {
    position: relative;
    padding: 0;
}

.portfolio .img-fluid {
    display: block;
    width: 100%;
    object-fit: cover;
    height: 400px;
}

.portfolio .box:hover .overlay {
    opacity: 1;
}

.portfolio .text span {
    display: block;
}

.portfolio .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background: -moz-linear-gradient(-45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3000000', endColorstr='#b3000000', GradientType=1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio .overlay img {
    width: 20%;
    right: 0;
    bottom: 0;
    background: #000;
    position: absolute;
}

.portfolio .text {
    color: white;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: absolute;
    bottom: 8%;
    left: 10%;
}

.portfolio h4 {
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
    text-transform: uppercase;
}

.portfolio h4 span {
    display: block;
}

.portfolio .other1 .overlay img {
    width: 15%;
}

.portfolio .modal {
    z-index: 99999;
}

.portfolio .modal-backdrop.show {
    opacity: .8;
}

.portfolio .modal-backdrop {
    z-index: 9999;
}

.portfolio button {
    background-color: transparent;
    color: #000;
    font-family: Sans-serif;
    font-size: 14px;
    height: 50px;
    text-transform: uppercase;
    width: 150px;
    font-weight: 500;
    line-height: 35px;
    text-align: center;
    border: 0;
    border-radius: 0;
    transition: all 0.3s ease 0s;
    border: 1px solid #c5c5c5;
}

.portfolio button:hover {
    background-color: #000;
}

.portfolio .btn-secondary:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}

.btn-secondary:not(:disabled):not(.disabled):active {
    background-color: #000;
    border-color: #000;
}

.portfolio .load-more {
    text-align: center;
    padding-top: 50px;
}

