body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #333333;/*dark grey for text*/
}

header {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
   /* padding: 20px;*/
    margin-top: 5px;
    margin-bottom: 0;
    margin-left: 10px;
    margin-right: 20px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Container for both logos */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between logos */
}

/* Styling for Raven Management Logo */
.raven-logo img {
    height: auto;
    max-height: 90px; /* Adjust size to fit your preference */
    width: auto;
}

/* Styling for Laxmi Advisory Logo */
.laxmi-logo img {
    height: auto;
    max-height: 65px; /* Adjust the height to make it appear more equal */
    width: auto;
}

/* Align logo to the left and logo do not stretch */
.logo {
    flex: 0 0 auto; /* Do not grow or shrink */
}

/* Center navigation links */
.header-nav {
    flex: 1; /* Allow it to grow and fill the space */
    text-align: center; /* Center the navigation links */
}

.header-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
}

.header-nav ul li {
    margin-left: 20px;
}

.header-nav ul li a {
    text-decoration: none;
    color: black;
    transition: color 0.3s;
    font-family: 'Roboto', sans-serif;
    font-weight: 500; /* Adjust the weight for emphasis */
    font-size: 16px; /* Adjust as needed for readability */
}

.header-nav ul li a:hover {
    color: #03a9f4;
}

main {
    padding: 20px;
}

h1 {
    color: #0056b3;
}

h2 {
    text-align: center;
    color: #0056b3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}


p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 1.5em;
    color: #333333;
    letter-spacing: 0.5px;       /* Adds subtle space between letters */
    /*text-align: justify;         /* Justifies text for a clean block appearance */
}

@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Align items to the left */
    }
    
    .logo-container {
        display: flex;
        flex-direction: column; /* Stack logos vertically */
        align-items: center; /* Center logos */
        gap: 10px; /* Space between the logos */
    }

    /* Styling for Raven Management Logo */
    .raven-logo img {
        max-height: 70px; /* Adjust for mobile view */
        width: auto;
    }

    /* Styling for Laxmi Advisory Logo */
    .laxmi-logo img {
        max-height: 50px; /* Adjust for mobile view */
        width: auto;
        padding-bottom: 9px;
    }

    .header-nav {
        text-align: center; /* Keep nav centered */
    }

    .header-nav ul {
        flex-direction: column; /* Stack nav items vertically */
        width: 100%; /* Full width */
    }

    .header-nav ul li {
        margin: 10px 0; /* Vertical margin for better spacing */
    }
}

/* Home Section */

.home-section {
    margin-bottom: 40px;
    /*padding: 40px 0;*/

}

.home-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*align-items: flex-start;*/
    gap: 10px;
}

.home-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.8); /* Light overlay for contrast */

}

.home-image img {
    width: 100%;
    max-width: 400px; /* Max width for larger screens */
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 2px solid gold; /* Add border with desired color and thickness */
}

