* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
header {
    background: url('img/background/main.jpg') no-repeat center center/cover;
    height: 100vh; /* 100% of the viewport height */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Navigation Styles */
.navigation {
    width: 100%;
    background-color: rgba(4, 8, 38, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
}

/* Default Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    border: 2px solid #fff;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 868px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background-color: rgba(4, 8, 38, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.open {
        display: flex;
        right: 0;
    }
    

    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    nav ul li {
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 18px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    header {
        height: 60vh;
    }

    .navigation img {
        width: 30px;
        height: 30px;
    }

    nav ul li a {
        font-size: 16px;
        padding: 12px;
    }
}

.nav-close {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

@media (max-width: 868px) {
    .nav-close {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background-color: rgba(4, 8, 38, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 50px; /* Push the list down below the close button */
    }
}









.hero {
    padding-top: 10px; /* Adjust padding to avoid overlap with fixed navigation */
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}









.space {
    width: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.space span {
    font-size: 2em;
    width: 80%;
    margin: 0 auto;
    color: #002244;
    padding-bottom: 30px;
    font-family: Arial, sans-serif;
}

.why-us {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
}

.why-us h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #0b3a6a;
}

.why-us p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: #0b3a6a;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 80px;
    padding: 20px;
}

.left-content {
    width: 48%;
    text-align: center;
}

.contact-form button {
    width: 300px;
    height: 70px;
    color: #002244;
    border-radius: 20px;
    border: none;
    margin-top: 50px;
}

.contact-form button:hover {
    cursor: pointer;
    background-color: #002244;
    color: #fff;
    border: 2px solid #fff;
    transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease;
}

.left-content img {
    width: 100%;
    height: auto;
}

.left-content h3 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #002244;
}

.contact-form {
    width: 48%;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

@media (max-width: 768px) {
    .space span {
        font-size: 1.5em;
        width: 90%;
    }

    .why-us h2 {
        font-size: 28px;
    }

    .why-us p {
        font-size: 16px;
    }

    .contact-section {
        flex-direction: column;
        align-items: center;
    }

    .left-content,
    .contact-form {
        width: 100%;
    }

    .left-content img {
        width: 100%;
    }
}









.services {
    background-color: #002244;
    padding: 50px 0;
    text-align: center;
    color: #ffd700;
    height: auto;
}

.services span {
    font-size: 2em;
    color: #fff;
    padding-bottom: 30px;
    font-family: Arial, sans-serif;
    width: 90%;
    margin: 0 auto;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
}

.service {
    background-color: #0b3a6a;
    padding: 40px;
    margin: 0 auto;
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out;
    width: calc(25% - 20px); /* default for larger screens */
}

.service:hover {
    transform: scale(1.1);
    border: 2px solid lightblue;
}

.service h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
    margin-top: 70px;
}

.service p {
    font-size: 16px;
    margin: 0;
    color: #fff;
    margin-bottom: 50px;
}

.line {
    width: 50px;
    height: 2px;
    background-color: #fff;
    margin: 15px auto;
}

/* Responsive adjustments */
@media (max-width: 1300px) {
    .service {
        width: 30%; /* three columns layout for medium screens */
    }
    .service p{
        font-size: 14px;
    }
}

