/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    margin-right: 10px;
    z-index: 1001;
}

.logo-container img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-container:hover img {
    transform: scale(1.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    transition: color 0.3s;
}

.nav-links li a:hover, .nav-links li a.active {
    color: #ff6b6b;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links li a {
        font-size: 1.2em;
    }
}

/* Landing Section */
.landing {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #e6f2ff 0%, #b3d9ff 100%);
    padding: 0 20px;
    text-align: center;
}

.landing h1 {
    font-size: 4em;
    margin-bottom: 20px;
    color: #333;
}

.landing h2 {
    font-size: 2em;
    color: #666;
}

/* Responsive Landing */
@media (max-width: 768px) {
    .landing {
        padding-top: 70px;
    }

    .landing h1 {
        font-size: 2.5em;
    }

    .landing h2 {
        font-size: 1.5em;
    }
}

.floating-calculations {
    position: absolute;
    width: 100%;
    height: 100%;
}

.calculation {
    position: absolute;
    font-size: 1.2em;
    color: rgba(0, 0, 0, 0.2);
    animation: float 10s ease-out forwards;
    font-family: 'Arial', sans-serif;
    z-index: 1;
    white-space: nowrap;
}

/* Different styles for different types of tax calculations */
.tax-form {
    color: rgba(25, 25, 112, 0.5); /* Midnight blue */
    font-weight: bold;
    font-size: 1.4em;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5);
}

.tax-percentage {
    color: rgba(178, 34, 34, 0.5); /* Firebrick */
    font-weight: bold;
    font-size: 1.6em;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5);
}

.tax-amount {
    color: rgba(0, 100, 0, 0.5); /* Dark green */
    font-weight: bold;
    font-size: 1.5em;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5);
}

.tax-calculation {
    color: rgba(75, 0, 130, 0.5); /* Indigo */
    font-style: italic;
    font-size: 1.3em;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5);
}

.tax-term {
    color: rgba(184, 134, 11, 0.6); /* Dark goldenrod */
    font-weight: bold;
    font-size: 1.4em;
    text-transform: uppercase;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5);
}

/* About Teaser Section */
.about-teaser {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.about-teaser h2 {
    margin-bottom: 20px;
    color: #333;
}

.about-teaser p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1em;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
}

.about-image {
    max-width: 800px;
    margin: 0 auto 50px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* GIF Container for About Page */
.gif-container {
    max-width: 400px; /* Half of the original 800px */
    margin: 0 auto 50px;
    text-align: center;
}

.gif-container img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gif-container:hover img {
    transform: scale(1.05);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

/* About Page Styles */
.page-header {
    padding: 150px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, #e6f2ff 0%, #b3d9ff 100%);
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #333;
}

.page-header p {
    font-size: 1.2em;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-page {
    padding: 80px 0;
    background: #fff;
}

.about-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-icon {
    margin: 20px 0 30px;
    text-align: center;
}

.about-icon i {
    font-size: 3rem;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 25px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.15);
}

.about-card:hover .about-icon i {
    transform: scale(1.1);
    background: rgba(255, 107, 107, 0.2);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.25);
}

.team-section {
    margin: 80px 0;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    color: #333;
    margin-bottom: 5px;
}

.team-title {
    color: #ff6b6b;
    font-weight: bold;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .team-member {
        flex-direction: row;
        text-align: left;
    }

    .team-photo {
        margin-right: 30px;
        margin-bottom: 0;
    }

    .team-info {
        flex: 1;
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

@media (max-width: 768px) {
    .services {
        padding: 60px 20px;
    }

    .services h2 {
        font-size: 1.8em;
    }

    .services-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #ff6b6b;
    margin-bottom: 15px;
}

.service-icon {
    margin: 20px 0 30px;
    text-align: center;
}

.service-icon i {
    font-size: 3rem;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 25px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.15);
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
    background: rgba(255, 107, 107, 0.2);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.25);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 20px;
    background: #fff;
}

.testimonial-slider {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: center;
}

.testimonial {
    color: #ff6b6b;
    font-style: italic;
    display: none;
    padding: 0 15px;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 20px;
    }

    .testimonials h2 {
        font-size: 1.8em;
    }

    .testimonial-slider {
        margin-top: 30px;
    }
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: #f9f9f9;
}

.contact-container {
    max-width: 600px;
    margin: 50px auto 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input, select, textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

textarea {
    height: 150px;
}

button {
    padding: 15px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background: #ff5252;
}

.date-time-picker {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 20px;
    }

    .contact h2 {
        font-size: 1.8em;
    }

    .contact-container {
        margin-top: 30px;
    }

    .date-time-picker {
        flex-direction: column;
    }
}

/* Date Time Picker Styles */
.date-time-picker {
    display: flex;
    gap: 20px;
}

.date-time-picker input[type="date"],
.date-time-picker select {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.date-time-picker input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 5px;
}

/* Footer */
footer {
    padding: 30px 20px;
    background: #333;
    color: #fff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin-left: 20px;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ff6b6b;
}

@media (max-width: 768px) {
    footer {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .social-links {
        margin-top: 10px;
    }

    .social-links a {
        margin: 0 10px;
    }
}

/* Animations */
@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    10% {
        opacity: 0.2;
    }
    20% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
        transform: translateY(-30px) scale(1);
    }
    80% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0.9);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Form validation styles */
.error-message {
    color: #ff3333;
    font-size: 0.875em;
    margin-top: 5px;
    animation: slideIn 0.3s ease-in-out;
}

input.error, select.error {
    border-color: #ff3333;
    background-color: #fff8f8;
}

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

/* Chat Button and Window Styles */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ff6b6b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .chat-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .chat-window {
        bottom: 80px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: 350px;
    }
}

.chat-window.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.chat-header {
    background-color: #ff6b6b;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    color: white;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.4;
}

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

.message.user {
    background-color: #ff6b6b;
    color: white;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
}

.chat-input button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.chat-input button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
