
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #f4f4f9;
}

html {
    scroll-behavior: smooth;
}


.header {
    display: flex;
    justify-content: space-between; 
    align-items: center; /* Vertically align items */
    padding: 10px 20px;
    background: rgba(30, 58, 138, 0.9); /* Semi-transparent header background */

}

.header .logo-container img {
    max-width: 100px;
    height: auto;
}

/* Universal Button Styling */
.button {
    display: inline-block; /* Consistent button styling */
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background: #9333ea;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none; /* Remove underline for links */
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.header .button:hover {
    background: #1e3a8a; /* Darker shade on hover */
    transform: scale(1.05); /* Slight enlargement on hover */
}

.header .login-button:hover {
    background: #1e3a8a;
    transform: scale(1.05);
}


.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a, #9333ea); /* Base gradient */
    color: #fff;
    position: relative;
    overflow: hidden; /* Prevent overflow */
}

.hero-section::before {
    content: ''; /* Empty content to hold the binary pattern */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.05) 0,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 20px
    ),
    repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 0,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 20px
    );
    z-index: 1; /* Ensure it sits behind the text */
    background-size: 50px 50px; /* Adjust grid size */
    opacity: 0.3; /* Make it subtle */
    pointer-events: none; /* Prevent interaction with the binary layer */
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensure the content stays on top of the binary pattern */
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

.cta-button {
    padding: 1rem 2rem;
    background-color: #9333ea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
    background-color: #1e3a8a;
}


.cta-button {
    padding: 1rem 2rem;
    background-color: #9333ea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
    background-color: #1e3a8a;
}

.about-section, .services-section, .portfolio-section, .contact-section {
    padding: 50px 20px;
    text-align: center;
    background: #f4f4f9;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-cards, .portfolio-carousel {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.service-card, .portfolio-item {
    background: #f4f4f9;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover, .portfolio-item:hover {
    transform: scale(1.05);
}

.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff, #f4f4f9);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.form-button {
    width: 100%;
    padding: 10px;
    background: #9333ea;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    background: #1e3a8a;
    transform: scale(1.05);
}

.footer-section {
    padding: 20px;
    text-align: center;
    background: #1e3a8a;
    color: white;
}

.footer-links a {
    color: #ddd;
    margin: 0 10px;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-socials .social-icon {
    display: inline-block;
    margin: 0 10px;
    color: #ddd;
    text-decoration: none;
    font-size: 1rem;
}

.footer-socials .social-icon:hover {
    color: #fff;
}
