.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h2 {
    font-family: 'Science Gothic', sans-serif;
}

h3 {
    font-family: 'Science Gothic', sans-serif;
}

p {
    font-family: 'PT Serif', serif;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 40px;
    background: rgba(42, 42, 42, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo-svg {
    display: flex;
    align-items: center;
    gap: 86px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-text-left,
.logo-text-right {
    font-family: 'Science Gothic', sans-serif;
    font-size: 19px;
    font-weight: bold;
    color: #5ebb47;
}

.logo-text-left {
    margin-right: -28px;
    margin-left: 28px;
}

.logo-text-right {
    margin-left: 15px;
    margin-right: 10px;
}

.backtohome {
    position: fixed;
    top: 35px;
    right: 5px;
    z-index: 1001;
    text-align: right;
}

.backtohome a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Science Gothic', sans-serif;
    font-size: 14px;
    transition: color 0.3s;
}

.backtohome a:hover {
    color: #7CFC00;
}
@media (max-width: 400px){
    .backtohome {
   
    top: 65px !important;
     left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    
   

}
}

.hero {
    font-family: 'Science Gothic', sans-serif;
    background: linear-gradient(135deg, #404fa2 0%, #404fa4 50%, #404fa2 100%);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background-image: url("images/logo%20white.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    mask-image: linear-gradient(to left, transparent 50%, black);
    scale: 2;
}

.hero::before {
    left: 90px;
    top: 65%;
    transform: translateY(-50%);
}

.hero::after {
    right: 90px;
    top: 65%;
    transform: translateY(-50%) scaleX(-1);
}

.hero-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 200px;
    margin: 0 auto;
    z-index: 2000;
}

.hero-links a {
    
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s;
}

.hero-links a:hover {
    transform: translateX(10px);
}

footer {
    background: #5ebb47;
    padding: 60px 40px;
    text-align: center;
    color: #1a1a1a;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.footer-links div {
    text-align: left;
}

.footer-links h4 {
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 12px;
    margin-bottom: 5px;
}

.footer-bottom {
    margin-top: 40px;
    font-size: 12px;
    color: #333;
}

/* Contact Page Styles */
.contact-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 40px;
    text-align: center;
}

.contact-section h1 {
    font-family: 'Science Gothic', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
    color: #5ebb47;
}

.contact-intro {
    font-family: 'PT Serif', serif;
    font-size: 18px;
    color: #ccc;
    margin-bottom: 60px;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(64, 79, 162, 0.3);
    border: 2px solid #404fa2;
    border-radius: 50px;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: left;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(94, 187, 71, 0.3);
    border-color: #5ebb47;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-card h3 {
    font-family: 'Science Gothic', sans-serif;
    font-size: 18px;
    margin-bottom: 5px;
    color: #fff;
}

.contact-card a {
    color: #5ebb47;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #7CFC00;
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 400px) {
    .header {
        justify-content: space-between;
    }

    .header > .logo {
        position: static;
        transform: none;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 5px 10px;
        align-items: center;
    }

    .header > .logo > logo-svg {
        grid-row: 1 / 3;
        grid-column: 1;
    }

    .header .logo-text-left {
        grid-row: 1;
        grid-column: 2;
        margin: 0;
        font-size: 16px;
    }

    .header .logo-text-right {
        grid-row: 2;
        grid-column: 2;
        margin: 0;
        font-size: 16px;
    }

    .header .logo img-svg {
        height: 30px !important;
    }

    .contact {
        margin-left: 0;
    }
}

@media (min-width: 860px) and (max-width: 1050px) {
    .hero::before {
        left: -1px !important;
    }
    
    .hero::after {
        right: -1px !important;
    }
}

@media (max-width: 1020px) {
    .hero::before,
    .hero::after {
        width: 80px;
        height: 80px;
    }

    .hero::before {
        margin-left: 10px;
    }

    .hero::after {
        margin-right: 10px;
    }

    .hero h1 {
        font-size: 32px;
    }
}

@media (min-width: 768px) {
    .header {
        padding: 30px 80px;
    }
    
    .hero {
        padding: 25px 80px;
    }
    
    .hero-links {
        flex-direction: row;
        max-width: 100%;
        gap: 150px;
        justify-content: center;
    }
    
    .hero::before,
    .hero::after {
        width: 120px;
        height: 120px;
        scale: .5;
    }

    .hero::before {
        left: 90px;
        top: 50%;
        transform: translateY(-100%);
    }

    .hero::after {
        right: 90px;
        top: 50%;
        transform: translateY(-100%) scaleX(-1);
    }
}