/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --dark-color: #121212;
    --light-color: #f8f9fa;
    --text-color: #ffffff;
    --card-bg: rgba(25, 25, 25, 0.8);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Stars Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    max-width: 1160px;
    z-index: 100;
    transition: var(--transition);
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 0 0 15px 15px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid transparent;
    background-origin: border-box;
    background-clip: content-box, border-box;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    transition: transform 0.5s ease;
}

.hero h1:hover {
    transform: scale(1.05);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.service {
    padding: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.service:hover {
    color: var(--primary-color);
}

.separator {
    color: var(--primary-color);
    font-weight: bold;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn.secondary {
    border: 2px solid var(--primary-color);
    color: var(--text-color);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.services h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    bottom: -15px;
    left: 25%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.service-card:hover:before {
    opacity: 0.1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #ccc;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.contact h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    bottom: -15px;
    left: 25%;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--card-bg);
    padding: 20px 30px;
    border-radius: 10px;
    min-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    top: 100%;
    left: 0;
    transition: top 0.3s ease;
    z-index: -1;
}

.social-icon:hover:before {
    top: 0;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(360deg);
    color: white;
}

/* Tax Info Section */
.tax-info {
    padding: 100px 0;
    text-align: center;
}

.tax-info h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.tax-info h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    bottom: -15px;
    left: 25%;
}

.tax-info-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.tax-info-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tax-info-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.tax-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tax-info-card:hover:before {
    opacity: 0.05;
}

.tax-info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.tax-info-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.tax-info-item:last-child {
    border-bottom: none;
}

.tax-label {
    font-weight: 600;
    min-width: 150px;
    color: var(--secondary-color);
}

.tax-value {
    flex: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    background-color: rgba(18, 18, 18, 0.8);
    margin-top: 50px;
}

/* Cursor Effects */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.5);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: screen;
}

.cursor-dot {
    position: fixed;
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        padding: 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 100;
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav ul li {
        margin: 20px 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-item, .tax-info-item {
        width: 100%;
    }
    
    .tax-info-item {
        flex-direction: column;
    }
    
    .tax-label {
        margin-bottom: 5px;
    }
    
    .custom-cursor, .cursor-dot {
        display: none; /* Hide custom cursor on mobile */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .tax-info-card {
        padding: 20px;
    }
}
