/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* The Blue Banner */
.banner {
    background-color: #ddff01; 
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: 20px;
}

.nav-buttons a {
    color: rgb(58, 9, 238);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-buttons a:hover {
    background-color: rgba(4, 137, 37, 0.2);
}

/* Logo Styling */
.logo img {
    height: 50px; 
    width: auto;
    display: block;
}

/* Content Area */
.main-content {
    padding: 50px 5%;
    text-align: center;
}

/* Feature Grid Layout */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Square Styling */
.square-card {
aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: all 0.5s ease; /* Smooth transition for size and color */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide the extra information by default */
.more-info {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 0 20px;
}

/* The "Expanded" State */
.square-card.expanded {
    transform: scale(1.1); /* Gets slightly bigger */
    z-index: 10; /* Ensures it sits on top of other squares */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.square-card.expanded .more-info {
    max-height: 200px; /* Reveal the info */
    opacity: 1;
    margin-top: 15px;
}

.square-card:hover {
transform: scale(1.05);
    filter: brightness(1.1);
    cursor: pointer;
}

.square-card h2 {
font-size: 1.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Styling */
.contact-footer {
    background-color: #333;
    color: white;
    padding: 40px 5%;
    text-align: center;
    margin-top: 50px;
}

.footer-content h3 {
    margin-bottom: 15px;
    color: #ddff01; /* Uses the yellow from your banner */
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Vibrant Color Assignments */
.about {
    background-color: #FF3B30; /* Vibrant Red */
}

.hire {
    background-color: #4CD964; /* Vibrant Green */
}

.contact {
    background-color: #5856D6; /* Vibrant Indigo/Purple */
}

.reference {
    background-color: #FF9500; /* Vibrant Orange */
}