@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Caveat:wght@400;700&family=Lobster&family=Monoton&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,700&family=Work+Sans:ital,wght@0,400;0,700;1,700&display=swap');
:root {

    /**
   * colors
   */

    --st-patricks-blue: hsl(236, 57%, 28%);
    --amaranth-purple: hsl(335, 88%, 38%);
    --royal-blue-dark: hsl(231, 68%, 21%);
    --chrome-yellow: hsl(5, 100%, 69%);
    --space-cadet-1: hsl(230, 41%, 25%);
    --space-cadet-2: hsl(230, 59%, 16%);
    --winter-sky_50: hsla(335, 87%, 53%, 0.5);
    --purple-navy: hsl(236, 26%, 43%);
    --ksu-purple: hsl(275, 54%, 33%);
    --winter-sky: hsl(212, 100%, 50%);
    --razzmatazz: hsl(212, 87%, 53%);
    --platinum: hsl(0, 0%, 90%);
    --black_70: hsla(0, 0%, 0%, 0.7);
    --rajah: hsl(5, 100%, 69%);
    --white: hsl(0, 0%, 100%);

    --gradient-1: linear-gradient(90deg, var(--royal-blue-dark) 0, var(--ksu-purple) 51%, var(--royal-blue-dark));
    --gradient-2: linear-gradient(90deg, var(--razzmatazz), var(--rajah));

    /**
   * typography
   */

    --ff-source-sans-pro: 'Source Sans Pro', sans-serif;
    --ff-poppins: 'Poppins', sans-serif;

    --fs-1: 4.2rem;
    --fs-2: 3.8rem;
    --fs-3: 3.2rem;
    --fs-4: 2.5rem;
    --fs-5: 2.4rem;
    --fs-6: 2rem;
    --fs-7: 1.8rem;
    --fs-8: 1.5rem;

    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;

    /**
   * border radius
   */

    --radius-4: 4px;
    --radius-12: 12px;

    /**
   * spacing
   */

    --section-padding: 60px;

    /**
   * transition
   */

    --transition-1: 0.15s ease;
    --transition-2: 0.35s ease;
    --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);

    /**
   * shadow
   */

    --shadow: 0 5px 20px 1px hsla(220, 63%, 33%, 0.1);

}
@media (max-width: 720px) {
    .main-header {
        padding: 30px 0;
    }

    .main-header h1 {
        font-size: 2em;
    }

    .nbkrist-wie, .about-wie {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin: 10px;
    }

    .nbkrist-wie .logo img, .about-wie .logo img {
        width: 100px;
        height: 100px;
        margin: 0 auto 20px;
    }

    .nbkrist-wie .content, .about-wie .content {
        max-width: 100%;
        text-align: center;
        padding: 0 10px;
    }

    .cards-section {
        flex-wrap: wrap;
        gap: 20px;
    }

    .card {
        width: 100%;
        margin: 10px 0;
    }

    .card h3 {
        font-size: 1.5em;
    }

    .card-content {
        font-size: 1em;
    }

    .read-more {
        font-size: 0.9em;
    }

    .panel-section .panel {
        flex-wrap: wrap;
    }

    .panel .counselor, .panel .member {
        width: 100%;
        margin-bottom: 20px;
    }

    .panel .counselor img, .panel .member img {
        width: 80px;
        height: 80px;
    }

    .panel .counselor h3, .panel .member h3 {
        font-size: 1.2em;
    }
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    list-style: none;
}


/* dropdowns */
.paste-button {
    position: relative;
    display: block;
    font-family: "Poppins", sans-serif;
}

.button {
    background-color: transparent;
    color: #fff;
    padding: 5px 0;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    border: none;
    cursor: pointer;
    transition: all 0.50s ease;
}

.dropdown-content {
    display: none;
    font-size: 13px;
    position: absolute;
    z-index: 2;
    min-width: 200px;
    background-color: #212121;
    border-radius: 0px 15px 15px 15px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
    color: #fff;
    text-decoration: none;
    display: block;
    transition: 0.1s;
}

.dropdown-content a:hover {
    background-color: black;
    color: black;
}

.dropdown-content a:focus {
    background-color: #212121;
    color: black;
}

.dropdown-content #top:hover {
    border-radius: 0px 13px 0px 0px;
}

