/* Main styles for domain accounting services */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=PT+Sans:wght@400;700&display=swap');

/* Variables */
:root {
    --primary-color: #00B5E2;
    --bg-color: #F6F7F9;
    --accent-orange: #FF6F3C;
    --dark-gray: #2E2E2E;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PT Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--dark-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-orange);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
    scroll-margin-top: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--accent-orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--dark-gray);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-gray);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-text p {
    margin-bottom: 30px;
    font-size: 18px;
    animation: fadeInUp 1.2s ease;
}

.hero-image {
    flex: 1;
    text-align: right;
    animation: fadeIn 1.5s ease;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* About Section */
.about {
    background-color: var(--bg-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

/* Services Section */
.services {
    background-color: white;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 30px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Benefits Section */
.benefits {
    background-color: var(--bg-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-image {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.benefit-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.benefit-item:hover .benefit-image img {
    transform: scale(1.05);
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Info Section */
.info-section {
    background-color: white;
}

.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-box {
    padding: 20px;
    border-left: 3px solid var(--primary-color);
    background-color: var(--bg-color);
    border-radius: 0 10px 10px 0;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-color);
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
}

.faq-question-btn {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
}

.faq-close-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 12px;
    display: block;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
}

.faq-question {
    padding: 20px;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    text-align: left;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-icon {
    font-size: 20px;
    transition: var(--transition);
}

.faq-icon.active {
    transform: rotate(180deg);
}

/* Contact Form */
.contact {
    background-color: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 181, 226, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    margin-top: 5px;
    margin-right: 10px;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    z-index: 1001;
    max-width: 400px;
    width: 90%;
    text-align: center;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: fadeIn 0.5s forwards;
}

.cookie-btn {
    margin-top: 15px;
}

/* Policy pages */
.policy-page {
    padding: 120px 0 60px;
}

.policy-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border: 1px solid #eee;
}

.policy-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.policy-content h2 {
    margin-top: 40px;
    color: var(--primary-color);
}

.policy-content p, .policy-content ul {
    margin-bottom: 20px;
}

.policy-content ul {
    padding-left: 20px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 150px 0 80px;
}

.thank-you-content {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 40px;
    border: 1px solid var(--primary-color);
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background-color: white;
    z-index: 1002;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    text-align: right;
    margin-bottom: 20px;
}

.mobile-menu-close button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-toggle-form {
    display: contents;
}

.overlay-form {
    margin: 0;
    padding: 0;
}

.mobile-nav-menu {
    list-style: none;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    color: var(--dark-gray);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle-form {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 130px 0 70px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .service-card {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .contact-form {
        padding: 25px;
    }
}
