:root {
  /* Script */
    --font-script: "sloop-script-one", sans-serif;

  /* Trade Gothic */
    --font-sans: "trade-gothic-next", sans-serif;
    --font-sans-condensed: "trade-gothic-next-condensed", sans-serif;
    --font-sans-italic: "trade-gothic-next-italic", sans-serif;
}
        

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

body {
    font-family: 'Arial', sans-serif;
    background-color: #e8e8e8;
}

.header {
    background: linear-gradient(135deg, #4db8b3 0%, #5bc9c4 100%);
    padding: 30px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    justify-content: flex-start; 
}

.logo {
    text-align: center; 
    width: 350px;
    justify-self: center;
}

@media (max-width: 1200px) {
    .logo {
        width: 300px;
        justify-self: center;
    }
}


@media (max-width: 768px) {
    .logo img {
        height: 50px;
        width: auto;
    }
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end; 
}

.social-links img {
    width: 50px;
    height: 50px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
    text-transform: uppercase;
    transition: opacity 0.3s;
    font-family: var(--font-sans-condensed);
}

@media (max-width: 1200px) {
    .nav-links a {
        font-size: 18px;
    }
}

.nav-links a:hover {
    opacity: 0.8;
}

.logo h1 {
    position: relative;
    font-family: var(--font-script);
    color: white;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: -10px;
    z-index: 3;
}

@media (max-width: 1200px) {
    .logo h1 {
        font-size: 36px;
    }
}

.logo h2 {
    color: #1a3a52;
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--font-sans-condensed);
    margin-top: -20px;
    z-index: 1;
}

@media (max-width: 1200px) {
    .logo h2 {
        font-size: 32px;
    }
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

@media (max-width: 1200px) {
    .social-links a {
        width: 40px;
        height: 40px;
    }
}

.social-links a:hover {
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .social-links img {
        width: 50px;
        height: 50px;
    }
}

/* Hamburger - hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}

.hamburger span {
    width: 35px;
    height: 4px;
    background-color: white;
    border-radius: 2px;
}

/* Mobile menu overlay - hidden by default */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4db8b3 0%, #5bc9c4 100%);
    z-index: 100;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 50px;
    gap: 50px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-close {
    position: absolute;
    top: 40px;
    right: 50px;
    background: none;
    border: none;
    color: white;
    font-size: 50px;
    cursor: pointer;
}

.mobile-link {
    color: white;
    text-decoration: none;
    font-family: var(--font-sans-condensed);
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
}

.mobile-only {
    display: none
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline;
    }
}

.mobile-socials {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.mobile-socials a {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-socials img {
    width: 70px;
    height: 70px;
}

/* Mobile header layout */
@media (max-width: 768px) {
    .header {
        grid-template-columns: 1fr auto;
        padding: 25px 30px;
    }

    .logo {
        text-align: left;
        grid-column: 1;
    }

    .hamburger {
        display: flex;
        grid-column: 2;
    }

    /* Hide desktop nav and socials on mobile */
    .nav-links,
    .social-links {
        display: none;
    }
}

.hero {
    background-image: url('images/checkedLarge.svg');
    background-size: cover;     
    background-position: center; 
    background-repeat: no-repeat;;
    padding: 120px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 30px;
    }
}

.hero h3 {
    color: #1a3a52;
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-sans-condensed);
}

@media (max-width: 1200px) {
    .hero {
        padding: 100px 40px;
    }
    .hero h3 {
        font-size: 40px;
        
    }
}

