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

@font-face {
    font-family: 'Relative';
    src: url('../font/Relative-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Relative';
    src: url('../font/Relative-Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Relative';
    src: url('../font/Relative-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

#comp {
    background-size: cover;
    padding: 50px;
}

#contact_home {
    background: url("../img/contact.jpg") no-repeat center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contact_home h2 {
    font-family: Relative, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 25px;
    line-height: 39px;
    text-align: center;
    color: white;
}

.bg-image {
    width: 100%;
}

.div-centered-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.animate.current {
    transform: translateY(0px);
    opacity: 1;
}

.animate {
    transform: translateY(150px);
    transition: all 2s ease;
    opacity: 0;
}

.comp-text {
    background-color: rgba(87, 48, 48, 0.404);
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 1%;
    color: aliceblue;
    padding-bottom: 1%;
    font-family: Relative, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    width: 70%;
    margin-left: 15%;
    margin-top: 15vh;
    margin-right: 15%;
}

.read-more {
    margin-top: 5%;
    color: rgb(255, 255, 255);
}

.read-more a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.read-more a:hover {
    color: #8B6F47;
}

.comp-text h2 {
    font-weight: 600;
    font-size: 45px;
    line-height: 61px;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 767px) {
    /* Hero Section */
    .comp-hero h1 {
        font-size: 2rem !important;
    }
    
    .comp-hero p {
        font-size: 1rem !important;
    }
    
    /* Story Section */
    .comp-story .story-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .comp-story h2 {
        font-size: 2rem !important;
    }
    
    .comp-story p {
        font-size: 1rem !important;
    }
    
    /* Achievement Cards */
    .achievement-cards {
        grid-template-columns: 1fr !important;
    }
    
    .achievement-card:hover {
        transform: translateY(-5px);
    }
    
    /* Info Grid */
    .info-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Competition Details */
    .competition-details > div {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    /* Awards Section */
    .awards-section > div {
        grid-template-columns: 1fr !important;
    }
    
    /* Gallery Section */
    .comp-gallery > div > div {
        grid-template-columns: 1fr !important;
    }
    
    .comp-gallery h2 {
        font-size: 2rem !important;
    }
    
    /* General padding adjustments */
    .comp-hero,
    .comp-story,
    .comp-info,
    .comp-gallery {
        padding: 40px 15px !important;
    }
}

.comp {
    background: linear-gradient(180deg, #666666, #a46955, #a23b12);
    color: white;
    text-align: center;
    padding: 0% 0;
}

.comp h1 {
    font-family: cursive;
}

.comp img {
    border-radius: 5px;
    margin: 5% 0;
}




