@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/myriadpro.otf') format('opentype');
}

@font-face {
  font-family: 'MyriadProB';
  src: url('../fonts/myriadpro-b.otf') format('opentype');
}

@font-face {
  font-family: 'MyriadProBlack';
  src: url('../fonts/MyriadPro-Bl.otf') format('opentype');
}
body
{
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
  overflow-x: hidden;
}

*
{margin:0px; padding:0px; box-sizing: border-box;}

.row {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.docimg
{
  height: 75vh;
}

.docname
{
    width: 90%;
    margin: 0px 5%;
  font-size: 40px;
  text-align: center;
  padding: 5px;
  color: #fff;
  background: #25A8DF;
background: linear-gradient(90deg, rgba(37, 168, 223, 1) 0%, rgba(27, 117, 187, 1) 100%);
    font-family: 'MyriadProBlack', sans-serif;
}

.docdeg
{
    width: 100%;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  padding: 15px 0px;
  color: #262261;
    font-family: 'MyriadProB', sans-serif;
    margin-bottom: 25px;
    line-height: 30px;
}

.hdng1
{
     width: 90%;
    margin: 0px 5% 40px;
  font-size: 30px;
  text-align: center;
  padding: 2px;
  color: #fff;
  background: #28aae1;
background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(190, 233, 250, 1) 20%, rgba(34, 170, 225, 1) 50%, rgba(190, 233, 250, 1) 80%, rgba(255, 255, 255, 1) 100%);
    font-family: 'MyriadProB', sans-serif;

}

.dvdr
{
   background-image: url('../images/divider.png');
   background-repeat: no-repeat;
   background-position: right center;
}

.dvhr1
{
    margin: 10px 0px;
}

/* OPD Grid Layout */
.opd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  position: relative;
}

/* Vertical center divider */
.opd-grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0%;
  bottom: 0%;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(100,180,200,1) 15%, #1b75bb 85%, rgba(255,255,255,0) 100%);
  transform: translateX(-50%);
}

/* Horizontal center divider */
.opd-grid::after {
  content: '';
  position: absolute;
  top: 48%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(100,180,200,1) 15%, #1b75bb 85%, rgba(255,255,255,0) 100%);
  transform: translateY(-50%);
}

.opd-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  min-height: 250px;
}

.opd-card img:first-child {
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 0px;
}


.opd-card h4 {
  margin-top: 0px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  font-family: 'MyriadProB', sans-serif;
  line-height: 1.4;
}

.dvdr-right,
.dvdr-bottom {
  border: none;
  background: none;
}

.mb-50
{
    margin-bottom: 50px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .opd-grid {
    grid-template-columns: 1fr;
  }
  
  .opd-grid::before {
    display: none;
  }
  
  .opd-grid::after {
    display: none;
  }
  
  .opd-card {
    border-bottom: 2px solid rgba(100,180,200,0.5);
    min-height: auto;
    padding: 25px 15px;
  }
  
  .opd-card:last-child {
    border-bottom: none;
  }
}

/* Contact Section */
.contact-section {
  padding: 30px 70px;
  margin-top: 30px;
}

.contact-heading {
  font-size: 24px;
  font-weight: bold;
  color: #58595b;
  font-family: 'MyriadProB', sans-serif;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 21px;
  color: #58595b;
  font-family: 'MyriadPro', sans-serif;
}

.contact-icon {
  width: 30px;
  height: 32px;
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span {
  line-height: 1.5;
}

.contact-item a {
  color: #58595b;
  text-decoration: none;
}

.contact-item a:hover {
  color: #1b75bb;
  text-decoration: underline;
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
  .contact-section {
    padding: 20px 15px;
  }
  
  .contact-heading {
    font-size: 20px;
  }
  
  .contact-item {
    font-size: 16px;
  }
  
  .contact-icon {
    width: 20px;
    height: 20px;
  }
}

/* Comprehensive Responsive Styles */

/* Large screens (desktops) */
@media (max-width: 1200px) {
  .docname {
    font-size: 36px;
  }
  
  .docdeg {
    font-size: 22px;
    line-height: 28px;
  }
  
  .hdng1 {
    font-size: 26px;
  }
}
@media (width: 1024px) {
     .docimg {
    height: auto;
    width: 100%;
  }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .docimg {
    height: 50vh;
  }
  
  .docname {
    font-size: 32px;
    width: 95%;
    margin: 0px 2.5%;
  }
  
  .docdeg {
    font-size: 20px;
    line-height: 26px;
    padding: 12px 10px;
  }
  
  .hdng1 {
    font-size: 24px;
    width: 95%;
    margin: 0px 2.5% 30px;
  }
  
  .opd-card {
    padding: 25px 15px;
    min-height: 220px;
  }
  
  .opd-card h4 {
    font-size: 20px;
  }
  
  .opd-card img:first-child {
    max-height: 100px;
  }
}

/* Small screens (mobile landscape & large phones) */
@media (max-width: 768px) {
  .docimg {
    height: 50vh;
  }
  
  .docname {
    font-size: 28px;
    width: 100%;
    margin: 0;
  }
  
  .docdeg {
    font-size: 18px;
    line-height: 24px;
    padding: 10px 15px;
    margin-bottom: 20px;
  }
  
  .hdng1 {
    font-size: 22px;
    width: 100%;
    margin: 0px 0px 25px;
    padding: 5px;
  }
  
  .mb-50 {
    margin-bottom: 30px;
  }
  
  .social-icons .col-3 {
    padding: 5px !important;
  }
  
  .social-icons img {
    max-width: none;
  }
  
  .dvdr {
    background-size: contain;
  }
}

/* Extra small screens (phones) */
@media (max-width: 576px) {
    .social-icons .col-3{
        width: 50%;
        float: left;
    }
    .social-icons .col-3.dvdr:nth-child(2) {
      background-image: none;
    }
  .docimg {
    height: auto;
    max-height: 45vh;
  }
  
  .docname {
    font-size: 24px;
    padding: 8px 5px;
  }
  
  .docdeg {
    font-size: 16px;
    line-height: 22px;
    padding: 10px;
    margin-bottom: 15px;
  }
  
  .hdng1 {
    font-size: 18px;
    margin: 0px 0px 20px;
  }
  
  .mb-50 {
    margin-bottom: 20px;
  }
  
  .social-icons img {
    max-width: 70px;
        height: auto !important;
  }
  
  .opd-card {
    padding: 20px 10px;
  }
  
  .opd-card h4 {
    font-size: 16px;
  }
  
  .opd-card img:first-child {
    max-height: 80px;
  }
  
  .contact-section {
    padding: 15px 10px;
    margin-top: 20px;
  }
  
  .contact-heading {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .contact-item {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .contact-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }
}