@media (max-width: 1020px) {
    .service {
        width: 40%; /* three columns layout for medium screens */
        margin-bottom: 20px;
    }
    .service p{
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .service {
        width: 400px; /* two columns layout for small screens */
        margin-bottom: 20px;
    }
    .service p{
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service {
        width: calc(100% - 20px); /* single column layout for very small screens */
        margin-bottom: 20px;
    }
    .service p{
        font-size: 16px;
    }
}






.portfolio {
    padding: 50px 0;
    text-align: center;
}

.portfolio span {
    font-size: 2em;
    color: #002244;
    padding-bottom: 30px;
    font-family: Arial, sans-serif;
    width: 90%;
    margin: 0 auto;
}

.portfolio-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* default for larger screens */
    gap: 20px;
    width: 90%;
    margin: 0 auto;
    margin-top: 30px;
}

.portfolio-item {
    position: relative;
    background: #002244;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    background-size: cover;
    transition: opacity 0.3s ease;
}

.portfolio-item .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover img {
    opacity: 0.1;
}

.portfolio-item:hover {
    border: 3px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
}

.portfolio-item:hover .overlay-text {
    opacity: 1;
    color: #fff;
    transform: translateX();
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .portfolio-items {
        grid-template-columns: repeat(3, 1fr); /* three columns layout for medium screens */
    }
}

@media (max-width: 768px) {
    .portfolio-items {
        grid-template-columns: repeat(2, 1fr); /* two columns layout for small screens */
    }
}

@media (max-width: 480px) {
    .portfolio-items {
        grid-template-columns: 1fr; /* single column layout for very small screens */
    }
}






.explain {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 80%;
    margin: 0 auto;
}

.explain span {
    font-size: 2em;
    color: #fff;
    padding-bottom: 30px;
    width: 90%;
    margin: 0 auto;
}

.explain-blocks {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    height: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.7s ease, box-shadow 0.7s ease-in-out, border 0.7s ease, background-color 0.7s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.explain-blocks:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #0b3a6a;
    border: 2px solid lightblue neon;
}

.explain-blocks h2 {
    margin: 0;
    font-size: 25px;
    color: midnightblue;
    transition: transform 0.7s ease;
}

.explain-blocks p {
    margin-top: 30px;
    font-size: 0.9em;
    color: #666;
    display: none;
    transition: display 0.7s ease, color 0.7s ease;
}

.explain-blocks:hover h2 {
    transform: translateY(-50%);
    color: #fff;
}

.explain-blocks:hover p {
    display: block;
    color: #fff;
}

@media (min-width: 800px) {
    .explain {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .explain-blocks {
        width: 30%;
        margin-bottom: 0;
    }
}

@media (max-width: 1200px) {
    .explain-blocks {
        padding: 10px;
    }

    .explain-blocks h2 {
        font-size: 20px;
    }

    .explain-blocks p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .explain-blocks {
        padding: 5px;
    }

    .explain-blocks h2 {
        font-size: 18px;
    }

    .explain-blocks p {
        font-size: 0.7em;
    }
    .explain span{
        font-size: 1.7em;
    }
}







.business-solutions {
    background: #002244;
    color: #fff;
    padding: 50px 0;
}

.solutions-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 50px;
}

.accordion {
    width: 90%;
    margin: 0 auto;
    max-width: 750px;
    margin-bottom: 20px;
}

.accordion span {
    font-size: 28px;
}

.solutions-header {
    width: 90%;
    margin: 0 auto;
    max-width: 600px;
    height: 300px;
    background-image: url(img/background/idea.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    margin-bottom: 20px;
}

.solutions-hero {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.solutions-hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.solutions-hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

@media (min-width: 769px) {
    .solutions-container {
        flex-direction: row;
    }

    .accordion {
        width: 750px;
    }

    .solutions-header {
        width: 600px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .solutions-container {
        flex-direction: column;
        align-items: center;
    }

    .solutions-hero h1 {
        font-size: 28px;
    }

    .solutions-hero p {
        font-size: 16px;
    }
}








.blog-section {
    text-align: center;
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
}

.carousel {
    display: flex;
    align-items: center;
    position: relative;
    width: 90%;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

.posts {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.post {
    background-color: #eeeeee;
    border: 1px solid #ccc;
    margin: 0 10px;
    width: 400px; /* Adjust width as needed */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.post:hover {
    border: 2px solid #002244;
    background-color: #85aad2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
    transition: transform 0.5s ease-in-out;
}

.post img {
    width: 100%;
    height: 80%;
}

.post-content {
    padding: 10px;
}

.post-content h3 {
    font-size: 1.4em;
    color: #002244;
}

.nav-btn {
    background-color: #ccc;
    border-radius: 100%;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 25px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.prev-btn {
    left: -50px; /* Adjust position as needed */
}

.next-btn {
    right: -50px; /* Adjust position as needed */
}

@media (max-width: 1024px) {
    .post {
        width: 300px; /* Adjust width for smaller screens */
    }

    .post-content h3{
        font-size: 1.1em;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .prev-btn {
        left: -40px;
    }

    .next-btn {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .post {
        width: 250px; /* Adjust width for tablets */
    }

    .post-content h3{
        font-size: 1em;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .prev-btn {
        left: -35px;
        margin-left: 20px;
    }

    .next-btn {
        right: -35px;
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    .post {
        width: 200px; /* Adjust width for mobile devices */
    }

    .post-content h3{
        font-size: 0.75em;
    }

    .nav-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .prev-btn {
        left: -30px;
    }

    .next-btn {
        right: -30px;
    }
}






div#carousel {
    perspective: 1200px;
    background: #002244;
    padding-top: 10%;
    font-size: 0;
    margin-bottom: 3rem;
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
}

figure#spinner {
    transform-style: preserve-3d;
    height: 450px;
    transform-origin: 50% 50% -500px;
    transition: 1s;
}

figure#spinner img {
    width: 62%;
    max-width: 425px;
    height: 350px;
    position: fixed;
    left: 20%;
    transform-origin: 50% 50% -500px;
    outline: 1px solid transparent;
}

figure#spinner img:nth-child(1) {
    transform: rotateY(0deg);
}

figure#spinner img:nth-child(2) {
    transform: rotateY(-120deg);
}

figure#spinner img:nth-child(3) {
    transform: rotateY(-240deg);
}

div#carousel~span {
    color: #fff;
    margin: 5%;
    display: inline-block;
    text-decoration: none;
    font-size: 2rem;
    transition: 0.6s color;
    position: relative;
    margin-top: -6rem;
    border-bottom: none;
    line-height: 0;
}

div#carousel~span:hover {
    color: goldenrod;
    cursor: pointer;
}

@media (max-width: 768px) {
    div#carousel {
        padding-top: 5%;
        width: 100%;
    }

    figure#spinner {
        height: 300px;
    }

    figure#spinner img {
        width: 80%;
        height: 250px;
        left: 10%;
    }

    div#carousel~span {
        font-size: 1.5rem;
        margin-top: -3rem;
    }
}

