html, body {
    margin: 0;
    scroll-behavior: smooth;
    background: var(--off-white);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
  }

:root {
    --pink:       #D33472;
    --pink-dark:  #B92E63;
    --pink-light: #F983B0;
    --white:      #ffffff;
    --off-white:  #f5f0ec;
    --text:       #1a1a1a;
    --muted:      #777;
    --line:       rgba(139,26,26,0.15);
  }

@font-face {
    font-family: "WorkSans-SemiBold";
    src: url(fonts/WorkSans/WorkSans-SemiBold.ttf); 
}

@font-face {
    font-family: "WorkSans-Regular";
    src: url(fonts/WorkSans/WorkSans-Regular.ttf); 
}

@font-face {
    font-family: "WorkSans-Bold";
    src: url(fonts/WorkSans/WorkSans-Bold.ttf); 
}

@font-face {
    font-family: "WorkSans-ExtraBold";
    src: url(fonts/WorkSans/WorkSans-ExtraBold.ttf); 
}

@font-face {
    font-family: "WorkSans-ExtraLight";
    src: url(fonts/WorkSans/WorkSans-ExtraLight.ttf); 
}

@font-face {
    font-family: "WorkSans-Light";
    src: url(fonts/WorkSans/WorkSans-Light.ttf); 
}

.container {
    min-height: 100px;
    padding: 10px;
    overflow: hidden;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px 10px 0;
    overflow: hidden;
    height: 100%;
}

a {
    text-decoration: none;
}

.logo-container {
    object-fit: cover;
    padding-left: 20px;
    width: 12%;
}

.navbar-open-btn {
    display: none;
}

.tabs-container {
    overflow: hidden;
    display: flex;
    justify-content: right;
    flex-direction: row;
    align-self: flex-end;
    max-width: 40%;
}


.tabs-content {
    position: relative;
    font-family: WorkSans-SemiBold;
    padding-bottom: 2px;
    text-decoration: none;
    color: black;
    transition: color 0.3s ease-out;
    overflow: hidden;
    font-size: 1.2vw;
    margin-right: 20px;
}

.tabs-content::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #d33472;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.tabs-content:hover {
    color:#d33472;
    cursor: pointer;
}

.tabs-content:hover::after {
    transform: translateX(0);
}

/* SIDE NAVBAR */
.sidenav-container {
    display: none;
    width: 100%;
    position: relative;
    min-height: 100px;
    max-height: 150px;
}

.sidenav-logo-container {
    display: none;
    position: relative;
    overflow: hidden;
}

.sidenav-panel {
    display: none;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 4;
    top: 0;
    right: 0;
    background-color: rgba(150, 36, 80, 0.95);
    overflow-x: hidden;
    transition: 0.5s;
}

.panel-container {
    width: 80%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    padding-top: 50px;
}

.panel-title-container {
    max-width: 80%;
    overflow: hidden;
    position: relative;
    color: white;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.panel-title-container h1 {
    font-family: "WorkSans-Regular";
    font-size: 40px;
    letter-spacing: 7px;
    line-height: 10px;
}

.panel-title-container h2 {
    font-family: "WorkSans-Light";
    font-size: 10px;
    letter-spacing: 6px;
}

.p-divider {
    width: 100%;
    background-color: white;
    opacity: 0.5;
    height: 1px;
    margin-bottom: 50px;
}

.panel-body-container {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-sizing: border-box;
    margin-bottom: 20px;
    color: white;
}

.p-row {
    padding-left: 20px;
    width: 100%;
    display: flex;
    flex-direction: row;
    font-size: 26px;
    align-items: center;
}

.p-num {
    font-family: "WorkSans-Light";
    opacity: 0.4;
    letter-spacing: 3px;
    font-size: 22px;
    margin-right: 25px;
}

.p-text {
    font-family: "WorkSans-Regular";
    color: white;
    letter-spacing: 5px;
}

.p-caption {
    position: relative;
    border-left: 1px solid white;
    padding: 10px;
    margin-top: 140px;
    font-family: "WorkSans-Light";
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 22px;
    font-style: italic;
}

/* ── PAGE HEADER ── */
  .page-header {
    background: var(--pink);
    background-image:
      radial-gradient(ellipse at 15% 50%, rgba(211,52,114,0.5) 0%, transparent 55%),
      radial-gradient(ellipse at 85% 50%, rgba(93, 3, 37, 0.6) 0%, transparent 55%);
    color: white;
    padding: 80px 60px 70px;
    position: relative;
    overflow: hidden;
  }

  .page-header::after {
    content: 'SOAP';
    position: absolute;
    right: -10px;
    bottom: -50px;
    font-family: "WorkSans-ExtraLight";
    font-size: 18rem;
    font-weight: 600;
    color: rgba(255,255,255,0.04);
    pointer-events: none;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .page-header-eyebrow {
    font-family: "WorkSans-Light";
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 18px;
    animation: fadeUp 0.6s ease both 0.1s;
  }

  .page-header h1 {
    font-family: "WorkSans-Light";
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: 600px;
    animation: fadeUp 0.6s ease both 0.25s;
  }


  .header-ecg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 50px;
    opacity: 0.12;
  }

  .section {
    max-width: 100%;
    padding: 50px 20px 50px 20px;
  }

  .text-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-width: 70%;
    padding-left: 50px;
    padding-right: 50px;
  }

  .text-container p{
    position: relative;
    display: inline;
    font-family: "WorkSans-Regular";
    font-size: 1rem;
    color: black;
  }

  .text-container .p1 {
    position: relative;
    display: inline-block;
    color: var(--pink-dark);
    font-family: "WorkSans-SemiBold";
    font-size: 18px;
}