.dropdown-content #middle:hover {
    border-radius: 0px 0px 13px 13px;
}

.dropdown-content #bottom:hover {
    border-radius: 0px 0px 13px 13px;
}

.paste-button:hover button {
    border-radius: 15px 15px 0px 0px;
}

.paste-button:hover .dropdown-content {
    display: block;
}

html, body {
    min-height: 100vh;
    background: #0F1156;
    color: #fff;
    width:100%;
    overflow-x: hidden;
}

.container {
    padding-inline: 15px;
}

.w-100 {
    width: 100%;
}

.banner-animation {
    animation: waveAnim 2s linear infinite alternate;
}

@keyframes waveAnim {
    0% {
        transform: translate(0, 0) rotate(0);
    }

    100% {
        transform: translate(2px, 2px) rotate(2deg);
    }
}

.header {

    position: fixed;
    width: 100%;
    height: 90px;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(1, 1, 1, 0.5);
    padding: 15px 200px;
    transition: all 0.50s ease;
}

.navbar {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.navbar li {
    margin: 0 9px;
    display: flex;
    align-items: center;
}

.navbar a,
.button {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px 0;
    transition: all 0.50s ease;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar a:hover,
.button:hover {
    color: #6D7FFB;
}

.main {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
    /* Add margin to the right side */
}

.main a {
    margin-right: 25px;
    margin-left: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.50s ease;
}

.user {
    display: flex;
    align-items: center;
}

.user i {
    color: #29fd53;
    font-size: 20px;
    margin-right: 7px;
}

.main a:hover {
    color: #29fd53;
}

#menu-icon {
    font-size: 35px;
    color: #fff;
    cursor: pointer;
    display: none;
}

@media (max-width: 1280px) {
    .header {
        padding: 14px 2%;
        transition: 0.2s;
    }

    .navbar li {
        margin: 0 10px;
    }
}

@media (max-width: 1090px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: 2%;
        width: 270px;
        height: auto;
        background: #0F1156;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        overflow: hidden;
        max-height: 0;
    }

    .navbar li {
        margin: 10px 0;
    }

    .navbar.active {
        max-height: 500px;
        /* Adjust based on content height */

    }

    .navbar a:hover,
    .button:hover {
        color: yellow;
    }

}



/*section {
    padding: 100px 200px;
}*/


.footer {
    font-size: var(--fs-8);
    padding: 30px;
}

.footer a {
    color: inherit;
}

.footer-top {
    background-repeat: no-repeat;
    background-size: auto, 200%;
    background-position: center, center;
    color: var(--white);
    padding: 30px 0;
}

.footer-brand {
    margin-block-end: 30px;
}

.footer-brand .logo {
    font-weight: var(--fw-700);
    margin-block-end: 15px;
}

.footer-brand .text {
    font-size: 16px;
    /* Adjusted font size for consistency */
    margin-block-end: 20px;
}

.social-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.footer-top .social-link {
    background-color: var(--white);
    color: var(--winter-sky);
    font-size: 18px;
    padding: 8px;
    border-radius: 50%;
}

.footer-top .social-link:is(:hover, :focus) {
    background-image: var(--gradient-2);
    color: var(--white);
}

.footer-list:not(:last-child) {
    margin-block-end: 25px;
}

.footer-list-title {
    font-family: var(--ff-source-sans-pro);
    font-size: 18px;
    /* Adjusted font size for consistency */
    font-weight: var(--fw-700);
    margin-block-end: 15px;
}

.footer-link {
    padding-block: 5px;
    font-size: 16px;
    /* Adjusted font size for consistency */
}

:is(.footer-link, .footer-item-link):not(address):is(:hover, :focus) {
    text-decoration: underline;
}

.footer-item-link {
    font-size: 16px;
    /* Adjusted font size for consistency */
}

.footer-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding-block: 10px;
}

.footer-item-icon {
    background-image: var(--gradient-2);
    padding: 13px;
    border-radius: 50%;
}

.footer-bottom {
    background-color: #526C7F;
    padding: 10px;
    text-align: center;
    color: #D0D03D;
    margin: 0 -30px -30px -30px;
}

.copyright-link {
    display: inline-block;
    text-decoration: underline;
}

