@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap);
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    overflow-x: hidden;
}


/* Navigation Styles */

nav {
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 65px;
    position: absolute;
    z-index: 999;
    width: 100%;
    transition: background 0.3s ease, position 0.3s ease;
}

nav.fixed-nav {
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: background 0.3s ease;
}

nav .mainlogo {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: 600;
}

nav .mainlogo img {
    height: 50px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    z-index: 1000;
}

nav ul li {
    position: relative;
    margin: 0 10px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 15px;
    display: block;
    transition: background 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    color: #ffffff;
    background: #00000085;
}

nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    border-top: 3px solid rgb(88, 180, 250);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    background: #000000d7;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

nav ul ul li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

nav ul ul li a {
    line-height: 50px;
    padding: 0 20px;
    color: #ffffff;
}

nav ul ul li a:hover {
    background: #011021;
    color: #ffffff;
}

nav ul li:hover>ul {
    opacity: 1;
    visibility: visible;
}

.dropdown-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

nav ul li:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.icon {
    display: none;
    font-size: 25px;
    cursor: pointer;
    color: white;
}

.logo {
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    margin-left: 5px;
}

.fa {
    color: white;
}


/* Navigation Media Queries */

@media (max-width: 1300px) and (min-width: 1160px) {
    nav {
        padding: 0 6px;
    }
    nav ul li a {
        font-size: 17px;
        padding: 8px 9px;
    }
}

@media (max-width: 1160px) {
    nav {
        padding: 0 40px;
        background: transparent;
    }
    nav.fixed-nav {
        background: rgb(0, 0, 0);
    }
    nav .mainlogo img {
        height: 50px;
    }
    .icon {
        display: block;
    }
    nav ul {
        display: none !important;
        position: fixed;
        top: 70px;
        right: 0;
        width: 50%;
        background: #000000d7;
        flex-direction: column;
        height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }
    nav ul.show {
        display: flex !important;
    }
    nav ul li {
        width: 100%;
        margin: 0;
    }
    nav ul li a {
        padding: 15px 20px;
    }
    nav ul ul {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none !important;
        background: #000000;
        box-shadow: none;
        padding: 0;
        height: auto;
        /* Ensure the container shrinks to fit content */
        min-height: 0;
        /* Prevent any minimum height from adding space */
    }
    nav ul ul.show {
        display: block !important;
    }
    nav ul li:hover>ul {
        display: block;
    }
    nav ul ul li {
        border-bottom: none;
        margin: 0;
    }
    nav ul ul li:last-child {
        margin-bottom: 0;
        /* Ensure no extra margin on the last item */
    }
    nav ul ul li a {
        padding: 12px 40px;
        line-height: normal;
        margin: 0;
        /* Ensure no margins on the link itself */
    }
    nav ul li a:hover {
        background: #011021;
        color: #ffffff;
    }
}

@media (max-width: 660px) {
    nav {
        padding: 0 10px;
    }
    nav ul {
        width: 80%;
    }
    .logo {
        font-size: 1em;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
        color: #fff;
        margin-left: 5px;
    }
}


/* Footer Styles */

a {
    text-decoration: none;
}

.footer {
    background-color: #1a1a1a !important;
    color: #fff !important;
    padding: 3rem 1rem 1rem !important;
}

.footer .second-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

.footer .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0rem !important;
    margin-bottom: 2rem !important;
}

@media (min-width: 1024px) {
    .footer .footer-grid {
        grid-template-columns: 1fr 2fr !important;
    }
}

.footer .footer-brand {
    text-align: center;
    margin-left: 20px;
}

@media (min-width: 640px) {
    .footer .footer-brand {
        text-align: left !important;
    }
}

.footer .footer-logo {
    display: inline-flex !important;
    margin-bottom: 1rem !important;
    align-items: center !important;
}

.footer .footer-logo img {
    height: 1.8rem !important;
    width: auto !important;
    margin-right: 0.3rem !important;
}

.footer .footer-brand-name {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.2 !important;
    display: block !important;
}

.footer .footer-brand-name span {
    display: block !important;
}

