/* 
   Main Stylesheet for Tilavoseent - Financial Audit Services
   Color Palette:
   - Background: #0F0C29 (dark blue gradient with #302B63 and #24243E)
   - Accents: #E91E63 (bright pink), #FEC260 (warm gold)
   - Text: #FFFFFF, #E0E0E0 (for secondary text)
   - Buttons: gradient from #FF4E50 to #F9D423
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0F0C29, #302B63, #24243E);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FF4E50, #F9D423);
}

p {
    margin-bottom: 15px;
}

a {
    color: #FEC260;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E91E63;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

section {
    padding: 80px 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(to right, #FF4E50, #F9D423);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: linear-gradient(to right, #F9D423, #FF4E50);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #FEC260;
    color: #FEC260;
}

.btn-secondary:hover {
    background: rgba(254, 194, 96, 0.1);
    transform: translateY(-3px);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    color: #FEC260;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #FFFFFF;
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FEC260;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(to right, #FF4E50, #F9D423);
    padding: 10px 20px;
    border-radius: 25px;
    color: #FFFFFF !important;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-cta::after {
    display: none;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    background: linear-gradient(rgba(15, 12, 41, 0.8), rgba(48, 43, 99, 0.8)), url('../img/WdtEpW.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #E0E0E0;
    animation: fadeInUp 1.2s ease;
}

.hero .btn {
    animation: fadeInUp 1.4s ease;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text,
.about-image {
    flex: 1 1 450px;
}

/* Benefits Section */
.benefits {
    background: linear-gradient(135deg, #24243E, #302B63);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FEC260;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-item h3,
.service-item p,
.service-item .btn {
    padding: 0 20px;
}

.service-item h3 {
    margin-top: 20px;
}

.service-item .btn {
    margin: 20px 20px;
    display: inline-block;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, #0F0C29, #24243E);
}

.why-us-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-us-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.why-us-item h3 {
    color: #FEC260;
}

/* Process Section */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #FF4E50, #F9D423);
    z-index: -1;
}

.process-step {
    flex: 1 1 200px;
    text-align: center;
    padding: 0 15px;
    max-width: 250px;
    margin-bottom: 30px;
}

.step-number {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: linear-gradient(135deg, #FF4E50, #F9D423);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #302B63, #24243E);
}

.testimonials-slider {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex: 1 1 300px;
}

.testimonial-content {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 0;
    left: -10px;
    font-size: 5rem;
    color: rgba(254, 194, 96, 0.2);
    line-height: 1;
}

.testimonial-author h4 {
    color: #FEC260;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #E0E0E0;
    font-style: italic;
}

/* Contact Form Section */
.contact {
    background: linear-gradient(135deg, #24243E, #0F0C29);
}

.contact-form-container {
    max-width: 600px;
    margin: 50px auto 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(254, 194, 96, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Form Elements */
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FEC260' 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 15px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: #302B63;
    color: #FFFFFF;
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FEC260;
    box-shadow: 0 0 0 3px rgba(254, 194, 96, 0.3);
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
}

.checkbox-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    margin-top: 2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #FEC260;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #FEC260;
    border-color: #FEC260;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #0F0C29;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-group input[type="checkbox"]:hover {
    border-color: #E91E63;
    box-shadow: 0 0 5px rgba(254, 194, 96, 0.5);
}

.checkbox-group input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 194, 96, 0.3);
}

.checkbox-group label {
    margin-bottom: 0;
    line-height: 1.4;
    flex: 1;
    padding-top: 2px;
}

.contact-form button {
    width: 100%;
    font-size: 1.1rem;
}

/* Map Section */
.contact-map-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.contact-info-side {
    flex: 1 1 350px;
}

.map-container {
    flex: 1 1 500px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.address-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.address-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.address-item h3 {
    color: #FEC260;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.address-item h3 svg {
    width: 24px;
    height: 24px;
}

.address-item p {
    margin-bottom: 0;
    padding-left: 34px;
}

/* Footer */
.footer {
    background: #0F0C29;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 1 1 300px;
}

.footer-logo h2 {
    color: #FEC260;
    margin-bottom: 15px;
    font-size: 1.8rem;
    text-align: left;
}

.footer-logo h2::after {
    display: none;
}

.footer-contact,
.footer-links {
    flex: 1 1 200px;
}

.footer h3 {
    color: #FEC260;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    padding: 20px;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    flex: 1 1 600px;
    margin: 0;
}

.cookie-content button {
    flex: 0 0 auto;
}

/* Benefit Icons */
.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 50px;
    height: 50px;
}

/* Policy Pages Common Styling */
.policy-page {
    padding: 150px 0 80px;
}

.policy-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(254, 194, 96, 0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.policy-content h1 {
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.policy-date {
    text-align: right;
    margin-bottom: 30px;
    font-style: italic;
    color: #E0E0E0;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    color: #FEC260;
    font-size: 1.8rem;
    text-align: left;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-section h2::after {
    display: none;
}

.policy-section h3 {
    color: #E91E63;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.policy-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu (CSS-only) */
.menu-icon {
    width: 30px;
    height: 22px;
    position: relative;
    margin-left: auto;
    z-index: 1002;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #FEC260;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

/* Mobile Menu Animation */
.menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 12, 41, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1001;
        transition: right 0.3s ease;
        padding: 100px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .process-steps::after {
        display: none;
    }

    /* Make sure policy pages have consistent top padding */
    .policy-page {
        padding: 120px 0 60px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .process-step {
        flex: 0 0 100%;
        max-width: 100%;
    }
} 