.home-content {
    flex: 1;
    padding-left: 20px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Center the name */
.home-content h1 {
    font-size: 1.5em;
    font-weight: bold;
    text-align: left; /* Center align for name */
    margin-bottom: 15px;
    color: #0056b3;
    font-family: 'Roboto', sans-serif; /* Clean, modern sans-serif font */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.home-content h2 {
    font-size: 1.2em;
    text-align: left; /* Left align for title */
    margin-bottom: 0px;
    color: #333333;
}

.home-content h3 {
    font-size: 1.2em;
    text-align: left; /* Left align for title */
    margin-bottom: 15px;
    color: #333333;
}

.tax-agent-title, .asic-agent-title {
    /*font-weight: bold;*/
    font-size: 1.1em;
    margin: 5px 0;
    margin-bottom: 0;
    text-align: left;
    color: #333333;
    font-style: italic;          /* Adds the slanted style */
    font-weight: 500;            /* Slightly bolder to balance the italics */
    letter-spacing: 0.5px;       /* Adds subtle spacing between letters */
}

.registration-number {
    color: #333333;
    margin: 5px 0;
    text-align: left;
    margin-bottom: 20px;
    font-style: italic;          /* Adds the slanted style */
    font-weight: 400;            /* Slightly bolder to balance the italics */
    letter-spacing: 0.5px;       /* Adds subtle spacing between letters */
}


.verify-link {
    font-size: 1em;
    color: #03a9f4;
    text-decoration: underline;
    margin-left: 5px;
    display: inline-block;
}

/* Spacing and readability for paragraph */
.home-content p {
    /*margin: 10px 0;
    line-height: 1.2; /* Improve readability */
    /*text-align: center; /* Center align paragraph */
    letter-spacing: 0.5px;
    text-align: justify; /* Add this for justified text */
}

.testimonials {
    margin-top: 20px;
    /*overflow: hidden;*/
    position: relative; /* Necessary for positioning */
    /*height: auto; /* Set a fixed height for the testimonials section */
   /* padding-bottom: 30px; /* Space for buttons */
}

.testimonial-container {
    display: flex;
    width: 100%; /* Full width */
    transition: transform 0.5s ease; /* Smooth transition for opacity */
}

.testimonial {
    min-width: 100%;
    padding: 5px; /* Add padding for better spacing */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background-color: #3ddae033; /* light gray background for testimonials */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center text */
}


.testimonial.active {
    display: block; /* Show active testimonial */
}


.testimonial:not(.active) {
    display: none; /* Hide non-active testimonials */
} 

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

.testimonial p {
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    font-style: italic;
    color: #555555; /* A softer shade to match the elegant feel */
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin-bottom: 1.2em;
}

/*button.prev, button.next {
    background-color: #03a9f4;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin: 5px 5px;
    transition: background-color 0.3s
}

button.prev:hover, button.next:hover {
    background-color: #0288d1;
}
*/

.testimonial-buttons {
    text-align: center;
    margin-top: 10px;
}


button {
    margin-right:40px;
    background-color: #1df403 !important; /* Forces this style */
    color: #110404 !important; /* Forces this style */
}

/* Call to Action Button */
.cta-button {
    display: flex;
    justify-content: center; /* Centers the text inside the button */
    align-items: center; /* Vertically centers text */
    width: fit-content; /* Ensures the button only takes up as much space as needed */
    background-color: #03a9f4;
    margin: 0 auto; /* Centers the button within its parent */
    color: white;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Optional hover effect for CTA button */
.cta-button:hover {
    background-color: #0288d1;
}

/* Ensure that images and content are proportionate on desktop */
@media (min-width: 769px) {
    .home-container {
        align-items: stretch; /* Make content and image equal height */
    }

    .home-image img {
        height: auto;
        /*max-height: 500px; /* Set a max-height so it doesn’t get too large on large screens */
        width: 100%;
        object-fit: cover; /* Ensure the image covers the available space without distortion */
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .home-container {
        flex-direction: column;
        align-items: center;
	padding: 10px;
    }

    /* Center the h1 on mobile */
    .home-content h1 {
        text-align: center;
    }

    /* Align paragraphs or the intro text to the left */
    .home-content p {
        text-align: left;
    }


    .home-image, .home-content {
        width: 100%;
	text-align: center;
    }

    /*.testimonials {
        height: auto; /* Allow height to adjust for smaller screens 
    }
*/
    .testimonial {
        padding: 10px; /* Reduced padding on mobile */
     }
}


/*  service section layout */
.services-container {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    justify-content: space-around; /* Space out items */
}

/* Styles for each service item */
.service-item {
    font-family: 'Poppins', sans-serif;
    flex: 1 1 300px; /* Flexible width with a minimum of 300px */
    margin: 10px; /* Margin around each item */
    padding: 5px; /* Padding inside each item */
    background-color: #f9f9f9; /* light background for items */
    border: 1px solid #ddd; /* Light border around items */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}


/* Hover effect /* Hover effect for both desktop and mobile (via JS) */
.service-item.hover,
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    background-color: #e0f7fa;
    border-color: #4CAF50; /* Add a bright green border */
}


/* Optional: Text color change on hover */
.service-item.hover h3,
.service-item.hover ul li,
.service-item:hover h3,
.service-item:hover ul li {
    color: black; /* Gold text color */
}


.service-item ul li::before {
    content: "✔"; /* Custom bullet icon */
    color: #0056b3; /* Change color to match your theme */
    position: absolute; /* Position the icon */
    left: 0; /* Align to the left */
}


/* Adjustments for small screens */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
	padding: 0;
    }

    .service-item {
        width: 90%; /* Full width on small screens */
        margin: 5px 0; /* Margin above and below */
	padding-bottom: 0;
    }
}

/* Bullet point styling */
.service-item ul {
    /*margin-left: 20px;*/
    padding:0;
    list-style-type: none; /* Remove default bullet points */
}

.service-item ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}


/*about us section layout start*/

.about-section {
    display: flex;
    flex-direction: column; /* Stack each container vertically */
    align-items: center;
    gap: 40px; /* Space between the two company sections */
    padding: 40px 0;
    width: 100%;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: #f8f8f8; /* Light gray for about section */
    padding: 20px; /* Padding for spacing */
    width: 100%; /* Full width */
    max-width: 1200px; /* Prevent too wide layout */
}

.about-left {
    flex: 1;
    /*display: flex;
    /*justify-content: center; /* Center the logo in the left section */
}

.about-logo img {
    max-width: 300px; /* Adjust logo size as needed */
    width: 100%; /* Make the logo responsive */
    height: auto;
    border-radius: 8px;
}


.about-right {
    flex: 1;
    /*padding-left: 30px;
}

.about-content {
    text-align: left;
    max-width: 600px; /* Limit the content width for better readability */
}

.about-content p {
    margin-bottom: 20px; /* Space between paragraphs */
    letter-spacing: 0.5px;
    text-align: justify; /* Add this for justified text */
}

.company-link {
    color: #03a9f4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: #0288d1;
}

/* Responsive design for About Us section */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        align-items: center;
	padding: 0 20px; /* Add smaller padding for mobile */
    }

    .about-left, .about-right {
        flex: unset;
        text-align: center; /* Center content for mobile */
    }

    .about-logo img {
        max-width: 160px; /* Adjust logo size for smaller screens */
        margin-bottom: 15px;
    }

    .about-right {
        padding-left: 0;
    }

    .about-content {
        max-width: 100%;
    }
}

