/* Base Styles */
:root {
    --accent-color: #2d1d99;
    --footer-bg: #666666;
    --heading-color: #2f0965;
    --text-color: #2f0965;
    --primary-btn: #5b19ff;
    --secondary-btn: #1e5056;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-btn);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-btn);
    color: var(--white);
    border: 2px solid var(--primary-btn);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-btn);
}

.btn-secondary {
    background-color: var(--secondary-btn);
    color: var(--white);
    border: 2px solid var(--secondary-btn);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-btn);
}

.subtitle {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section {
    padding: 80px 0;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-btn);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--heading-color);
    transition: all 0.3s ease;
}

/* Banner Section */
.banner-section {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/banner-bg.jpg') no-repeat center center;
    background-size: cover;
}

.banner-content {
    max-width: 600px;
}

.banner-section .title {
    font-size: 48px;
    margin-bottom: 25px;
}

.banner-section .description {
    font-size: 18px;
    margin-bottom: 30px;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.tags span {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--light-gray);
    color: var(--accent-color);
    font-size: 14px;
    border-radius: 4px;
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 20px;
    padding: 0 20px;
    margin-top: 20px;
}

.service-card p {
    padding: 0 20px 25px;
    color: var(--dark-gray);
}

/* Why Us Section */
.why-us-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background-color: rgba(91, 25, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-btn);
    font-size: 30px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Stats Section */
.stats-section {
    padding: 70px 0;
    background-color: var(--accent-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card h3 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.rating {
    color: #ffc107;
}

.testimonial-card p {
    font-style: italic;
    color: var(--dark-gray);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-inner {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

.contact-info {
    flex: 1;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-btn);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 20px;
    color: var(--primary-btn);
    margin-right: 15px;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    color: var(--primary-btn);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-btn);
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    padding: 70px 0 0;
    color: var(--white);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-btn);
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
    font-family: 'Jost', sans-serif;
}

.newsletter-form button {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--primary-btn);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--white);
    color: var(--primary-btn);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Legal Pages */
.legal-content {
    padding: 150px 0 80px;
}

.legal-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.legal-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
}

.legal-content p, .legal-content li {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.legal-content th, .legal-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.legal-content th {
    background-color: var(--light-gray);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: var(--white);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content p {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept {
    background-color: var(--primary-btn);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-decline {
    background-color: transparent;
    color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}

/* Thank You Popup */
.thank-you-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-gray);
}

.logo-footer {
    font-size: 20px;
    border-bottom: 3px solid #fff;
}

.logo-header {
    font-size: 20px;
    font-weight: 800;
}

.icon {
    font-size: 30px;
    justify-content: center;
    display: flex;
    padding: 20px 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-inner, .contact-inner {
        flex-direction: column;
    }
    
    .about-image, .about-content {
        flex: none;
        width: 100%;
    }
    
    .title {
        font-size: 32px;
    }
    
    .banner-section .title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .banner-section {
        padding: 150px 0 80px;
    }
    
    .banner-section .title {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .banner-section .title {
        font-size: 30px;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .cookie-popup {
        max-width: calc(100% - 40px);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}