/* 
 * Domain.com Financial Audit Services 
 * Main stylesheet
 */

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
    font-size: 16px;
    font-family: 'Poppins', Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #1C2541 0%, #0B9D78 100%);
    color: #FFFFFF;
    line-height: 1.6;
    min-height: 100vh;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #FFD75E;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF6F3C;
    text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #B537F2;
    margin-top: 0.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 5rem 0;
    position: relative;
}

/* Diagonal Sections */
.diagonal-section {
    position: relative;
    z-index: 1;
}

.diagonal-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 38, 65, 0.7);
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #FFD75E;
    color: #2D2D2D;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #B537F2;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #FFD75E;
    color: #FFD75E;
}

.btn-secondary:hover {
    background-color: #FFD75E;
    color: #2D2D2D;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(28, 37, 65, 0.95);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #6178c1, #B537F2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: #FFFFFF;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: #FFD75E;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #B537F2;
    transition: width 0.3s ease;
}

.nav-menu a:hover:after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #FFFFFF;
    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: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 37, 65, 0.8);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;margin: 0 auto;}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background-color: rgba(28, 37, 65, 0.8);
    position: relative;
    overflow: hidden;
}

.about:after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(181, 55, 242, 0.1);
    z-index: -1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: #FFD75E;
}

/* Advantages Section */
.advantages {
    background-color: rgba(11, 157, 120, 0.1);
}
.advantages-container {
    display: grid;
        grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
        gap: 20px;
}
.advantage-item {
    display: flex
;
    align-items: center;
    margin-bottom: 2rem;
    background: #1C2843;
    flex-direction: column;
    padding: 0.5rem 2rem;
    border-radius: 2rem;
}

.advantage-icon {
    background-color: rgba(181, 55, 242, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.advantage-icon svg {
    width: 30px;
    height: 30px;
    fill: #FFD75E;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 5rem;
    font-weight: 700;
    opacity: 0.1;
    color: #FFD75E;
}

.step-card h3 {
    position: relative;
    z-index: 2;
}

/* Testimonials */
.testimonials {
    background: rgba(28, 37, 65, 0.9);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.testimonial-text {
    position: relative;
    padding-left: 2rem;
}

.testimonial-text:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 4rem;
    color: #B537F2;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-position {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Contact Form */
.contact {
    position: relative;
}
option {
    background-color: #0B9D78;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #B537F2;
    background-color: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

.form-check-label {
    font-size: 0.9rem;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFD75E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 40px;
}

/* FAQ Section */
.faq {
    background-color: rgba(11, 157, 120, 0.1);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-answer {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 0 5px 5px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer-inner {
    padding: 1rem;
}

/* FAQ Accordion using CSS */
.faq-toggle {
    display: none;
}

.faq-toggle-icon {
    transition: transform 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1rem;
}

.faq-toggle:checked + .faq-question .faq-toggle-icon {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background-color: #1C2541;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #FFD75E;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}


/* Thank You Page */
.thank-you-container {
    max-width: 600px;
    margin: 8rem auto 5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 8rem auto 5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-container h2 {
    color: #FFD75E;
}

.policy-container h3 {
    color: #FF6F3C;
    margin-top: 2rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(28, 37, 65, 0.95);
    padding: 1.5rem;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    margin-right: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #1C2541;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-out;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .menu-toggle:checked ~ .nav-menu {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .advantage-item {
        flex-direction: column;
    }
    
    .advantage-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 400px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
