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

:root {
    --base: #555;
    --base-100: #f1f1f1;
    --base-400: #555;
    --base-800: #001021;
    --yellow: #ffda4b;
    --yellow-100: #fffbe6;
    --yellow-400: #ffda4b;
    --yellow-800: #8b6f00;
    --blue: #0a61ae;
    --blue-100: #e2f8ff;
    --blue-400: #0c1a31;
    --blue-800: #092741;
    --pink: #fc8eac;
    --dark-gray: #A8B4C7;
    --charcoal: #36454F;
    --gray: #808080;
    --slate-grey: #748D92;
    --space-blue: #123E66;
    --darkish-grey: #2e3944;
    --almost-black: #212a31;
    --bone: #d3d9d4;
    --darkblue:#0b132b;
    --midblue:#a3bac3;
    --blu:#082557;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 20px;
    
    padding-top:90px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--blue);
    &:hover {
        text-decoration: underline;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0px 20px;
    display:flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: white;

    .logo-holder {
        display:flex;
        padding:10px;
        align-items:center;
        font-weight:600;
        color: var(--base-800);

        .logo {
            display:flex;
            align-items:center;
            justify-content: center;
            font-size:32px;
            background-color: var(--blu);
            color: var(--base-100);
            height:64px;
            width:64px;
            margin-right:20px;
            border-radius: 50%;
        }
        .logo-text {
            flex:1;
        }
    }

    nav {
        display:flex;
        align-items: center;
        padding-bottom: 10px;
        ul {
            display:flex;
            list-style-type: none;
            gap:5px;
            li {
                display:inline-block;
                a {
                    display: inline-block;
                    padding:10px 20px;
                    color:var(--base);
                    &:hover {
                        background-color: var(--base-100);
                        border-radius:10px;
                        text-decoration: none;
                    }
                }
            }

        }
        .mobile-toggle {
            display:none;
            color:var(--base-800);
            padding:10px;
            @media (max-width:768px){
                display:inline-block;
                position:absolute;
                top:20px;
                right:20px;
            }

        }
    }

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items:center;

    }

    @media (max-width: 768px) {
        flex-direction: column;
        align-items:center;

        nav {
            margin-top:10px;
            width:100%;
            ul {
                display:none;
                flex-direction: column;
                text-align: center;
                width:100%;
                a {
                    width:100%;
                }
                &.active {
                    display: flex;
                }
            }
        }
    }
}

section {
    max-width: 1440px;
    margin:auto;
    gap:30px;
    margin-top:30px;
    margin-bottom: 30px;

    @media (max-width:1440px){
        padding-left:30px;
        padding-right:30px;
    }
}

.button {
    display: inline-block;
    padding:10px 30px;
    background-color: var(--blu);
    color: var(--base-100);
    border-radius: 10px;
    transition: ease 0.3s all;
    &:hover {
        text-decoration: none;
        background-color: var(--base);
        color: var(--base-100);
    }
    &.white {
        background-color: white;
        color: var(--base-800);
        &:hover {
            background-color: var(--midblue);
            color: var(--blue-800);
        }
    }
    &.black {
        background-color: var(--blu);
        color: white;
        &:hover {
            background-color: var(--base);
            color: var(--base-100);
        }
    }

}



h1 {
    font-size: 64px;
    line-height:1;
    margin-bottom:10px;
    small {
        display:block;
        font-weight:100;
    }
    @media (max-width:1024px){
        font-size: 48px;
    }
}

.hero {
    display:flex;
    @media (max-width:1024px) {
        flex-direction:column;
    }
    margin-top:30px;
    .hero-blue {
        color:var(--blu);
        flex:1;
        background-color: var(--base-100);
        border-radius:30px;
        padding:30px;
        display:flex;
        flex-direction:column;
        justify-content:center;
        span {
            @media (max-width:768px) {
                display:none;
            }
        }
        .call-to-action {
            margin-top:20px;
            margin-bottom: 10px;
            a {
                margin-right: 10px;
                margin-bottom:10px;
            }
        }
        .social-links {
            a {
                img {
                    filter: invert(27%) sepia(91%) saturate(3821%) hue-rotate(186deg) brightness(50%) contrast(150%);
                    transition: filter 0.3s ease;
                }
                &:hover {
                    text-decoration: none;
                    img {
                        filter:brightness(70%) saturate(0%) invert(80%);
                    }
                }
            }
        }
    }
    .hero-yellow {
        flex:1;
        background-color: var(--dark-gray);
        border-radius:30px;
        padding:0px 30px;
        display:flex;
        justify-content: center;
        align-items: center;
        img {
            margin-top:-60px;
            max-width:420px;
            margin-bottom:-10px;
        }
    }
}

