/* Base Styles */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #f72585;
    --accent-color-2: #4CC9F0;
    --accent-color-3: #7209B7;
    --text-color: #333;
    --light-text: #666;
    --background: #ffffff;
    --light-background: #f8f9fa;
    --border-color: #e6e6e6;
    --success-color: #4caf50;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

button, .cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

button:hover, .cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: var(--light-background);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.abstract-shape {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
    }
    50% {
        border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
    }
    75% {
        border-radius: 40% 60% 70% 30% / 60% 40% 60% 40%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Background Graphics */
.background-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.bg-element-1 {
    width: 300px;
    height: 300px;
    background-color: var(--accent-color);
    top: -100px;
    left: -100px;
}

.bg-element-2 {
    width: 200px;
    height: 200px;
    background-color: var(--accent-color-2);
    bottom: 50px;
    right: 100px;
}

.bg-element-3 {
    width: 150px;
    height: 150px;
    background-color: var(--accent-color-3);
    top: 200px;
    right: -50px;
}

.bg-element-4 {
    width: 250px;
    height: 250px;
    background-color: var(--primary-color);
    bottom: -100px;
    left: 100px;
}

.bg-element-5 {
    width: 180px;
    height: 180px;
    background-color: var(--accent-color);
    top: 100px;
    left: 50%;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--background);
    position: relative;
    background-image: url('data:image/svg+xml;utf8,');
    background-size: 40px 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--light-background);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Typeform-like Modal Styles */
.typeform-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    backdrop-filter: blur(5px);
}

.typeform-container {
    background-color: var(--background);
    margin: 5% auto;
    width: 90%;
    max-width: 700px;
    height: 80vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.5s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typeform-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.typeform-close:hover {
    color: var(--accent-color);
}

.typeform-progress-bar {
    height: 6px;
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.typeform-progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.typeform-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.typeform-step {
    display: none;
    height: 100%;
}

.typeform-step.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.typeform-question {
    text-align: center;
}

.typeform-question h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.typeform-input,
.typeform-select,
.typeform-textarea {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    transition: var(--transition);
    background-color: transparent;
}

.typeform-input:focus,
.typeform-select:focus,
.typeform-textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
}

.typeform-textarea {
    min-height: 150px;
    resize: vertical;
}

.typeform-navigation {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
}

.typeform-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.typeform-button:hover {
    background-color: var(--secondary-color);
}

.typeform-back {
    background-color: #f0f0f0;
    color: var(--text-color);
}

.typeform-back:hover {
    background-color: #e0e0e0;
}

.typeform-submit {
    display: none;
}

.typeform-success {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 30px;
}

.typeform-branding {
    padding: 10px;
    text-align: center;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        margin-bottom: 50px;
    }
    .abstract-shape {
        width: 300px;
        height: 300px;
    }
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    .typeform-container {
        width: 95%;
        height: 90vh;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    nav ul {
        display: none;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero {
        padding: 120px 0 80px;
    }
    .abstract-shape {
        width: 250px;
        height: 250px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .typeform-container {
        margin: 2% auto;
        height: 96vh;
    }
    .typeform-question h2 {
        font-size: 1.6rem;
    }
    .typeform-content {
        padding: 30px 20px;
    }
    .typeform-navigation {
        padding: 15px 20px;
    }
    .typeform-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-background);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.stat {
    flex: 1;
    padding: 30px;
    background-color: var(--background);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--background);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    padding: 40px;
    background-color: var(--light-background);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    margin-top: 20px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-background);
    text-align: center;
}

.contact .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.contact .cta-button {
    margin: 20px 0;
}

.contact .small-text {
    margin-top: 20px;
    color: var(--light-text);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info p {
    margin-top: 20px;
    color: #aaa;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Animation Classes */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    }
    
    .animate__fadeIn {
    animation-name: fadeIn;
    }
    
    .animate__fadeInUp {
    animation-name: fadeInUp;
    }
    
    @keyframes fadeInUp {
    from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    }
    to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    }
    }
    
    /* Custom Cursor */
    .custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(67, 97, 238, 0.3);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    }
    
    .custom-cursor.active {
    width: 50px;
    height: 50px;
    background-color: rgba(67, 97, 238, 0.1);
    }
