* {
    margin: 0;
    padding: 0;
    color: black;
    font-family: 'Times New Roman', Times, serif;
    box-sizing: border-box;
}

.image-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

::-webkit-scrollbar {
	display:none;
}

.background-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.nav-bar {
    position: absolute;
    display: flex;
    flex-direction: row;
    top: 0;
    width: 100%;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    justify-content: space-between;
}

.nav-bar ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 30px 50px 0px 0px;
}

.nav-bar h1 {
    font-size: 36px;
    margin: 20px 0px 0px 50px;
}

.nav-bar ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    /* Base font size */
    padding: 5px 10px;
    transition: background 0.5s, color 0.5s, transform 0.5s;
    display: inline-block;
    text-align: center;
    border-radius: 30px;
}

.nav-bar ul li a:hover {
    background-color: black;
    color: white;
    /* transform: scale(1.2); */
    border-radius: 30px;
    /* Scales the link to 1.2x its size */
}

.nav-bar ul li a.active {
    color: white;
    background-color: black;
}

.small-devices-menu {
    background-color: #9f2dcc;
    display: none;
    flex-direction: row;
    align-items: center;
    padding: 5px;
    border-radius: 10px;
    font-weight: bolder;
    font-size: 20px;
    margin: 15px;
    height: 50px;
    width: 100px;
    cursor: pointer;
}

.small-devices-menu i {
    /* text-align: center; */
    margin: 0px 8px;
}

.small-devices-nav-menu {
    display: none;
    flex-direction: column;
    list-style: none;
    background-color: #9f2dcc;
    padding: 10px;
    border-radius: 10px;
    position: absolute;
    top: 80px; /* Position just below the menu icon */
    right: 15px;
    width: 150px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.small-devices-nav-menu li {
    margin: 10px 0;
}

.small-devices-nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 5px;
    display: block;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Show menu when toggled */
.small-devices-nav-menu.show {
    display: flex;
}

/* Hover effect: smooth color change */
.small-devices-nav-menu a:hover {
    background-color: #490a63; /* Green hover */
    color: #fff;
    border-radius: 5px;
}

/* Active link style */
.small-devices-nav-menu a.nav-active {
    background-color: #490a63; /* Orange active link */
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
}

/* Add a bit of hover interaction for active link */
.small-devices-nav-menu a.nav-active:hover {
    background-color: #490a63; /* Darker orange hover on active */
}


.tech-image {
    position: absolute;
    top: 200px;
    right: 50px;
    text-align: right;
    font-size: 18px;
}

.tech-image h1 {
    font-size: 36px;
}

.second-div { 
    display: flex;
    flex-direction: column; /* Stack title on top */
    align-items: center;
    text-align: center;
    padding: 30px;
}

.second-div h1 {
    margin-bottom: 20px;
}

.second-div div {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 15px; /* Spacing between items */
}

.second-div div div {
    height: auto;
    width: auto;
    max-width: 120px; /* Allow flexibility */
    display: flex;
    justify-content: center;
    align-items: center;
}

.second-div div div img {
    height: 90px;
    width: 90px;
    max-width: 100%; /* Ensures it doesn't overflow */
    object-fit: contain;
}

.box-container {
    position: absolute;
    display: flex;
    top: 50%;
    left: 50%;
    /* padding-right: 20px; */
    transform: translate(-50%, -50%);
    justify-content: space-between;
    /* align-items: center; */
    width: 80%;
    /* Adjust as needed to control box container width */
}

.box {
    width: 23%;
    height: 315px;
    border: 3px solid green;
    padding: 30px;
    /* margin: 20px; */
    text-align: center;
    background-color: #fff;
}

.box h2 {
    margin-bottom: 20px;
}

.box p {
    font-size: 18px;
    margin-bottom: 20px;
}

.box button {
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bolder;
    background-color: black;
    color: white;
    border-radius: 50px;
    transition: color 0.3s, border-radius 0.3s, background-color 0.3s;
}

.box button:hover {
    color: black;
    border-radius: 2px solid black;
    background-color: white;
}

.contact-container {
    display: flex;
    flex-wrap: wrap; /* Enables wrapping on smaller screens */
    justify-content: center;
    gap: 20px; /* Adds space between sections */
    padding: 50px 20px; /* Smaller padding for mobile */
}

.send-message,
.contact-us {
    flex: 1 1 300px; /* Each section adapts with minimum 300px width */
    padding: 20px;
}

.send-message form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.send-message h1,
.contact-us h1 {
    font-size: 30px;
    text-align: center;
}

.send-message form input,
.send-message form textarea {
    height: 40px;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #ccc; /* Softer border for clean UI */
    border-radius: 5px;
    box-sizing: border-box; /* Prevents padding from breaking width */
}

textarea {
    resize: none;
    overflow: hidden;
}

.send-message form button {
    padding: 10px 30px;
    border-radius: 30px;
    color: white;
    background-color: black;
    font-weight: bolder;
    font-size: 20px;
    cursor: pointer; /* Improves click feel */
    transition: 0.3s ease; /* Smooth transition */
}

.send-message form button:hover {
    background-color: #444; /* Subtle hover effect */
    transform: scale(1.05); /* Slight pop-out effect */
}

.details-section {
    display: flex;
    margin: 20px;
}

.contact-us-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 10px;
    margin: 10px;
    border-radius: 50%;
    background: #f0f0f0; /* Light grey background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-us-details h2, 
.contact-us-details p {
    margin-bottom: 5px;
}

.follow-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px;
    padding: 10px;
    padding-left: 18px;
}

