/* Basic styles for ai-powered-automation.html */

/* Import Google Fonts if needed */
/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: lightgray;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    background-color: #020f1cd1;
}

.back-vid {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: overlay;
    background-color: #020f1cd1;
}

header {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 70px;
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 999;
    flex-wrap: nowrap;
}

.left {
    display: flex;
    align-items: center;
}

.left img {
    width: 80px;
    margin: 0 15px;
}

.logo-bar-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

header ul li {
    margin: 0;
    position: relative;
}


.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1600px;
    z-index: 1000;
    background-color: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px #72a1dea2;
    list-style: none;
    padding: 30px 40px;
    border-radius: 16px;
    min-height: 50vh;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.logo-bar-buttons li:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-menu a {
    color: white;
    padding: 10px 0;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 0;
    background: none !important;
    box-shadow: none !important;
    transition: color 0.2s, padding-left 0.2s;
}

.dropdown-menu a:hover {
    color: #72a1de;
    padding-left: 5px;
}

.dropdown-menu h4 {
    color: #72a1de;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(114, 161, 222, 0.2);
}

.services-dropdown, .solutions-dropdown {
    margin-left: 150px !important;
    transform: translateX(-50%) !important;
    left: 0 !important;
    width: 300vw !important;
    max-width: 2000px !important;
    justify-content: center !important;
    background-color: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(5px);
}

.dropdown-menu.services-dropdown .dropdown-content-wrapper {
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.dropdown-menu.services-dropdown .dropdown-image {
    flex: 1.3 !important;
    margin-top: 20px;
}

.dropdown-menu.services-dropdown .dropdown-image img {
    max-width: 100% !important;
    max-height: 300px !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    display: block !important;
    margin-top: 20px !important;
}

.dropdown-menu.services-dropdown .dropdown-links {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    margin-top: 30px !important;
}

.dropdown-menu.services-dropdown .dropdown-links a {
    color: white;
    text-decoration: none !important;
    padding: 5px 0 !important;
}

.dropdown-menu.services-dropdown .dropdown-links a:hover {
    color: #72a1de !important;
}

.aboutus-rightlinks-dropdown {
    position: absolute;
    top: 100%;
    margin-right: 80px !important;
    width: 100%;
    background-color: #111111;
    backdrop-filter: blur(8px);
    box-sizing: border-box;
    z-index: 999;
    border-top: 1px solid #333;
}

.aboutus-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.aboutus-image {
    width: 400px;
    flex-shrink: 0;
    margin-top: 40px;
}

.aboutus-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.aboutus-image h4 {
    color: white;
    font-size: 18px;
    font-weight: 500;
    margin-top: 15px;
    line-height: 1.4;
}

.aboutus-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    text-align: left;
    margin-top: 80px;
}

.aboutus-links h4 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.aboutus-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.aboutus-links a:hover {
    color: #ffffff;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(to right, gray, darkgray, #72a1dea2, white, darkgray, gray);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
    to {
        background-position: 200%;
    }
}

.site-footer {
    position: relative;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.6);
    color: #a9a9a9;
    padding: 60px 0 20px 0;
    margin-top: 150px;
    overflow: hidden;
}

.footer-main {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-column {
    padding: 0 10px;
}

.footer-column h4 {
    color: #72a1dea2;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-column.about .left {
    margin-bottom: 15px;
}

.footer-about-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #a9a9a9;
    font-size: 28px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #72a1de;
    transform: translateY(-3px);
}

.footer-column.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column.links ul li {
    margin-bottom: 12px;
}

.footer-column.links ul li::before {
    content: '●';
    color: #72a1de;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.footer-column.links ul li a {
    color: #a9a9a9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column.links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-column.contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-column.contact i {
    font-size: 20px;
    color: #72a1de;
    margin-top: 4px;
}

.footer-bottom {
    width: 90%;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(114, 161, 222, 0.15);
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .dropdown-menu.services-dropdown,
    .dropdown-menu.aboutus-dropdown,
    .aboutus-rightlinks-dropdown {
        width: 100vw !important;
        padding: 20px !important;
    }

    .dropdown-image,
    .dropdown-links,
    .aboutus-links {
        width: 100% !important;
        text-align: center !important;
    }

    .aboutus-links {
        margin-top: 20px !important;
        text-align: center !important;
    }

    .dropdown-content-wrapper {
        flex-direction: column !important;
        align-items: center !important;
    }

    .main-hero-content h1 {
        font-size: 28px !important;
    }

    .main-hero-content p,
    .section-title,
    .solution-card p {
        font-size: 1rem !important;
    }
}

@media screen and (max-width: 1024px) {
    .project-card,
    .workflow-grid {
        flex-direction: column !important;
    }

    .strategy-card,
    .cda-card {
        flex: 0 1 100% !important;
    }
}