/* 
   Styles for domain - Accounting Services Website
   Color Palette:
   - Background: gradient from #E8F5DB (light lime) to #FFE3E0 (warm coral)
   - Main colors: #B388EB (pastel purple), #FF7E67 (salmon), #4EA8DE (soft blue)
   - Text: #202124, headings: #343A40
   - Buttons: background #FFB703, text #ffffff
   - Accents and icons: #5FB49C
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    color: #202124;
    background: linear-gradient(135deg, #E8F5DB 0%, #FFE3E0 100%);
    background-attachment: fixed;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: #343A40;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #B388EB;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #4EA8DE;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #B388EB;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #343A40;
}

.logo span {
    color: #B388EB;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #343A40;
    font-weight: 600;
    position: relative;
}

nav ul li a:hover {
    color: #B388EB;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #B388EB;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #343A40;
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #FFB703;
    color: #ffffff !important;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #FF7E67;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-container {
    flex-direction: column;
    text-align: center;
}

.about-text {
    flex: 1;
    padding-right: 0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: #5FB49C;
    margin-bottom: 15px;
}

/* Services Section */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 2.5rem;
    color: #5FB49C;
    margin-bottom: 20px;
}

/* Why Us Section */
.why-us-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.why-us-card:hover {
    background-color: #B388EB;
    color: white;
    transform: translateY(-5px);
}

.why-us-card:hover h3 {
    color: white;
}

.why-us-icon {
    font-size: 2rem;
    color: #FF7E67;
    margin-bottom: 15px;
}

.why-us-card:hover .why-us-icon {
    color: white;
}

/* Testimonials Section */
.testimonials {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 80px 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: -10px;
    top: -20px;
    color: #B388EB;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
}

.author-position {
    font-size: 0.9rem;
    color: #666;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: #B388EB;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Form Section */
.form-section {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 50px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #B388EB;
    outline: none;
    box-shadow: 0 0 0 3px rgba(179, 136, 235, 0.1);
}

.form-icon {
    position: absolute;
    left: 20px;
    top: 15px;
    color: #5FB49C;
    font-size: 1.2rem;
}

.form-select {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23343A40" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 20px center;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #B388EB;
    outline: none;
    box-shadow: 0 0 0 3px rgba(179, 136, 235, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 15px;
    color: #5FB49C;
    font-size: 1.5rem;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #343A40;
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-logo span {
    color: #B388EB;
}

.footer-about {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    color: white;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #B388EB;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: #B388EB;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-accept {
    padding: 8px 20px;
    background-color: #FFB703;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-decline {
    padding: 8px 20px;
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 120px auto 50px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    margin-top: 40px;
}

/* Thank You Page */
.thank-you {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 120px 20px 50px;
}

.thank-you-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.thank-you h1 {
    margin-bottom: 20px;
}

.thank-you p {
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .contact-container {
        flex-direction: column;
    }
    
    .hero-text,
    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .services-container,
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 0 0 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .form-section {
        padding: 30px 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        height: 300px;
    }
}

/* Icons Using Unicode (instead of loading an icon library) */
.icon-phone:before {
    content: '📞';
}
.icon-email:before {
    content: '✉️';
}
.icon-address:before {
    content: '📍';
}
.icon-user:before {
    content: '👤';
}
.icon-service:before {
    content: '🛠️';
}
.icon-check:before {
    content: '✓';
} 