.follow-icons i {
    margin-left: 15px;
    font-size: 24px; /* Uniform size */
    color: #333;
    transition: color 0.3s ease;
}

.follow-icons i:hover {
    color: #007bff; /* Example hover color */
}

footer {
    margin-top: auto; /* Push footer to the bottom */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: white;
    padding: 40px;
    flex-wrap: wrap; /* Ensures proper wrapping on smaller screens */
    text-align: center;
}

footer div {
    width: 30%;
    min-width: 250px;
    padding: 20px;
    /* border: 2px solid black; */
    display: flex; 
    flex-direction: column;
    align-items: center;
}

footer h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.footer-pages {
    list-style: none;
    padding: 0;
}

.footer-pages li {
    margin: 5px 0;
}

.footer-pages a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    transition: color 0.3s;
    /* display: flex;
    flex-direction: column;
    text-align: left; */
}

.footer-pages a:hover {
    color: blue;
}

.social-media-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* border: 2px solid black; */
    gap: 20px;
}

.social-media-icons a {
    font-size: 25px;
    text-decoration: none;
    color: black;
    transition: color 0.3s;
}

.social-media-icons a:hover {
    color: red;
}

/* Mobile Devices */
@media (max-width: 480px) {
    .tech-image h1 {
        font-size: 20px;
    }

    .tech-image button {
        margin: 15px;
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .background-image {
        height: 350px;
    }

    .tech-image {
        top: 140px;
        left: 50px;
        text-align: right;
    }

    .tech-image h1 {
        font-size: 28px;
    }
    
    .nav-bar h1 {
        font-size: 28px;
        margin: 25px 0px 0px 25px;
    }

    .nav-bar ul {
        display: none;
    }

    .small-devices-menu {
        display: flex;
    }

    .second-div {
        padding: 20px;
    }

    .second-div div div {
        max-width: 80px;
    }

    .second-div div div img {
        height: 70px;
        width: 70px;
    }

    .contact-container {
        flex-direction: column;
        padding: 20px 0;
    }

    .send-message,
    .contact-us {
        width: 100%;
        padding: 0 20px;
    }

    .send-message form input,
    .send-message form textarea {
        width: 100%;
        margin: 10px 0;
    }

    .contact-us {
        margin-top: 20px;
    }

    .contact-us-icon {
        padding: 5px;
        margin: 5px;
    }

    .follow-icons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .follow-icons i {
        margin: 10px;
    }

    footer {
        /* flex-direction: row; */
        padding: 20px;
    }

    footer div {
        width: 100%;
        padding: 10px;
    }

    .social-media-icons {
        font-size: 20px;
        gap: 10px;
    }

    .footer-pages a {
        font-size: 16px;
    }
}

/* Tablets (Portrait) */
@media (min-width:481px) and (max-width: 920px) {
    .tech-image h1 {
        font-size: 30px;
    }
    .background-image {
        height: 380px;
    }

    .tech-image button {
        margin: 20px;
        padding: 10px 25px;
        font-size: 14px;
    }
    .tech-image {
        top: 150px;
    }

    .nav-bar h1 {
        font-size: 32px;
        margin: 20px 0px 0px 30px;
    }
    
    .nav-bar ul {
        display: none;
    }

    .small-devices-menu {
        display: flex;
    }

    .contact-container {
        flex-direction: column;
        padding: 50px 0;
    }

    .send-message,
    .contact-us {
        width: 80%;
        padding: 0 20px;
        margin: 0 auto;
    }

    .send-message form input,
    .send-message form textarea {
        width: 100%;
        margin: 15px 0;
    }
    
    .contact-us {
        margin-top: 20px;
    }

    .contact-us-icon {
        padding: 8px;
        margin: 8px;
    }

    .follow-icons i {
        margin: 15px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    footer div {
        width: 100%;
    }

    .social-media-icons {
        justify-content: center;
    }
    
}

    
