/* Base Styles */
:root {
    --primary: #6C5CE7;
    --primary-dark: #5649C0;
    --secondary: #00CEFF;
    --dark: #1A1A2E;
    --darker: #16213E;
    --darkest: #0F0F1B;
    --light: #E2E2E2;
    --lighter: #F5F5F5;
    --lightest: #FFFFFF;
    --gray: #4A4A68;
    --success: #00B894;
    --warning: #FDCB6E;
    --error: #D63031;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--darkest);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title span {
    color: var(--secondary);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
}

.highlight {
    color: var(--secondary);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darkest);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 5px solid var(--gray);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
.dark-header {
    background-color: rgba(10, 10, 20, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.dark-header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
}

.agency-text {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--light);
    opacity: 0.8;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--secondary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 20, 0.7), rgba(10, 10, 20, 0.9)), url('https://images.unsplash.com/photo-1501084817091-a4f3d1d19e07?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
    color: var(--lightest);
    padding-top: 80px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: var(--lightest);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.scroll-indicator span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light);
    opacity: 0.3;
    animation: bounce 1.5s infinite ease-in-out;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(-10px); opacity: 1; }
}

/* About Section */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--darker);
    border-radius: 10px;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Services Section */
.services-section {
    background: var(--darker);
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid var(--gray);
    color: var(--light);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--lightest);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.tab-content p {
    margin-bottom: 30px;
    max-width: 700px;
    font-size: 1.05rem;
}

.talents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.talent-card {
    background: var(--darkest);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.talent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.talent-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.talent-card h4 {
    font-size: 1.2rem;
    margin: 20px 20px 5px;
}

.talent-card p {
    font-size: 0.9rem;
    margin: 0 20px 15px;
    opacity: 0.8;
}

.talent-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 20px 20px;
}

.talent-skills span {
    display: inline-block;
    background: rgba(108, 92, 231, 0.2);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 92, 231, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
}

/* Terms Section */
.terms-section {
    background: var(--darker);
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-group {
    margin-bottom: 30px;
}

.terms-group h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.terms-group p {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Contact Section - Updated */
.contact-section {
    background: var(--darker);
}

.contact-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.contact-details {
    background: rgba(26, 26, 46, 0.5);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--gray);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--lightest);
}

.info-item a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary);
}

.social-links h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--lightest);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--darkest);
    border-radius: 50%;
    color: var(--light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--lightest);
    transform: translateY(-3px);
}

.contact-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.contact-image:hover img {
    transform: scale(1.05);
}

/* Responsive Styles for Contact Section */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 576px) {
    .contact-details {
        padding: 20px;
    }
    
    .info-item {
        gap: 15px;
    }
    
    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Custom Icon Styles */
.custom-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--darker);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.social-icon:hover .custom-icon {
    filter: brightness(0) invert(1);
}

/* Footer */
.dark-footer {
    background: var(--darkest);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-logo .logo-icon {
    font-size: 1.8rem;
}

.footer-logo .agency-text {
    font-size: 0.8rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--darker);
    border-radius: 50%;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--lightest);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .portfolio-container {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--darkest);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav ul.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-item {
        min-width: 150px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .tab-buttons {
        gap: 5px;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}