/* Reset & Variables */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ffa502;
    --accent-dark: #2d1b69;
    --bg-light: #f8f4ff;
    --text-main: #333333;
    --text-light: #666666;
    --white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, #1a0f3c, var(--accent-dark));
    
    --font-heading: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(255, 107, 107, 0.2);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--accent-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--accent-dark);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
.gradient-text {
    background: linear-gradient(135deg, #e63946, #9b2ddb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-header {
    margin-bottom: 3rem;
    max-width: 700px;
}
.section-header.center {
    margin: 0 auto 3rem auto;
    text-align: center;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--accent-dark);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    color: var(--accent-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-dark);
    color: var(--accent-dark);
}

.btn-outline:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--accent-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.hero-bg-anim {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, rgba(255,165,2,0.05) 50%, transparent 70%);
    border-radius: 50%;
    animation: floatAnim 10s infinite alternate ease-in-out;
    z-index: 0;
}

@keyframes floatAnim {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-img {
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 20px;
    z-index: 1;
}

.shape-1 {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    top: -20px;
    right: -20px;
    opacity: 0.5;
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: var(--accent-dark);
    bottom: -30px;
    left: -30px;
    border-radius: 50%;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.floating-element {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,165,2,0.2) 0%, transparent 70%);
    top: -40px;
    left: -40px;
    border-radius: 50%;
    z-index: -1;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Services */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

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

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .icon-wrapper {
    color: var(--white);
}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

/* Process Timeline */
.process {
    padding: 100px 0;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bg-light);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 22%;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 5px var(--white);
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Why Choose Us */
.why-us {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.why-us .section-header h2 {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-box {
    text-align: center;
}

.feature-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-box h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: rgba(255,255,255,0.8);
}

/* Portfolio */
.work {
    padding: 100px 0;
}

.portfolio-showcase {
    display: flex;
    gap: 3rem;
    align-items: center;
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2rem;
}

.portfolio-img {
    flex: 1;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.portfolio-info {
    flex: 1;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-primary);
    color: var(--accent-dark);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.portfolio-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.portfolio-info p {
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Testimonial */
.testimonial {
    padding: 60px 0;
    background: var(--bg-light);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.quote-author {
    color: var(--text-light);
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
}

.faq-header h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-dark);
    cursor: pointer;
    text-align: left;
}

.accordion-header i {
    color: var(--primary-color);
}

.accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active .accordion-content {
    padding: 0 2rem 1.5rem;
    max-height: 500px;
}

.accordion-content p {
    color: var(--text-light);
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-container {
    display: flex;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form-wrapper {
    flex: 1;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group.half {
    flex: 1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

.form-notice {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.form-success {
    margin-top: 1rem;
    padding: 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: 8px;
    text-align: center;
}

.hidden {
    display: none;
}

/* Footer */
footer {
    background: var(--accent-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    display: block;
    margin-bottom: 0.8rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        width: 100%;
    }
    
    .portfolio-showcase {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