.footer-description {
    color: #a0a0a0 !important;
    max-width: 18rem !important;
    margin: 0 auto 1.5rem;
    line-height: 1.5 !important;
    font-size: 0.875rem !important;
    text-align: justify !important;
}

@media (min-width: 640px) {
    .footer .footer-description {
        margin: 0 0 1.5rem !important;
    }
}

.footer .social-links {
    display: flex !important;
    gap: 1rem !important;
    list-style: none !important;
    align-items: center !important;
    margin-left: -30px !important;
    justify-content: center;
}

@media (min-width: 640px) {
    .footer .social-links {
        justify-content: flex-start !important;
    }
}

.footer .social-links a {
    color: #fff !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.8rem !important;
    height: 1.8rem !important;
    border-radius: 50% !important;
    background-color: transparent !important;
}

.footer .social-links a:hover {
    transform: scale(1.1) !important;
    color: #4a90e2 !important;
}

.footer .social-links svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    display: block !important;
}

.footer .footer-columns {
    display: grid !important;
    grid-template-columns: 2fr !important;
    gap: 1.4rem !important;
    align-items: start !important;
}

@media (min-width: 640px) {
    .footer .footer-columns {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 768px) {
    .footer .footer-columns {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.footer .footer-column {
    text-align: left !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer .footer-title {
    position: relative !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    margin-bottom: 1rem !important;
    color: #fff !important;
    text-align: left !important;
    padding: 0 !important;
    display: inline-block !important;
    width: 100% !important;
}

.footer .footer-title:after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -4px !important;
    width: 30px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #4a90e2, transparent) !important;
}

.footer .footer-links {
    list-style: none !important;
    margin-top: 1rem !important;
    text-align: left !important;
    padding: 0 !important;
}

.footer .footer-links li {
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
}

.footer .footer-links a {
    position: relative !important;
    color: #fff !important;
    transition: color 0.3s ease !important;
    display: block !important;
    text-align: left !important;
    font-size: 0.875rem !important;
}

.footer .footer-links a:after {
    content: '' !important;
    position: absolute !important;
    width: 0 !important;
    height: 0.5px !important;
    bottom: -2px !important;
    left: 0 !important;
    background-color: #4a90e2 !important;
    transition: width 0.3s ease !important;
}

.footer .footer-links a:hover:after {
    width: 20% !important;
}

.footer .footer-links a:hover {
    color: #4a90e2 !important;
}

.footer .contact-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    color: #fff !important;
    text-decoration: none !important;
    margin-bottom: 0.75rem !important;
    padding: 0 !important;
    margin-left: -30px !important;
    font-size: 0.875rem !important;
}

.footer .contact-item svg {
    width: 1rem !important;
    height: 1rem !important;
    stroke: #fff !important;
    flex-shrink: 0 !important;
    margin-right: 0.2rem !important;
    display: block !important;
}

.footer .contact-item:hover {
    color: #4a90e2 !important;
}

.footer .contact-item address,
.footer .contact-item span {
    color: #fff !important;
    margin: 0 !important;
    text-align: left !important;
    display: inline-block !important;
    line-height: 1.25rem !important;
}

.footer .contact-item:hover address,
.footer .contact-item:hover span {
    color: #4a90e2 !important;
}

.footer .footer-bottom {
    border-top: 1px solid #333 !important;
    padding-top: 1rem !important;
    text-align: center !important;
}

@media (min-width: 640px) {
    .footer .footer-bottom {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
}

.footer .footer-bottom p {
    color: #a0a0a0 !important;
    font-size: 0.75rem !important;
}

.footer .footer-bottom a {
    color: #4a90e2 !important;
    transition: color 0.3s ease !important;
}

.footer .footer-bottom a:hover {
    color: #357abd !important;
}




/* Chatbot Styles */


/* Styles for the chatbot container */

.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}


/* Styles for the chatbot icon */

.chatbot-icon {
    background: linear-gradient(45deg, #007bff, #00b7ff);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.chatbot-icon:hover {
    transform: scale(1.1);
}

.chatbot-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}


/* Styles for the chat window */

.chatbot-window {
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* Hidden class for toggling visibility */

.hidden {
    display: none;
}


/* Styles for the chat header */

.chatbot-header {
    background: linear-gradient(45deg, #007bff, #00b7ff);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}

.chatbot-close:hover {
    color: #ffca2c;
}


/* Styles for the messages area */

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
}

.message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.message.bot {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.text {
    padding: 8px 12px;
    border-radius: 15px;
    background: #e0e0e0;
    max-width: 70%;
}

.message.bot .text {
    background: linear-gradient(45deg, #007bff, #00b7ff);
    color: white;
}

.message.user .text {
    background: #d1e7ff;
}


/* Styles for the button container */

.button-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* Styles for main menu buttons (Home, Company, etc.) */

.main-nav-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    background: linear-gradient(45deg, #007bff, #00b7ff);
    color: white;
    transition: background 0.3s, transform 0.1s;
    margin: 5px;
}

.main-nav-btn:hover {
    background: linear-gradient(45deg, #0056b3, #0096cc);
    transform: scale(1.05);
}

.main-nav-btn:active {
    transform: scale(0.95);
}


/* Styles for sub-menu buttons (AI & ML, Farm2Plate, etc.) */

.sub-nav-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    background: linear-gradient(45deg, #17a2b8, #20c997);
    color: white;
    transition: background 0.3s, transform 0.1s;
    margin: 5px;
}

.sub-nav-btn:hover {
    background: linear-gradient(45deg, #138496, #1aab7d);
    transform: scale(1.05);
}

.sub-nav-btn:active {
    transform: scale(0.95);
}


/* Styles for default response Yes/No buttons */

.contact-yes-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    background: #28a745;
    color: white;
    transition: background 0.3s, transform 0.1s;
}

.contact-yes-btn:hover {
    background: #218838;
    transform: scale(1.05);
}

.contact-yes-btn:active {
    transform: scale(0.95);
}

.contact-no-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    background: #dc3545;
    color: white;
    transition: background 0.3s, transform 0.1s;
}

.contact-no-btn:hover {
    background: #c82333;
    transform: scale(1.05);
}

.contact-no-btn:active {
    transform: scale(0.95);
}


/* Styles for "No" response buttons */

.doubt-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    background: #ffca2c;
    color: #333;
    transition: background 0.3s, transform 0.1s;
}

.doubt-btn:hover {
    background: #e0b024;
    transform: scale(1.05);
}

.doubt-btn:active {
    transform: scale(0.95);
}

.menu-return-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    background: #6c757d;
    color: white;
    transition: background 0.3s, transform 0.1s;
}

.menu-return-btn:hover {
    background: #5a6268;
    transform: scale(1.05);
}

.menu-return-btn:active {
    transform: scale(0.95);
}


/* Styles for the input container */

.chatbot-input-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f1f1f1;
    border-top: 1px solid #ddd;
}


/* Styles for the input field */

.chatbot-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 14px;
    outline: none;
    margin-right: 10px;
}

.chatbot-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}


/* Styles for the send button */

.chatbot-send {
    background: linear-gradient(45deg, #007bff, #00b7ff);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: background 0.3s, transform 0.1s;
}

.chatbot-send:hover {
    background: linear-gradient(45deg, #0056b3, #0096cc);
    transform: scale(1.05);
}

.chatbot-send:active {
    transform: scale(0.95);
}


/* Styles for the mic button (added via JS) */

.chatbot-mic {
    background: linear-gradient(45deg, #ffca2c, #ffdb6d);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 16px;
    margin-left: 10px;
    transition: background 0.3s, transform 0.1s;
}

.chatbot-mic:hover {
    background: linear-gradient(45deg, #e0b024, #e0c056);
    transform: scale(1.05);
}

.chatbot-mic:active {
    transform: scale(0.95);
}


/* Typing indicator styles (used in components.js) */

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 10px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #007bff;
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: #ffffff;
    overflow-x: hidden;
}

.orange-container {
    width: 100%;
    text-align: center;
    opacity: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.orange-container .heading {
    font-weight: bold;
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.orange-container .heading .big-e {
    position: relative;
    bottom: -5px;
    left: 5px;
    font-size: 200px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
    line-height: 1;
    margin-right: -5px;
    transform: translateZ(40px);
    transition: transform 0.5s ease;
}

.content-container {
    width: 95%;
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    margin: 0 auto 10px;
    opacity: 0;
    transform: translateY(50px) rotateX(30deg);
    box-sizing: border-box;
    transform-style: preserve-3d;
    color: white;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: transform 0.3s ease, background 0.3s ease;
    transform-style: preserve-3d;
}

.tab:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateZ(20px) rotateX(10deg);
}

.tab.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateZ(30px);
}

.orange-container .description {
    font-size: clamp(14px, 2vw, 24px);
    color: white;
    opacity: 0;
    max-width: 550px;
    font-weight: 600;
    border-left: 8px solid white;
    padding-left: 20px;
    text-align: left;
    line-height: 1.4;
}

.content-description {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-top: 0;
    transform: translateY(20px) translateZ(10px);
    line-height: 1.6;
    color: white;
    opacity: 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.services-heading {
    font-size: 20px;
    color: white;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
}

.stats-container {
    display: grid;
    margin-bottom: 20px;
    justify-items: center;
    justify-content: center;
}

.stat-box {
    text-align: center;
    padding: 5px;
    border: 2px solid white;
    border-radius: 8px;
    width: 100%;
    max-width: 180px;
    position: relative;
    opacity: 0;
    transform: translateY(20px) rotateX(-15deg);
    transform-style: preserve-3d;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
    overflow: visible;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-box:hover {
    transform: translateY(0) scale(1.05);
}

.stat-box i {
    position: absolute;
    top: 6px;
    right: 6px;
    background: green;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transform: translateZ(10px);
}

.stat-name {
    font-size: 0.8rem;
    color: white;
    line-height: 1.1;
    font-weight: 500;
}

.back-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    font-size: 1.3rem;
}

.back-button:hover {
    background: #0056b3;
}
/* Hero Section Styles */

.hero-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 70px;
    perspective: 1000px;
    z-index: 2;
}

.parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/assets/ai-page-bg.png) no-repeat center center/cover;
    z-index: -1;
    transform: scale(1.1);
    animation: parallaxShift 15s infinite ease-in-out;
}

@keyframes parallaxShift {
    0%,
    100% {
        transform: scale(1.1) translate(0, 0);
    }
    50% {
        transform: scale(1.15) translate(-2%, -2%);
    }
}

.orange-container {
    background: rgba(94, 32, 160, 0.5);
    padding: 0px 40px;
    transform: translateY(-50px) rotateX(-30deg);
    margin: 0 auto;
    gap: 60px;
    margin-bottom: 40px;
    min-height: 160px;
    margin-top: 50px;
}

.orange-container .heading {}

.orange-container .heading .big-e {}

.orange-container .heading span {
    font-size: 90px;
    color: white;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.orange-container .description {
    font-size: 20px;
    padding-left: 30px;
}

.content-container {}

.tabs {}

.tab {}

.tab:hover {}

.tab.active {}

.services-heading {}

.stats-container {
    gap: 20px !important;
    grid-template-columns: repeat(5, 170px);
}

.stat-box {
    padding: 5px;
    border: 2px solid white;
    border-radius: 8px;
    width: 100%;
    max-width: 180px;
    position: relative;
    opacity: 0;
    transform: translateY(20px) rotateX(-15deg);
    transform-style: preserve-3d;
    background: rgba(29, 29, 29, 0.247);
    transition: transform 0.3s ease;
    overflow: visible;
    min-height: 80px;
}

.stat-box:hover {
    transform: translateY(0) scale(1.05);
}

.stat-box i {}

.stat-name {}

.content-description {
    font-size: 1rem;
    text-align: center;
}


/* Section 3 */

.sec-3 {
    font-family: "Montserrat", sans-serif;
    background-color: #f4f4f4;
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
}

.ai-container {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.ai-section {
    display: none;
    flex-direction: column;
    align-items: center;
    color: white;
    border-radius: 15px;
    overflow: visible;
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(255, 255, 255, 0.1));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    max-height: 400px;
    min-height: 200px;
}

.ai-section.active {
    display: flex;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.ai-section:hover::before {
    opacity: 0.5;
}

.ai-section:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
}

.ai-section img {
    width: 100%;
    height: auto;
    min-height: 100px;
    max-height: 200px;
    object-fit: cover;
    opacity: 0;
    border-radius: 15px 15px 0 0;
    transform: translateY(-100%);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ai-section.in-view img {
    opacity: 0.5;
    transform: translateY(0);
    animation: fallIn 0.8s ease-out forwards;
}

.ai-section:hover img {
    opacity: 0.7;
    transform: translateY(0) rotate(2deg);
}

@keyframes fallIn {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    80% {
        transform: translateY(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }
}

.ai-section-content {
    padding: 1rem;
    width: 100%;
    z-index: 1;
    position: relative;
}

.ai-section-content h2 {
    font-size: clamp(1rem, 3.8vw, 2.2rem);
    margin-bottom: 0.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.ai-section.in-view h2 {
    opacity: 1;
}

.ai-section-content h2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0s;
}

.ai-section.in-view h2::after {
    animation: wipe 1s ease forwards 0.5s;
}

@keyframes wipe {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.ai-section-content p {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease 0.4s;
}

.ai-section.in-view p {
    opacity: 1;
}

.ai-blue {
    background-color: rgba(0, 96, 161, 0.9);
}

.ai-dark-blue {
    background-color: rgba(8, 59, 145, 0.9);
}

.ai-teal {
    background-color: rgba(0, 150, 161, 0.9);
}

.ai-green {
    background-color: rgba(13, 128, 0, 0.9);
}

.ai-purple {
    background-color: rgba(83, 0, 161, 0.9);
}

.ai-dots {
    display: flex;
    justify-content: center;
    margin: 1rem 0 2rem;
}

.ai-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.ai-dot.active {
    transform: scale(1.3);
    background-color: #333;
}


/* Section 4 */

@keyframes bounceIn {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    60% {
        transform: translateY(10px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Responsive Design */

@media (max-width: 1300px) {
    .hero-section {
        height: 112vh;
    }
    .orange-container .description {
        font-size: 18px;
    }
    .orange-container .heading .big-e {
        font-size: 220px;
    }
    .orange-container {
        padding: 20px;
        gap: 50px;
        min-height: 200px;
    }
    .stats-container {
        gap: 3px;
    }
    .stat-box {
        max-width: 150px;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        height: 110vh;
        padding-top: 30px;
    }
    .orange-container {
        gap: 30px;
        min-height: 180px;
    }
    .orange-container .heading .big-e {
        font-size: 180px;
    }
    .orange-container .heading span {
        font-size: 70px;
    }
    .orange-container .description {
        font-size: 18px;
        max-width: 500px;
        padding-left: 20px;
    }
    .content-container {
        width: 90%;
        padding: 15px;
    }
    .services-heading {
        font-size: 24px;
    }
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 3px;
    }
    .stat-box {
        max-width: 140px;
        padding: 8px;
    }
    .stat-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 1000px) {
    .orange-container .description {
        font-size: 16px;
        max-width: 450px;
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 120vh;
        padding-top: 0px;
    }
    .orange-container {
        flex-direction: column;
        gap: 15px;
        min-height: 220px;
        padding: 20px;
        align-items: center;
        justify-content: center;
    }
    .orange-container .heading {
        flex-direction: row;
        align-items: center;
    }
    .orange-container .heading .big-e {
        font-size: 140px;
        margin: 0 5px;
    }
    .orange-container .heading span {
        font-size: 50px;
    }
    .orange-container .description {
        font-size: 16px;
        border-left: none;
        border-top: 4px solid white;
        padding-left: 0;
        padding-top: 10px;
        text-align: center;
        max-width: 100%;
    }
    .content-container {
        width: 95%;
        padding: 10px;
    }
    .services-heading {
        font-size: 20px;
    }
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 10px;
    }
    .stat-box {
        max-width: 130px;
        padding: 8px;
    }
    .stat-name {
        font-size: 0.75rem;
    }
    .tab {
        padding: 6px 15px;
    }
    .content-description {
        font-size: 0.9rem;
    }
    .ai-section {
        width: 90%;
        margin: 0 auto;
        padding: 0.5rem;
    }
    .ai-section img {
        border-radius: 10px 10px 0 0;
    }
}

@media (min-width: 768px) {
    .sec-3 {
        padding: 2rem 0;
    }
    .ai-container {
        gap: 1.5rem;
        padding: 0;
    }
    .ai-section {
        display: flex;
        flex-direction: row;
        height: 350px;
        width: 98%;
        max-width: 1400px;
        margin: 0;
        opacity: 0;
    }
    .ai-section:nth-child(odd) {
        margin-left: 0;
        margin-right: auto;
        transform: translateX(-100px);
        border-radius: 0 15px 15px 0;
    }
    .ai-section:nth-child(even) {
        margin-right: 0;
        margin-left: auto;
        transform: translateX(100px);
        flex-direction: row-reverse;
        border-radius: 15px 0 0 15px;
    }
    .ai-section img {
        width: 50%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }
    .ai-section-content {
        width: 50%;
        padding: 2rem;
    }
    .ai-section-content h2,
    .ai-section-content p {
        text-align: left;
    }
    .ai-dots {
        display: none;
    }
}

@media (min-width: 1024px) {
    .ai-section img {
        width: 40%;
    }
    .ai-section-content {
        width: 60%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 120vh;
        padding-top: 20px;
    }
    .orange-container {
        gap: 10px;
        min-height: 200px;
        padding: 15px;
        margin-top: 35px;
    }
    .orange-container .heading {
        flex-direction: column;
        align-items: center;
    }
    .orange-container .heading .big-e {
        font-size: 100px;
        margin: 0;
    }
    .orange-container .heading span {
        font-size: 36px;
    }
    .orange-container .description {
        font-size: 14px;
        padding-top: 8px;
    }
    .content-container {
        width: 98%;
        padding: 8px;
    }
    .services-heading {
        font-size: 18px;
    }
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 6px;
    }
    .stat-box {
        max-width: 120px;
        padding: 10px;
    }
    .stat-name {
        font-size: 0.7rem;
    }
    .stat-box i {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }
    .tab {
        padding: 5px 12px;
    }
    .content-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .hero-section {
        height: 120vh;
        padding-top: 20px;
    }
    .orange-container .heading .big-e {
        font-size: 90px;
    }
    .orange-container .heading span {
        font-size: 32px;
    }
    .services-heading {
        font-size: 16px;
    }
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 5px;
    }
    .stat-box {
        max-width: 100px;
        padding: 5px;
    }
    .stat-name {
        font-size: 0.6rem;
    }
}
@media (max-width: 350px) {
    .hero-section {
        height: 120vh;
        padding-top: 10px;
    }
    .orange-container .heading .big-e {
        font-size: 90px;
    }
    .orange-container .heading span {
        font-size: 32px;
    }
    .services-heading {
        font-size: 16px;
    }
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 5px;
    }
    .stat-box {
        max-width: 100px;
        padding: 5px;
    }
    .stat-name {
        font-size: 0.6rem;
    }
}

.sec-4 {
    padding: 4rem 1rem;
    text-align: center;
    background: white;
}

.sec-4 h2 {
    font-size: 2rem;
    margin-bottom: 4rem;
    color: #222;
    position: relative;
    font-weight: 600;
}

.sec-4 h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #5300a1, #0060a1);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    background: white;
    border-radius: 10px;
    padding: 15px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    opacity: 1;
    /* Changed from 0 to 1 to ensure visibility */
    transform: translateY(0);
    /* Changed from 50px to 0 to ensure visibility */
}


/* Top Border Hover Effect */

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #5300a1, #0060a1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-item p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #585858;
    margin-top: 15px;
    margin-bottom: 0px;
}
.footer .footer-brand {
    text-align: left !important;
    margin-left: 00px;
}

@media (max-width: 640px) {
    .footer-description {
        color: #a0a0a0 !important;
        max-width: 18rem !important;
        margin: 0px 0px 1.5rem !important;
        line-height: 1.5 !important;
        font-size: 0.875rem !important;
        text-align: justify !important;
    }
    .footer .social-links {
        display: flex !important;
        gap: 1rem !important;
        list-style: none !important;
        align-items: center !important;
        margin-left: -30px !important;
        justify-content: flex-start !important;
    }
}