.dec-container {
    padding: 10px 70px 10px 70px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: space-around;
}

.dec-img-div {
    width: 33%;
    height: 300px;
    margin-top: 50px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dec-img-div .dec-img {
    min-height: 400px;
    background-image: url('../images/soap-images/dec.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: -30px -65px;
}

.dec-text-div {
    width: 55%;
    max-width: 67%;
    display: flex;
    flex-direction: column;
}

.dec-text-heading {
    font-family: "WorkSans-Bold";
    text-transform: uppercase;
    font-size: clamp(3rem, 2.5vw, 2rem);
    color: var(--pink-dark);
    margin-bottom: 15px;
    animation: fadeUp 0.6s ease both 0.1s;
}

.dec-text-h2 {
    font-family: "WorkSans-Regular";
    font-size: clamp(1.5rem, 1.5vw, 1rem);
    color: black;
    margin-bottom: 10px;
    margin-left: 20px;
}

.dec-text-h3 {
    font-family: "WorkSans-Light";
    font-size: 0.8rem;
    margin-left: 20px;
}

ul {
    list-style-type: disc;
    color: black;
    text-align: justify;
}

li {
    font-family: "WorkSans-SemiBold";
    font-size: 1.2rem;
    color: var(--pink);
    margin-bottom: 20px;
}

/* Declaration Mobile View */
.dec-container-mob {
    padding: 10px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    flex-wrap: wrap;
    align-items: center;
}

.partners-container {
    width: 100%;
    min-height: 200px;
    display: flex;
    flex: 1 1 150px;
    flex-direction: row;
    gap: 10px;
    text-align: center;
}

.partners-div {
    width: 33.33%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.partners-img-div {
    border: 1px solid rgb(169, 169, 169);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-image: url(../images/soap-images/gsa.png);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 20px;
    z-index: 2;
}

.partners-caption {
    font-family: "WorkSans-Regular";
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--pink-light);
    margin-bottom: 10px;
}

.partners-title {
    font-family: "WorkSans-SemiBold";
    font-size: clamp(1rem, 2vw, 1.3rem);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.events-container {
    text-align: center;
    padding: 30px 50px 30px 50px;
    overflow: hidden;
}

.events-container h1 {
    position: relative;
    font-family: "WorkSans-Bold";
    font-size: clamp(3rem, 2.5vw, 2rem);
    color: var(--pink-dark);
    text-transform: uppercase;
}

.events-container h2 {
    font-family: "WorkSans-Light";
    font-size: 0.8rem;
    color: var(--pink-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 10px;
}

.events-container h3 {
    margin-top: 30px;
    font-family: "WorkSans-Regular";
    font-size: 1.2rem;
    color: var(--pink-dark);
    text-transform: uppercase;
    letter-spacing: 5px;
}

.speakers-container {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    min-height: 200px;
    margin-top: 40px;
    padding: 20px;
}

.speakers-container h1 {
    font-family: "WorkSans-Regular";
    font-size: 0.8rem;
    color: var(--pink);
    opacity: 0.8;
    letter-spacing: 10px;
    text-transform: uppercase;
    text-align: left;
}

.speaker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    overflow: hidden;
    margin-top: 25px;
}

.speaker-cell {
    background: white;
    box-shadow: 1px 0 0 0 var(--line), 
                0 1px 0 0 var(--line);
    padding: 22px 20px;
    transition: background 0.25s;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sp-topic {
    font-family: "WorkSans-SemiBold";
    font-size: 1.5rem;
    color: var(--pink-dark);
    margin-bottom: 10px;
}

.sp-name {
    font-family: "workSans-Regular";
    font-size: 1rem;
    color: black;
}

.video-container {
    margin-top: 30px;
    position: relative;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    min-height: 100px;
}

.footer {
    background-color: #4A4A4A;
    min-height: 100px;
    display: flex;
    flex-direction: row;
    padding: 20px 40px 20px 40px;
  }

.pages-container {
    position: relative;
    align-content: end;
      
  }

.footer-text {
    font-family: "WorkSans-SemiBold";
    color: white;
    font-size: 16px;
    display: inline-block;
    position: relative;
    margin-right: 8px;
}


  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── RESPONSIVE ── */
  @media screen and (max-width: 1025px) {
    .tabs-content {
        font-size: 1.8vw;
        margin-right: 11px;
    }
    .tabs-container { max-width: 50%; }

    .text-container p { font-size: 1.1rem; }
    .text-container .p1 { font-size: 20px;}
    .section { padding: 30px 15px 30px 15px; }
    .dec-container { padding: 10px 20px 10px 20px; }
    .dec-text-h3 { font-size: 1rem; }
    .dec-img-div .dec-img {
        min-height: 400px;
        background-position: -30px -25px;
    }
    .partners-caption { font-size: 1.3rem; }
    .partners-title { font-size: 1.5rem; }
    .events-container { padding: 30px; }
    .events-container h2 { font-size: 1rem; }
    .events-container h3 { font-size: 1.4rem; }
    .speakers-container { width: 75%; }
}

@media screen and (max-width: 576px) {
  .sidenav-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        box-sizing: border-box;
        padding-right: 20px;
    }
    .sidenav-logo-container {
        display: block;
        width: 35%;
    }
    .sidenav-logo-div {
        width: 100%;
        height: 100%;
        background-image: url('../images/soap-images/soap-logo.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
    .sidenav-open-btn {
        display: flex;
        flex-direction: column;
        min-height: 20px;
        justify-content: center;
        z-index: 6;
    }
    #bar1, #bar2, #bar3 {
        width: 35px;
        height: 5px;
        background-color: var(--pink-dark);
        margin: 3px 0;
        transition: 0.3s;
    }
    .change #bar1 {
        transform: translate(0, 11px) rotate(-45deg);
        background-color: white;
    }
    .change #bar2 { opacity: 0; }
    .change #bar3 {
        transform: translate(0, -11px) rotate(45deg);
        background-color: white;
    }
    .sidenav-panel { display: block; }
    .navbar { display: none; }
    .container {
        min-height: 0px;
        padding: 0;
    }
    .page-header { padding: 40px 20px 40px 20px; }
    .section  {padding: 30px 15px 30px 15px; }
    .text-container {
        padding-right: 10px;
        padding-left: 10px;
        max-width: 85%;
    }
    .text-container p { font-size: 1.1rem; }
    .text-container .p1 { 
        font-size: 20px;
        display: inline;
    }
    .dec-container { display: none; }
    .dec-container-mob { display: flex; }
    .dec-text-heading { font-size: 2.3rem; }
    .dec-text-h2 {
        font-size: 1.1rem;
        margin-left: 0;
        margin-bottom: 0;
    }
    .dec-text-h3 {
        font-size: 1rem;
        margin-left: 0;
        margin-bottom: 15px;
    }
    .dec-img-div {
        width: 90%;
        margin-top: 20px;
        margin-bottom: 25px;
    }
    .dec-img-div .dec-img { background-position: -30px -35px; }
    .dec-text-div {
        width: 85%;
        max-width: 90%;
        padding: 10px;
    }
    ul {
        padding-left: 10px;
        text-align: left;
    }
    .partners-container {
        flex-wrap: wrap;
        gap: 50px;
    }

    .partners-div { width: 100%; }
    .partners-caption { font-size: 1rem; }
    .partners-title { font-size: clamp(1rem, 2vw, 1.3rem); }

    .events-container { padding: 20px; }
    .events-container h2 { font-size: 0.8rem; }
    .events-container h3 { font-size: 1.2rem; }
    .speakers-container { width: 80%; }
    .speaker-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    .sp-topic { margin-bottom: 13px; }
    .sp-name {
        font-family: "workSans-Regular";
        font-size: 1rem;
        color: black;
    }

    .video-container {
        width: 95%;
    }


}
