@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;
}
/* Reset and base styles */

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


/* Existing styles remain unchanged, but enhanced for better aesthetics */

.contact-content .icon {
    display: none;
    cursor: pointer;
    padding: 0 20px;
    font-size: 1.5rem;
}

.hero-section {
    width: 100%;
    height: clamp(30vh, 50vh, 55vh);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 25, 47, 0.95), rgba(10, 25, 47, 0.95)), url(/assets/contact-page-bg.avif);
    background-size: cover;
    background-position: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(100, 146, 255, 0.1), rgba(0, 80, 191, 0.1));
    z-index: 0;
}

.hero-content {
    max-width: 95%;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, #64a5ff, #0050bf);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(100, 149, 255, 0.4);
    background: linear-gradient(135deg, #7baaff, #1a6bff);
}

.contact-container {
    max-width: 1400px;
    width: 90%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: clamp(20px, 4vw, 30px);
    margin: 40px auto;
    border: 1px solid rgba(100, 146, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 251, 253, 0.5), rgba(230, 240, 250, 0.5));
    z-index: 0;
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.contact-header h1 {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #001812;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-header p {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 10px;
}


/* Updated styles for contact-content */

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.contact-form{
    flex: 2;
    min-width: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.contact-info {
    flex: 1;
    min-width: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.contect-fields{
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form {
    animation-delay: 0.2s;
}

.contact-info {
    animation-delay: 0.4s;
}


/* Updated styles for contact-form */

.contact-form {
    background: linear-gradient(135deg, #f9fbfd, #e6f0fa);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(100, 146, 255, 0.15);
}

.contact-form:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.contact-form h2,
.contact-info h2 {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: #001812;
    position: relative;
    display: inline-block;
}

.contact-form h2::after,
.contact-info h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: linear-gradient(135deg, #6492ff, #0050bf);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.contact-form p {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-form form {
    position: relative;
}

.contact-form label {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: #001812;
    margin-bottom: 5px;
    display: block;
    font-weight: 500;
}

.contact-form label i {
    margin-left: 8px;
    margin-right: 5px;
    color: #6492ff;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.contact-form label:hover i {
    transform: scale(1.15);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 0px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contect-fields.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; 
  margin-bottom: 0px;
}

.contect-fields.two-columns > div {
  flex: 1 1 48%; /* makes it take roughly half the width */
  min-width: 200px; /* responsive support */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6492ff;
    box-shadow: 0 0 12px rgba(100, 146, 255, 0.2);
    transform: scale(1.01);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.35);
    font-style: italic;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-content .contact-btn {
    background: linear-gradient(135deg, #6492ff, #0050bf);
    color: #ffffff;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    gap: 12px;
}

.contact-content .contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(100, 136, 255, 0.5);
    background: linear-gradient(135deg, #7baaff, #1a6bff);
}

.contact-content .contact-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.contact-content .contact-btn:hover i {
    transform: translateX(5px);
}


/* Updated styles for contact-info */

.contact-content .contact-info {
    background: linear-gradient(135deg, #6492ff, #0040a0);
    padding: 30px;
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-content .contact-info:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.contact-content .contact-info h2 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.contact-content .contact-info p {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.5;
}

.contact-content .contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0px;
}

.contact-content .contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-content .contact-info ul li i {
    font-size: 1.2rem;
    margin-right: 0px;
    color: #ffffff;
    min-width: 24px;
    margin-top: 5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-content .contact-info ul li:hover i {
    transform: scale(1.2);
    color: #e6e9ff;
}

.contact-content .contact-info ul li span {
    color: #ffffff;
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
    font-weight: 400;
    line-height: 1.5;
}

.contact-content .contact-info ul li span a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    display: inline-block;
    margin-bottom: 5px;
}

.contact-content .contact-info ul li span a:hover {
    color: #e6e9ff;
    text-decoration: underline;
}


/* Styles for business-hours (now inside contact-info) */

.contact-info .business-hours {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info .business-hours h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.contact-info .business-hours h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.contact-info .business-hours ul {
    list-style: none;
    padding: 0;
}

.contact-info .business-hours ul li {
    display: flex;
    justify-content: space-between;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    padding-bottom: 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.contact-info .business-hours ul li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.contact-info .business-hours ul li:last-child {
    border-bottom: none;
}


/* Existing styles remain unchanged, but enhanced */

.map-container {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.map-container:hover {
    transform: translateY(-5px);
}

.map-container iframe {
    width: 100%;
    height: clamp(180px, 45vw, 250px);
    border: none;
}

.dialog-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffffff, #f9fbfd);
    padding: clamp(15px, 2.5vw, 20px);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
    width: clamp(220px, 85%, 350px);
    border: 1px solid rgba(100, 146, 255, 0.2);
}

.dialog-box.show {
    display: block;
}

.dialog-box p {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: #001812;
    margin-bottom: 15px;
    font-weight: 500;
}

.dialog-box button {
    background: linear-gradient(135deg, #6492ff, #0050bf);
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dialog-box button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 146, 255, 0.4);
}


/* Media Queries (Enhanced for better responsiveness) */

@media (min-width: 768px) {
    .hero-section {
        height: clamp(40vh, 60vh, 60vh);
    }
    .hero-content {
        max-width: 90%;
        padding: 25px;
    }
    .hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    .hero-content p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }
    .cta-button {
        padding: 14px 30px;
        font-size: clamp(0.9rem, 2vw, 1rem);
    }
    .contact-container {
        width: 95%;
        padding: clamp(25px, 5vw, 35px);
        margin: 50px auto;
    }
    .contact-content {
        flex-direction: row;
        gap: 35px;
    }
    .contact-form,
    .contact-content .contact-info {
        min-width: clamp(250px, 45%, 300px);
    }
    .contact-form input,
    .contact-form textarea {
        padding: 16px 18px;
        margin-bottom: 25px;
        border-radius: 14px;
    }
    .contact-form textarea {
        min-height: 160px;
    }
    .contact-content .contact-btn {
        padding: 16px 40px;
        font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    }
    .contact-content .contact-info {
        padding: 35px;
        border-radius: 22px;
    }
    .contact-content .contact-info ul li i {
        font-size: 1.3rem;
        margin-right: 18px;
        min-width: 26px;
    }
    .map-container iframe {
        height: clamp(200px, 50vw, 300px);
    }
    .dialog-box {
        width: clamp(250px, 80%, 400px);
        padding: clamp(20px, 3vw, 25px);
    }
}

@media (max-width: 968px) {
    .contact-content .icon {
        display: block;
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .contact-content .icon {
        padding: 0 15px;
    }
    .contact-content {
        gap: 25px;
    }
    .hero-content h1 {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
    }
    .hero-content p {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }
    .cta-button {
        padding: 10px 20px;
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    }
    .contact-container {
        padding: clamp(15px, 3vw, 20px);
        margin: 30px auto;
    }
    .contact-header h1 {
        font-size: clamp(1.3rem, 3vw, 1.6rem);
    }
    .contact-form h2,
    .contact-info h2 {
        font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    }
    .contact-form {
        padding: 25px;
    }
    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    }
    .contact-form textarea {
        min-height: 120px;
    }
    .contact-content .contact-btn {
        padding: 12px 30px;
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    }
    .contact-content .contact-info {
        padding: 25px;
    }
    .contact-content .contact-info ul li i {
        font-size: 1rem;
        margin-right: 12px;
        min-width: 20px;
    }
    .map-container iframe {
        height: clamp(150px, 40vw, 200px);
    }
    .dialog-box {
        width: clamp(200px, 90%, 300px);
        padding: clamp(12px, 2vw, 15px);
    }
}

.footer .social-links {
    justify-content: flex-start;
    margin-left: 0px;
    padding-bottom: 20px;
}

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

@media (min-width: 640px) {
    .footer .footer-brand {
        text-align: left !important;
        margin-left: 0px;
    }
    .footer .social-links {
        justify-content: flex-start !important;
        margin-left: 0px !important;
    }
    .footer .contact-item {
        margin-left: 0px !important;
    }
}

@media (max-width: 632px) {
    .footer .footer-brand {
        text-align: left !important;
        margin-left: 0px;
    }
    .footer .social-links {
        justify-content: flex-start !important;
        margin-left: 0px !important;
    }
    .footer .contact-item {
        margin-left: 0px !important;
    }
    .footer-description {
        margin: 0 0 1.5rem !important;
    }
}