.copyright-link:is(:hover, :focus) {
    text-decoration: none;
}


/* responsive for smaller than 576px screen */
@media (max-width: 575px) {
    .footer-top .container {
        display: block;
        margin-right: 20px;
    }

    .footer-list-link {
        display: block;
        text-align: center;
    }

    .footer-brand,
    .footer-list {
        margin-block-end: 20px;
    }

    .footer-brand .text,
    .footer-list-title,
    .footer-link,
    .footer-item-link {
        font-size: 16px;
        /* Ensuring consistent font size on smaller screens */
    }
}

/* responsive for larger than 550px screen */
@media (min-width: 550px) {
    .footer-top .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}

/* responsive for larger than 768px screen */
@media (min-width: 768px) {
    .footer-top .container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-brand,
    .footer-list,
    .footer-item {
        flex: 1;
    }
}

/* responsive for larger than 992px screen */
@media (min-width: 992px) {
    .footer-top .container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }

    .footer-brand {
        grid-column: 1 / span 1;
    }

    .footer-list,
    .footer-item {
        grid-column: span 1;
    }

    .footer-brand .text {
        max-width: 45ch;
    }
}

/* responsive for larger than 1200px screen */
@media (min-width: 1200px) {
    .footer-top .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 550px) {
  .footer-top    .container {
        display: block;
        
    }

    .footer-brand {
        grid-column: auto;
    }
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    
}

.main-header {
    text-align: center;
    padding: 50px 0;
    color: white;
}

.main-header h1 {
    margin: 0;
    font-size: 3em;
    animation: fadeIn 2s ease-in-out;
}

 .nbkrist-wie {
    display: flex;
    align-items: center;
    background: #323C7D;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    animation: fadeIn 2s ease-in-out;
}

 .nbkrist-wie .logo img {
    width: 150px;
    height: auto;
    border-radius:50%;
    margin-right: 30px;
    animation: slideInLeft 1.5s ease-in-out;
    border: 5px solid #00509e;
}

 .nbkrist-wie .content {
    max-width: 600px;
    color:white;
}
 .about-wie   .content{
       color:white;
 }
.about-wie {
    display: flex;
    align-items: center;
    background: #323C7D;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin: 20px;
    border-radius: 15px;
   
    animation: fadeIn 2s ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-wie:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.about-wie .logo img {
    width: 150px;
    height: 150px;
    border-radius:50%;
    margin-right: 30px;
    animation: slideInLeft 1.5s ease-in-out;
    transition: transform 0.3s ease;
    border: 5px solid #00509e;
}

.about-wie .logo img:hover {
    transform: rotate(-10deg);
}

.about-wie .content {
    max-width: 600px;
}

.about-wie .content h2 {
    font-size: 2em;
    color: white;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.about-wie .content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: white;
    animation: fadeIn 2s ease-in-out;
}


.cards-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    background: #323C7D;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin: 20px;
    animation: fadeIn 2s ease-in-out;
}