@media (max-width: 480px) {
    div#carousel {
        padding-top: 2%;
        width: 100%;
    }

    figure#spinner {
        height: 200px;
    }

    figure#spinner img {
        width: 90%;
        height: 150px;
        left: 5%;
    }

    div#carousel~span {
        font-size: 1.2rem;
        margin-top: -2rem;
    }
}




svg {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    /* 	border: 2px solid red; */
}

teeext {
    font-family: "Noto Serif Tamil", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}



.site-footer {
    background-color: #002244;
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    margin: 20px;
    min-width: 200px;
    margin-right: 50px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: gold;
}

.footer-col h3 {
    font-size: 17px;
    margin-bottom: 5px;
    font-family: 'Arial', sans-serif;
    color: #fff;
}

.footer-col p {
    font-size: 14px;
    line-height: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 17px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: lightblue;
}

.footer-col img {
    width: 150px;
    height: 150px;
    border-radius: 100px;
    background-color: #fff;
}

.social-links a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
    transition: color 0.3s;
}

.social a {
    color: #fff;
    font-size: 18px;
    margin-right: 10px;
    display: inline-block;
    transition: color 0.3s;
}

.social p{
    color: #fff;
    font-size: 18px;
    margin-right: 10px;
    display: inline-block;
    transition: color 0.3s;
}

.social img{
    width: 100x;
    height: 50px;
    display: inline-block;
    border-radius: 100%;
}

.social-links a:hover {
    color: lightblue;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 20px;
    width: 100%;
    display: inline-flex;
    place-items: center;
    place-content: center;
    justify-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 14px;
}


.back-to-top {
    display: none; /* Initially hidden */
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #175696;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: goldenrod;
}
