/* Global Styles */
:root {
    --primary-color: #cab98f;
    --primary-dark: #ecbc6e;
    --secondary-color: #1a1a2e;
    --dark-color: #0f0e17;
    --darker-color: #0a0a12;
    --light-color: #f7f7f7;
    --text-color: #e6e6e6;
    --text-dark: #b8b8b8;
    --highlight: #ffebb7;
    --transition: all 0.4s cubic-bezier(0.3, 0, 0.3, 1);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --box-shadow-hover: 0 15px 40px rgba(108, 92, 231, 0.3);
    --border-radius: 12px;
    --section-padding: 120px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--light-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.highlight {
    color: var(--highlight);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 100px;
    height: 100px;
    position: relative;
}

.loader-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.loader-line-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    transform: rotate(calc(var(--line-index) * 72deg));
}

.loader-line {
    width: 200%;
    height: 5px;
    position: absolute;
    top: 50%;
    left: -50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: loader-line 2s ease-in-out infinite;
    animation-delay: calc(var(--line-index) * 0.1s);
}

.loader-line-wrap:nth-child(1) { --line-index: 0; }
.loader-line-wrap:nth-child(2) { --line-index: 1; }
.loader-line-wrap:nth-child(3) { --line-index: 2; }
.loader-line-wrap:nth-child(4) { --line-index: 3; }
.loader-line-wrap:nth-child(5) { --line-index: 4; }

@keyframes loader-line {
    0% { transform: translateY(-50%) translateX(-50%); }
    100% { transform: translateY(-50%) translateX(50%); }
}

/* Cursor Effect */
.cursor {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999;
    mix-blend-mode: difference;
    transition: all 0.1s ease;
}

.cursor-follower {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 998;
    transition: all 0.4s ease;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    transition: var(--transition);
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
    position: relative;
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--darker-color);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 1;
    padding-right: 50px;
}

.hero-right {
    flex: 1;
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-text {
    color: var(--text-dark);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image .main-image {
    position: relative;
    z-index: 3;
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: #cab98f52;
    top: -50px;
    right: -50px;
    animation-delay: 0.5s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: #e0d8c166;
    bottom: -30px;
    left: -30px;
    animation-delay: 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background-color: #d6a01877;
    top: 50%;
    left: 30%;
    animation-delay: 1.5s;
}

/* Buttons */
.primary-button {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
}

.primary-button.white {
    background-color: var(--light-color);
    color: var(--dark-color);
    box-shadow: 0 10px 30px rgba(248, 249, 250, 0.3);
}

.primary-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.primary-button.white:hover {
    background-color: #e2e6ea;
}

.primary-button .arrow-wrapper {
    margin-left: 15px;
    width: 20px;
    height: 20px;
    position: relative;
    overflow: hidden;
}

.primary-button .arrow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: var(--light-color);
    transition: var(--transition);
}

.primary-button.white .arrow {
    background-color: var(--dark-color);
}

.primary-button .arrow::before,
.primary-button .arrow::after {
    content: '';
    position: absolute;
    right: 0;
    width: 10px;
    height: 2px;
    background-color: var(--light-color);
    transition: var(--transition);
}

.primary-button.white .arrow::before,
.primary-button.white .arrow::after {
    background-color: var(--dark-color);
}

.primary-button .arrow::before {
    transform: rotate(45deg) translateY(-3px);
}

.primary-button .arrow::after {
    transform: rotate(-45deg) translateY(3px);
}

.primary-button:hover .arrow {
    transform: translate(5px, -50%);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Clients Section */
.clients {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.clients-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.client-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.client-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.client-item img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    width: auto;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
    position: relative;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-description {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* About Section */
.about {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-left {
    flex: 1;
    padding-right: 50px;
}

.about-right {
    flex: 1;
    position: relative;
}

.about-text {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-list {
    margin-bottom: 40px;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.about-list i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
    z-index: 2;
}

.experience-badge span {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge p {
    font-size: 14px;
    margin-top: 5px;
}

/* Services Section */
.services {
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.1) 0%, transparent 70%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(108, 92, 231, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

.service-description {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1rem;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.service-tech span {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.service-card:hover .service-tech span {
    background-color: rgba(108, 92, 231, 0.2);
    color: var(--primary-color);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-left {
    flex: 1;
    padding-right: 50px;
}

.contact-right {
    flex: 1;
}

.contact-text {
    color: var(--text-dark);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-info {
    margin-top: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-form {
    background-color: var(--dark-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(108, 92, 231, 0.05);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--darker-color);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    padding: 0 15px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-social {
    display: flex;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    margin-right: 10px;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-dark);
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50px 0 0 50px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    width: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: var(--text-dark);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
}

.footer-legal a {
    margin-left: 20px;
    color: var(--text-dark);
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-left {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-left {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .about-text, .about-list {
        text-align: left;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-left {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .info-item {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .client-item {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .footer-legal {
        margin-top: 15px;
    }
    
    .footer-legal a {
        margin: 0 10px;
    }
}

