 * {
            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: 2005;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 86px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.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 {
    font-size: 19px;
    font-weight: bold;
    color: #5ebb47;
    margin-right: -28px;
    margin-left: 28px;
}

.logo-text-right {
    font-size: 19px;
    font-weight: bold;
    color: #5ebb47;
    margin-left: 15px;
    margin-right: 10px;
}
.contact {
    margin-left: auto;
    z-index: 1;
}

.contact a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.contact a:hover {
    color: #7CFC00;
}


        .nav-links a {
            z-index: 2000;
            color: #ccc;
            text-decoration: none;
            margin-left: 30px;
            font-size: 14px;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: #7CFC00;
        }

        .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 h1 {
            font-size: 48px;
            margin-bottom: 20px;
            z-index: 1;
            position: relative;
        }

        .hero-links {
            display: flex;
            flex-direction: column;
            gap: 15px;
            max-width: 200px;
            margin: 0 auto;
            z-index: 2000;
            
        }

        .hero-links a {
            z-index: 2000;
            color: white;
            text-decoration: none;
            font-size: 18px;
            transition: transform 0.3s;
        }

        .hero-links a:hover {
            transform: translateX(10px);
        }

        .portfolio-grid {
            padding: 40px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

       .portfolio-grid .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}


        .grid-item {
            aspect-ratio: 1;
             overflow: hidden;
    display: block;
            background: transparent;
            border: 3px solid #333;
            border-radius: 8px;
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }
.section .grid {
    gap: 20px;
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit:contain;
    transition: transform 0.3s ease;
}
        .grid-item:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(124, 252, 0, 0.3);
        }

        .cta-button {
            font-family: science goth;
            font-weight: bold;
            white-space: nowrap;
width: fit-content;
            display: block;
            background: #5ebb47;
            color: #1a1a1a;
            padding: 15px 40px;
            border-radius: 30px;
            text-decoration: none;
            font-size: 18px;
            transition: transform 0.3s, box-shadow 0.3s;
            margin: 20px auto;
            text-align: center;

        }
.cta-button-inverse {
    font-family: science goth;
            display: inline-block;
            background: #1a1a1a;
            color: #5ebb47;
            padding: 15px 40px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            font-size: 18px;
            transition: transform 0.3s, box-shadow 0.3s;
            margin: 20px auto;
            text-align: center;
        }
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(124, 252, 0, 0.4);
        }
 .cta-button-inverse:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(25, 29, 20, 0.4);
        }
        .section {
            background-color: #404fa2;
            padding: 60px 40px;
            margin: 0;
            border-radius: 5px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
        }

        .section h2 {
            
            font-size: 36px;
            margin-bottom: 20px;
        }

        .section p {
            font-size: 16px;
            line-height: 1.8;
            color: #e0e0e0;
        }

        .logo-white {
           position: relative;
            margin-top: 20px; 
  margin-bottom: 20px; 
  margin-left: 0; 
  margin-right: 0;
        
            width: 100%;
            height: 120px;
            background-image: url(images/logo%20white.svg);
           background-size:contain;        /* fills the box */
  background-position: center;   /* centers the image */
  background-repeat: no-repeat;  /* prevents tiling */
        }
.logo-green {
            width: 100%;
            height: 120px;
            background-image: url(images/logogreen.svg);
          background-size: 100% 200%;  /* stretch image height x2 */
  background-position: top;    /* show top half */
  background-repeat: no-repeat;
        }
.logo-blue {
    margin-top: 20px;
        
            width: 100%;
            height: 120px;
            background-image: url(images/logoblue.svg);
          background-size: 100% 200%;  /* stretch image height x2 */
  background-position: top;    /* show top half */
  background-repeat: no-repeat;
        }

        .footer {
            background: #5ebb47;
            padding: 60px 40px;
            text-align: center;
            color: #1a1a1a;
        }

        .footer h2 {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .footer h3 {
            font-size: 24px;
            margin-bottom: 20px;
        }

        .footer p {
            font-size: 16px;
            line-height: 1.6;
            max-width: 600px;
            margin: 20px auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 30px;
            max-width: 800px;
            margin: 40px auto;
            overflow: hidden;
        }

        .footer-item {
            aspect-ratio: 1;
            background: #dddddd;
            border: 3px solid #333;
            border-radius: 8px;
            align-content: center;
        }
.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover      
  display: block;
}
        .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;
        }

@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: -15px;
        font-size: 16px;
        
    }

    .header .logo-text-right {
        grid-row: 2;
        grid-column: 2;
        margin: -2px;
        font-size: 16px;
        
    }

    .header .logo img {
        height: 30px !important;
    }

    .contact {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
            .grid, .footer-grid {
                grid-template-columns: 1fr;
            }


            .section h2 {
                font-size: 28px;
            }
        }
@media (min-width: 860px) and (max-width: 1050px){
    .hero::before {
        left: -1px !important; /* half of 500px (250px × scale 2) */
    }
    
    .hero::after {
        right: -1px !important;
    }
}
@media (max-width: 1020px){
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero::before,
    .hero::after {
        width: 80px;
        height: 80px;
    }
 .hero::before {
                margin-left: 10px;
            
            }
            .hero::after {
                margin-right: 10px;
            
            }
    .hero h1 {
        font-size: 32px;
    }

    .section h2 {
        font-size: 28px;
    }
    
    /* Fix for sections container */
    .sections-container {
        display: block !important;
    }
    
    /* Hide desktop-only boxes on mobile */
    .aim-box-top,
    .aim-box-left {
        display: none !important;
    }
    
    .grid-item.aim-box-top,
    .grid-item.aim-box-left {
        display: none !important;
    }
    
    /* Make sure section grids work properly */
    .section .grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}
@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);
    }
    .portfolio-grid .grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .portfolio-grid {
        max-width: 1400px;
    }
    
    .logo-green {
        max-width: 1400px;
        margin: 40px auto 0 40px;
        padding: 0;
        width: 500px;
        background-size: 100% 200%;
        background-position: top;
        background-repeat: no-repeat;
        
    }
    
    .sections-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 60px 40px;
        max-width: 1400px;
        margin: 0 auto 40px auto;
        padding: 0 40px;
    }
    
    .sections-container .section:first-child {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        max-width: 100%;
    }
    
    .aim-box-top {
        grid-column: 2;
        grid-row: 1;
        width: calc(100% - 20px);
        height: calc(100% - 25px);
        margin-left: 20px;
        margin-top: -25px;
    }
    
    .aim-box-left {
        grid-column: 1;
        grid-row: 2;
        width: calc(100% - 20px);
        height: 100%;
        margin-right: 20px;
        margin-top: -25px;
    }
    
    .sections-container .section:last-child {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        max-width: 100%;
        margin-top: -61px;
        margin-bottom: 20px;
    }
    
    .logo-white {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
        align-self: center;
        justify-self: center;
        z-index: 1;
        position: relative;
        top: -42px;
    }
    
    .sections-container .section:last-child .grid {
        display: none;
    }
    .sections-container .section:last-child .cta-button {
    margin-top: 50px;
}
}
@media (min-width: 1550px) {
  .logo-green {
    margin-left: 299px;
    max-width: 785px;
    }}
@media (min-width: 2000px) {
  .logo-green {
    margin-left: 500px;
    max-width: 785px;
    }}