/* 
   Domain Accounting Services Website Styles
   Colors:
   - Background: #f1f8f6 (minted pastel)
   - Headings: #253041 (dark graphite)
   - Accents: #f9690e (mandarin) and #16a085 (sea wave)
   - Text: #2d3436 (dark gray)
   - Buttons: gradient from #16a085 to #f9690e
*/

/* ---------- Base Styles ---------- */
:root {
    --bg-color: #f1f8f6;
    --heading-color: #253041;
    --text-color: #2d3436;
    --accent-1: #f9690e;
    --accent-2: #16a085;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-2), var(--accent-1));
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--accent-2);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-1);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 4rem 0;
}

/* ---------- Cookie Popup ---------- */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 9999;
    transition: transform 0.3s ease-in-out;
    transform: translateY(100%);
}

.cookie-popup.show {
    transform: translateY(-100px);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-button {
    background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.cookie-button:hover {
    opacity: 0.9;
}

/* ---------- Header ---------- */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 15px; /* Reduced padding from 1.2rem to 0.8rem */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo span {
    color: var(--heading-color);
    font-weight: 700;
    font-size: 1.3rem; /* Reduced font size from 1.5rem to 1.3rem */
    margin-left: 0.5rem;
}

/* Main Navigation */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 24px;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--heading-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--heading-color);
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-1);
    transition: width 0.3s;
}

.nav-menu li a:hover {
    color: var(--accent-1);
}

.nav-menu li a:hover:after {
    width: 100%;
}

/* ---------- Hero Section ---------- */
.hero {
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.1), rgba(249, 105, 14, 0.1));
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    animation: fadeDown 1s ease-in-out;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeUp 1.4s ease-in-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- About Section ---------- */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Benefits Section ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.benefit-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--accent-2), var(--accent-1));
}

/* ---------- Services Section ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.1), rgba(249, 105, 14, 0.1));
    border-radius: 50%;
    color: var(--accent-2);
}

.service-icon svg {
    width: 48px;
    height: 48px;
}

/* ---------- Process Section ---------- */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    counter-reset: step;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    border-radius: 50%;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* ---------- Team Section ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.team-member h3, .team-member p {
    text-align: center;
    padding: 0.5rem;
}

.team-member p {
    color: var(--accent-2);
    font-weight: 600;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.05), rgba(249, 105, 14, 0.05));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 10px;
    color: rgba(22, 160, 133, 0.2);
    font-family: Georgia, serif;
}

.quote {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    font-style: italic;
}

.client {
    font-weight: 600;
    color: var(--heading-color);
}

/* ---------- Contact Section ---------- */
.contact {
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.05), rgba(249, 105, 14, 0.05));
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(22, 160, 133, 0.2), 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--heading-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-2);
    outline: none;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #253041;
    color: #f1f8f6;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.footer-about p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-contact ul,
.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-contact ul li,
.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-legal a {
    color: #f1f8f6;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}

.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--accent-1);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ---------- Policy Pages ---------- */
.policy-section {
    padding: 4rem 0;
}

.policy-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.policy-content h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-2), var(--accent-1));
    transform: translateX(-50%);
}

.policy-date {
    font-style: italic;
    color: #777;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-block {
    margin-bottom: 2rem;
}

.policy-block h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.policy-block h2:after {
    left: 0;
    transform: none;
}

.policy-block h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.policy-block ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ---------- Thank You Page ---------- */
.thanks-section {
    padding: 6rem 0;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.check-icon {
    margin: 2rem 0;
}

.back-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.back-button:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .menu-toggle:checked ~ .nav-menu {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        gap: 0;
        transition: right 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem 2rem;
        z-index: 99;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .process-steps {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-group.checkbox {
        align-items: flex-start;
    }
    
    .form-group.checkbox input {
        margin-top: 5px;
    }
} 