@font-face {
    font-family: 'Poppins', sans-serif;
    src: url('../../assets/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}
body {
    background-color: #FFFFFF;
    color: #111111;
    font-size: 16px; /* Base font size for better readability */
    line-height: 1.6;
}
input:focus,
textarea:focus {
    outline: none;
}
a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}
a:hover {
    color: #66CCFF;
}
.container {
    max-width: 100%; /* Full width for mobile */
    padding: 0 10px; /* Reduce padding for smaller screens */
}
button {
    background-color: transparent;
    color: white;
    border: none;
    padding: 12px 20px; /* Slightly larger padding for better touch targets */
    border-radius: 8px; /* More rounded corners for a modern look */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px; /* Thinner scrollbar */
}
::-webkit-scrollbar-track {
    background: #000000; /* Black track */
}
::-webkit-scrollbar-thumb {
    background: #66CCFF; /* Light blue thumb */
}
::-webkit-scrollbar-thumb:hover {
    background: #3399CC; /* Darker blue on hover */
}
html {
    scrollbar-color: #66CCFF #000000;
    scrollbar-width: thin;
}

/* Loading Page */
.loading-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 168, 255, 0.3);
    border-top-color: #00a8ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Contact Page Base */
.contact-page {
    width: 100%;
    padding: 1rem;
    background: #fff;
}

/* Header Section */
.contact-header {
    width: 100%;
    text-align: center;
    margin: 120px 0 3rem 0;
    padding: 0 1rem;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #66CCFF, #3399CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    font-size: 1.4rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Grid Layout */
.contact-grid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Contact Form Section */
.contact-form-section {
    width: 100%;
}

.form-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    order: 2; /* Map under form on mobile */
}

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

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(110%);
}

/* Form Container */
.form-container {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    order: 1; /* Form above map on mobile */
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #0066cc, #00ccff);
    border-radius: 2px;
}

/* Form Styles */
.form-group {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.form-group p,
.form-group label {
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    order: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    height: 45px;
    order: 2;
    color: #1a1a1a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

/* Custom Select Styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    padding-right: 2.5rem;
    cursor: pointer;
    position: relative;
}

.form-group .select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(50%);
    pointer-events: none;
    color: #666;
    transition: all 0.3s ease;
    z-index: 2;
}

.form-group select:focus ~ .select-arrow {
    color: #66CCFF;
    transform: translateY(50%) rotate(180deg);
}

/* Textarea Styling */
.form-group textarea {
    height: 150px;
    resize: none;
    padding: 1rem;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    width: 100%;
}

.faq-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0066cc, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-header p {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.faq-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
}

.faq-question {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.icon-line {
    position: absolute;
    background: #0066cc;
}

.icon-line:first-child {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.icon-line:last-child {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1rem;
    color: #666;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1rem 1rem;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Error Message */
.error-message {
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    color: #ff4444;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    order: 3; /* Error message goes last */
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(90deg, #66CCFF, #3399CC);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 1rem auto 0;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 204, 255, 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #66CCFF;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(102, 204, 255, 0.3);
    border-radius: 50%;
    border-top-color: #66CCFF;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (min-width: 576px) {
    .contact-page {
        padding: 1.5rem;
    }

    .contact-title {
        font-size: 3rem;
    }

    .contact-subtitle {
        font-size: 1.3rem;
    }

    .map-container {
        height: 350px;
    }
}

@media (min-width: 768px) {
    .contact-page {
        padding: 2rem;
    }

    .form-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .map-container {
        order: 1; /* Map on left for desktop */
    }

    .form-container {
        order: 2; /* Form on right for desktop */
    }

    .contact-header {
        margin: 150px 0 4rem 0;
    }

    .contact-title {
        font-size: 4rem;
    }

    .contact-subtitle {
        font-size: 1.6rem;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        gap: 4rem;
    }

    .contact-title {
        font-size: 3.5rem;
    }

    .map-container {
        height: 450px;
    }

    .faq-header p {
        max-width: 900px;
    }
}

@media (min-width: 1300px) {
    .contact-grid {
        min-width: 1200px;
    }

    .faq-header p {
        max-width: 1000px;
    }
}

/* Live Chat Styles */
.live-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.chat-toggle i {
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ff4757;
    border-radius: 50%;
    display: none;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 320px;
    height: 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-header {
    padding: 15px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar i {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.chat-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.8;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.close-chat i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.chat-messages {
    height: calc(100% - 120px);
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 15px;
    position: relative;
    animation: messageAppear 0.3s ease;
    font-size: 14px;
}

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

.message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-bottom-right-radius: 5px;
}

.message.bot {
    align-self: flex-start;
    background: #f1f1f1;
    color: #333;
    border-bottom-left-radius: 5px;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-time {
    font-size: 10px;
    opacity: 0.7;
}

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

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #6e8efb;
    border-radius: 50%;
    animation: typing 1s infinite;
}

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

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

@keyframes typing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.chat-input {
    padding: 15px;
    display: flex;
    gap: 10px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    border-radius: 0 0 15px 15px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 25px;
    outline: none;
    transition: all 0.3s ease;
    height: 40px;
}

.chat-input input:focus {
    border-color: #6e8efb;
    box-shadow: 0 0 0 2px rgba(110, 142, 251, 0.2);
}

.send-message {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.send-message i {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .chat-window {
        width: 85%;
        right: 7.5%;
        height: 60vh;
        bottom: 20px;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
    }
    
    .chat-toggle i {
        font-size: 20px;
    }

    .chat-input {
        padding: 8px;
    }

    .chat-input input {
        height: 35px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .send-message {
        width: 35px;
        height: 35px;
    }

    .send-message i {
        font-size: 16px;
    }

    .chat-header {
        padding: 12px;
    }

    .chat-avatar {
        width: 35px;
        height: 35px;
    }

    .chat-info h3 {
        font-size: 15px;
    }

    .chat-status {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .chat-window {
        width: 90%;
        right: 5%;
        height: 65vh;
        bottom: 15px;
    }

    .chat-header {
        padding: 10px;
    }

    .chat-avatar {
        width: 32px;
        height: 32px;
    }

    .chat-info h3 {
        font-size: 14px;
    }

    .chat-status {
        font-size: 10px;
    }

    .message {
        padding: 7px 10px;
        font-size: 13px;
    }

    .message-time {
        font-size: 9px;
    }

    .chat-input {
        padding: 7px;
    }

    .chat-input input {
        height: 32px;
        padding: 6px 10px;
        font-size: 13px;
    }

    .send-message {
        width: 32px;
        height: 32px;
    }

    .send-message i {
        font-size: 15px;
    }
}

@media (max-height: 600px) {
    .chat-window {
        height: 70vh;
    }
}

/* Callback Form Styles */
.callback-form-container {
    margin: 2rem auto;
    max-width: 500px;
}

.callback-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 204, 255, 0.1);
}

.callback-form h3 {
    color: #1e1e1e;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.callback-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #66CCFF, transparent);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #1e1e1e;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #66CCFF;
}

.submit-btn {
    background: #66CCFF;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #3399CC;
    transform: translateY(-2px);
}

.success-message {
    background: rgba(102, 204, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.success-message i {
    color: #66CCFF;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: #1e1e1e;
    font-size: 1.2rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .callback-form {
        padding: 1.5rem;
        margin: 1.5rem;
    }
}

@media (max-width: 480px) {
    .callback-form {
        padding: 1rem;
        margin: 1rem;
    }

    .callback-form h3 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}
