/* 
* Devanoruthilo - Financial Audit Website
* Color Palette:
* - Main Background: #1E1B4B (deep indigo)
* - Accent Color: #FF6F59 (coral orange)
* - Secondary Accent: #3DDAD7 (mint turquoise)
* - Text: #FDFDFD (warm white), #CFCFCF (light gray)
* - Background Elements: indigo to turquoise gradients
*/

/* ========== GENERAL STYLES ========== */
:root {
    --color-indigo: #1E1B4B;
    --color-coral: #FF6F59;
    --color-turquoise: #3DDAD7;
    --color-white: #FDFDFD;
    --color-gray: #CFCFCF;
    --card-radius: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-indigo);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-turquoise);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-coral);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-coral);
    margin: 20px auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #ff5a40;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 111, 89, 0.2);
}

.btn-secondary {
    background-color: var(--color-turquoise);
    color: var(--color-indigo);
}

.btn-secondary:hover {
    background-color: #2cc7c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(61, 218, 215, 0.2);
}

/* Card Design */
.card {
    background: linear-gradient(135deg, rgba(40, 36, 91, 0.9) 0%, rgba(30, 27, 75, 0.8) 100%);
    border-radius: var(--card-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ========== HEADER STYLES ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(30, 27, 75, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-white);
    text-transform: lowercase;
    background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-turquoise) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo a {
    color: inherit;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-coral);
    transition: var(--transition);
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 100%;
}

.header-contact .phone {
    color: var(--color-turquoise);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
}

/* ========== HERO SECTION ========== */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(61, 218, 215, 0.2) 0%, rgba(30, 27, 75, 0) 60%);
    z-index: -1;
    animation: pulse 6s infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.5; transform: scale(0.8); }
    to { opacity: 0.8; transform: scale(1.2); }
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--color-gray);
}

/* ========== ABOUT SECTION ========== */
.about-grid {
    display: flex;
    gap: 30px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ========== SERVICES SECTION ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-turquoise) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--color-white);
}

.service-title {
    margin-bottom: 15px;
}

/* ========== FEATURES SECTION ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--color-turquoise);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 25px;
    height: 25px;
    fill: var(--color-indigo);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    margin-right: 30px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.author-position {
    font-size: 0.8rem;
    color: var(--color-gray);
}

/* ========== CONTACT FORM ========== */
.contact-form {
    background: linear-gradient(135deg, rgba(40, 36, 91, 0.9) 0%, rgba(30, 27, 75, 0.8) 100%);
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-family: inherit;
}

.form-select option {
    background-color: var(--color-indigo);
    color: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-turquoise);
    box-shadow: 0 0 0 2px rgba(61, 218, 215, 0.2);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-checkbox input {
    margin-right: 10px;
}

.form-checkbox label {
    font-size: 0.9rem;
}

.form-submit {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-turquoise) 100%);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--card-radius);
    transition: var(--transition);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 111, 89, 0.2);
}

/* ========== FAQ SECTION ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(40, 36, 91, 0.9) 0%, rgba(30, 27, 75, 0.8) 100%);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '▼';
    font-size: 12px;
    transition: var(--transition);
}

.faq-item.active .faq-question:after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* ========== NEWS SECTION ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    overflow: hidden;
}

.news-image {
    height: 200px;
    overflow: hidden;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-bottom: 10px;
}

.news-title {
    margin-bottom: 10px;
}

.news-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--color-coral);
}

/* ========== FOOTER STYLES ========== */
.site-footer {
    background-color: rgba(20, 18, 40, 0.9);
    padding: 80px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-turquoise) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company-desc {
    color: var(--color-gray);
    margin-bottom: 0;
}

.footer-column h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-turquoise);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-gray);
}

.footer-links a:hover {
    color: var(--color-coral);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========== COOKIE POPUP ========== */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 18, 40, 0.95);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
}

/* ========== POLICY PAGES ========== */
.policy-container {
    max-width: 900px;
    margin: 150px auto 80px;
    background: linear-gradient(135deg, rgba(40, 36, 91, 0.9) 0%, rgba(30, 27, 75, 0.8) 100%);
    border-radius: var(--card-radius);
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.policy-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.policy-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--color-turquoise);
}

.policy-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.policy-content p,
.policy-content ul,
.policy-content ol {
    margin-bottom: 20px;
}

.policy-content ul,
.policy-content ol {
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

.policy-date {
    margin-top: 40px;
    text-align: right;
    font-style: italic;
    color: var(--color-gray);
}

/* ========== THANK YOU PAGE ========== */
.thank-you {
    text-align: center;
    padding: 180px 0 100px;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--color-turquoise);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.thank-you-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-text {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 20px;
    border: 2px solid var(--color-turquoise);
    border-radius: var(--card-radius);
    background: rgba(61, 218, 215, 0.1);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .menu-toggle {
        font-size: 1.5rem;
        color: var(--color-white);
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(20, 18, 40, 0.95);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        padding: 20px;
        display: none;
    }
    
    .main-nav.mobile-open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .header-contact {
        display: none;
    }
    
    .header-contact.mobile-show {
        display: block;
        margin-top: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-input, .form-select, .form-textarea {
        padding: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .policy-container {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        min-width: 280px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
    }
    
    .policy-container {
        margin: 120px auto 50px;
        padding: 25px;
    }
    
    .policy-title {
        font-size: 2rem;
    }
}