.hero p {
    color: #08324F;
    font-size: 28px;
    font-style: italic;
    margin-bottom: 40px;
    font-family: var(--font-sans-italic);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4db8b3 0%, #5bc9c4 100%);
    color: white;
    padding: 18px 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    transition: transform 0.3s;
    font-family: var(--font-sans-condensed);
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Match me section */
.match-me-string {
    display: block;
    height: auto;
}

/* Mobile match me section */
.match-me-mobile {
    display: none;
}

.match-me-string:hover {
    transform: scale(1.03);
}



@media (max-width: 768px) {
    .match-me-mobile {
        display: block;
        text-align: center;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .match-me-mobile img {
        width: 100%;
        height: auto;
        max-width: 400px;
    }

    .match-me-string {
        display: none;
    }

    .match-me-mobile:hover {
        transform:translateY(-2px)
    }
}

/* Team Section */
.team {
    background-color: #0f2d4a;
    position: relative;
    z-index: 2;
    padding: 40px 60px 80px;
}

/* Yellow checkerboard strip */
.team-strip {
    position: relative;
    z-index: 3;
    margin-top: -20px;
    margin-bottom: -45px;
    text-align: center;
}

@media (max-width: 1200px) {
    .team-strip {
        margin-top: -10px;
        margin-bottom: -30px;
}}

@media (max-width: 768px) {
    .team-strip {
        margin-top: -10px;
        margin-bottom: -15px;
}}

.team-strip img {
    width: 100%;
    height: auto;
    display: inline-block;
}



/* "Meet the Team" title */
.team-title {
    font-family: var(--font-script);
    color: white;
    font-size: 75px;
    font-weight: 800;
    margin-bottom: 10px;
    margin-top: 10px;
}

@media (max-width: 1700px) {
    .team-title {
        font-size: 90px;
    }
}

@media (max-width: 768px) {
    .team-title {
        font-size: 48px;
        text-align: center;
        margin-bottom: 30px;
    }
}

/* Cards row */
.team-cards {
    display: flex;
    justify-content: center;
    gap: 50px;
}

/* Each card */
.team-card {
    background: #d5dde3;
    border-radius: 40px;
    overflow: hidden;
    width: 25%;
    position: relative;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.3);
}

.team-card img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* @media (max-width: 1700px) {
    .team-card img {
        height: 700px
    }
}

@media (max-width: 1400px) {
    .team-card img {
        height: 500px
    }
}*/

@media (max-width: 1200px) {
    .team-card {
        border-radius: 30px
    }
} 

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

    .team-card {
        width: 80%;
    }

    .team-card img {
        height: 280px
    }
}

/* Name label at the bottom of each card */
.team-name {
    display: block;
    text-align: center;
    font-family: var(--font-sans-condensed);
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 12px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .logo h1 {
        font-size: 36px;
    }

    .logo h2 {
        font-size: 28px;
    }

    .hero h3 {
        font-size: 32px;
    }

    .hero p {
        font-size: 20px;
    }
}

/* resources section */
.resources {
    background-color: #FFFFFF;
    padding: 60px;
}

.resources-title {
    font-family: var(--font-script);
    color: #08324F;
    font-size: 75px;
    font-weight: 800;
    margin-bottom: 15px;
}

@media (max-width: 1700px) {
    .resources-title {
        font-size: 90px;
    }
}

.resources {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.resources-title {
    grid-column: 1 / -1; 
}

.resource-card {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 60px
}

@media (max-width: 1200px) {
    .resource-card {
        margin: 10px;
    }
}

@media  (max-width: 900px) {
    .resource-card {
        margin: 10px;
        border-radius: 38px;
    }
    .resources-title {
        margin-bottom: 0px;
    }
}

.resource-card:hover {
    transform: scale(1.03);
}

.resource-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 748px) {
    .resources {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 40px 20px;
    }

    .resources-title {
        text-align: center;
        font-size: 48px;
        font-weight: 800;
    }
}


/* Footer */
.footer {
    background-color: #ffffff;
    padding: 0 60px 80px;
}

.footer-line {
    border: none;
    border-top: 2px solid #0f2d4a;
    margin-bottom: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Left side - logo + socials */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    width: auto;
    height: 170px;
    align-self: center;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-social a:hover {
    transform: scale(1.1);
}

.footer-social img {
    width: 50px;
    height: 50px;
}

/* Right side - link columns */
.footer-right {
    display: flex;
    gap: 120px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-heading {
    font-family: var(--font-sans-condensed);
    color: #0f2d4a;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.footer-column a {
    font-family: var(--font-sans);
    color: #0f2d4a;
    font-size: 20px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 30px 60px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }

    /* Logo centered */
    .footer-left {
        align-items: center;
    }

    .footer-logo {
        width: 150px;
    }

    /* Socials centered */
    .footer-social {
        justify-content: center;
    }

    .footer-social a {
        width: 50px;
        height: 50px;
    }

    .footer-social img {
        width: 50px;
        height: 50px;
    }

    /* Stack the link columns vertically, centered */
    .footer-right {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footer-column {
        align-items: center;
    }

    .footer-heading {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .footer-column a {
        font-size: 18px;
    }
}