.cards-section .card {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 10px auto;
    padding: 20px;
    width: 90%;
    animation: slideInUp 1s ease-in-out;
    color: white;
   background-color: rgba(255, 255, 255, 0.2);
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    
    background-size: 200% 200%;
    animation: gradientBG 3s ease infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards-section .card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.cards-section .card h3 {
    margin-bottom: 15px;
}

.cards-section .card-content {
    max-height: 80px; /* Limits the height of the content */
    overflow: hidden; /* Hides the overflowing content */
    transition: max-height 0.5s ease;
}

.cards-section .card-content.expanded {
    max-height: 500px; /* Adjust as needed */
}

.cards-section .read-more {
    background: orange;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.cards-section .read-more:hover {
    background: orange;
}

.card .mission {
    background: linear-gradient(45deg, #00509e, #1e90ff);
    background-size: 200% 200%;
    animation: gradientBG 3s ease infinite;
}

.card .vision {
    background: linear-gradient(45deg, #1e90ff, #87cefa);
    background-size: 200% 200%;
    animation: gradientBG 3s ease infinite;
}

.card     .goal {
    background: linear-gradient(45deg, #00bfff, #87cefa);
    background-size: 200% 200%;
    animation: gradientBG 3s ease infinite;
}

.card .strives {
    background: linear-gradient(45deg, #87cefa, #00bfff);
    background-size: 200% 200%;
    animation: gradientBG 3s ease infinite;
}



.panel-section {
    background: #323C7D;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 15px;
    margin: 20px;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

.panel-section .panel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.panel-section .counselor {
    margin-bottom: 20px;
    animation: slideInDown 1.5s ease-in-out;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 200px;
}

.panel-section .counselor-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 5px solid #00509e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel-section .counselor-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.panel-section .counselor h3,
.panel-section .counselor p {
    color: #00509e;
}

.panel-section .team {
    display: flex;
    justify-content: space-between; /* Space out the members evenly */
    width: 100%;
    color: white;
    flex-wrap: wrap; /* Allows wrapping for responsive design */
}

.panel-section .team .member {
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin: 10px;
    padding: 20px;
    flex: 1 1 calc(25% - 40px); /* Adjusts for 4 cards in a row */
    animation: slideInUp 1.5s ease-in-out;
    text-align: center;
}

.panel-section .member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes slideInDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}





section {
    padding: 100px 200px;
}


/* Media Query for responsiveness */
@media (max-width: 1024px) and  (min-width: 900px) {
    .about-wie, .nbkrist-wie {
        flex-direction: column;
        text-align: center;
    }

    .about-wie .logo img, .nbkrist-wie .logo img {
        margin: 0 auto 20px;
    }

    .about-wie .content, .nbkrist-wie .content {
        max-width: 100%;
    }
    section {
    padding: 100px 150px;

   }
   .panel-section .team .member{
    width:100%;
   }
  
}


@media (max-width: 899px) and  (min-width: 700px) {
    .about-wie, .nbkrist-wie {
        flex-direction: column;
        text-align: center;
    }

    .about-wie .logo img, .nbkrist-wie .logo img {
        margin: 0 auto 20px;
    }

    .about-wie .content, .nbkrist-wie .content {
        max-width: 100%;
    }
    section {
    padding: 100px 100px;

   }
   .panel-section .team .member{
    width:100%;
   }
 
}

@media (max-width: 699px) and  (min-width: 600px) {
    .about-wie, .nbkrist-wie {
        flex-direction: column;
        text-align: center;
    }

    .about-wie .logo img, .nbkrist-wie .logo img {
        margin: 0 auto 20px;
    }

    .about-wie .content, .nbkrist-wie .content {
        max-width: 100%;
    }
    section {
    padding: 100px 60px;

   }
   .panel-section .team .member{
    width:100%;
   }
   .main-header {
    padding: 30px 0;
}


}

@media (max-width: 599px) and  (min-width: 400px) {
    .about-wie, .nbkrist-wie {
        flex-direction: column;
        text-align: center;
    }

    .about-wie .logo img, .nbkrist-wie .logo img {
        margin: 0 auto 20px;
    }

    .about-wie .content, .nbkrist-wie .content {
        max-width: 100%;
    }
    section {
    padding: 100px 30px;

   }
   .panel-section .team .member{
    width:100%;
   }
   .main-header {
    padding: 20px 0;
}


}


@media (max-width: 400px) {
    
    .about-wie, .nbkrist-wie {
        flex-direction: column;
        text-align: center;
    }

    .about-wie .logo img, .nbkrist-wie .logo img {
        margin: 0 auto 20px;
    }

    .about-wie .content, .nbkrist-wie .content {
        max-width: 100%;
    }
    section {
    padding: 100px 30px;

   }
   .panel-section .team .member{
    width:100%;
   }
   .main-header {
    padding: 20px 0;
}


}

/* Responsive styles for panel photos */
@media (max-width: 1024px) and (min-width: 900px) {
    .panel-section .team .member {
        width: calc(50% - 40px);
    }
}

@media (max-width: 899px) and (min-width: 700px) {
    
    .panel-section .team .member {
        width: 150px;
        margin-left:auto;
    }
}

@media (max-width: 699px) and (min-width: 600px) {
     .panel-section .team{
        display: block;
     }

    .panel-section .team .member {
        width: calc(100% - 40px);
    }
}

@media (max-width: 599px) and (min-width: 400px) {
    .panel-section .team{
        display: block;
     }

    .panel-section .team .member {
        width: calc(100% - 40px);
    }
}

@media (max-width: 400px) {
    .panel-section .team{
        display: block;
     }

    .panel-section .team .member {
        width: calc(100% - 40px);
    }
}


/* Add this to your existing CSS file */

.animate-on-scroll {
    opacity: 0; /* Start with the elements hidden */
    transform: translateY(100px); /* Adjust as needed */
    transition: all 0.5s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes slideInDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Use the animate class for animations */
.panel-section.animate .panel {
    animation: fadeIn 2s ease-in-out;
}

.panel-section .counselor.animate {
    animation: slideInDown 1.5s ease-in-out;
}

.panel-section .team .member.animate {
    animation: slideInUp 1.5s ease-in-out;
}

.about-wie .logo img.animate {
    animation: slideInLeft 2s ease-in-out;
}

.main-header h1.animate {
    animation: fadeIn 2s ease-in-out;
}

/* Make sure all the animated elements have the .animate-on-scroll class */
.panel-section, .panel-section .counselor, .panel-section .team .member, .about-wie .logo img, .main-header h1 {
    opacity: 1; /* Initially hidden */
}
section {
    padding: 100px 200px;
    min-height: 40vh;

}

/*about us styling*/

.section-title {
    text-align: center;
    color: yellow;
    font-size: 30px;
}

.service {
    margin-top: -100px;
}

.service-list {
    display: grid;
    gap: 30px;
}

.service-card {
    padding: 30px;
    box-shadow: var(--shadow);
    border-radius: var(--radius-12);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
}

.service-card .card-icon {
    background-image: url("../images/service-banner-pattern.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-color: hsla(335, 87%, 53%, 0.12);
    aspect-ratio: 1 / 1;
    max-width: 165px;
    display: grid;
    place-content: center;
    margin-inline: auto;
    transition: var(--transition-1);
}

.service-card:hover .card-icon {
    background-color: var(--winter-sky);
}

.service-card .card-icon ion-icon {
    font-size: 5rem;
    color: var(--winter-sky);
    --ionicon-stroke-width: 20px;
    transition: var(--transition-1);
}

.service-card:hover .card-icon ion-icon {
    color: var(--white);
}

.service-card .title {
    text-align: center;
    margin-block-end: 15px;
}

.service-card .text {
    text-align: center;
    margin-block-end: 20px;
}

.service-card .card-btn {
    margin-inline: auto;
    padding: 15px;
    border: 1px solid var(--winter-sky);
    border-radius: 50%;
    color: var(--winter-sky);
    transition: var(--transition-1);
}

.service-card .card-btn:is(:hover, :focus) {
    color: var(--white);
    background-color: var(--winter-sky);
}






/**
 * responsive for larger than 768px screen
 */





.card-container {
    perspective: 1000px;
    transform-style: preserve-3d;
    width: 350px;
    height: 300px;
    margin-left: 30px;
}


.card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.28) 0%,
            rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(30px);
    border-radius: 20px;

    box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 10;

}

.card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.card-content {
   
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    box-sizing: border-box;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.card img {
    width: calc(100% + 60px);
    height: 60%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    margin: -30px 0 0 -30px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

h2 {
    margin: 20px 0 10px;
    color: #ecf0f1;
    font-size: 24px;
    transform: translateZ(40px);
}

p {
    color: #bdc3c7;
    font-size: 16px;
    line-height: 1.5;
    transform: translateZ(30px);
}

.button-about {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    transform: translateZ(50px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.button-about:hover {
    background: linear-gradient(45deg, #2980b9, #3498db);
    transform: translateZ(60px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.card:hover .glow {
    opacity: 1;
}
.head-major-event h1{
    font-size:34px;
}

.headings h1{
    font-size:34px;
    text-align: center;
}

/**
 * responsive for larger than 992px screen
 */



/**
 * responsive for larger than 1200px screen
 */
@media(max-width:400px) {

    .service {
        margin-left: -194px;
        margin-right: 30px;
        margin-bottom: 30px;
    }
    .card-container {

    width: 300px;
    height: 250px;

}
.head-major-event h1{
    font-size:24px;
    text-align: center;
    margin: auto;
}
.head-major-event{
    width:350px;
}
.headings h1{
    font-size:34px;
    text-align: center;
    margin-right: 50px;
}
.headings hr{
   display: none;

}

.card-content h2{
    font-size: 14px;
}
.button-about{
    font-size: 14px;
}
}

@media(min-width:401px) and (max-width:576px) {

    .service {
        margin-left: 38px;
        margin-right: 30px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) and (min-width:402px) {


    .service-list {
        grid-template-columns: repeat(1, 1fr);
    }


    .service {
        margin-left: -93px;
        margin-right: 108px;
        margin-bottom: 30px;
    }

    .section {
        padding: 130px 110px;
        min-height: 40vh;
    }

    /*.head-major-event h1{
    font-size:24px;
    text-align: center;
    margin: auto;
    }*/
     .head-major-event{
    width:430px;
    }

}

@media (max-width: 768px) and (min-width:653px) {


    .service-list {
        grid-template-columns: repeat(1, 1fr);
    }


    .service {
        margin-left: 75px;
        margin-right: 108px;
        margin-bottom: 30px;
    }

    .section {
        padding: 130px 110px;
        min-height: 40vh;
    }




}

@media (max-width: 992px) and (min-width:768px) {


    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .service {
        margin-left: 1px;
        margin-right: 40px;
        margin-bottom: 30px;

    }

    .section {
        padding: 100px 90px;
        min-height: 40vh;
    }




}

@media (max-width: 1200px) and (min-width:992px) {


    .service-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .service {
        margin-left: -20px;
        margin-right: 40px;
        margin-bottom: 30px;

    }




}

@media (min-width: 1300px) {

    .section-title {
        --fs-3: 4.6rem;
    }

    .service-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .service {
        margin-left: -20px;
        margin-right: 40px;
        margin-bottom: 30px;

    }




}
@media (min-width: 1200px) and (max-width:1300px) {

    .section-title {
        --fs-3: 4.6rem;
    }

    .service-list {
        grid-template-columns: repeat(3, 1fr);
        margin-left:-170px;
    }

    .service {
        margin-left: -20px;
        margin-right: 40px;
        margin-bottom: 30px;

    }




}

@media(min-width:1524px) {
    .service {
        margin-left: -40px;
        margin-right: 30px;
        margin-bottom: 30px;
    }
}


/* Root Variables */
:root {
    --winter-sky: #007BFF;
    /* Winter sky color */
    --white: #FFFFFF;
    /* White color */
    --radius-4: 4px;
    /* Border radius */
    --winter-sky_50: rgba(0, 123, 255, 0.5);
    /* Winter sky with opacity */
    --transition-1: all 0.3s ease-in-out;
    /* Transition */
}
/*-----------------------------------*\
  #goto top
\*-----------------------------------*/

/* Go Top Button Styling */
.go-top {
    position: fixed;
    /* Fixed positioning */
    bottom: 15px;
    /* Bottom position */
    right: 15px;
    /* Right position */
    background-color: var(--winter-sky);
    /* Background color */
    color: var(--white);
    display: none;
    /* Text color */
    font-size: 2rem;
    /* Font size */
    padding: 14px;
    /* Padding */
    border-radius: var(--radius-4);
    /* Rounded corners */
    box-shadow: -3px 3px 15px var(--winter-sky_50);
    /* Box shadow */
    z-index: 1;
    /* Z-index */
    opacity: 0.8;
    /* Opacity */
    transition: var(--transition-1);
    /* Transition */
}
.go-top.active{
    display: block;
     opacity: 1;
}

.go-top:hover {
    opacity: 1;
}

/*-----------------------------------\
 #FOOTER \-----------------------------------*/
.footer {
    font-size: var(--fs-8);
    padding: 30px;
}

.footer a {
    color: inherit;
}

.footer-top {
    background-repeat: no-repeat;
    background-size: auto, 200%;
    background-position: center, center;
    color: var(--white);
    padding: 30px 0;
}

.footer-brand {
    margin-block-end: 30px;
}

.footer-brand .logo {
    font-weight: var(--fw-700);
    margin-block-end: 15px;
}

.footer-brand .text {
    font-size: 16px;
    /* Adjusted font size for consistency */
    margin-block-end: 20px;
}

.social-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.footer-top .social-link {
    background-color: var(--white);
    color: var(--winter-sky);
    font-size: 18px;
    padding: 8px;
    border-radius: 50%;
}

.footer-top .social-link:is(:hover, :focus) {
    background-image: var(--gradient-2);
    color: var(--white);
}

.footer-list:not(:last-child) {
    margin-block-end: 25px;
}

.footer-list-title {
    font-family: var(--ff-source-sans-pro);
    font-size: 18px;
    /* Adjusted font size for consistency */
    font-weight: var(--fw-700);
    margin-block-end: 15px;
}

.footer-link {
    padding-block: 5px;
    font-size: 16px;
    /* Adjusted font size for consistency */
}

:is(.footer-link, .footer-item-link):not(address):is(:hover, :focus) {
    text-decoration: underline;
}

.footer-item-link {
    font-size: 16px;
    /* Adjusted font size for consistency */
}

.footer-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding-block: 10px;
}

.footer-item-icon {
    background-image: var(--gradient-2);
    padding: 13px;
    border-radius: 50%;
}

.footer-bottom {
    color: #210D39;
    padding: 10px;
    text-align: center;
    background-color: #7BACD4;
    margin: 0 -30px -30px -30px;
}

.copyright-link {
    display: inline-block;
    text-decoration: underline;
}

.copyright-link:is(:hover, :focus) {
    text-decoration: none;
}

/*----------------------------------\
 #MEDIA QUERIES \-----------------------------------*/
/* responsive for smaller than 576px screen */
@media (max-width: 575px) {
    .footer-top .container {
        display: block;
        margin-right: 20px;
    }

    .footer-list-link {
        display: block;
        text-align: center;
    }

    .footer-brand,
    .footer-list {
        margin-block-end: 20px;
    }

    .footer-brand .text,
    .footer-list-title,
    .footer-link,
    .footer-item-link {
        font-size: 16px;
        /* Ensuring consistent font size on smaller screens */
    }
}

/* responsive for larger than 550px screen */
@media (min-width: 550px) {
    .footer-top .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}

/* responsive for larger than 768px screen */
@media (min-width: 768px) {
    .footer-top .container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-brand,
    .footer-list,
    .footer-item {
        flex: 1;
    }
}

/* responsive for larger than 992px screen */
@media (min-width: 992px) {
    .footer-top .container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }

    .footer-brand {
        grid-column: 1 / span 1;
    }

    .footer-list,
    .footer-item {
        grid-column: span 1;
    }

    .footer-brand .text {
        max-width: 45ch;
    }
}

/* responsive for larger than 1200px screen */
@media (min-width: 1200px) {
    .footer-top .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

/*.container-aboutpage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    width: 100%;
    padding: 20px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.28) 0%,
            rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    width: min(900px, 100%);
    box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 10;

}*/



.box:hover {
    transform: translateY(-10px);

}

.About h2,
h3 {
    margin-top: 50;
    color: #395886;
}

.About hr {
    border: 3;
    border-top: 3px solid #333;
    margin: 10px 0 20px;

}

/*.head-major-event {
    width: 400px;
}*/

.head-major-event hr {
    border: 3;
    border-top: 2px solid #333;
    margin: 10px 0 20px;
    width: 240px;
}

.box img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    vertical-align: middle;
    transition: transform 0.3s;
}




.box h1 {
    color: #F5EFBD;
}

.box p,
ul {
    margin: 0;
    padding: 0 1px;

    font-size: large;

}

.box {
    /*display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;*/

    width: 100%;
    padding: 20px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.28) 0%,
            rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    width: min(900px, 100%);
    box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 10;
    margin: auto;
}




@media (max-width: 992px) {
    .box {
        width: calc(100% - 0px);
        /* Ensure the box fits within the screen with padding considered */
        /* max-width: 1000px; /* Increase the max-width */
        padding: 20px;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.28) 0%,
                rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(30px);
        border-radius: 20px;
        box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
            0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
        z-index: 10;
        margin: auto;
        /* Center the box horizontally */
        min-width: 600px;
        /* Set a minimum width */

    }



    .About {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;

    }
}

/* Global box-sizing rule */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Global CSS reset */
body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

footer {
    overflow: hidden;
}

@media (max-width: 992px) and (min-width: 768px) {
    .box {
        width: calc(100% - 0px);
        /* Ensure the box fits within the screen with padding considered */
        /* max-width: 1000px; /* Increase the max-width */
        padding: 20px;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.28) 0%,
                rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(30px);
        border-radius: 20px;
        box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
            0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
        z-index: 10;
        margin: auto;
        /* Center the box horizontally */
        width: 600px;
        box-sizing: border-box;
        /* Set a minimum width */

    }



    .About {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .box {

        /* Ensure the box fits within the screen with padding considered */
        /* max-width: 1000px; /* Increase the max-width */
        padding: 20px;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.28) 0%,
                rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(30px);
        border-radius: 20px;
        box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
            0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
        z-index: 10;
        margin: 30px;
        /* Center the box horizontally */
        min-width: 450px;
        box-sizing: border-box;
        /* Set a minimum width */

    }



    .About {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}



@media (max-width: 800px) {
    .box {

        /* Ensure the box fits within the screen with padding considered */
        /* max-width: 1000px; /* Increase the max-width */
        padding: 20px;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.28) 0%,
                rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(30px);
        border-radius: 20px;
        box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
            0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
        z-index: 10;
        margin: auto;
        box-sizing: border-box;
        /* Center the box horizontally */
        min-width: 500px;

        /* Set a minimum width */

    }


    .About {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}


@media (max-width: 599px) and (min-width: 500px) {
    .box {
        width: calc(100% - 20px);
        /* Ensure the box fits within the screen with padding considered */
        /* max-width: 1000px; /* Increase the max-width */
        padding: 20px;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.28) 0%,
                rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(30px);
        border-radius: 20px;
        box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
            0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
        z-index: 10;
        margin: auto;
        box-sizing: border-box;
        /* Center the box horizontally */
        min-width: 251px;
        margin-left: 250px;
        min-width: 391px;
        margin-right: 262px;
        /* Set a minimum width */

    }

    .About {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;

    }
}

@media (max-width:400px) {
    .box {
        width: calc(100% - 20px);
        /* Ensure the box fits within the screen with padding considered */
        /* max-width: 1000px; /* Increase the max-width */
        padding: 20px;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.28) 0%,
                rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(30px);
        border-radius: 20px;
        box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
            0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
        z-index: 10;
        box-sizing: border-box;

         
        min-width: 308px;
        /* Center the box horizontally */
        margin-left: -70px;
        margin-right: 0px;
        /* Set a minimum width */

    }

    .About {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;

        margin-left: 20px;

    }
}


@media (max-width: 499px) and (min-width: 401px) {
    .box {
        width: calc(100% - 20px);
        /* Ensure the box fits within the screen with padding considered */
        /* max-width: 1000px; /* Increase the max-width */
        padding: 20px;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.28) 0%,
                rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(30px);
        box-sizing: border-box;
        border-radius: 20px;
        box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
            0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
        z-index: 10;

        margin-left: 273px;
        min-width: 338px;
        margin-right: 273px;
        /* Set a minimum width */

    }

    .About {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;

    }
}

@media (max-width: 576px) and (min-width:400px) {
    .box {
        width: calc(100% - 20px);
        /* Ensure the box fits within the screen with padding considered */
        /* max-width: 1000px; /* Increase the max-width */
        padding: 20px;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.28) 0%,
                rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(30px);
        border-radius: 20px;
        box-sizing: border-box;
        box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
            0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
        z-index: 10;
        margin-left: 273px;
        min-width: 338px;
        margin-right: 273px;

        /* Center the box horizontally */


        /* Set a minimum width */

    }


    .About {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;

    }
}





/*-----footer-------*/

/* responsive for larger than 550px screen */
@media (max-width: 550px) {
    .footer-top .containerf {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        box-sizing: border-box;
        gap: 30px;
    }

    .footer-top .container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
    }
}

/* ANIMATED BACKGROUND */

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background-color: #ff3cac;
    background-image: linear-gradient(225deg,
            #ff3cac 0%,
            #784ba0 50%,
            #2b86c5 100%);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/*.about-wie::before,
.cards-section::before,
.nbkrist-wie::before,
.panel-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    min-height: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
    z-index: 1;
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}*/