.logos {
    background-color: var(--base-100);
    border-radius: 0px;
    padding: 30px 0px;
    @media (max-width:1024px) {
        border-radius:0px;
    }
    .marquee {
        width:100vw;
        max-width:100%;
        height:128px;
        overflow:hidden;
        position:relative;
        .track {
            position:absolute;
            white-space: nowrap;
            will-change:transform;
            animation: marquee 40s linear infinite;
            display:flex;
            gap:10px;
        }
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

h2 {
    font-size:64px;
    line-height: 1;
    margin-bottom:10px;
    text-align: center;
    color:var(--blu);
    padding:30px;
    small {
        display:block;
        font-weight:100;
        font-size:0.5em;
        color:var(--blu);
    }
    @media (max-width:1024px){
        font-size: 48px;
    }
}

h3 {
    font-size:32px;
    font-weight:600;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--blu);
}

.skills {
    .holder-blue {
        color:var(--blu);
        background-color: var(--base-100);
        border-radius:30px;
        padding:30px;
        display:flex;
        @media(max-width:1024px){
            flex-direction: column;
        }
        .left-column {
            flex:1;
            ul {
                list-style-type: none;
                gap:10px;
                margin-right:100px;
                margin-bottom:20px;
                li {
                    display:inline-block;
                    background-color: var(--dark-gray);
                    padding: 10px 20px;
                    border-radius: 15px;
                    margin-bottom:10px;
                }

            }
        }
        .right-column {
            flex:1;
            p {
                margin-bottom:20px;
            }
        }
    }
}

.work-experience {
    .jobs {
        display:flex;
        gap:30px;
        @media(max-width:1024px){
            flex-direction: column;
        }
        article {
            background-color: var(--base-100);
            padding:30px;
            border-radius: 30px;
            flex: 1;
            display: flex;
            flex-direction: column;
            h3 {
                margin-top: 20px;
                margin-bottom:10px;
            }
            div {
                font-weight: 600;
                margin-bottom: 5px;
                color:var(--base-800);
            }
            ul {
                margin-top:10px;
                margin-bottom: 10px;
                list-style-type: disc;
                li {
                    margin-bottom:10px;
                }
            }
            figure {
                width:100%;
                padding-top: 56.25%;
                overflow: hidden;
                position: relative;
                border-radius: 15px;
                img {
                    position:absolute;
                    top:0;
                    left:0;
                    height:100%;
                    object-fit:cover;
                    transition: ease 1s all;
                }
                &:hover {
                    img {
                        transform:scale(1.1);
                    }
                }
            }

            a {
                color: var(--blu)
            }

            a.linkToStudyAbroad {
                display: inline-block;
                margin-left: auto;
                margin-right: auto;
                text-align: center;
                color: var(--blu);
                position: relative;
                text-decoration: none;
                cursor:pointer;
                font-family: 'Poppins', sans-serif;
                font-weight: 700;
            }
            a.linkToStudyAbroad::before {
                content: '';
                position: absolute;
                width: 100%;
                height: 4px;
                border-radius: 4px;
                background-color: var(--blu);
                bottom: 0;
                left: 0;
                transform-origin: right;
                transform: scaleX(0);
                transition: transform .3s ease-in-out;
            }
            a.linkToStudyAbroad:hover::before {
                transform-origin: left;
                transform: scaleX(1);
}
        }
    }
}

.bento {
    padding:30px;
    .bento-grid {
        display:grid;
        grid-gap:30px;
        grid-template-columns:repeat(6, 1fr);
        grid-template-rows:repeat(2, 1fr);
        min-height: 700px;

        @media(max-width:1024px) {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(3, 1fr);
            min-height: 500px;
        }

        @media(max-width:768px) {
            display:flex;
            flex-direction:column;
            gap:30px;
            height:auto;
        }

        .bento-item {
            padding:30px;
            background-color:var(--base-100);
            border-radius:15px;
            position:relative;
            overflow:hidden;

            figcaption {
                position:absolute;
                bottom:0;
                left:0;
                right:0;
                background-color: rgba(0, 0, 0, 0.5);
                color:var(--base-100);
                text-align: center;
                padding:10px;
                opacity:0;
                visibility: hidden;
                transition: ease 0.3s all;
            }
            img {
                position:absolute;
                top:0;
                left:0;
                width: 100%;
                object-fit:cover;
                transition:ease 1s all;
            }
            &:hover {
                figcaption {
                    opacity: 1;
                    visibility:visible;
                }
                img {
                    transform: scale(1.2);
                }
            }
            @media(max-width:768px){
                height:240px;
            }
            &:nth-child(1){
                grid-column: span 2;
                grid-row: span 1;
                @media(max-width:1024px) {
                    grid-column: span 1;
                    grid-row: span 1;
                }
            }
            &:nth-child(2){
                grid-column: span 2;
                grid-row: span 1;
                @media(max-width:1024px) {
                    grid-column: span 1;
                    grid-row: span 1;
                }
            }
            
            &:nth-child(3){
                grid-column: span 2;
                grid-row: span 1;
                @media(max-width:1024px) {
                    grid-column: span 1;
                    grid-row: span 1;
                }
            }
            
            &:nth-child(4){
                grid-column: span 3;
                grid-row: span 1;
                @media(max-width:1024px) {
                    grid-column: span 1;
                    grid-row: span 1;
                }
            }
            
            &:nth-child(5){
                grid-column: span 3;
                grid-row: span 1;
                @media(max-width:1024px) {
                    grid-column: span 2;
                    grid-row: span 2;
                }
            }
            /*
            &:nth-child(6){
                grid-column: span 5;
                grid-row: span 3;
                @media(max-width:1024px) {
                    grid-column: span 5;
                    grid-row: span 2;
                }
            }
            */
        }
    }
}

/* --- Study Abroad Custom Styles (Blue/Grey Theme) --- */
.hero-abroad {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 400px;
  background: linear-gradient(120deg, var(--blu) 60%, var(--dark-gray) 100%);
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 40px;
}
.hero-abroad .hero-img {
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-abroad .hero-img img {
  width: 100%;
  max-width: 420px;
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  filter: brightness(0.92) contrast(1.08);
}
.hero-abroad .hero-content {
  flex: 2;
  color: white;
  padding: 40px 40px 40px 60px;
  z-index: 2;
  position: relative;
}
.hero-abroad .abroad-quote {
  font-size: 1.5em;
  font-style: italic;
  color: var(--midblue);
  margin: 30px 0 20px 0;
  animation: fadeIn 2s;
  border-left: 5px solid var(--midblue);
  padding-left: 20px;
  background: rgba(163,186,195,0.10);
  border-radius: 10px;
}
@media (max-width: 900px) {
  .hero-abroad {
    flex-direction: column-reverse;
    padding: 0;
  }
  .hero-abroad .hero-content {
    padding: 30px;
  }
}

.abroad-section {
    margin-top: 10px;
    margin-bottom: 10px;
}
.abroad-card {
  background: var(--base-100);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(8,37,87,0.08), 0 1.5px 8px rgba(168,180,199,0.08);
  padding: 32px 28px;
  margin-bottom: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 8px solid var(--blu);
  position: relative;
}
.abroad-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px rgba(8,37,87,0.16), 0 3px 16px rgba(168,180,199,0.16);
}
.abroad-card h3 {
  color: var(--blu);
  margin-bottom: 12px;
}
.abroad-card ul {
  margin-left: 18px;
}

.abroad-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 30px 0;
}
.abroad-polaroid {
  background: var(--base-100);
  border: 2.5px solid var(--midblue);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  padding: 12px 12px 28px 12px;
  width: 210px;
  text-align: center;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
.abroad-polaroid img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.abroad-polaroid:hover {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 12px 36px rgba(8,37,87,0.18);
  z-index: 2;
}
.abroad-polaroid .caption {
  font-size: 1em;
  color: var(--blu);
  font-style: italic;
}

.abroad-acknowledgements {
  background: linear-gradient(100deg, var(--midblue) 60%, var(--blu) 100%);
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(8,37,87,0.10);
  padding: 36px 28px;
  margin: 0 auto 40px auto;
  max-width: 600px;
  text-align: center;
  font-family: 'Caveat', cursive, 'Montserrat', sans-serif;
  font-size: 1.3em;
  color: var(--blu);
  border: 2.5px dashed var(--darkblue);
  position: relative;
}
.abroad-acknowledgements:before {
  content: 'Thank You!';
  display: block;
  font-size: 1.5em;
  color: var(--darkblue);
  font-family: 'Caveat', cursive, 'Montserrat', sans-serif;
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&display=swap');

@media (max-width: 700px) {
  .abroad-gallery { gap: 12px; }
  .abroad-polaroid { width: 140px; padding: 7px 7px 18px 7px; }
  .abroad-acknowledgements { font-size: 1em; padding: 18px 8px; }
}
/* --- End Study Abroad Custom Styles (Blue/Grey Theme) --- */

/* Swiper Styles for Photo Slider */
.swiper-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 0 40px 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background-color: #fff;
}
.swiper-wrapper {
  align-items: center;
  box-sizing: border-box;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  box-sizing: border-box;
  padding: 10px;
}
.swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 1.5px 8px rgba(0,0,0,0.10);
  background: #fff;
}
@media (max-width: 1600px) {
  .swiper-container {
    max-width: 98vw;
  }
  .swiper-slide img {
    height: 350px;
  }
}
@media (max-width: 900px) {
  .swiper-container {
    padding-bottom: 24px;
  }
  .swiper-slide img {
    height: 250px;
  }
}
.lessons-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.lessons-container .abroad-card {
    width: 100%;
    margin: 0 auto;
}