/* 
   Domain - Accounting Services Website
   Main Stylesheet
   Colors:
   - Background: #f5f7fa (warm gray-blue)
   - Accents: #ff5252 (coral-red), #303f9f (deep indigo)
   - Text: #333333
   - Buttons: gradient from #ff5252 to #303f9f
   - Icons and borders: #b0bec5
*/

/* ===== Base Styles ===== */
:root {
    --bg-color: #f5f7fa;
    --accent-1: #ff5252;
    --accent-2: #303f9f;
    --text-color: #333333;
    --border-color: #b0bec5;
    --white: #ffffff;
    --container-width: 1200px;
    --section-padding: 80px 0;
    --transition: all 0.3s ease;
}

* {
    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;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 40px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--accent-2);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-1);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    color: var(--white);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: var(--white);
}

/* ===== Header Styles ===== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: lowercase;
}

/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
}

.desktop-nav li {
    margin-left: 30px;
}

.desktop-nav a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.desktop-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    transition: var(--transition);
}

.desktop-nav a:hover:after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-wrapper {
    display: none;
}

.mobile-menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.mobile-menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-icon span:nth-child(1) {
    top: 0;
}

.mobile-menu-icon span:nth-child(2) {
    top: 8px;
}

.mobile-menu-icon span:nth-child(3) {
    top: 16px;
}

.mobile-menu-icon.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

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

.mobile-menu-icon.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    height: auto;
    padding: 20px 0;
}

.mobile-menu ul {
    padding: 0 20px;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    display: block;
    font-size: 1.2rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

/* ===== Hero Section ===== */
.hero {
    padding: 180px 0 100px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(to right, rgba(255, 82, 82, 0.1), rgba(48, 63, 159, 0.1));
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-text {
    flex: 1;
    animation: fadeInUp 1s ease;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: var(--transition);
    animation: fadeIn 1s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== About Section ===== */
.about {
    background-color: var(--bg-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    animation: fadeIn 1s ease;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: var(--transition);
}

.about-image:hover {
    transform: translateY(-10px);
}

/* ===== Services Section ===== */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top: 4px solid var(--accent-1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    color: var(--accent-1);
    font-size: 24px;
}

/* ===== Why Us Section ===== */
.why-us {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.why-us:before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(to right, rgba(255, 82, 82, 0.05), rgba(48, 63, 159, 0.05));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 15px;
    color: var(--accent-1);
    font-size: 2rem;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--white);
}

.testimonials-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 300px;
    flex: 0 0 calc(33.333% - 20px);
    background: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    scroll-snap-align: start;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial-name {
    font-weight: bold;
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--border-color);
}

.testimonial-rating {
    color: #ffc107;
    margin-top: 5px;
}

/* ===== FAQ Section ===== */
.faq {
    background-color: var(--bg-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
}

.faq-question:hover {
    background: linear-gradient(to right, rgba(255, 82, 82, 0.05), rgba(48, 63, 159, 0.05));
}

.faq-question span {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    background: var(--white);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info ul {
    margin-top: 30px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 15px;
    color: var(--accent-1);
    font-size: 1.5rem;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-2);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
}

/* ===== Map Section ===== */
.map {
    height: 400px;
    background: url('../img/wKv4FG.jpg') center center/cover;
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

/* ===== Footer Styles ===== */
footer {
    background-color: #2d3748;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-1);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-1);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Cookie Popup ===== */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    transition: var(--transition);
}

.cookie-popup.active {
    bottom: 0;
}

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

.cookie-content p {
    flex: 1;
    margin: 0;
}

.cookie-more {
    margin-left: 20px;
    color: var(--accent-2);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* ===== Policy Pages ===== */
.policy-page {
    padding: 150px 0 80px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 1s ease;
}

.policy-content {
    line-height: 1.8;
}

.policy-content h3 {
    margin-top: 30px;
}

/* ===== Thank You Page ===== */
.thank-you {
    padding: 150px 0 80px;
    text-align: center;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite ease-in-out;
}

.thank-you h1 {
    color: var(--accent-1);
}

.back-home {
    margin-top: 30px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-wrapper {
        display: block;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: 30px;
        max-width: 100%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .testimonial-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .policy-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content button {
        width: 100%;
    }
} 