/* Styling for desktop (larger screens) */
@media (min-width: 768px) {
    .about-container {
        flex-direction: row; /* Horizontal layout */
        justify-content: flex-start;
        text-align: center; /* Left-align content */
        gap: 20px; /* Adjust the gap for desktop view */
    }

    .about-left, .about-right {
        flex: 1;
    }

    .about-logo img {
        width: auto; /* Make sure the logo fits within its container */
        max-width: 250px; /* Adjust max width to control logo size */
    }

    .about-right {
	padding-left: 20px; /* Reduce padding further to close gap */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center content vertically */
    }
}

/*footer layout start*/
footer {
    background-color: white;/*white background*/
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    color: black;/*text color as black*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Footer Navigation */

.footer-nav {
    /*background-color: #121212; /* Dark background for nav links */
    padding: 10px 0; /* Padding around nav links */
}

.footer-nav ul {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    display: flex; /* Flexbox for horizontal alignment */
    justify-content: center; /* Center the navigation items */
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.footer-nav ul li {
    margin: 0 15px; /* Space between navigation items */
}

.footer-nav ul li a {
    color: black; /* black text for nav links */
    text-decoration: none; /* Remove underline from links */
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.footer-nav ul li a:hover {
    text-decoration: underline; /* Underline on hover */
}

.icon-container {
    display: flex;
    justify-content: center;
    padding: 0 0; /* Padding around icons */
    margin: 0 0;
    flex-wrap: wrap; /* Allow wrapping if the icons don't fit in a row */
}

.icon {
    margin: 0 15px; /* Space between icons */
    flex: 0 0 auto; /* Prevent flex item from growing/shrinking */
}

/* Custom dimensions for each logo */
.tax-logo {
    height: 180px; /* Custom height for tax logo */
    width: 190px; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image is contained within dimensions */
}

.cpa-logo {
    height: 160px; /* Custom height for CPA logo */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image is contained within dimensions */
}

.xero-logo {
    height: 160px; /* Custom height for Xero logo */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image is contained within dimensions */
}


.ntaa-logo {
    height: 150px; /* Custom height for Xero logo */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image is contained within dimensions */
}

footer p {
    color: black; /* White text for copyright */
    margin: 0px 0 0; /* Margin to separate from icons */
    padding: 0px 0; /* Padding for copyright text */
}


@media (min-width: 600px) {
    .ntaa-logo {
        height: 140px; /* Custom height for NTAA logo on desktop */
        width: auto;
        object-fit: contain;
    }
}

/* Media Queries */
@media (max-width: 600px) {
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-nav ul li {
        margin: 10px 0;
    }

    .icon-container {
        flex-direction: column; /* Stack icons vertically on smaller screens */
        padding: 0;
    }

    .icon {
        height: 80px; /* Adjust icon size for mobile */
        width: auto;
    }

    .tax-logo {
        height: 160px; /* Adjust tax logo for mobile */
    }

    .cpa-logo {
        height: 130px; /* Adjust CPA logo for mobile */
    }

    .xero-logo {
        height: 90px; /* Adjust Xero logo for mobile */
	margin-top: 20px;
    }

    .ntaa-logo {
        height: 90px; /* Adjust Xero logo for mobile */
	margin-top: 40px;
    }

    footer p {
        padding: 15px 0;
        font-size: 14px;
    }
}

/* contact form page style*/


.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.contact-details, .contact-form {
    flex: 1;
    min-width: 280px; /* Ensure it works for smaller screens */
}

.contact-details {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
}

.contact-details p {
    margin: 15px 0;/*Increase space between email, phone, and address */
}

/* Google Maps container styling */
.map-container {
    margin-top: 5px;
    border-radius: 5px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 300px; /* Default height for mobile view */
    border: none;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin: 10px 0 5px;
}

input, textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    background-color: #f3d0d0;
    color: black;
}

button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #03a9f4;
    color: #ffffff;
    cursor: pointer;
    margin-top: 20px;
    width: fit-content;
}

button:hover {
    background-color: #0288d1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .map-container iframe {
        height: 300px; /* Set height for mobile view */
    }
}

/* Specific styling for desktop (larger screens) */
@media (min-width: 768px) {
    .map-container iframe {
        width: 600px;  /* Set width for desktop view */
        height: 210px; /* Set height for desktop view */
    }
}


/*animiation section*/
/* Initial state of animated elements */
.animate-left {
    opacity: 0;
    transform: translateX(-50px); /* Change to translateX(50px) for right side animations */
    transition: transform 1.8s ease-out, opacity 1.2s ease-out;
}



.animate-right {
    opacity: 0;
    transform: translateX(50px); /* Change to translateX(50px) for right side animations */
    transition: transform 1.8s ease-out, opacity 1.2s ease-out;
}
/* When the element is visible, apply this class */
.show {
    opacity: 1;
    transform: translateX(0);
}

