/*
 * Main Stylesheet for Accounting Services Website
 * Created for "domain"
 * 
 * Color Palette:
 * - Primary: #171B34 (dark indigo)
 * - Accent: #FF4081 (bright pink)
 * - Secondary: #F2F2F2 (light gray)
 * - Elements: #FFD54F (golden yellow), #212121 (text)
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #212121;
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #171B34;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FF4081;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #FF4081;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #171B34;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #FF4081;
    color: white;
    box-shadow: 0 4px 8px rgba(255, 64, 129, 0.3);
}

.btn-primary:hover {
    background-color: #e03069;
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #FF4081;
    border: 2px solid #FF4081;
}

.btn-secondary:hover {
    background-color: rgba(255, 64, 129, 0.1);
    color: #FF4081;
}

.btn-primary-outline {
    background-color: transparent;
    border: 2px solid #FF4081;
    color: #FF4081;
}

.btn-primary-outline:hover {
    background-color: #FF4081;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: #171B34;
    font-weight: 700;
}

.logo-svg {
    margin-right: 10px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    color: #171B34;
    font-weight: 500;
    position: relative;
}

.main-nav a:not(.btn):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF4081;
    transition: width 0.3s ease;
}

.main-nav a:hover:not(.btn):after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #171B34;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: rgba(23, 27, 52, 0.95);
    padding: 1rem;
    color: white;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s ease;
    opacity: 0;
}

.cookie-popup.show {
    bottom: 0;
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    margin-right: 1rem;
}

.cookie-content a {
    color: #FFD54F;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(23, 27, 52, 0.8), rgba(23, 27, 52, 0.9)), url('../img/IyzHRu.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 10rem 0 5rem;
    margin-top: 73px;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
    transform: translateY(20px);
    opacity: 0;
}

.hero .btn {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

/* About Section */
.about {
    background-color: #F2F2F2;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text, .about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #FF4081;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 64, 129, 0.1);
    border-radius: 50%;
}

.service-icon i {
    color: #FF4081;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    flex: 1;
    margin-bottom: 1.5rem;
}

.service-card .btn {
    align-self: center;
}

/* Icons using CSS */
[class^="icon-"] {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
}

.icon-tax::before {
    content: '📊';
}

.icon-book::before {
    content: '📒';
}

.icon-consult::before {
    content: '💼';
}

.icon-experience::before {
    content: '🏆';
}

.icon-personalized::before {
    content: '👤';
}

.icon-support::before {
    content: '📞';
}

.icon-tech::before {
    content: '💻';
}

.icon-phone::before {
    content: '📞';
}

.icon-location::before {
    content: '📍';
}

.icon-email::before {
    content: '✉️';
}

/* Why Choose Us Section */
.why-us {
    background-color: #171B34;
    color: white;
}

.why-us h2 {
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.feature h3 {
    color: white;
    font-size: 1.25rem;
}

.feature p {
    opacity: 0.8;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: #F2F2F2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 5rem;
    color: rgba(255, 64, 129, 0.2);
    font-family: 'Georgia', serif;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.testimonial-author p {
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25rem;
    flex: 1;
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-question.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: none;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(rgba(23, 27, 52, 0.9), rgba(23, 27, 52, 0.9)), url('../img/h5F2Ws.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.contact h2 {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: white;
}

.contact-info ul {
    margin-bottom: 2rem;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    margin-top: 4px;
}

.contact-image {
    margin-top: 2rem;
}

.contact-image img {
    border-radius: 8px;
    width: 100%;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #171B34;
    font-weight: 500;
}

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.contact-form .checkbox {
    display: flex;
    align-items: flex-start;
}

.contact-form .checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 6px;
}

.contact-form .checkbox label {
    margin-bottom: 0;
    flex: 1;
    font-weight: normal;
}

.contact-form .btn {
    width: 100%;
    padding: 1rem;
}

/* Footer */
.site-footer {
    background-color: #171B34;
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #FF4081;
}

.footer-col p, 
.footer-col li {
    opacity: 0.8;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: white;
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: #FF4081;
    padding-left: 5px;
}

.contact-list i {
    margin-right: 10px;
    color: #FF4081;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    margin: 0;
    font-size: 0.875rem;
}

/* Policy Pages */
.policy-page {
    margin-top: 73px;
    padding: 5rem 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    margin-bottom: 2rem;
}

.policy-content h2 {
    font-size: 1.75rem;
    text-align: left;
    margin-top: 3rem;
}

.policy-content h2:after {
    left: 0;
    transform: none;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 8rem 0;
    margin-top: 73px;
    background: linear-gradient(rgba(23, 27, 52, 0.9), rgba(23, 27, 52, 0.9)), url('../img/h5F2Ws.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}

.thank-you h1 {
    color: white;
    margin-bottom: 2rem;
}

.thank-you p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.check-icon {
    width: 100px;
    height: 100px;
    background-color: #FF4081;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: scaleIn 0.5s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 1100px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: white;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle.active + .main-nav {
    height: auto !important;
}
    
    .main-nav.active {
        height: auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
    }
}

@media (max-width: 700px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-content .btn {
        width: 100%;
    }
    
    .policy-content {
        padding: 2rem;
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 8rem 0 3rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
} 